
:root {
    --verde: #173d32;
    --verde-2: #235746;
    --vinho: #7d2634;
    --vinho-2: #a13a4b;
    --dourado: #c9a45c;
    --dourado-claro: #ead7ad;
    --creme: #fbf8f1;
    --creme-2: #f4eee3;
    --branco: #ffffff;
    --texto: #2d2a27;
    --texto-claro: #6e675f;
    --borda: rgba(65, 51, 38, .12);
    --sombra: 0 24px 65px rgba(63, 49, 36, .12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--creme);
    color: var(--texto);
    font-family: Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

img {
    max-width: 100%;
}

.ep-page {
    width: 100%;
    overflow: hidden;
}

.ep-container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.ep-section {
    padding: 92px 0;
}

.ep-kicker,
.ep-mini {
    display: inline-block;
    color: var(--vinho);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 1.55px;
    text-transform: uppercase;
}

.ep-kicker::before {
    content: "";
    display: inline-block;
    width: 25px;
    height: 1px;
    margin-right: 9px;
    margin-bottom: 4px;
    background: var(--dourado);
}

.ep-heading {
    max-width: 780px;
    margin: 0 auto 46px;
    text-align: center;
}

.ep-heading h2 {
    margin: 12px 0 0;
    color: var(--verde);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.08;
    font-weight: 400;
    letter-spacing: -1px;
}

.ep-heading p {
    max-width: 650px;
    margin: 17px auto 0;
    color: var(--texto-claro);
    font-size: 16px;
    line-height: 1.7;
}


/* Topo */
.ep-topbar {
    background: var(--verde);
    color: #fff;
}

.ep-topbar-inner {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .75px;
    text-transform: uppercase;
}

.ep-topbar-inner strong {
    color: var(--dourado-claro);
}

.ep-topbar-dot {
    width: 4px;
    height: 4px;
    flex: 0 0 4px;
    border-radius: 50%;
    background: var(--dourado);
}


/* Hero */
.ep-hero {
    position: relative;
    background:
        radial-gradient(circle at 3% 8%, rgba(201,164,92,.14), transparent 27%),
        radial-gradient(circle at 95% 88%, rgba(125,38,52,.08), transparent 27%),
        var(--creme);
}

.ep-hero-grid {
    min-height: 710px;
    padding: 72px 0 88px;
    display: grid;
    grid-template-columns: .94fr 1.06fr;
    gap: 64px;
    align-items: center;
}

.ep-hero-copy h1 {
    margin: 14px 0 0;
    color: var(--verde);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(48px, 5.8vw, 78px);
    line-height: .97;
    font-weight: 400;
    letter-spacing: -2px;
}

.ep-hero-copy h1 em {
    color: var(--vinho);
    font-weight: 400;
}

.ep-hero-copy h2 {
    max-width: 580px;
    margin: 18px 0 0;
    color: var(--vinho);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(24px, 2.6vw, 34px);
    line-height: 1.17;
    font-weight: 400;
}

.ep-lead {
    max-width: 590px;
    margin: 22px 0 0;
    color: var(--texto-claro);
    font-size: 17px;
    line-height: 1.72;
}

.ep-lead strong {
    color: var(--texto);
}

.ep-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 24px 0 20px;
}

.ep-badges span {
    padding: 9px 12px;
    border: 1px solid var(--borda);
    border-radius: 7px;
    background: rgba(255,255,255,.74);
    color: #514c46;
    font-size: 12px;
    font-weight: 700;
}

.ep-price-card {
    max-width: 430px;
    margin: 0 0 20px;
    padding: 17px 19px;
    border: 1px solid rgba(125,38,52,.11);
    border-left: 3px solid var(--vinho);
    background: rgba(255,255,255,.68);
}

.ep-price-label {
    display: block;
    margin-bottom: 3px;
    color: var(--vinho);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.ep-price-old {
    color: var(--texto-claro);
    font-size: 13px;
}

.ep-price-main {
    display: flex;
    align-items: baseline;
    gap: 7px;
    margin-top: 1px;
}

.ep-price-main span {
    color: var(--texto-claro);
    font-size: 13px;
}

.ep-price-main strong {
    color: var(--verde);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 39px;
    line-height: 1;
    font-weight: 500;
}

.ep-price-card p {
    margin: 7px 0 0;
    color: var(--texto-claro);
    font-size: 11.5px;
}

.ep-btn {
    display: inline-flex;
    min-height: 60px;
    padding: 17px 28px;
    align-items: center;
    justify-content: center;
    gap: 11px;
    border: 0;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--vinho), var(--vinho-2));
    box-shadow: 0 16px 36px rgba(125,38,52,.22);
    color: #fff;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .4px;
    text-align: center;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.ep-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 42px rgba(125,38,52,.29);
}

.ep-btn-light {
    background: #fff;
    color: var(--verde);
    box-shadow: 0 14px 35px rgba(0,0,0,.15);
}

.ep-secure {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 13px;
    color: #756e65;
    font-size: 11.5px;
}

.ep-hero-media {
    position: relative;
}

.ep-image-frame {
    position: relative;
    max-width: 610px;
    margin-left: auto;
}

.ep-image-frame::before {
    content: "";
    position: absolute;
    left: -22px;
    top: 24px;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(201,164,92,.7);
}

.ep-image-frame > img {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    max-height: 680px;
    object-fit: contain;
    background: #fff;
    box-shadow: var(--sombra);
}

.ep-stamp {
    position: absolute;
    z-index: 3;
    left: -46px;
    bottom: 34px;
    width: 124px;
    height: 124px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 5px solid var(--creme);
    border-radius: 50%;
    background: var(--verde);
    color: #fff;
    text-align: center;
    box-shadow: 0 14px 32px rgba(23,61,50,.27);
}

.ep-stamp strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 35px;
    line-height: 1;
    font-weight: 400;
}

.ep-stamp span {
    margin-top: 4px;
    font-size: 9px;
    line-height: 1.2;
    font-weight: 800;
    text-transform: uppercase;
}


/* Métricas */
.ep-metrics {
    position: relative;
    z-index: 4;
    background: var(--creme);
}

.ep-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--borda);
    background: #fff;
    box-shadow: 0 18px 45px rgba(64,50,38,.07);
}

.ep-metrics-grid > div {
    position: relative;
    min-height: 125px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ep-metrics-grid > div:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 30%;
    width: 1px;
    height: 40%;
    background: var(--borda);
}

.ep-metrics strong {
    color: var(--vinho);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    font-weight: 400;
}

.ep-metrics span {
    margin-top: 4px;
    color: var(--texto-claro);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .6px;
    text-transform: uppercase;
}


/* Benefícios */
.ep-two-columns {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 82px;
    align-items: center;
}

.ep-feature-card {
    position: relative;
    padding: 52px 45px;
    overflow: hidden;
    background: var(--verde);
    color: #fff;
}

.ep-feature-card::after {
    content: "✦";
    position: absolute;
    right: 22px;
    top: 10px;
    color: rgba(234,215,173,.25);
    font-size: 86px;
}

.ep-feature-card .ep-mini {
    color: var(--dourado-claro);
}

.ep-feature-card h2 {
    margin: 16px 0 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(31px, 3vw, 43px);
    line-height: 1.14;
    font-weight: 400;
}

.ep-feature-card p {
    margin: 0;
    color: rgba(255,255,255,.77);
    font-size: 15px;
    line-height: 1.75;
}

.ep-benefit-copy > h2 {
    margin: 12px 0 0;
    color: var(--verde);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(33px, 3.8vw, 49px);
    line-height: 1.08;
    font-weight: 400;
}

.ep-checks {
    display: grid;
    gap: 18px;
    margin-top: 30px;
}

.ep-checks article {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 13px;
}

.ep-checks i {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(35,87,70,.09);
    color: var(--verde);
    font-style: normal;
    font-weight: 900;
}

.ep-checks strong {
    display: block;
    margin-top: 1px;
    font-size: 14.5px;
}

.ep-checks p {
    margin: 3px 0 0;
    color: var(--texto-claro);
    font-size: 13.5px;
    line-height: 1.55;
}


/* Galeria */
.ep-gallery-section {
    background: #fff;
}

.ep-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.ep-gallery-item {
    position: relative;
    min-height: 315px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: var(--creme-2);
    cursor: zoom-in;
}

.ep-gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 315px;
    object-fit: cover;
    transition: transform .4s ease;
}

.ep-gallery-item:hover img {
    transform: scale(1.035);
}

.ep-gallery-item > span {
    position: absolute;
    inset: auto 0 0;
    padding: 55px 15px 15px;
    background: linear-gradient(transparent, rgba(20,28,25,.82));
    color: #fff;
    text-align: left;
    pointer-events: none;
}

.ep-gallery-item strong {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    font-weight: 400;
}

.ep-gallery-item small {
    display: block;
    margin-top: 3px;
    color: rgba(255,255,255,.73);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .8px;
    text-transform: uppercase;
}


/* Oferta */
.ep-offer {
    background: var(--creme);
}

.ep-offer-grid {
    padding: 62px 64px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 45px;
    align-items: center;
    background: var(--vinho);
    color: #fff;
}

.ep-kicker-light {
    color: var(--dourado-claro);
}

.ep-offer h2 {
    max-width: 700px;
    margin: 11px 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(31px, 3.5vw, 45px);
    line-height: 1.1;
    font-weight: 400;
}

.ep-offer p {
    max-width: 650px;
    margin: 0;
    color: rgba(255,255,255,.77);
    font-size: 14px;
}

.ep-offer-price {
    min-width: 245px;
    text-align: center;
}

.ep-offer-price > span {
    display: block;
    color: rgba(255,255,255,.75);
    font-size: 12px;
}

.ep-offer-price > strong {
    display: block;
    margin: 2px 0 14px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 42px;
    font-weight: 400;
}


/* Como funciona */
.ep-how {
    background: #fff;
}

.ep-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.ep-steps article {
    position: relative;
    padding: 32px 34px;
    text-align: center;
}

.ep-steps article:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 18%;
    right: 0;
    width: 1px;
    height: 64%;
    background: var(--borda);
}

.ep-steps article > span {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--dourado);
    border-radius: 50%;
    color: var(--vinho);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
}

.ep-steps h3 {
    margin: 0 0 7px;
    color: var(--verde);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-weight: 400;
}

.ep-steps p {
    max-width: 290px;
    margin: 0 auto;
    color: var(--texto-claro);
    font-size: 13px;
    line-height: 1.6;
}


/* FAQ */
.ep-faq-section {
    background: var(--creme);
}

.ep-faq {
    max-width: 860px;
    margin: 0 auto;
    border-top: 1px solid var(--borda);
}

.ep-faq-item {
    border-bottom: 1px solid var(--borda);
}

.ep-faq-item button {
    width: 100%;
    padding: 23px 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 0;
    background: transparent;
    color: var(--verde);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
    text-align: left;
    cursor: pointer;
}

.ep-faq-item button span {
    color: var(--vinho);
    font-family: Arial, sans-serif;
    font-size: 24px;
    font-weight: 300;
    transition: transform .2s ease;
}

.ep-faq-item.active button span {
    transform: rotate(45deg);
}

.ep-faq-item > div {
    display: none;
    padding: 0 40px 22px 4px;
}

.ep-faq-item.active > div {
    display: block;
}

.ep-faq-item p {
    margin: 0;
    color: var(--texto-claro);
    font-size: 14px;
    line-height: 1.65;
}


/* Final */
.ep-final {
    padding: 100px 0;
    background:
        linear-gradient(rgba(18,50,42,.95), rgba(18,50,42,.96)),
        url("../img/colecao-natal-precioso.jpeg") center / cover no-repeat;
    color: #fff;
    text-align: center;
}

.ep-final .ep-mini {
    color: var(--dourado-claro);
}

.ep-final h2 {
    margin: 15px 0 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(40px, 5vw, 60px);
    line-height: 1.05;
    font-weight: 400;
}

.ep-final-price {
    margin: 22px 0 23px;
}

.ep-final-price span {
    display: block;
    color: rgba(255,255,255,.69);
    font-size: 12px;
}

.ep-final-price strong {
    display: block;
    margin-top: 2px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 48px;
    line-height: 1;
    font-weight: 400;
}

.ep-final-safe {
    margin: 14px 0 0;
    color: rgba(255,255,255,.6);
    font-size: 11px;
}

.ep-footer {
    padding: 20px 15px 82px;
    background: #102e27;
    color: rgba(255,255,255,.5);
    font-size: 10.5px;
    text-align: center;
}


/* Lightbox */
.ep-lightbox {
    position: fixed;
    z-index: 99999;
    inset: 0;
    display: none;
    padding: 25px;
    align-items: center;
    justify-content: center;
    background: rgba(13,17,15,.93);
    backdrop-filter: blur(7px);
}

.ep-lightbox.is-open {
    display: flex;
}

.ep-lightbox img {
    max-width: min(100%, 1000px);
    max-height: 88vh;
    object-fit: contain;
    box-shadow: 0 25px 80px rgba(0,0,0,.38);
}

.ep-lightbox-close {
    position: absolute;
    right: 20px;
    top: 17px;
    width: 45px;
    height: 45px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}


/* CTA mobile */
.ep-mobile-cta {
    display: none;
}


/* Responsividade */
@media (max-width: 1000px) {
    .ep-hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .ep-two-columns {
        gap: 45px;
    }

    .ep-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .ep-container {
        width: calc(100% - 28px);
    }

    .ep-section {
        padding: 64px 0;
    }

    .ep-topbar-inner {
        min-height: 43px;
        font-size: 9px;
        letter-spacing: .4px;
    }

    .ep-topbar-inner > span:not(.ep-topbar-dot) {
        display: none;
    }

    .ep-topbar-dot {
        display: none;
    }

    .ep-hero-grid {
        min-height: auto;
        padding: 50px 0 70px;
        grid-template-columns: 1fr;
        gap: 47px;
    }

    .ep-hero-copy h1 {
        font-size: 48px;
        letter-spacing: -1px;
    }

    .ep-hero-copy h2 {
        font-size: 25px;
    }

    .ep-lead {
        font-size: 15.5px;
    }

    .ep-price-card {
        max-width: none;
    }

    .ep-btn {
        width: 100%;
    }

    .ep-image-frame::before {
        left: -9px;
        top: 11px;
    }

    .ep-stamp {
        left: -3px;
        bottom: -29px;
        width: 96px;
        height: 96px;
    }

    .ep-stamp strong {
        font-size: 29px;
    }

    .ep-metrics-grid {
        grid-template-columns: 1fr;
    }

    .ep-metrics-grid > div {
        min-height: 92px;
    }

    .ep-metrics-grid > div:not(:last-child)::after {
        top: auto;
        left: 15%;
        right: 15%;
        bottom: 0;
        width: 70%;
        height: 1px;
    }

    .ep-two-columns {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .ep-feature-card {
        padding: 39px 27px;
    }

    .ep-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .ep-gallery-item,
    .ep-gallery-item img {
        min-height: 225px;
    }

    .ep-gallery-item > span {
        padding: 45px 10px 10px;
    }

    .ep-gallery-item strong {
        font-size: 14px;
    }

    .ep-gallery-item small {
        font-size: 8px;
    }

    .ep-offer-grid {
        padding: 42px 26px;
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .ep-offer-price {
        min-width: 0;
        text-align: left;
    }

    .ep-offer-price .ep-btn {
        margin-top: 4px;
    }

    .ep-steps {
        grid-template-columns: 1fr;
    }

    .ep-steps article {
        padding: 27px 10px;
    }

    .ep-steps article:not(:last-child)::after {
        top: auto;
        left: 20%;
        right: 20%;
        bottom: 0;
        width: 60%;
        height: 1px;
    }

    .ep-final {
        padding: 78px 0 90px;
    }

    .ep-footer {
        padding-bottom: 94px;
    }

    .ep-mobile-cta {
        position: fixed;
        z-index: 9998;
        left: 0;
        right: 0;
        bottom: 0;
        display: flex;
        min-height: 67px;
        padding: 8px 11px calc(8px + env(safe-area-inset-bottom));
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        background: rgba(255,255,255,.97);
        border-top: 1px solid rgba(0,0,0,.08);
        box-shadow: 0 -5px 24px rgba(0,0,0,.09);
        backdrop-filter: blur(9px);
    }

    .ep-mobile-cta > div {
        padding-left: 3px;
    }

    .ep-mobile-cta small {
        display: block;
        color: var(--texto-claro);
        font-size: 9px;
    }

    .ep-mobile-cta strong {
        display: block;
        color: var(--verde);
        font-family: Georgia, "Times New Roman", serif;
        font-size: 22px;
        line-height: 1;
        font-weight: 400;
    }

    .ep-mobile-cta > a {
        min-height: 48px;
        padding: 0 17px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        background: var(--vinho);
        color: #fff;
        font-size: 10.5px;
        font-weight: 800;
        text-decoration: none;
    }
}


/* ==========================================================
   CHECKOUT WOOCOMMERCE EMBUTIDO
========================================================== */

.ep-checkout-section {
    position: relative;
    padding: 86px 0 100px;
    background:
        radial-gradient(circle at 0% 0%, rgba(201,164,92,.11), transparent 28%),
        var(--creme);
    scroll-margin-top: 20px;
}

.ep-checkout-heading {
    max-width: 760px;
    margin: 0 auto 38px;
    text-align: center;
}

.ep-checkout-heading h2 {
    margin: 10px 0 8px;
    color: var(--verde);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 4.6vw, 56px);
    line-height: 1.05;
    font-weight: 400;
}

.ep-checkout-heading p {
    margin: 0;
    color: var(--texto-claro);
    font-size: 15px;
}

.ep-checkout-shell {
    max-width: 1080px;
    margin: 0 auto;
}

.ep-checkout-summary {
    margin-bottom: 18px;
    padding: 20px;
    display: grid;
    grid-template-columns: 104px 1fr;
    gap: 18px;
    align-items: center;
    border: 1px solid var(--borda);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 15px 42px rgba(60,47,35,.06);
}

.ep-summary-image {
    width: 104px;
    height: 104px;
    overflow: hidden;
    border-radius: 10px;
    background: var(--creme-2);
}

.ep-summary-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ep-summary-copy > span {
    display: block;
    color: var(--vinho);
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ep-summary-copy h3 {
    margin: 4px 0 2px;
    color: var(--verde);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
    font-weight: 400;
}

.ep-summary-copy p {
    margin: 0;
    color: var(--texto-claro);
    font-size: 12.5px;
}

.ep-summary-price {
    margin-top: 9px;
}

.ep-summary-price small {
    display: block;
    color: var(--texto-claro);
    font-size: 10px;
}

.ep-summary-price strong {
    display: block;
    margin-top: 1px;
    color: var(--vinho);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    line-height: 1;
    font-weight: 400;
}

.ep-checkout-form-area {
    padding: 32px;
    border: 1px solid var(--borda);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 22px 60px rgba(60,47,35,.08);
}

.ep-checkout-error {
    padding: 22px;
    border-left: 4px solid var(--vinho);
    background: #fff5f5;
    color: var(--texto);
}

.ep-checkout-error strong {
    color: var(--vinho);
}

.ep-checkout-error p {
    margin: 5px 0 0;
}

.ep-checkout-security {
    max-width: 900px;
    margin: 17px auto 0;
    color: var(--texto-claro);
    font-size: 11px;
    line-height: 1.5;
    text-align: center;
}


/* Normalização WooCommerce dentro da landing */
.ep-checkout-form-area .woocommerce {
    width: 100%;
    color: var(--texto);
    font-family: Arial, Helvetica, sans-serif;
}

.ep-checkout-form-area .woocommerce-error,
.ep-checkout-form-area .woocommerce-info,
.ep-checkout-form-area .woocommerce-message {
    margin: 0 0 22px !important;
    padding: 15px 17px !important;
    border: 1px solid var(--borda) !important;
    border-top: 0 !important;
    border-left: 4px solid var(--dourado) !important;
    border-radius: 7px !important;
    background: var(--creme) !important;
    color: var(--texto) !important;
    list-style: none !important;
}

.ep-checkout-form-area form.checkout {
    margin: 0 !important;
}

.ep-checkout-form-area .col2-set {
    width: 100% !important;
    margin-bottom: 28px !important;
}

.ep-checkout-form-area .col2-set .col-1,
.ep-checkout-form-area .col2-set .col-2 {
    float: none !important;
    width: 100% !important;
}

.ep-checkout-form-area .col2-set .col-2 {
    margin-top: 20px;
}

.ep-checkout-form-area h3,
.ep-checkout-form-area #order_review_heading {
    margin: 0 0 18px !important;
    color: var(--verde) !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 25px !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;
}

.ep-checkout-form-area .form-row {
    margin: 0 0 15px !important;
    padding: 0 !important;
}

.ep-checkout-form-area .form-row label {
    display: block !important;
    margin-bottom: 6px !important;
    color: #4f4943 !important;
    font-size: 11.5px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
}

.ep-checkout-form-area .required {
    color: var(--vinho) !important;
}

.ep-checkout-form-area input.input-text,
.ep-checkout-form-area textarea,
.ep-checkout-form-area select,
.ep-checkout-form-area .select2-container .select2-selection--single {
    width: 100% !important;
    min-height: 49px !important;
    padding: 11px 13px !important;
    border: 1px solid #ddd5cb !important;
    border-radius: 7px !important;
    outline: none !important;
    background: #fff !important;
    color: var(--texto) !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 14px !important;
    box-shadow: none !important;
}

.ep-checkout-form-area textarea {
    min-height: 95px !important;
    resize: vertical;
}

.ep-checkout-form-area input.input-text:focus,
.ep-checkout-form-area textarea:focus,
.ep-checkout-form-area select:focus {
    border-color: var(--dourado) !important;
    box-shadow: 0 0 0 3px rgba(201,164,92,.12) !important;
}

.ep-checkout-form-area .select2-container {
    width: 100% !important;
}

.ep-checkout-form-area .select2-container .select2-selection--single {
    display: flex !important;
    align-items: center !important;
}

.ep-checkout-form-area .select2-selection__rendered {
    padding-left: 0 !important;
}

.ep-checkout-form-area .select2-selection__arrow {
    top: 11px !important;
    right: 8px !important;
}


/* Revisão do pedido */
.ep-checkout-form-area #order_review {
    width: 100% !important;
    padding: 24px !important;
    border: 1px solid var(--borda) !important;
    border-radius: 11px !important;
    background: #fcfaf6 !important;
}

.ep-checkout-form-area table.shop_table {
    width: 100% !important;
    margin: 0 0 22px !important;
    border: 0 !important;
    border-collapse: collapse !important;
    background: transparent !important;
}

.ep-checkout-form-area table.shop_table th,
.ep-checkout-form-area table.shop_table td {
    padding: 12px 7px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--borda) !important;
    color: var(--texto) !important;
    font-size: 12.5px !important;
    text-align: left !important;
}

.ep-checkout-form-area table.shop_table th:last-child,
.ep-checkout-form-area table.shop_table td:last-child {
    text-align: right !important;
}

.ep-checkout-form-area .order-total th,
.ep-checkout-form-area .order-total td {
    padding-top: 17px !important;
    border-bottom: 0 !important;
    color: var(--verde) !important;
    font-size: 16px !important;
}

.ep-checkout-form-area .order-total strong {
    color: var(--vinho) !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 23px !important;
    font-weight: 400 !important;
}


/* Pagamentos */
.ep-checkout-form-area #payment {
    margin-top: 12px !important;
    border-radius: 10px !important;
    background: #fff !important;
}

.ep-checkout-form-area #payment ul.payment_methods {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    list-style: none !important;
}

.ep-checkout-form-area #payment ul.payment_methods > li {
    margin: 0 0 9px !important;
    padding: 14px 15px !important;
    border: 1px solid var(--borda) !important;
    border-radius: 8px !important;
    background: #fff !important;
}

.ep-checkout-form-area #payment ul.payment_methods li label {
    color: var(--texto) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    cursor: pointer;
}

.ep-checkout-form-area #payment ul.payment_methods li img {
    max-height: 30px !important;
    width: auto !important;
    margin-left: 7px !important;
    vertical-align: middle !important;
}

.ep-checkout-form-area .payment_box {
    margin: 12px 0 0 !important;
    padding: 13px !important;
    border-radius: 6px !important;
    background: var(--creme) !important;
    color: var(--texto-claro) !important;
    font-size: 12px !important;
}

.ep-checkout-form-area .payment_box::before {
    display: none !important;
}

.ep-checkout-form-area .place-order {
    margin: 18px 0 0 !important;
    padding: 0 !important;
}

.ep-checkout-form-area #place_order,
.ep-checkout-form-area button#place_order,
.ep-checkout-form-area .button.alt {
    width: 100% !important;
    min-height: 58px !important;
    padding: 15px 22px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: linear-gradient(135deg, var(--vinho), var(--vinho-2)) !important;
    color: #fff !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .45px !important;
    text-transform: uppercase !important;
    box-shadow: 0 15px 34px rgba(125,38,52,.21) !important;
    cursor: pointer !important;
}

.ep-checkout-form-area #place_order:hover {
    filter: brightness(1.04);
}


/* Termos / política */
.ep-checkout-form-area .woocommerce-privacy-policy-text,
.ep-checkout-form-area .woocommerce-terms-and-conditions-wrapper {
    color: var(--texto-claro) !important;
    font-size: 10.5px !important;
    line-height: 1.5 !important;
}

.ep-checkout-form-area a {
    color: var(--vinho);
}


/*
 * Em modo pagamento, não precisamos repetir a chamada final nem o botão fixo.
 */
body.ep-checkout-mode .ep-final,
body.ep-checkout-mode .ep-mobile-cta {
    display: none !important;
}


/* Evita estilos globais do tema WordPress quebrarem a landing */
body.ep-checkout-mode {
    margin: 0 !important;
    background: var(--creme) !important;
}


/* Mobile checkout */
@media (max-width: 767px) {
    .ep-checkout-section {
        padding: 65px 0 80px;
    }

    .ep-checkout-summary {
        grid-template-columns: 80px 1fr;
        padding: 14px;
    }

    .ep-summary-image {
        width: 80px;
        height: 80px;
    }

    .ep-summary-copy h3 {
        font-size: 19px;
    }

    .ep-summary-price strong {
        font-size: 24px;
    }

    .ep-checkout-form-area {
        padding: 20px 14px;
        border-radius: 10px;
    }

    .ep-checkout-form-area #order_review {
        padding: 17px 12px !important;
    }

    .ep-checkout-form-area h3,
    .ep-checkout-form-area #order_review_heading {
        font-size: 22px !important;
    }
}


/* ==========================================================
   CHECKOUT LIMPO — BASE FUNCIONAL PRESERVADA
   Apenas alterações visuais. A lógica WooCommerce não foi alterada.
========================================================== */

.ep-checkout-shell-clean {
    max-width: 900px;
    margin: 0 auto;
}

.ep-checkout-shell-clean .ep-checkout-form-area {
    width: 100%;
}

.ep-checkout-heading p {
    margin: 8px 0 0;
    color: var(--texto-claro);
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 767px) {
    .ep-checkout-shell-clean {
        max-width: 100%;
    }

    .ep-checkout-heading p {
        font-size: 12.5px;
    }
}
