/* =========================================================
   MIPASHOP GLOBAL THEME
   ========================================================= */

:root {
    /* Brand */
    --mipa-blue-dark: #062c5c;
    --mipa-blue: #0879c9;
    --mipa-blue-light: #13a6e8;

    --mipa-orange: #ff7100;
    --mipa-orange-dark: #f04d00;
    --mipa-yellow: #ffcb05;

    /* Neutral */
    --mipa-white: #ffffff;
    --mipa-gray: #f4f7fa;

    /* Text */
    --mipa-text: #102744;
    --mipa-muted: #65758a;
}

/* =========================================================
   HEADER
   ========================================================= */

.mipa-header {
    background: var(--mipa-white);
    border-bottom: 1px solid rgba(6, 44, 92, 0.08);
}


/* Links */

.mipa-header a {
    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}

.mipa-header a:hover {
    color: var(--mipa-blue);
}


/* Icons */

.mipa-header [class^="icon-"],
.mipa-header [class*=" icon-"] {
    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.mipa-header a:hover [class^="icon-"],
.mipa-header a:hover [class*=" icon-"] {
    color: var(--mipa-orange);
}


/* Search */

.mipa-header input[type="text"],
.mipa-header input[type="search"] {
    border-color: rgba(6, 44, 92, 0.18);

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.mipa-header input[type="text"]:focus,
.mipa-header input[type="search"]:focus {
    border-color: var(--mipa-blue);

    box-shadow:
        0 0 0 3px rgba(8, 121, 201, 0.10);

    outline: none;
}

/* =========================================================
   MIPASHOP - DESKTOP HEADER
   ========================================================= */

.mipa-header-desktop {
    background: var(--mipa-white);
    border-bottom-color: rgba(6, 44, 92, 0.10) !important;
}


/* =========================================================
   LOGO
   ========================================================= */

.mipa-header-desktop > div:first-child > a {
    display: flex;
    align-items: center;
}

.mipa-header-desktop > div:first-child > a img {
    display: block;
    max-height: 44px;
    width: auto;
}


/* =========================================================
   CATEGORY NAVIGATION
   ========================================================= */

.mipa-header-desktop v-desktop-category a {
    color: var(--mipa-blue-dark);
    font-weight: 600;

    transition: color 0.2s ease;
}

.mipa-header-desktop v-desktop-category a:hover {
    color: var(--mipa-orange);
}


/* =========================================================
   SEARCH
   ========================================================= */

.mipa-header-desktop form[role="search"] input {
    color: var(--mipa-text);

    background: var(--mipa-gray);

    border: 1px solid rgba(6, 44, 92, 0.12);

    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

.mipa-header-desktop form[role="search"] input:hover {
    border-color: var(--mipa-blue);
}

.mipa-header-desktop form[role="search"] input:focus {
    background: var(--mipa-white);

    border-color: var(--mipa-blue) !important;

    box-shadow:
        0 0 0 3px rgba(8, 121, 201, 0.10);

    outline: none;
}

.mipa-header-desktop form[role="search"] input::placeholder {
    color: var(--mipa-muted);
}


/* Search icon */

.mipa-header-desktop .icon-search {
    color: var(--mipa-blue-dark);
}


/* =========================================================
   HEADER ICONS
   ========================================================= */

.mipa-header-desktop .icon-compare,
.mipa-header-desktop .icon-cart,
.mipa-header-desktop .icon-users {
    color: var(--mipa-blue-dark);

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.mipa-header-desktop .icon-compare:hover,
.mipa-header-desktop .icon-cart:hover,
.mipa-header-desktop .icon-users:hover {
    color: var(--mipa-orange);

    transform: translateY(-1px);
}


/* =========================================================
   DROPDOWN LINKS
   ========================================================= */

.mipa-header-desktop a {
    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}


/* =========================================================
   PRIMARY BUTTONS INSIDE HEADER
   Login etc.
   ========================================================= */

.mipa-header-desktop .primary-button {
    color: #ffffff !important;

    background: var(--mipa-orange) !important;

    border-color: var(--mipa-orange) !important;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.mipa-header-desktop .primary-button:hover {
    color: #ffffff !important;

    background: var(--mipa-orange-dark) !important;

    border-color: var(--mipa-orange-dark) !important;

    transform: translateY(-1px);
}


/* =========================================================
   SECONDARY BUTTONS INSIDE HEADER
   Register etc.
   ========================================================= */

.mipa-header-desktop .secondary-button {
    color: var(--mipa-blue-dark) !important;

    background: var(--mipa-white) !important;

    border-color: var(--mipa-blue-dark) !important;

    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.mipa-header-desktop .secondary-button:hover {
    color: #ffffff !important;

    background: var(--mipa-blue-dark) !important;

    border-color: var(--mipa-blue-dark) !important;
}

/* =========================================================
   MIPASHOP - MOBILE HEADER
   ========================================================= */

@media (max-width: 1023px) {

    .mipa-header {
        background: var(--mipa-white);
        border-bottom: 1px solid rgba(6, 44, 92, 0.08);
    }

    /*
     * Logo
     */
    .mipa-header .mipa-header-logo {
        display: block;
        width: auto;
        max-height: 42px;
    }


    /*
     * Hamburger + navigation icons
     */
    .mipa-header .icon-hamburger,
    .mipa-header .icon-compare,
    .mipa-header .icon-cart,
    .mipa-header .icon-users {
        color: var(--mipa-blue-dark);

        transition:
            color 0.2s ease,
            transform 0.2s ease;
    }

    .mipa-header .icon-hamburger:hover,
    .mipa-header .icon-compare:hover,
    .mipa-header .icon-cart:hover,
    .mipa-header .icon-users:hover {
        color: var(--mipa-orange);
    }


    /*
     * Search
     */
    .mipa-header form[role="search"] input {
        color: var(--mipa-text);

        background: var(--mipa-gray);

        border: 1px solid rgba(6, 44, 92, 0.12);

        transition:
            border-color 0.2s ease,
            background-color 0.2s ease,
            box-shadow 0.2s ease;
    }

    .mipa-header form[role="search"] input:hover {
        border-color: var(--mipa-blue);
    }

    .mipa-header form[role="search"] input:focus {
        color: var(--mipa-text);

        background: var(--mipa-white);

        border-color: var(--mipa-blue) !important;

        box-shadow:
            0 0 0 3px rgba(8, 121, 201, 0.10);

        outline: none;
    }

    .mipa-header form[role="search"] input::placeholder {
        color: var(--mipa-muted);
    }

    .mipa-header .icon-search {
        color: var(--mipa-blue-dark);
    }


    /*
     * Drawer / mobile navigation links
     */
    .mipa-header a {
        transition:
            color 0.2s ease,
            background-color 0.2s ease;
    }


    /*
     * Primary actions
     */
    .mipa-header .primary-button {
        color: #ffffff !important;

        background: var(--mipa-orange) !important;

        border-color: var(--mipa-orange) !important;
    }

    .mipa-header .primary-button:hover {
        color: #ffffff !important;

        background: var(--mipa-orange-dark) !important;

        border-color: var(--mipa-orange-dark) !important;
    }


    /*
     * Secondary actions
     */
    .mipa-header .secondary-button {
        color: var(--mipa-blue-dark) !important;

        background: var(--mipa-white) !important;

        border-color: var(--mipa-blue-dark) !important;
    }

    .mipa-header .secondary-button:hover {
        color: #ffffff !important;

        background: var(--mipa-blue-dark) !important;

        border-color: var(--mipa-blue-dark) !important;
    }
}

/* =========================================================
   MIPASHOP - FOOTER
   Păstrăm layout-ul Bagisto, schimbăm doar culorile
   ========================================================= */

.mipa-footer {
    background-color: var(--mipa-blue-dark) !important;
    color: #ffffff;
}

/* =========================================================
   FOOTER LAYOUT
   ========================================================= */

@media (min-width: 1061px) {

    .mipa-footer-content {
        align-items: flex-start;
    }

    .mipa-footer-links {
        flex: 1;
        justify-content: space-evenly;
    }
}

/* ---------------------------------------------------------
   Footer links
   --------------------------------------------------------- */

.mipa-footer ul li a {
    color: rgba(255, 255, 255, 0.82);
}

.mipa-footer ul li a:hover {
    color: var(--mipa-orange);
}

.mipa-footer-company p,
.mipa-footer-anpc p {
    color: rgba(255, 255, 255, 0.78);
}

.mipa-footer-company .font-semibold,
.mipa-footer-anpc .font-semibold {
    color: #ffffff;
}

.mipa-footer-company a,
.mipa-footer-anpc a {
    color: rgba(255, 255, 255, 0.82);
}

.mipa-footer-company a:hover,
.mipa-footer-anpc a:hover {
    color: var(--mipa-orange);
}

/* ---------------------------------------------------------
   Newsletter
   --------------------------------------------------------- */

.mipa-footer > div:first-child > div:last-child > p:first-child {
    color: #ffffff !important;
}

.mipa-footer > div:first-child > div:last-child > p:nth-child(2) {
    color: rgba(255, 255, 255, 0.72);
}


/* Newsletter input */

.mipa-footer input[type="email"] {
    color: var(--mipa-text) !important;
    background-color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
}

.mipa-footer input[type="email"]::placeholder {
    color: var(--mipa-muted);
}

.mipa-footer input[type="email"]:focus {
    border-color: var(--mipa-orange) !important;
}


/* Newsletter button */

.mipa-footer form button[type="submit"] {
    color: #ffffff !important;
    background-color: var(--mipa-orange) !important;
}

.mipa-footer form button[type="submit"]:hover {
    color: #ffffff !important;
    background-color: var(--mipa-orange-dark) !important;
}



/* ---------------------------------------------------------
   Mobile accordion
   --------------------------------------------------------- */

.mipa-footer .max-1060\:block {
    border-color: rgba(255, 255, 255, 0.22) !important;
}

/* Accordion header */

.mipa-footer .max-1060\:block > div > div:first-child {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
}

/* Accordion content */

.mipa-footer .max-1060\:block > div > div:last-child {
    background-color: transparent !important;
}


/* ---------------------------------------------------------
   Copyright bar
   --------------------------------------------------------- */

.mipa-footer-bottom {
    background-color: #041f42 !important;
}

.mipa-footer-bottom p {
    color: rgba(255, 255, 255, 0.70) !important;
}

.mipa-footer-bottom p a {
    color: rgba(255, 255, 255, 0.85) !important;
}

.mipa-footer-bottom p a:hover {
    color: var(--mipa-orange) !important;
}


/* =========================================================
   PRODUCT CAROUSEL - IMAGE FIT
   ========================================================= */

.mipa-products-carousel img {
    object-fit: contain !important;
    object-position: center !important;
}

.mipa-product-image,
.mipa-product-image img {
    object-fit: contain !important;
    object-position: center !important;
}

/* =========================================================
   MIPASHOP - CMS ARTICLE
   Scoped pentru a nu afecta restul temei Bagisto
   ========================================================= */

.mipa-article {
    --mipa-blue-dark: #062c5c;
    --mipa-blue: #0879c9;
    --mipa-blue-light: #13a6e8;
    --mipa-orange: #ff7100;
    --mipa-orange-dark: #f04d00;
    --mipa-yellow: #ffcb05;
    --mipa-white: #ffffff;
    --mipa-gray: #f4f7fa;
    --mipa-text: #102744;
    --mipa-muted: #65758a;

    color: var(--mipa-text);
    font-family: "Poppins", Arial, sans-serif;
}


/* =========================================================
   ARTICLE HERO
   ========================================================= */

.mipa-article .article-hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 60px;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(19, 166, 232, 0.14),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f5faff 58%,
            #eaf5ff 100%
        );
}

.mipa-article .article-hero::before {
    content: "";

    position: absolute;

    width: 360px;
    height: 360px;

    right: -170px;
    top: -170px;

    background: var(--mipa-orange);

    border-radius: 50%;

    opacity: 0.07;
}

.mipa-article .article-hero-inner {
    position: relative;
    z-index: 1;

    width: min(1000px, calc(100% - 40px));

    margin: 0 auto;
}

.mipa-article .article-hero h1 {
    max-width: 900px;

    margin: 0 0 24px;

    color: var(--mipa-blue-dark);

    font-size: clamp(44px, 6vw, 72px);
    font-weight: 800;
    line-height: 1;

    letter-spacing: -1.5px;
}

.mipa-article .article-hero h1 .orange {
    color: var(--mipa-orange);
}

.mipa-article .article-lead {
    max-width: 820px;

    margin: 0;

    color: var(--mipa-muted);

    font-size: 21px;
    line-height: 1.7;
}


/* =========================================================
   BREADCRUMB
   ========================================================= */

.mipa-article .breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: 8px;

    margin-bottom: 28px;

    color: var(--mipa-muted);

    font-size: 14px;
}

.mipa-article .breadcrumbs a {
    color: var(--mipa-blue);

    font-weight: 700;

    text-decoration: none;
}

.mipa-article .breadcrumbs a:hover {
    color: var(--mipa-orange);
}

.mipa-article .breadcrumbs span[aria-current="page"] {
    color: var(--mipa-muted);
}


/* =========================================================
   EYEBROW
   ========================================================= */

.mipa-article .eyebrow {
    display: inline-block;

    margin-bottom: 15px;

    color: var(--mipa-orange);

    font-size: 14px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 2px;
}


/* =========================================================
   ARTICLE
   ========================================================= */

.mipa-article .article-section {
    padding: 80px 0;

    background: #ffffff;
}

.mipa-article .article-container {
    width: min(1000px, calc(100% - 40px));
    margin: 0 auto;
}

.mipa-article .article-container p {
    margin: 0 0 22px;

    color: #40536a;

    font-size: 18px;
    line-height: 1.8;
}

.mipa-article .article-container strong {
    color: var(--mipa-blue-dark);

    font-weight: 800;
}

.mipa-article .article-container h2 {
    margin: 58px 0 22px;

    color: var(--mipa-blue-dark);

    font-size: clamp(29px, 4vw, 40px);
    font-weight: 800;
    line-height: 1.18;

    letter-spacing: -0.5px;
}

.mipa-article .article-container h2:first-of-type {
    margin-top: 42px;
}

.mipa-article .article-container ul,
.mipa-article .article-container ol {
    margin: 0 0 28px 24px;

    color: #40536a;

    font-size: 18px;
    line-height: 1.75;
}

.mipa-article .article-container li {
    margin-bottom: 9px;
}

.mipa-article .article-container li::marker {
    color: var(--mipa-orange);

    font-weight: 800;
}


/* =========================================================
   ARTICLE INTRO
   ========================================================= */

.mipa-article .article-intro {
    padding: 28px 30px;

    margin-bottom: 42px !important;

    color: var(--mipa-blue-dark) !important;

    background: var(--mipa-gray);

    border-left: 6px solid var(--mipa-orange);
    border-radius: 14px;

    font-size: 19px !important;
    line-height: 1.75 !important;
}


/* =========================================================
   HIGHLIGHT
   ========================================================= */

.mipa-article .article-highlight {
    margin: 36px 0;

    padding: 26px 28px;

    background: #f2f8fd;

    border: 1px solid #dbeaf5;
    border-radius: 16px;
}

.mipa-article .article-highlight > strong {
    display: block;

    margin-bottom: 8px;

    color: var(--mipa-orange);

    font-size: 15px;
    font-weight: 900;

    text-transform: uppercase;
    letter-spacing: 1px;
}

.mipa-article .article-highlight p {
    margin: 0;

    color: var(--mipa-blue-dark);

    font-size: 17px;
    line-height: 1.7;
}


/* =========================================================
   QUOTE
   ========================================================= */

.mipa-article .article-quote {
    position: relative;

    margin: 34px 0;

    padding: 26px 30px 26px 34px;

    color: var(--mipa-blue-dark);

    background: var(--mipa-gray);

    border-left: 6px solid var(--mipa-blue);
    border-radius: 14px;

    font-size: clamp(22px, 3vw, 28px);
    font-weight: 800;
    line-height: 1.4;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.mipa-article .article-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 52px;

    padding: 14px 28px;

    border-radius: 8px;

    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;

    text-align: center;
    text-decoration: none !important;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.mipa-article .article-btn-orange {
    color: #ffffff !important;

    background: var(--mipa-orange);

    border: 2px solid var(--mipa-orange);
}

.mipa-article .article-btn-orange:hover {
    color: #ffffff !important;

    background: var(--mipa-orange-dark);

    border-color: var(--mipa-orange-dark);
}

.mipa-article .article-btn-dark {
    color: #ffffff !important;

    background: var(--mipa-blue-dark);

    border: 2px solid var(--mipa-blue-dark);
}

.mipa-article .article-btn-dark:hover {
    color: #ffffff !important;

    background: var(--mipa-blue);

    border-color: var(--mipa-blue);
}


/* =========================================================
   CTA
   ========================================================= */

.mipa-article .article-cta {
    width: min(1000px, calc(100vw - 40px));

    margin: 60px 50%;

    padding: 38px 42px;

    transform: translateX(-50%);

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 34px;

    background:
        linear-gradient(
            135deg,
            #f7fbff,
            #eef7ff
        );

    border: 1px solid #dceaf5;
    border-left: 7px solid var(--mipa-orange);
    border-radius: 20px;
}

.mipa-article .article-cta h2 {
    margin: 0 0 10px;

    font-size: clamp(28px, 3vw, 38px);
}

.mipa-article .article-cta p {
    max-width: 560px;

    margin: 0;

    font-size: 17px;
}

.mipa-article .article-cta .eyebrow {
    margin-bottom: 8px;
}

.mipa-article .article-cta-actions {
    flex-shrink: 0;

    display: flex;
    flex-direction: column;

    gap: 12px;
}


/* =========================================================
   FINAL CTA
   ========================================================= */

.mipa-article .article-final-cta {
    width: min(1000px, calc(100vw - 40px));

    margin: 64px 50% 0;

    padding: 48px;

    transform: translateX(-50%);

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            var(--mipa-blue-dark),
            #07599a
        );

    border-radius: 22px;

    text-align: center;
}

.mipa-article .article-final-cta h2 {
    margin: 0 0 14px;

    color: #ffffff;

    font-size: clamp(32px, 4vw, 44px);
}

.mipa-article .article-final-cta p {
    max-width: 700px;

    margin: 0 auto 28px;

    color: rgba(255, 255, 255, 0.84);

    font-size: 18px;
}

.mipa-article .article-final-actions {
    display: flex;
    flex-wrap: wrap;

    justify-content: center;

    gap: 14px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .mipa-article .article-hero {
        padding: 58px 0 50px;
    }

    .mipa-article .article-hero h1 {
        font-size: clamp(40px, 8vw, 58px);
    }

    .mipa-article .article-lead {
        font-size: 19px;
    }

    .mipa-article .article-section {
        padding: 65px 0;
    }

    .mipa-article .article-container {
        .mipa-article .article-container {
            width: calc(100% - 36px);
        }
    }

    .mipa-article .article-cta {
        width: calc(100vw - 40px);

        padding: 34px 30px;

        flex-direction: column;
        align-items: flex-start;
    }

    .mipa-article .article-cta-actions {
        width: 100%;

        flex-direction: row;
        flex-wrap: wrap;
    }

    .mipa-article .article-cta-actions .article-btn {
        flex: 1;
    }

    .mipa-article .article-final-cta {
        width: calc(100vw - 40px);

        padding: 42px 30px;
    }
}


@media (max-width: 600px) {

    .mipa-article .article-hero {
        padding: 42px 0 40px;
    }

    .mipa-article .article-hero-inner {
        width: calc(100% - 28px);
    }

    .mipa-article .breadcrumbs {
        margin-bottom: 22px;

        font-size: 13px;
    }

    .mipa-article .article-hero h1 {
        margin-bottom: 20px;

        font-size: clamp(36px, 11vw, 48px);
        line-height: 1.02;
    }

    .mipa-article .article-lead {
        font-size: 17px;
        line-height: 1.65;
    }

    .mipa-article .article-section {
        padding: 48px 0;
    }

    .mipa-article .article-container {
        width: calc(100% - 28px);
    }

    .mipa-article .article-container p {
        margin-bottom: 19px;

        font-size: 16px;
        line-height: 1.75;
    }

    .mipa-article .article-container h2 {
        margin-top: 45px;
        margin-bottom: 18px;

        font-size: 29px;
        line-height: 1.2;
    }

    .mipa-article .article-container ul,
    .mipa-article .article-container ol {
        margin-left: 20px;

        font-size: 16px;
        line-height: 1.7;
    }

    .mipa-article .article-intro {
        padding: 22px 20px;

        margin-bottom: 34px !important;

        font-size: 17px !important;
    }

    .mipa-article .article-highlight {
        margin: 30px 0;

        padding: 22px 20px;
    }

    .mipa-article .article-highlight p {
        font-size: 16px;
    }

    .mipa-article .article-quote {
        margin: 28px 0;

        padding: 22px 20px 22px 24px;

        font-size: 22px;
    }

    .mipa-article .article-cta {
        width: calc(100vw - 28px);

        margin-top: 45px;
        margin-bottom: 45px;

        padding: 28px 20px;

        border-left-width: 5px;
    }

    .mipa-article .article-cta h2 {
        font-size: 29px;
    }

    .mipa-article .article-cta p {
        font-size: 16px;
    }

    .mipa-article .article-cta-actions {
        flex-direction: column;
    }

    .mipa-article .article-cta-actions .article-btn {
        width: 100%;
    }

    .mipa-article .article-final-cta {
        width: calc(100vw - 28px);

        margin-top: 48px;

        padding: 34px 20px;

        border-radius: 18px;
    }

    .mipa-article .article-final-cta h2 {
        font-size: 30px;
    }

    .mipa-article .article-final-cta p {
        font-size: 16px;
    }

    .mipa-article .article-final-actions {
        flex-direction: column;
    }

    .mipa-article .article-final-actions .article-btn {
        width: 100%;
    }
}
