/*
Theme Name: Marina Publications.Pvt.Ltd
 
*/


/* =Reset default browser CSS. Based on work by Eric Meyer.
-------------------------------------------------------------- */



/* =========================================================
   MARINA PUBLICATIONS
   WooCommerce Cart + Checkout — Responsive Design
   ========================================================= */

/* ---------- 1. DESIGN VARIABLES ---------- */
.mp-header a {
    text-decoration: none;
    text-transform: capitalize;
}
.mp-header-account {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: inherit;
    text-decoration: none;
    font: inherit;
    cursor: pointer;
}

.mp-header-account:hover,
.mp-header-account:focus {
    color: inherit;
    text-decoration: none;
}

/* Logout Icon */
.mp-header-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.mp-header-logout:hover,
.mp-header-logout:focus {
    color: inherit;
    text-decoration: none;
}
.mp-header-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mp-header-welcome {
    color: inherit;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.mp-header-welcome:hover {
    text-decoration: underline;
}

.mp-header-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.mp-header-logout:hover {
    opacity: 0.7;
}

.mp-header-logout svg {
    display: block;
    width: 22px;
    height: 22px;
}
 
/* ========================================
   GLOBAL WORDPRESS TYPOGRAPHY
======================================== */
* { box-sizing: border-box; }

body {
    margin: 0;
    background: #fff;
    color: var(--site-text);
    font-family: var(--site-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.mp-header a { text-decoration: none; }

.mp-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid #E4EAFB;
    box-shadow: 0 8px 26px rgba(36,84,255,.06);
}

@supports (backdrop-filter: blur(12px)) {
    .mp-header { backdrop-filter: blur(12px); }
}

.mp-header-bar {
    height: 4px;
    background: linear-gradient(
        90deg, #2454FF, #00A9A5, #FFC02E, #F4511E, #E8207A
    );
}

.mp-header-inner {
    position: relative;
    max-width: 1320px;
    min-height: 100px;
    margin: auto;
    padding: 12px clamp(14px, 4vw, 44px);
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 16px;
}

.mp-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: none;
    min-width: 0;
}

.mp-brand img {
    display: block;
    width: auto;
    height: 100px;
    max-width: 220px;
    object-fit: contain;
}

.mp-brand-name {
    font-size: 20px;
    font-weight: 700;
    white-space: nowrap;
    color: #152250;
}

/* Product search */
.mp-header-search {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1 1 220px;
    max-width: 460px;
    min-width: 100px;
    margin: 0 auto;
    border: 1px solid #E4EAFB;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(36,84,255,.05);
}

.mp-header-search input[type="search"] {
    width: 100%;
    min-width: 0;
    height: 46px;
    margin: 0;
    padding: 0 16px;
    border: 0 !important;
    border-radius: 999px 0 0 999px;
    outline: none !important;
    background: #fff !important;
    color: #152250;
    font: 14px Arial, Helvetica, sans-serif;
    box-shadow: none !important;
}

.mp-header-search input::placeholder { color: #7B849F; }

.mp-header-search button {
    width: 46px;
    height: 46px;
    flex: none;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 0 999px 999px 0;
    background: #2454FF;
    color: #fff;
    cursor: pointer;
    font-size: 23px;
}

.mp-header-search button:hover { background: #152250; }

#mp-product-search-results {
    display: none;
    position: absolute;
    top: calc(100% + 9px);
    left: 0;
    right: 0;
    width: 100%;
    max-height: 420px;
    overflow-y: auto;
    border: 1px solid #E4EAFB;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 16px 35px rgba(21,34,80,.16);
    z-index: 2000;
}

#mp-product-search-results .mp-search-result {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    color: #152250;
    border-bottom: 1px solid #F0F3FA;
}

#mp-product-search-results .mp-search-result:last-child {
    border-bottom: 0;
}

#mp-product-search-results .mp-search-result:hover,
#mp-product-search-results .mp-search-result:focus {
    background: #EEF3FF;
}

#mp-product-search-results .mp-search-result img {
    width: 48px;
    height: 58px;
    flex: 0 0 48px;
    object-fit: contain;
    border-radius: 5px;
    background: #F5F7FC;
}

#mp-product-search-results .mp-search-result-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

#mp-product-search-results .mp-search-result-name {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
}

#mp-product-search-results .mp-search-result-price {
    color: #176B45;
    font-size: 12px;
}

#mp-product-search-results .mp-search-message {
    padding: 16px;
    color: #566089;
    font-size: 13px;
}

/* Menu toggle */
.mp-menu-check {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
}

.mp-menu-label {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #EEF3FF;
    border: 0;
    border-radius: 999px;
    color: #2454FF;
    padding: 14px 18px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
}

.mp-menu-label:hover {
    background: #2454FF;
    color: #fff;
}

.mp-menu-check:focus-visible + .mp-menu-label {
    outline: 2px solid #2454FF;
    outline-offset: 3px;
}

.mp-menu-icon { display: grid; gap: 4px; }

.mp-menu-icon span {
    display: block;
    width: 16px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
}

.mp-menu-close { display: none; }

.mp-menu-check:checked ~ .mp-menu-label .mp-menu-open {
    display: none;
}

.mp-menu-check:checked ~ .mp-menu-label .mp-menu-close {
    display: inline;
}

/* Account and cart icons */
.mp-header-account,
.mp-header-cart {
    position: relative;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #E4EAFB;
    border-radius: 50%;
    background: #EEF3FF;
    color: #152250;
    transition: color .2s ease, background .2s ease;
}

.mp-header-account:hover,
.mp-header-cart:hover {
    color: #176B45;
    background: #E9FBFA;
}

.mp-header-account:focus-visible,
.mp-header-cart:focus-visible {
    outline: 2px solid #2454FF;
    outline-offset: 3px;
}

.mp-header-account svg,
.mp-header-cart-icon {
    width: 22px;
    height: 22px;
    display: block;
}

.mp-header-cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #F4511E;
    color: #fff;
    font: 700 10px/1 Arial, Helvetica, sans-serif;
}

/* Dropdown navigation */
.mp-menu-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    border-top: 1px solid #E4EAFB;
    background: #fff;
    box-shadow: 0 24px 40px rgba(21,34,80,.12);
    z-index: 999;
}

.mp-menu-check:checked ~ .mp-menu-panel { display: block; }

.mp-menu-container {
    max-width: 1320px;
    margin: auto;
    padding: clamp(20px,3vw,34px) clamp(14px,4vw,44px) 40px;
}

.mp-menu-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 20px;
    border-bottom: 1px solid #E4EAFB;
}

.mp-menu-kicker {
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #566089;
    font-weight: 700;
}

.mp-menu-columns {
    display: grid;
    grid-template-columns: 1.6fr .9fr;
    gap: clamp(22px,3vw,46px);
    padding-top: 28px;
}

.mp-menu-links {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: clamp(18px,2.5vw,36px);
    align-content: start;
}

.mp-menu-group {
    display: grid;
    gap: 4px;
    align-content: start;
}

.mp-menu-group h3 {
    margin: 0 0 10px;
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #2454FF;
}

.mp-menu-group:nth-child(2) h3 { color: #046F6B; }
.mp-menu-group:nth-child(3) h3 { color: #C43F0C; }

.mp-menu-group > a {
    display: grid;
    gap: 3px;
    padding: 11px 0;
    border-bottom: 1px solid #F1F4FC;
    font-size: 15px;
    font-weight: 700;
    color: #152250;
}

.mp-menu-group > a:hover { color: #2454FF; }

.mp-menu-group small {
    font-size: 12px;
    font-weight: 400;
    color: #566089;
}

.mp-menu-feature {
    background: linear-gradient(150deg,#2454FF,#7A3CF0);
    border-radius: 20px;
    padding: clamp(20px,2.4vw,28px);
    color: #fff;
}

.mp-menu-feature h3 {
    margin: 12px 0 8px;
    font-size: 24px;
    line-height: 1.2;
    color: #fff;
}

.mp-menu-feature p {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255,255,255,.88);
}

.mp-feature-books {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
}

.mp-feature-books img {
    width: calc(25% - 6px);
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 8px;
}

.mp-feature-button {
    display: inline-flex;
    background: #FFC02E;
    color: #152250 !important;
    border-radius: 999px;
    padding: 13px 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.mp-menu-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid #E4EAFB;
    margin-top: 28px;
    padding-top: 18px;
    font-size: 14px!important;
    color: #4C5877;
}

.mp-menu-footer a { color: #2454FF; }

@media (max-width: 1100px) {
    .mp-header-inner { gap: 10px; }
    .mp-brand-name { font-size: 16px; }
    .mp-brand img { max-width: 160px; }
    .mp-header-search { max-width: 340px; }
    .mp-menu-label { padding: 12px; }
}

@media (max-width: 980px) {
    .mp-menu-columns { grid-template-columns: 1fr; }
    .mp-menu-links { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 760px) {
    .mp-header-inner {
        min-height: 0;
        padding: 10px 14px;
        gap: 10px;
        flex-wrap: wrap;
    }

    .mp-brand { order: 1; margin-right: auto; gap: 0; }
    .mp-brand img {max-width: 145px; }
    .mp-brand-name { display: none; }

    .mp-menu-check { order: 0; }
    .mp-menu-label { order: 2; padding: 11px 13px; font-size: 12px; }

    .mp-header-account {
        order: 3;
        flex-basis: 38px;
        width: 38px;
        height: 38px;
    }

    .mp-header-cart {
        order: 4;
        flex-basis: 38px;
        width: 38px;
        height: 38px;
    }

    .mp-header-search {
        order: 5;
        flex: 0 0 100%;
        max-width: none;
        margin: 0;
    }

    .mp-header-search input[type="search"],
    .mp-header-search button {
        height: 42px;
    }

    #mp-product-search-results { max-height: 55vh; }
    .mp-menu-panel { max-height: calc(100vh - 120px); }
    .mp-menu-container { padding: 20px 16px 28px; }
    .mp-menu-columns { padding-top: 20px; }
    .mp-menu-links { grid-template-columns: 1fr; }
    .mp-menu-feature h3 { font-size: 21px; }
}

@media (max-width: 380px) {
    .mp-header-inner { gap: 7px; padding: 9px; }
    .mp-brand img {max-width: 112px; }
    .mp-menu-label { padding: 9px; font-size: 11px; gap: 6px; }

    .mp-header-account,
    .mp-header-cart {
        flex-basis: 33px;
        width: 33px;
        height: 33px;
    }

    .mp-header-account svg,
    .mp-header-cart-icon {
        width: 19px;
        height: 19px;
    }
}
:root {
    --site-font: "Segoe UI", Roboto, Arial, Helvetica, sans-serif;
    --site-text: #333333;
    --site-heading: #14234f;
    --site-link: #203da4;

    --mp-brand: #176b45;
    --mp-brand-dark: #105437;
    --mp-brand-light: #eaf5ee;
    --mp-text: #202820;
    --mp-muted: #6b756e;
    --mp-border: #e1e8e2;
    --mp-background: #f7f9f7;
    --mp-white: #ffffff;
    --mp-danger: #c0392b;
    --mp-radius: 14px;
    --mp-radius-small: 9px;
    --mp-shadow: 0 8px 28px rgba(24, 53, 35, 0.07);
    --mp-shadow-hover: 0 12px 34px rgba(24, 53, 35, 0.12);
    --mp-transition: all 0.2s ease;
}

/* GLOBAL BODY styles are consolidated into the base body rule above. */

/* HEADINGS */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--site-font);
    color: var(--site-heading);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.3px;
    margin-top: 0;
    margin-bottom: 16px;
}

/* INDIVIDUAL HEADING SIZES */
h1 {
    font-size: clamp(32px, 4vw, 44px);
    line-height: 1.2;
    letter-spacing: -0.8px;
}

h2 {
    font-size: clamp(26px, 3vw, 34px);
    line-height: 1.25;
}

h3 {
    font-size: clamp(21px, 2.2vw, 26px);
    line-height: 1.35;
}

h4 {
    font-size: 20px;
    line-height: 1.4;
}

h5 {
    font-size: 17px;
    line-height: 1.45;
}

h6 {
    font-size: 15px;
    line-height: 1.5;
}

/* PARAGRAPHS */
p {
    margin-top: 0;
    margin-bottom: 18px;
    font-family: var(--site-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.75;
}

/* LISTS */
ul, ol {
    margin-top: 0;
    margin-bottom: 20px;
    padding-left: 24px;
}

li {
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.7;
}

/* LINKS */
a {
    color: var(--site-link);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #14234f;
}

a:focus-visible {
    outline: 2px solid #203da4;
    outline-offset: 3px;
}

/* BUTTONS */
button,
input[type="button"],
input[type="submit"],
input[type="reset"],
.wp-block-button__link {
    font-family: var(--site-font);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

/* FORM FIELDS */
input,
select,
textarea {
    font-family: var(--site-font);
    font-size: 15px;
    line-height: 1.5;
}

/* TABLES */
table {
    font-family: var(--site-font);
    font-size: 14px;
    line-height: 1.6;
}

/* SMALL TEXT */
small,
.wp-caption-text,
figcaption {
    font-size: 13px;
    line-height: 1.6;
}

/* MOBILE TYPOGRAPHY */
@media (max-width: 767px) {
    body {
        font-size: 15px;
        line-height: 1.7;
    }

    p {
        margin-bottom: 15px;
        font-size: 15px;
        line-height: 1.75;
    }

    li {
        font-size: 15px;
        line-height: 1.7;
    }

    h1 {
        margin-bottom: 14px;
    }

    h2, h3, h4, h5, h6 {
        margin-bottom: 12px;
    }
}


/* WooCommerce design variables are consolidated into the :root rule above. */

/* ---------- 2. PAGE FOUNDATION ---------- */

.mp-cart-page,
.mp-checkout-page {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 36px 20px 60px;
    color: var(--mp-text);
    font-family: inherit;
    font-size: 15px;
    line-height: 1.6;
    box-sizing: border-box;
}

.mp-cart-page *,
.mp-checkout-page * {
    box-sizing: border-box;
}

.mp-cart-page img,
.mp-checkout-page img {
    max-width: 100%;
    height: auto;
}

.mp-cart-page a,
.mp-checkout-page a {
    transition: var(--mp-transition);
}

.mp-cart-page input,
.mp-cart-page select,
.mp-cart-page button,
.mp-checkout-page input,
.mp-checkout-page select,
.mp-checkout-page textarea,
.mp-checkout-page button {
    font: inherit;
}

/* ---------- 3. PAGE HEADER ---------- */

.mp-page-header {
    margin-bottom: 30px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--mp-border);
}

.mp-eyebrow {
    margin: 0 0 8px;
    color: var(--mp-brand);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.mp-page-title {
    margin: 0 0 9px;
    color: var(--mp-text);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: -0.7px;
}

.mp-page-intro {
    max-width: 650px;
    margin: 0;
    color: var(--mp-muted);
    font-size: 15px;
    line-height: 1.7;
}

/* ---------- 4. CART PAGE LAYOUT ---------- */

.mp-cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 350px);
    align-items: start;
    gap: 30px;
}

.mp-cart-main {
    min-width: 0;
}

.mp-cart-form {
    margin: 0;
}

/* ---------- 5. CART TABLE ---------- */

.mp-cart-table {
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--mp-white);
}

.mp-cart-table thead th {
    padding: 14px 12px;
    border-top: 1px solid var(--mp-border);
    border-bottom: 1px solid var(--mp-border);
    background: var(--mp-background);
    color: var(--mp-muted);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    white-space: nowrap;
}

.mp-cart-table thead th:first-child {
    border-radius: 10px 0 0 0;
}

.mp-cart-table thead th:last-child {
    border-radius: 0 10px 0 0;
}

.mp-cart-table td {
    padding: 20px 12px;
    border-bottom: 1px solid var(--mp-border);
    background: transparent;
    vertical-align: middle;
}

.mp-cart-table tbody tr:last-child td {
    border-bottom-color: var(--mp-border);
}

.mp-cart-table .product-remove {
    width: 36px;
    text-align: center;
}

.mp-cart-table .product-thumbnail {
    width: 92px;
}

.mp-cart-table .product-thumbnail img {
    display: block;
    width: 70px;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 7px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.mp-cart-table .product-name {
    min-width: 150px;
    line-height: 1.5;
}

.mp-cart-product-name {
    color: var(--mp-text);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
}

.mp-cart-product-name a {
    color: var(--mp-text);
    text-decoration: none;
}

.mp-cart-product-name a:hover {
    color: var(--mp-brand);
}

.mp-cart-table .product-price,
.mp-cart-table .product-subtotal {
    font-weight: 650;
    white-space: nowrap;
}

.mp-cart-table .product-subtotal {
    color: var(--mp-brand);
    font-weight: 750;
}

/* Product variation and metadata */

.mp-cart-table .variation,
.mp-cart-table dl.variation {
    margin: 7px 0 0;
    font-size: 12px;
}

.mp-cart-table .variation dt,
.mp-cart-table .variation dd {
    margin-bottom: 3px;
}

.mp-cart-table .backorder_notification {
    margin: 8px 0 0;
    color: #a15c00;
    font-size: 12px;
}

/* ---------- 6. REMOVE ITEM BUTTON ---------- */

.mp-remove-item,
.mp-cart-table a.remove {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 29px;
    height: 29px;
    border: 0 !important;
    border-radius: 50%;
    background: var(--mp-background) !important;
    color: #7b857e !important;
    font-size: 21px !important;
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
}

.mp-remove-item:hover,
.mp-cart-table a.remove:hover {
    background: #fff0ef !important;
    color: var(--mp-danger) !important;
}

/* ---------- 7. QUANTITY INPUT ---------- */

.mp-cart-table .quantity {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
}

.mp-cart-table .quantity .qty {
    width: 68px;
    min-width: 58px;
    min-height: 42px;
    padding: 7px 8px;
    border: 1px solid var(--mp-border);
    border-radius: 8px;
    outline: none;
    background: var(--mp-white);
    color: var(--mp-text);
    text-align: center;
    box-shadow: none;
}

.mp-cart-table .quantity .qty:focus {
    border-color: var(--mp-brand);
    box-shadow: 0 0 0 3px rgba(23, 107, 69, 0.1);
}

/* ---------- 8. BUTTONS ---------- */

.mp-cart-page .button,
.mp-checkout-page .button,
.mp-checkout-page button.button,
.mp-checkout-page #place_order,
.mp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    padding: 12px 19px !important;
    border: 1px solid var(--mp-brand) !important;
    border-radius: var(--mp-radius-small) !important;
    background: var(--mp-brand) !important;
    color: var(--mp-white) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    box-shadow: none;
    transition: var(--mp-transition);
}

.mp-cart-page .button:hover,
.mp-checkout-page .button:hover,
.mp-checkout-page button.button:hover,
.mp-checkout-page #place_order:hover,
.mp-button:hover {
    border-color: var(--mp-brand-dark) !important;
    background: var(--mp-brand-dark) !important;
    color: var(--mp-white) !important;
    transform: translateY(-1px);
}

.mp-cart-page .mp-button-secondary,
.mp-cart-page .mp-update-cart {
    border-color: var(--mp-border) !important;
    background: var(--mp-white) !important;
    color: var(--mp-brand) !important;
}

.mp-cart-page .mp-button-secondary:hover,
.mp-cart-page .mp-update-cart:hover {
    border-color: var(--mp-brand) !important;
    background: var(--mp-brand-light) !important;
    color: var(--mp-brand-dark) !important;
}

/* ---------- 9. COUPON AND CART ACTIONS ---------- */

.mp-cart-table .mp-cart-actions,
.mp-cart-table td.actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 20px 0 !important;
    border: 0;
    background: transparent;
}

.mp-cart-page .coupon,
.mp-coupon {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-right: auto;
}

.mp-cart-page .coupon .input-text,
.mp-coupon .input-text {
    width: 180px;
    min-width: 0;
    min-height: 45px;
    padding: 10px 13px;
    border: 1px solid var(--mp-border);
    border-radius: 8px;
    background: var(--mp-white);
    color: var(--mp-text);
    outline: none;
}

.mp-cart-page .coupon .input-text:focus,
.mp-coupon .input-text:focus {
    border-color: var(--mp-brand);
    box-shadow: 0 0 0 3px rgba(23, 107, 69, 0.09);
}

.mp-cart-page .coupon button {
    white-space: nowrap;
}

/* ---------- 10. CART TOTALS PANEL ---------- */

.mp-cart-summary {
    min-width: 0;
}

.mp-summary-card {
    padding: 24px;
    border: 1px solid var(--mp-border);
    border-radius: var(--mp-radius);
    background: var(--mp-white);
    box-shadow: var(--mp-shadow);
}

.mp-summary-card > h2 {
    margin: 0 0 20px;
    color: var(--mp-text);
    font-size: 22px;
    font-weight: 750;
    line-height: 1.3;
}

.mp-summary-card .cart_totals {
    float: none;
    width: 100%;
}

.mp-summary-card .cart_totals > h2 {
    display: none;
}

.mp-summary-card .shop_table {
    width: 100%;
    margin: 0 0 20px;
    border: 0;
    border-collapse: collapse;
    background: transparent;
}

.mp-summary-card .shop_table th,
.mp-summary-card .shop_table td {
    padding: 13px 0;
    border: 0;
    border-bottom: 1px solid var(--mp-border);
    background: transparent;
    vertical-align: top;
}

.mp-summary-card .shop_table th {
    color: var(--mp-muted);
    font-weight: 500;
    text-align: left;
}

.mp-summary-card .shop_table td {
    color: var(--mp-text);
    font-weight: 650;
    text-align: right;
}

.mp-summary-card .shop_table .order-total th,
.mp-summary-card .shop_table .order-total td {
    padding-top: 18px;
    border-bottom: 0;
    color: var(--mp-brand);
    font-size: 18px;
    font-weight: 800;
}

.mp-summary-card .wc-proceed-to-checkout {
    padding: 8px 0 0;
}

.mp-summary-card .checkout-button {
    display: flex;
    width: 100%;
    min-height: 52px;
    white-space: normal;
}

.mp-secure-note {
    margin: 16px 0 0;
    color: var(--mp-muted);
    font-size: 12px;
    line-height: 1.7;
}

/* ---------- 11. EMPTY CART ---------- */

.mp-empty-cart {
    padding: 55px 20px;
    border: 1px dashed var(--mp-border);
    border-radius: var(--mp-radius);
    background: var(--mp-background);
    text-align: center;
}

.mp-empty-cart-icon {
    margin-bottom: 12px;
    font-size: 42px;
}

.mp-empty-cart h2 {
    margin: 0 0 10px;
    color: var(--mp-text);
    font-size: 26px;
    font-weight: 750;
}

.mp-empty-cart p {
    margin: 0 0 22px;
    color: var(--mp-muted);
}

/* ---------- 12. CHECKOUT LAYOUT ---------- */

.mp-checkout-form {
    margin: 0;
}

.mp-checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
    align-items: start;
    gap: 28px;
}

.mp-checkout-customer,
.mp-checkout-order {
    min-width: 0;
}

.mp-checkout-panel {
    margin-bottom: 22px;
    padding: 25px;
    border: 1px solid var(--mp-border);
    border-radius: var(--mp-radius);
    background: var(--mp-white);
    box-shadow: var(--mp-shadow);
}

.mp-checkout-panel > h2,
.mp-checkout-panel h3 {
    margin: 0 0 20px;
    color: var(--mp-text);
    font-size: 21px;
    font-weight: 750;
    line-height: 1.35;
}

/* Keep the order summary visually clear */

.mp-order-review-panel {
    position: relative;
}

.mp-checkout-page #order_review {
    width: 100%;
}

/* ---------- 13. CHECKOUT FORM FIELDS ---------- */

.mp-checkout-panel .form-row {
    margin-bottom: 17px;
    padding: 0;
}

.mp-checkout-panel .form-row:last-child {
    margin-bottom: 0;
}

.mp-checkout-panel label {
    display: block;
    margin-bottom: 7px;
    color: var(--mp-text);
    font-size: 13px;
    font-weight: 650;
    line-height: 1.5;
}

.mp-checkout-panel .required {
    color: var(--mp-danger);
    text-decoration: none;
}

.mp-checkout-panel .woocommerce-input-wrapper {
    display: block;
    width: 100%;
}

.mp-checkout-panel input.input-text,
.mp-checkout-panel select,
.mp-checkout-panel textarea,
.mp-checkout-panel .select2-container .select2-selection--single {
    display: block;
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid var(--mp-border);
    border-radius: 8px;
    outline: none;
    background: var(--mp-white);
    color: var(--mp-text);
    font-size: 14px;
    box-shadow: none;
    transition: var(--mp-transition);
}

.mp-checkout-panel textarea {
    min-height: 110px;
    resize: vertical;
}

.mp-checkout-panel input.input-text:focus,
.mp-checkout-panel select:focus,
.mp-checkout-panel textarea:focus {
    border-color: var(--mp-brand);
    box-shadow: 0 0 0 3px rgba(23, 107, 69, 0.1);
}

.mp-checkout-panel input::placeholder,
.mp-checkout-panel textarea::placeholder {
    color: #98a19a;
}

.mp-checkout-panel .select2-container {
    width: 100% !important;
}

.mp-checkout-panel .select2-container .select2-selection--single {
    display: flex;
    align-items: center;
}

.mp-checkout-panel .select2-container .select2-selection__rendered {
    padding-left: 0;
    color: var(--mp-text);
}

.mp-checkout-panel .select2-container .select2-selection__arrow {
    top: 9px;
    right: 8px;
}

/* Two-column billing fields on larger screens */

.mp-checkout-panel .form-row-first,
.mp-checkout-panel .form-row-last {
    width: 48%;
}

/* ---------- 14. ORDER REVIEW TABLE ---------- */

.mp-checkout-panel .woocommerce-checkout-review-order-table {
    width: 100%;
    margin: 0 0 22px;
    border: 0;
    border-collapse: collapse;
    background: transparent;
}

.mp-checkout-panel .woocommerce-checkout-review-order-table th,
.mp-checkout-panel .woocommerce-checkout-review-order-table td {
    padding: 13px 0;
    border: 0;
    border-bottom: 1px solid var(--mp-border);
    background: transparent;
    vertical-align: top;
}

.mp-checkout-panel .woocommerce-checkout-review-order-table th {
    color: var(--mp-muted);
    font-weight: 550;
    text-align: left;
}

.mp-checkout-panel .woocommerce-checkout-review-order-table td {
    color: var(--mp-text);
    font-weight: 600;
    text-align: right;
}

.mp-checkout-panel .woocommerce-checkout-review-order-table .product-name {
    padding-right: 10px;
    text-align: left;
}

.mp-checkout-panel .woocommerce-checkout-review-order-table .product-total {
    white-space: nowrap;
}

.mp-checkout-panel .woocommerce-checkout-review-order-table tfoot th,
.mp-checkout-panel .woocommerce-checkout-review-order-table tfoot td {
    padding-top: 14px;
}

.mp-checkout-panel .woocommerce-checkout-review-order-table .order-total th,
.mp-checkout-panel .woocommerce-checkout-review-order-table .order-total td {
    border-bottom: 0;
    color: var(--mp-brand);
    font-size: 18px;
    font-weight: 800;
}

/* ---------- 15. SHIPPING AND PAYMENT ---------- */

.mp-checkout-panel ul#shipping_method {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mp-checkout-panel ul#shipping_method li {
    margin: 0 0 10px;
}

.mp-checkout-panel #payment {
    padding: 18px;
    border-radius: 10px;
    background: var(--mp-background);
}

.mp-checkout-panel #payment ul.payment_methods {
    margin: 0;
    padding: 0 0 16px;
    border-bottom: 1px solid var(--mp-border);
}

.mp-checkout-panel #payment ul.payment_methods li {
    margin: 0 0 12px;
}

.mp-checkout-panel #payment ul.payment_methods li:last-child {
    margin-bottom: 0;
}

.mp-checkout-panel #payment ul.payment_methods label {
    display: inline;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
}

.mp-checkout-panel #payment .payment_box {
    margin-top: 10px;
    padding: 13px;
    border-radius: 8px;
    background: var(--mp-white);
    color: var(--mp-text);
    font-size: 13px;
}

.mp-checkout-panel #payment .payment_box::before {
    border-bottom-color: var(--mp-white);
}

.mp-checkout-panel #payment .place-order {
    margin: 0;
    padding: 17px 0 0;
}

.mp-checkout-panel #place_order {
    display: flex;
    width: 100%;
    min-height: 52px;
    margin-top: 10px;
    font-size: 15px !important;
}

.mp-checkout-page .woocommerce-terms-and-conditions-wrapper {
    font-size: 13px;
    line-height: 1.7;
}

.mp-checkout-page .woocommerce-privacy-policy-text {
    margin-bottom: 14px;
    color: var(--mp-muted);
    font-size: 12px;
    line-height: 1.7;
}

/* ---------- 16. CHECKBOXES AND RADIO BUTTONS ---------- */

.mp-checkout-page input[type="checkbox"],
.mp-checkout-page input[type="radio"],
.mp-cart-page input[type="checkbox"] {
    accent-color: var(--mp-brand);
}

.mp-checkout-page .woocommerce-form__label-for-checkbox {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
}

.mp-checkout-page .woocommerce-form__label-for-checkbox input {
    margin-top: 5px;
}

/* ---------- 17. NOTICES AND VALIDATION ---------- */

.mp-cart-page .woocommerce-error,
.mp-cart-page .woocommerce-info,
.mp-cart-page .woocommerce-message,
.mp-checkout-page .woocommerce-error,
.mp-checkout-page .woocommerce-info,
.mp-checkout-page .woocommerce-message {
    margin: 0 0 22px;
    padding: 16px 20px 16px 48px;
    border: 1px solid var(--mp-border);
    border-top: 3px solid var(--mp-brand);
    border-radius: 9px;
    background: var(--mp-white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.mp-cart-page .woocommerce-error::before,
.mp-cart-page .woocommerce-info::before,
.mp-cart-page .woocommerce-message::before,
.mp-checkout-page .woocommerce-error::before,
.mp-checkout-page .woocommerce-info::before,
.mp-checkout-page .woocommerce-message::before {
    color: var(--mp-brand);
}

.mp-checkout-page .woocommerce-invalid input.input-text,
.mp-checkout-page .woocommerce-invalid select,
.mp-checkout-page .woocommerce-invalid .select2-selection {
    border-color: var(--mp-danger) !important;
}

.mp-checkout-page .woocommerce-invalid .woocommerce-input-wrapper {
    color: var(--mp-danger);
}

/* ---------- 18. FOCUS AND ACCESSIBILITY ---------- */

.mp-cart-page a:focus-visible,
.mp-cart-page button:focus-visible,
.mp-checkout-page a:focus-visible,
.mp-checkout-page button:focus-visible,
.mp-checkout-page input:focus-visible,
.mp-checkout-page select:focus-visible,
.mp-checkout-page textarea:focus-visible {
    outline: 3px solid rgba(23, 107, 69, 0.3);
    outline-offset: 2px;
}

/* ---------- 19. TABLET ---------- */

@media (max-width: 1024px) {
    .mp-cart-page,
    .mp-checkout-page {
        max-width: 100%;
        padding: 30px 18px 45px;
    }

    .mp-cart-layout {
        grid-template-columns: minmax(0, 1fr) 290px;
        gap: 20px;
    }

    .mp-checkout-layout {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
        gap: 20px;
    }

    .mp-cart-table thead th,
    .mp-cart-table td {
        padding-right: 9px;
        padding-left: 9px;
    }

    .mp-cart-table .product-thumbnail {
        width: 78px;
    }

    .mp-cart-table .product-thumbnail img {
        width: 60px;
    }

    .mp-summary-card,
    .mp-checkout-panel {
        padding: 20px;
    }
}

/* ---------- 20. STACKED LAYOUT ---------- */

@media (max-width: 820px) {
    .mp-cart-layout,
    .mp-checkout-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .mp-cart-summary {
        order: 2;
    }

    .mp-checkout-customer {
        order: 2;
    }

    .mp-checkout-order {
        order: 1;
    }

    .mp-summary-card {
        max-width: none;
    }
}

/* ---------- 21. MOBILE CART ---------- */

@media (max-width: 600px) {
    .mp-cart-page,
    .mp-checkout-page {
        padding: 22px 13px 36px;
        font-size: 14px;
    }

    .mp-page-header {
        margin-bottom: 22px;
        padding-bottom: 18px;
    }

    .mp-page-title {
        font-size: 29px;
        letter-spacing: -0.4px;
    }

    .mp-page-intro {
        font-size: 14px;
    }

    /* Turn each cart item into a readable mobile card. */

    .mp-cart-table {
        display: block;
        width: 100%;
        border: 0;
    }

    .mp-cart-table thead {
        display: none;
    }

    .mp-cart-table tbody {
        display: block;
        width: 100%;
    }

    .mp-cart-table tr.mp-cart-item {
        position: relative;
        display: grid;
        grid-template-columns: 78px minmax(0, 1fr);
        align-items: start;
        column-gap: 14px;
        row-gap: 7px;
        width: 100%;
        padding: 18px 0;
        border-bottom: 1px solid var(--mp-border);
    }

    .mp-cart-table tr.mp-cart-item td {
        display: block;
        width: auto;
        min-width: 0;
        padding: 0;
        border: 0;
        text-align: left;
    }

    .mp-cart-table tr.mp-cart-item .product-thumbnail {
        grid-column: 1;
        grid-row: 1 / span 4;
        width: 78px;
    }

    .mp-cart-table .product-thumbnail img {
        width: 76px;
        max-width: 76px;
        border-radius: 7px;
    }

    .mp-cart-table tr.mp-cart-item .product-name {
        grid-column: 2;
        grid-row: 1;
        padding-right: 30px;
        margin: 0 0 5px;
        overflow-wrap: anywhere;
    }

    .mp-cart-product-name {
        font-size: 14px;
    }

    .mp-cart-table tr.mp-cart-item .product-remove {
        position: absolute;
        top: 16px;
        right: 0;
        z-index: 2;
        width: 27px;
        text-align: center;
    }

    .mp-cart-table tr.mp-cart-item .product-price,
    .mp-cart-table tr.mp-cart-item .product-quantity,
    .mp-cart-table tr.mp-cart-item .product-subtotal {
        grid-column: 2;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin: 0;
        font-size: 13px;
    }

    .mp-cart-table tr.mp-cart-item .product-price::before {
        content: "Price";
        color: var(--mp-muted);
        font-weight: 500;
    }

    .mp-cart-table tr.mp-cart-item .product-quantity::before {
        content: "Quantity";
        color: var(--mp-muted);
        font-weight: 500;
    }

    .mp-cart-table tr.mp-cart-item .product-subtotal::before {
        content: "Subtotal";
        color: var(--mp-muted);
        font-weight: 600;
    }

    .mp-cart-table tr.mp-cart-item .product-subtotal {
        color: var(--mp-brand);
        font-weight: 750;
    }

    .mp-cart-table .quantity .qty {
        width: 60px;
        min-width: 60px;
        min-height: 37px;
        padding: 5px;
    }

    /* Actions and coupon form */

    .mp-cart-table tr:not(.mp-cart-item) {
        display: block;
        width: 100%;
    }

    .mp-cart-table tr:not(.mp-cart-item) td {
        display: block;
        width: 100%;
        padding: 16px 0 !important;
        border: 0;
    }

    .mp-cart-table .mp-cart-actions,
    .mp-cart-table td.actions {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 11px;
    }

    .mp-cart-page .coupon,
    .mp-coupon {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        width: 100%;
        gap: 8px;
        margin: 0;
    }

    .mp-cart-page .coupon .input-text,
    .mp-coupon .input-text {
        width: 100%;
        min-width: 0;
        min-height: 44px;
    }

    .mp-cart-page .coupon button {
        padding-right: 12px !important;
        padding-left: 12px !important;
        white-space: normal;
    }

    .mp-cart-page .mp-update-cart,
    .mp-cart-page .mp-cart-actions > button {
        width: 100%;
    }

    /* Totals */

    .mp-summary-card {
        padding: 20px 17px;
    }

    .mp-summary-card > h2 {
        font-size: 20px;
    }

    .mp-summary-card .shop_table th,
    .mp-summary-card .shop_table td {
        padding: 12px 0;
        font-size: 14px;
    }

    .mp-summary-card .shop_table .order-total th,
    .mp-summary-card .shop_table .order-total td {
        font-size: 17px;
    }

    .mp-summary-card .checkout-button {
        min-height: 50px;
    }

    /* Empty cart */

    .mp-empty-cart {
        padding: 38px 17px;
    }

    .mp-empty-cart h2 {
        font-size: 23px;
    }
}

/* ---------- 22. MOBILE CHECKOUT ---------- */

@media (max-width: 600px) {
    .mp-checkout-panel {
        padding: 18px 15px;
        margin-bottom: 16px;
        border-radius: 11px;
    }

    .mp-checkout-panel > h2,
    .mp-checkout-panel h3 {
        margin-bottom: 16px;
        font-size: 19px;
    }

    .mp-checkout-panel .form-row-first,
    .mp-checkout-panel .form-row-last,
    .mp-checkout-panel .form-row-wide,
    .mp-checkout-panel .form-row {
        float: none;
        width: 100%;
    }

    .mp-checkout-panel input.input-text,
    .mp-checkout-panel select,
    .mp-checkout-panel textarea,
    .mp-checkout-panel .select2-container .select2-selection--single {
        min-height: 45px;
        font-size: 16px;
    }

    .mp-checkout-panel #payment {
        padding: 13px;
    }

    .mp-checkout-panel .woocommerce-checkout-review-order-table th,
    .mp-checkout-panel .woocommerce-checkout-review-order-table td {
        padding: 11px 0;
        font-size: 13px;
        overflow-wrap: anywhere;
    }

    .mp-checkout-panel #place_order {
        min-height: 51px;
        font-size: 15px !important;
    }

    .mp-checkout-page .woocommerce-error,
    .mp-checkout-page .woocommerce-info,
    .mp-checkout-page .woocommerce-message,
    .mp-cart-page .woocommerce-error,
    .mp-cart-page .woocommerce-info,
    .mp-cart-page .woocommerce-message {
        padding: 14px 15px 14px 40px;
        font-size: 13px;
    }
}

/* ---------- 23. SMALL PHONES ---------- */

@media (max-width: 380px) {
    .mp-cart-page,
    .mp-checkout-page {
        padding-right: 10px;
        padding-left: 10px;
    }

    .mp-page-title {
        font-size: 26px;
    }

    .mp-cart-table tr.mp-cart-item {
        grid-template-columns: 65px minmax(0, 1fr);
        column-gap: 11px;
    }

    .mp-cart-table .product-thumbnail img {
        width: 63px;
        max-width: 63px;
    }

    .mp-cart-page .coupon,
    .mp-coupon {
        grid-template-columns: minmax(0, 1fr);
    }

    .mp-cart-page .coupon button {
        width: 100%;
    }

    .mp-summary-card,
    .mp-checkout-panel {
        padding: 15px 12px;
    }
}

/* ---------- 24. REDUCED MOTION ---------- */

@media (prefers-reduced-motion: reduce) {
    .mp-cart-page *,
    .mp-checkout-page * {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}



/* ========================================
   MARINA PUBLICATIONS
   Default Page Title & Breadcrumb Styling
======================================== */

.mp-page-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        120deg,
        #EEF3FF 0%,
        #FFFFFF 46%,
        #FFF6EC 100%
    );
    border-bottom: 1px solid #EDF1FB;
}

/* Hero content container */
.mp-page-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 1320px;
    margin: 0 auto;
    padding: clamp(44px, 5vw, 82px) clamp(18px, 4vw, 44px);
}

/* Page title */
.mp-page-title {
    margin: 12px 0 20px;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(34px, 5vw, 62px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.035em;
    color: #17233D;
    text-transform: none;
    overflow-wrap: anywhere;
}

/* Breadcrumb wrapper */
.mp-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10.5px;
    font-weight: 600;
    line-height: 1.8;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #C43F0C;
}

/* Breadcrumb home link */
.mp-breadcrumb a {
    color: #66728B;
    text-decoration: none;
    transition: color 0.2s ease;
}

.mp-breadcrumb a:hover {
    color: #176B45;
}

/* Breadcrumb separator */
.mp-breadcrumb span[aria-hidden="true"] {
    color: #AAB3C4;
}

/* Current page */
.mp-breadcrumb span[aria-current="page"] {
    color: #C43F0C;
    overflow-wrap: anywhere;
}

/* Decorative gradient circles */
.mp-page-hero__glow {
    position: absolute;
    z-index: 0;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    pointer-events: none;
}

.mp-page-hero__glow--top {
    top: -120px;
    right: -60px;
    width: 360px;
    height: 360px;
    background: radial-gradient(
        circle at 40% 40%,
        rgba(255, 192, 46, 0.45),
        rgba(255, 192, 46, 0) 70%
    );
}

.mp-page-hero__glow--bottom {
    bottom: -150px;
    left: 32%;
    background: radial-gradient(
        circle at 50% 50%,
        rgba(0, 169, 165, 0.30),
        rgba(0, 169, 165, 0) 70%
    );
}

/* Tablet */
@media (max-width: 768px) {
    .mp-page-hero__inner {
        padding: 48px 24px;
    }

    .mp-page-title {
        font-size: clamp(32px, 6vw, 46px);
        line-height: 1.12;
    }

    .mp-breadcrumb {
        font-size: 10px;
        letter-spacing: 0.12em;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .mp-page-hero__inner {
        padding: 38px 18px;
    }

    .mp-page-title {
        margin-top: 8px;
        margin-bottom: 16px;
        font-size: 34px;
        line-height: 1.12;
    }

    .mp-breadcrumb {
        gap: 6px;
        font-size: 9px;
        letter-spacing: 0.1em;
    }

    .mp-page-hero__glow--top {
        right: -150px;
    }

    .mp-page-hero__glow--bottom {
        left: 10%;
    }
}

/* Keyboard accessibility */
.mp-breadcrumb a:focus-visible {
    outline: 2px solid #176B45;
    outline-offset: 4px;
    border-radius: 2px;
}
/*Footer Css*/

.mp-school-section {
    position: relative;
    width: 100%;
    padding: 65px 0;
    overflow: hidden;
    background: #F3F0FF;
    box-sizing: border-box;
}



/* WooCommerce shop custom thumbnail */
.woocommerce ul.products li.product img.shop-custom-thumbnail {
    width: 100% !important;
    max-width: 100%;
    height: 300px;
    object-fit: contain;
    object-position: center;
    display: block;
    margin: 0 auto 15px;
}
.mp-footer,
.mp-footer *,
.mp-footer *::before,
.mp-footer *::after,
.mp-wa-widget,
.mp-wa-widget * {
    box-sizing: border-box;
}

.mp-footer {
    --mp-navy: #14234f;
    --mp-yellow: #ffc52e;
    --mp-muted: #dce5ff;
    width: 100%;
    max-width: 100%;
    margin: 0;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    background:
        radial-gradient(circle at 5% 0%, rgba(83,125,255,.18), transparent 36%),
        radial-gradient(circle at 100% 100%, rgba(147,102,255,.15), transparent 36%),
        linear-gradient(125deg, #14234f 0%, #203da4 55%, #4934b8 100%);
}
.mp-footer a { text-decoration: none; }
.mp-footer a:focus-visible,
.mp-wa-widget button:focus-visible,
.mp-wa-widget a:focus-visible {
    outline: 3px solid #ffc52e;
    outline-offset: 3px;
}

/* FOUR MAIN COLUMNS */
.mp-footer-inner {
    display: grid;
    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(0, 1.55fr)
        minmax(0, 1fr)
        minmax(0, 1.2fr);
    gap: 30px;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 48px clamp(20px, 4vw, 48px);
}
.mp-footer-inner > *,
.mp-footer-bottom-inner > * { min-width: 0; }

/* NEWSLETTER */
.mp-footer-newsletter { min-width: 0; overflow-wrap: anywhere; }
.mp-footer-newsletter-title {
    margin: 0 0 8px;
    color: #fff;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.4;
}
.mp-footer-newsletter-description {
    margin: 0 0 18px;
    color: var(--mp-muted);
    font-size: 14px;
    line-height: 1.7;
}
.mp-footer-newsletter .mc4wp-form,
.mp-footer-newsletter form { width: 100%; max-width: 100%; min-width: 0; margin: 0; }
.mp-footer-newsletter input,
.mp-footer-newsletter select,
.mp-footer-newsletter textarea,
.mp-footer-newsletter button { max-width: 100%; box-sizing: border-box; }
.mp-footer-newsletter input[type="email"],
.mp-footer-newsletter input[type="text"] { width: 100%; min-width: 0; }

/* BRAND */
.mp-footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
    min-width: 0;
}
.mp-footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 200px;
    min-height: 76px;
    padding: 12px 17px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(255,255,255,.8);
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(5,13,47,.19);
    transition: transform .2s ease;
}
.mp-footer-logo:hover { transform: translateY(-2px); }
.mp-footer-logo img {
    display: block;
    width: 100%;
    max-width: 165px;
    max-height: 60px;
    object-fit: contain;
    object-position: left center;
}
.mp-footer-description {
    max-width: 310px;
    margin: 0;
    color: var(--mp-muted);
    font-size: 14px;
    line-height: 1.85;
    overflow-wrap: anywhere;
}

/* QUICK LINKS + MY ACCOUNT: TWO COLUMNS INSIDE MAIN COLUMN 2 */
.mp-footer-menu-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 18px;
    min-width: 0;
}
.mp-footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    min-width: 0;
}
.mp-footer-heading {
    position: relative;
    max-width: 100%;
    margin: 0 0 7px;
    padding-bottom: 13px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
.mp-footer-heading::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    content: "";
    border-radius: 5px;
    background: var(--mp-yellow);
    transition: width .2s ease;
}
.mp-footer-column:hover .mp-footer-heading::after { width: 52px; }
.mp-footer-link {
    display: inline-flex;
    align-items: flex-start;
    gap: 9px;
    max-width: 100%;
    min-width: 0;
    color: #e4eaff;
    font-size: 13px;
    line-height: 1.7;
    overflow-wrap: anywhere;
    transition: color .2s ease, transform .2s ease;
}
.mp-footer-link::before {
    flex: 0 0 6px;
    width: 6px;
    height: 6px;
    margin-top: 8px;
    content: "";
    border-radius: 50%;
    background: var(--mp-yellow);
}
.mp-footer-link:hover { color: var(--mp-yellow); transform: translateX(3px); }

/* BRAND ACTION BUTTONS */
.mp-footer-actions { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; margin-top: 3px; }
.mp-footer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 43px;
    max-width: 100%;
    padding: 11px 15px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    overflow-wrap: anywhere;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.mp-footer-btn:hover { transform: translateY(-2px); }
.mp-footer-btn svg {
    flex: 0 0 17px;
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.mp-footer-btn-yellow { color: var(--mp-navy); background: var(--mp-yellow); border-color: var(--mp-yellow); }
.mp-footer-btn-yellow:hover { color: var(--mp-navy); background: #fff; border-color: #fff; }
.mp-footer-btn-outline { color: #fff; background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.5); }
.mp-footer-btn-outline:hover { color: var(--mp-navy); background: #fff; }

/* COPYRIGHT BAR */
.mp-footer-bottom { width: 100%; border-top: 1px solid rgba(255,255,255,.16); background: rgba(7,17,56,.24); }
.mp-footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px 24px;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 18px clamp(20px, 4vw, 48px);
}
.mp-footer-copyright,
.mp-footer-contact {
    max-width: 100%;
    margin: 0;
    color: #dce4ff;
    font-size: 13px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}
.mp-footer-contact { text-align: right; }
.mp-footer-contact a { color: #fff; }
.mp-footer-contact a:hover { color: var(--mp-yellow); }
.mp-footer-separator { margin: 0 8px; color: var(--mp-yellow); }

/* TABLET */
@media (min-width: 561px) and (max-width: 1050px) {
    .mp-footer-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px 24px;
        padding: 38px 24px;
    }
    .mp-footer-menu-group { gap: 18px; }
    .mp-footer-newsletter { grid-column: auto; }
}

/* MOBILE: BRAND FULL WIDTH, MENUS SIDE BY SIDE, COMPANY + NEWSLETTER BELOW */
@media (max-width: 560px) {
    .mp-footer { overflow-x: clip; }
    .mp-footer-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 27px 14px;
        padding: 30px 16px;
    }
    .mp-footer-brand { grid-column: 1 / -1; gap: 14px; }
    .mp-footer-logo { max-width: 180px; min-height: 68px; }
    .mp-footer-description { max-width: 100%; font-size: 13px; line-height: 1.75; }
    .mp-footer-actions { gap: 8px; }
    .mp-footer-btn { min-height: 42px; padding: 10px 12px; }
    .mp-footer-menu-group {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
    .mp-footer-column { gap: 10px; }
    .mp-footer-heading { margin-bottom: 5px; padding-bottom: 11px; font-size: 14px; }
    .mp-footer-link { gap: 7px; font-size: 12px; line-height: 1.65; }
    .mp-footer-link::before { flex-basis: 5px; width: 5px; height: 5px; margin-top: 7px; }
    .mp-footer-company { grid-column: 1 / -1; }
    .mp-footer-newsletter { grid-column: 1 / -1; }
    .mp-footer-newsletter-title { font-size: 21px; }
    .mp-footer-newsletter-description { margin-bottom: 14px; font-size: 13px; }
    .mp-footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 7px;
        padding: 16px;
    }
    .mp-footer-copyright,
    .mp-footer-contact { width: 100%; text-align: left; font-size: 12px; }
    .mp-footer-separator { margin: 0 5px; }
}
@media (max-width: 380px) {
    .mp-footer-inner { column-gap: 12px; row-gap: 23px; padding: 26px 12px; }
    .mp-footer-menu-group { column-gap: 12px; }
    .mp-footer-heading { font-size: 13px; }
    .mp-footer-link { gap: 6px; font-size: 11.5px; }
    .mp-footer-bottom-inner { padding-right: 12px; padding-left: 12px; }
    .mp-footer-btn { padding-right: 10px; padding-left: 10px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
    .mp-footer *,
    .mp-footer *::before,
    .mp-footer *::after,
    .mp-wa-panel,
    .mp-wa-option { transition: none !important; animation: none !important; }
}

/* WHATSAPP WIDGET */
.mp-wa-widget {
    --wa-navy: #192958;
    --wa-text: #14234f;
    --wa-muted: #586785;
    --wa-green: #19a653;
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 99999;
    width: 340px;
    max-width: calc(100vw - 32px);
    color: var(--wa-text);
    font-family: Arial, Helvetica, sans-serif;
}
.mp-wa-widget [hidden] { display: none !important; }
.mp-wa-panel {
    max-height: calc(100vh - 100px);
    max-height: calc(100dvh - 100px);
    margin-bottom: 13px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #fff;
    border: 1px solid #e1e6f0;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(15,30,65,.20);
    animation: mp-wa-enter .22s ease-out;
}
.mp-wa-header { display: flex; align-items: center; gap: 10px; padding: 16px; color: #fff; background: var(--wa-navy); }
.mp-wa-brand { display: flex; align-items: center; gap: 11px; flex: 1; min-width: 0; }
.mp-wa-logo { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.13); font-size: 22px; }
.mp-wa-heading { min-width: 0; }
.mp-wa-heading strong { display: block; font-size: 14px; line-height: 1.45; }
.mp-wa-heading span { display: block; margin-top: 3px; color: #dce5ff; font-size: 12px; line-height: 1.45; }
.mp-wa-phone { display: inline-block; margin-top: 5px; color: #fff; font-size: 12px; overflow-wrap: anywhere; text-decoration: none; }
.mp-wa-phone:hover { text-decoration: underline; }
.mp-wa-dismiss { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 24px; cursor: pointer; }
.mp-wa-dismiss:hover { background: rgba(255,255,255,.24); }
.mp-wa-intro { margin: 0; padding: 15px 17px 10px; color: var(--wa-muted); font-size: 13px; line-height: 1.65; }
.mp-wa-option { display: flex; align-items: center; gap: 11px; padding: 13px 16px; border-top: 1px solid #edf0f6; background: #fff; color: var(--wa-text); text-decoration: none; transition: background .18s ease; }
.mp-wa-option:hover { background: #f5f7fc; }
.mp-wa-option-icon { display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; border-radius: 12px; background: #edf2ff; font-size: 19px; }
.mp-wa-option-copy { flex: 1; min-width: 0; }
.mp-wa-option-copy strong { display: block; margin-bottom: 3px; color: var(--wa-text); font-size: 13px; line-height: 1.45; }
.mp-wa-option-copy span { display: block; color: var(--wa-muted); font-size: 12px; line-height: 1.5; }
.mp-wa-arrow { flex-shrink: 0; color: #8490a9; font-size: 21px; }
.mp-wa-panel-footer { padding: 13px 16px 16px; border-top: 1px solid #edf0f6; background: #f8faff; }
.mp-wa-action { display: flex; justify-content: center; align-items: center; gap: 9px; width: 100%; min-height: 46px; padding: 12px 14px; border: 0; border-radius: 10px; background: var(--wa-green); color: #fff; font-size: 13px; font-weight: 700; line-height: 1.5; text-align: center; text-decoration: none; cursor: pointer; }
.mp-wa-action:hover { background: #128541; color: #fff; }
.mp-wa-launcher { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; margin-left: auto; padding: 0 19px; border: 0; border-radius: 30px; background: var(--wa-green); color: #fff; box-shadow: 0 6px 22px rgba(0,0,0,.22); font-family: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.mp-wa-launcher:hover { background: #128541; }
.mp-wa-launcher-icon { font-size: 22px; line-height: 1; }
@keyframes mp-wa-enter {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 600px) {
    .mp-wa-widget { right: 12px; bottom: 12px; width: 340px; max-width: calc(100vw - 24px); }
    .mp-wa-header { padding: 14px; }
    .mp-wa-option { padding: 12px 14px; }
}
@media (max-height: 560px) {
    .mp-wa-widget { bottom: 10px; }
    .mp-wa-panel { max-height: calc(100vh - 85px); max-height: calc(100dvh - 85px); }
}

  .mp-footer-newsletter label[for="email"] {
    display: block;
    margin-bottom: 0;
    color: #ffffff;
    line-height: 1.6;
}

/* GAP BETWEEN LABEL AND INPUT */
.mp-footer-newsletter label[for="email"] input[type="email"] {
    display: block;
    margin-top: 8px;
}
/* NEWSLETTER FORM */
.mp-footer-newsletter .mc4wp-form {
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.mp-footer-newsletter .mc4wp-form-fields {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

/* EMAIL INPUT */
.mp-footer-newsletter input[type="email"],
.mp-footer-newsletter input[type="text"] {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 48px;
    padding: 13px 15px;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 8px;
    outline: none;
    background: rgba(255,255,255,.10);
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color .2s ease, background .2s ease;
}

.mp-footer-newsletter input[type="email"]::placeholder,
.mp-footer-newsletter input[type="text"]::placeholder {
    color: #dce5ff;
    opacity: 1;
}

.mp-footer-newsletter input[type="email"]:focus,
.mp-footer-newsletter input[type="text"]:focus {
    border-color: #ffc52e;
    background: rgba(255,255,255,.15);
}

/* SUBSCRIBE BUTTON */
.mp-footer-newsletter input[type="submit"],
.mp-footer-newsletter button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
  margin-top: 18px;
    min-height: 48px;
    padding: 12px 18px;
    border: 1px solid #ffc52e;
    border-radius: 8px;
    background: #ffc52e;
    color: #14234f;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
    transition: background .2s ease, color .2s ease,
                border-color .2s ease, transform .2s ease;
}

.mp-footer-newsletter input[type="submit"]:hover,
.mp-footer-newsletter button[type="submit"]:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #14234f;
}

.mp-footer-newsletter input[type="submit"]:focus-visible,
.mp-footer-newsletter button[type="submit"]:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
}

/* FORM MESSAGES */
.mp-footer-newsletter .mc4wp-response {
    margin-top: 12px;
    color: #ffffff;
    font-size: 13px;
    line-height: 1.6;
}

.mp-footer-newsletter .mc4wp-alert {
    padding: 10px 12px;
    border-radius: 6px;
    background: rgba(255,255,255,.1);
}

/* SMALL PHONES */
@media (max-width: 560px) {
    .mp-footer-newsletter input[type="email"],
    .mp-footer-newsletter input[type="text"],
    .mp-footer-newsletter input[type="submit"],
    .mp-footer-newsletter button[type="submit"] {
        min-height: 46px;
    }
}