
/*
Theme Name: Marina Publications Pvt
*/

/* =========================================================
   1. DESIGN VARIABLES
========================================================= */

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

/* =========================================================
   2. GLOBAL RESET & TYPOGRAPHY
========================================================= */

*,
*::before,
*::after {
    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;
}

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

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

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

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

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

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

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

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

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

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

/* =========================================================
   3. HEADER & NAVIGATION
========================================================= */

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

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

@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;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 16px;
    max-width: 1320px;
    min-height: 100px;
    margin: auto;
    padding: 0px clamp(14px, 4vw, 44px);
}

/* Logo */

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

.mp-brand img {
    display: block;
    width: 150px;
    max-width: 100%;
    height: 120px;
    object-fit: contain;
    object-position: left center;
}

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

/* Header account user area */

.mp-header-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

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

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

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

.mp-header-logout:focus {
    text-decoration: none;
}

.mp-header-logout svg {
    display: block;
    width: 22px;
    height: 22px;
}

/* =========================================================
   4. HEADER 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, 0.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 {
    display: grid;
    place-items: center;
    flex: none;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 0 999px 999px 0;
    background: #2454FF;
    color: #fff;
    cursor: pointer;
    font-size: 23px;
}

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

/* Search results */

#mp-product-search-results {
    display: none;
    position: absolute;
    top: calc(100% + 9px);
    left: 0;
    right: 0;
    z-index: 2000;
    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, 0.16);
}

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

#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 {
    display: block;
    flex: 0 0 48px;
    width: 48px;
    height: 58px;
    border-radius: 5px;
    background: #F5F7FC;
    object-fit: contain;
}

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

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

/* =========================================================
   5. HEADER MENU TOGGLE
========================================================= */

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

.mp-menu-label {
    display: inline-flex;
    align-items: center;
    flex: none;
    gap: 10px;
    padding: 14px 18px;
    border: 0;
    border-radius: 999px;
    background: #EEF3FF;
    color: #2454FF;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.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;
    border-radius: 2px;
    background: currentColor;
}

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

/* =========================================================
   6. HEADER ACCOUNT & CART ICONS
========================================================= */

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

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

.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 {
    display: block;
    width: 22px;
    height: 22px;
}

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

/* =========================================================
   7. DROPDOWN NAVIGATION
========================================================= */

.mp-menu-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 999;
    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, 0.12);
}

.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: 10px;
    border-bottom: 1px solid #E4EAFB;
}

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

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

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

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

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

.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;
    color: #152250;
    font-size: 15px;
    font-weight: 700;
}

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

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

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

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

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

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

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

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

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

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

/* =========================================================
   8. GLOBAL RESPONSIVE HEADER
========================================================= */

@media (max-width: 1100px) {
    .mp-header-inner {
        gap: 10px;
    }

    .mp-brand img {
        width: 160px;
    }

    .mp-brand-name {
        font-size: 16px;
    }

    .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;
        flex-wrap: wrap;
        gap: 10px;
        padding: 0px 14px;
    }

    .mp-brand {
        order: 1;
        gap: 0;
        margin-right: auto;
    }

    .mp-brand img {
        width: 130px;
        height: 70px;
    }

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

    .mp-brand img {
        width: 112px;
    }

    .mp-menu-label {
        gap: 6px;
        padding: 9px;
        font-size: 11px;
    }

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

/* =========================================================
   9. GLOBAL 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;
    }
}

/* =========================================================
   10. WOOCOMMERCE CART & CHECKOUT 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;
}

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

/* =========================================================
   11. CART & CHECKOUT 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-cart-page .mp-page-title,
.mp-checkout-page .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;
}

/* =========================================================
   12. 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,
.mp-cart-summary {
    min-width: 0;
}

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

/* =========================================================
   13. 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;
    border-radius: 7px;
    object-fit: cover;
    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;
}

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

/* =========================================================
   14. CART REMOVE 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;
}

/* =========================================================
   15. CART QUANTITY
========================================================= */

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

/* =========================================================
   16. CART & CHECKOUT 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;
}

/* =========================================================
   17. CART COUPON & 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;
    outline: none;
    background: var(--mp-white);
    color: var(--mp-text);
}

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

/* =========================================================
   18. CART TOTALS
========================================================= */

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

/* =========================================================
   19. 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);
}

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

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

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

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

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

/* =========================================================
   22. CHECKOUT 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;
}

/* =========================================================
   23. CHECKOUT SHIPPING & 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;
}

/* =========================================================
   24. CHECKBOXES & 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;
}

/* =========================================================
   25. WOOCOMMERCE NOTICES & 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);
}

/* =========================================================
   26. CART & CHECKOUT 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;
}

/* =========================================================
   27. CART & CHECKOUT 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;
    }
}

/* =========================================================
   28. CART & CHECKOUT 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;
    }
}

/* =========================================================
   29. MOBILE CART & CHECKOUT
========================================================= */

@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-cart-page .mp-page-title,
    .mp-checkout-page .mp-page-title {
        font-size: 29px;
        letter-spacing: -0.4px;
    }

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

    /* Cart mobile cards */

    .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;
        margin: 0 0 5px;
        padding-right: 30px;
        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 {
        display: flex;
        grid-column: 2;
        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;
    }

    /* Cart actions */

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

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

    /* Checkout panels */

    .mp-checkout-panel {
        margin-bottom: 16px;
        padding: 18px 15px;
        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;
    }

    /* WooCommerce mobile notices */

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

/* =========================================================
   30. SMALL PHONE CART & CHECKOUT
========================================================= */

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

    .mp-cart-page .mp-page-title,
    .mp-checkout-page .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;
    }
}

/* =========================================================
   31. PAGE HERO & BREADCRUMB
========================================================= */

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

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

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

/* Breadcrumb */

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

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

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

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

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

/* Hero decorative glow */

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

.mp-breadcrumb a:focus-visible {
    outline: 2px solid #176B45;
    outline-offset: 4px;
    border-radius: 2px;
}

/* Hero responsive */

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

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

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

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

    .mp-page-hero .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%;
    }
}

/* =========================================================
   32. SCHOOL SECTION
========================================================= */

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

/* =========================================================
   33. WOOCOMMERCE SHOP PRODUCT THUMBNAIL
========================================================= */

.woocommerce ul.products li.product img.shop-custom-thumbnail {
    display: block;
    width: 100% !important;
    max-width: 100%;
    height: 300px;
    margin: 0 auto 15px;
    object-fit: contain;
    object-position: center;
}

/* =========================================================
   34. FOOTER FOUNDATION
========================================================= */

.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;
    background:
        radial-gradient(circle at 5% 0%, rgba(83, 125, 255, 0.18), transparent 36%),
        radial-gradient(circle at 100% 100%, rgba(147, 102, 255, 0.15), transparent 36%),
        linear-gradient(125deg, #14234f 0%, #203da4 55%, #4934b8 100%);
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
}

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

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

/* =========================================================
   35. FOOTER 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: 80px;
    padding: 2px 1px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(5, 13, 47, 0.19);
    transition: transform 0.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;
}

/* Footer 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;
    max-width: 100%;
    min-height: 43px;
    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 0.2s ease, color 0.2s ease, transform 0.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 {
    border-color: var(--mp-yellow);
    background: var(--mp-yellow);
    color: var(--mp-navy);
}

.mp-footer-btn-yellow:hover {
    border-color: #fff;
    background: #fff;
    color: var(--mp-navy);
}

.mp-footer-btn-outline {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.mp-footer-btn-outline:hover {
    background: #fff;
    color: var(--mp-navy);
}

/* =========================================================
   36. FOOTER MENUS & LINKS
========================================================= */

.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;
    border-radius: 5px;
    background: var(--mp-yellow);
    content: "";
    transition: width 0.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 0.2s ease, transform 0.2s ease;
}

.mp-footer-link::before {
    flex: 0 0 6px;
    width: 6px;
    height: 6px;
    margin-top: 8px;
    border-radius: 50%;
    background: var(--mp-yellow);
    content: "";
}

.mp-footer-link:hover {
    color: var(--mp-yellow);
    transform: translateX(3px);
}

/* =========================================================
   37. FOOTER 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 .mc4wp-form-fields {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

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

.mp-footer-newsletter label[for="email"] input[type="email"] {
    display: block;
    margin-top: 8px;
}

.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"] {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 48px;
    padding: 13px 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    outline: none;
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    transition: border-color 0.2s ease, background 0.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, 0.15);
}

.mp-footer-newsletter input[type="submit"],
.mp-footer-newsletter button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    margin-top: 18px;
    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 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

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

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

.mp-footer-newsletter .mc4wp-response {
    margin-top: 12px;
    color: #fff;
    font-size: 13px;
    line-height: 1.6;
}

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

/* =========================================================
   38. FOOTER COPYRIGHT BAR
========================================================= */

.mp-footer-bottom {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(7, 17, 56, 0.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);
}

/* =========================================================
   39. FOOTER 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;
    }
}

/* =========================================================
   40. FOOTER MOBILE
========================================================= */

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

    .mp-footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 7px;
        padding: 16px;
    }

    .mp-footer-copyright,
    .mp-footer-contact {
        width: 100%;
        font-size: 12px;
        text-align: left;
    }

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

/* =========================================================
   41. 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;
    border: 1px solid #e1e6f0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 40px rgba(15, 30, 65, 0.20);
    animation: mp-wa-enter 0.22s ease-out;
}

.mp-wa-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px;
    background: var(--wa-navy);
    color: #fff;
}

.mp-wa-brand {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 11px;
    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, 0.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 {
    color: #ccc;
    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, 0.12);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

.mp-wa-dismiss:hover {
    background: rgba(255, 255, 255, 0.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 0.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;
    align-items: center;
    justify-content: 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, 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;
}

/* WhatsApp animation */

@keyframes mp-wa-enter {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* WhatsApp responsive */

@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);
    }
}

/* =========================================================
   42. REDUCED MOTION ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {
    .mp-cart-page *,
    .mp-checkout-page *,
    .mp-footer *,
    .mp-footer *::before,
    .mp-footer *::after,
    .mp-wa-panel,
    .mp-wa-option {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
@media only screen and (max-width: 768px) {

    .woocommerce table.shop_table_responsive tr td,
    .woocommerce-page table.shop_table_responsive tr td {

        display: block;
        text-align: right !important;
        width: 300px;
    }

}
.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register {
    padding: 20px;
    margin: 2em 0;
    text-align: left;
    border: none !important;
    border-radius: 5px;
}

.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register {
    border: 1px solid var(--wc-separator-color, 
color-mix(in srgb, currentColor 20%, transparent));
      padding: 0px!important; 
    margin: 2em 0;
    text-align: left;
    border-radius: 5px;
}