.mk-product-page { margin-top: 24px !important; }
/* MARKETAO PRO â€” individual product page 2026 */
.mkp-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.08fr) minmax(300px, .9fr);
    gap: 28px;
    align-items: start;
}
.mkp-hero__media { min-width: 0; }
.mkp-hero__intro { min-width: 0; padding-top: 8px; }
.mkp-hero__buy { min-width: 0; position: sticky; top: 116px; }

/* media */
.mkp-hero .product-show-thumbnail-card {
    border-radius: 22px !important;
    background: #f3f6fa !important;
    border: 1px solid #e7edf4;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    height: auto !important;
}
.mkp-hero .product-show-thumbnail-card img {
    width: 100%;
    height: 100%;
    padding: 18px !important;
    object-fit: contain !important;
}
.mkp-hero .product-show__slide-images-card { margin-top: 12px; }
.mkp-hero .product-show__slide-image-item {
    width: 78px;
    height: 78px;
    flex: 0 0 78px;
    border-radius: 14px !important;
    border: 2px solid transparent;
    overflow: hidden;
}
.mkp-hero .product-show__slide-image-item:hover { border-color: #559864; }
.mkp-hero .product-show__slide-image-item img { border-radius: 12px !important; }

/* intro */
.mkp-intro__kicker {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.mkp-intro__kicker a { color: #559864; text-decoration: none !important; }
.mkp-intro__title {
    margin: 0 0 14px;
    color: #0f172a;
    font-size: clamp(26px, 2.5vw, 38px);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -.035em;
}
.mkp-intro__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.mkp-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    font-size: 11px;
    font-weight: 800;
}
.mkp-pill--off { background: #fef2f2; color: #b91c1c; }
.mkp-pill__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.mkp-intro__summary {
    margin: 18px 0 20px;
    color: #475569;
    font-size: 14px;
    line-height: 1.75;
}
.mkp-features {
    display: grid;
    gap: 10px;
    padding: 16px;
    border: 1px solid #e7edf4;
    border-radius: 16px;
    background: #fbfdff;
}
.mkp-feature { display: flex; align-items: flex-start; gap: 10px; }
.mkp-feature .icons { flex-shrink: 0; margin-top: 2px; color: #559864; }
.mkp-feature strong { display: block; color: #0f172a; font-size: 12.5px; font-weight: 800; }
.mkp-feature span { display: block; margin-top: 1px; color: #64748b; font-size: 11.5px; }
.mkp-seller {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #e7edf4;
}
.mkp-seller__avatar { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.mkp-seller__avatar img { width: 100%; height: 100%; object-fit: cover; }
.mkp-seller__info { display: flex; flex-direction: column; min-width: 0; }
.mkp-seller__info span { color: #94a3b8; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.mkp-seller__info a { color: #0f172a; font-size: 12.5px; font-weight: 800; text-decoration: none !important; }
.mkp-seller__link { margin-left: auto; color: #559864; font-size: 11px; font-weight: 800; text-decoration: none !important; white-space: nowrap; }

/* purchase card */
.mkp-buy {
    border: 1px solid #e4ebf3;
    border-radius: 20px;
    background: #fff;
    padding: 20px;
    box-shadow: 0 12px 35px rgba(15, 23, 42, .07);
}
.mkp-buy__label { color: #94a3b8; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.mkp-buy__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-top: 5px; }
.mkp-buy__price strong { color: #0f172a; font-size: 31px; font-weight: 900; letter-spacing: -.03em; line-height: 1.1; }
.mkp-buy__old { color: #94a3b8; font-size: 13px; text-decoration: line-through; }
.mkp-buy__save { width: 100%; color: #b45309; font-size: 11px; font-weight: 800; }
.mkp-buy__shipping { display: flex; align-items: flex-start; gap: 7px; margin-top: 12px; color: #64748b; font-size: 11.5px; line-height: 1.45; }
.mkp-buy__shipping .icons { color: #559864; flex-shrink: 0; }
.mkp-buy__stock { display: flex; align-items: center; gap: 6px; margin-top: 10px; color: #047857; font-size: 11px; font-weight: 700; }
.mkp-buy__stock .mkp-pill__dot { background: #10b981; }
.mkp-buy__stock--off { color: #b91c1c; }
.mkp-hero .product-show__quantity-card button { width: 30px; height: 30px; border: 0; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; }
.mkp-buy__qty { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid #eef2f7; color: #334155; font-size: 12px; font-weight: 700; }
.mkp-buy__actions { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.mkp-buy__actions .btn { width: 100%; min-height: 46px; border-radius: 11px; font-size: 13px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.mkp-buy__actions .btn-primary { background: #559864; border-color: #559864; box-shadow: 0 8px 18px rgba(85, 152, 100, .2); }
.mkp-buy__actions .btn-primary:hover { background: #467f55; border-color: #467f55; }
.mkp-buy__actions .btn-outline-primary { color: #264240; border-color: #cbd5e1; background: #fff; }
.mkp-buy__actions .btn-outline-primary:hover { border-color: #559864; color: #559864; }
.mkp-buy__extras { margin-top: 9px; display: grid; gap: 7px; }
.mkp-buy__extras .btn { width: 100%; min-height: 38px; border-radius: 9px; font-size: 11.5px; font-weight: 700; }
.mkp-buy__notice { margin-top: 10px; padding: 8px 10px; border-radius: 8px; background: #fffbeb; color: #92400e; font-size: 11px; }
.mkp-buy__trust { margin-top: 15px; padding-top: 13px; border-top: 1px solid #eef2f7; display: grid; gap: 7px; }
.mkp-buy__trust div { display: flex; align-items: center; gap: 7px; color: #64748b; font-size: 11px; }
.mkp-buy__trust .icons { color: #559864; }
.mkp-buy__payments { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; }
.mkp-buy__payments span { padding: 4px 7px; border-radius: 5px; background: #f1f5f9; color: #64748b; font-size: 9px; font-weight: 700; }

body.dark-mode .mkp-intro__title,
body.dark-mode .mkp-feature strong,
body.dark-mode .mkp-seller__info a,
body.dark-mode .mkp-buy__price strong { color: #f8fafc; }
body.dark-mode .mkp-intro__summary,
body.dark-mode .mkp-feature span,
body.dark-mode .mkp-seller__info span,
body.dark-mode .mkp-buy__shipping,
body.dark-mode .mkp-buy__trust div { color: #94a3b8; }
body.dark-mode .mkp-features,
body.dark-mode .mkp-buy { background: #121f3e; border-color: rgba(148, 163, 184, .18); }
body.dark-mode .mkp-hero .product-show-thumbnail-card { background: #1e293b !important; border-color: rgba(148, 163, 184, .18); }
body.dark-mode .mkp-buy__qty,
body.dark-mode .mkp-buy__trust,
body.dark-mode .mkp-seller { border-color: rgba(148, 163, 184, .16); }
body.dark-mode .mkp-buy__payments span { background: #1e293b; color: #94a3b8; }

@media (max-width: 1199px) {
    .mkp-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .mkp-hero__buy { grid-column: 1 / -1; position: static; max-width: 560px; width: 100%; }
}
@media (max-width: 767px) {
    .mkp-hero { grid-template-columns: 1fr; gap: 18px; }
    .mkp-hero__media { max-width: 540px; width: 100%; margin: 0 auto; }
    .mkp-hero__intro { padding-top: 0; }
    .mkp-hero__buy { max-width: none; }
    .mkp-hero .product-show-thumbnail-card { aspect-ratio: 1 / 1; }
    .mkp-intro__title { font-size: 27px; }
    .mkp-features { padding: 13px; }
}



/* item_actions markup used by the product page */
.mkp-buy .mk-ia__primary { display: flex; flex-direction: column; gap: 8px; }
.mkp-buy .mk-ia__primary .mk-ia__btn { width: 100%; min-height: 46px; border-radius: 11px; justify-content: center; font-size: 13px; font-weight: 800; }
.mkp-buy .mk-ia__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
.mkp-buy .mk-ia__tile { min-height: 52px; border-radius: 9px; }
@media (max-width: 380px) {
    .mkp-buy .mk-ia__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
    .mkp-hero .product-show-thumbnail-card { height: 480px !important; aspect-ratio: auto !important; }
}
.mkp-hero .product-show__has-video-icon {
    width: 54px !important;
    height: 54px !important;
    top: auto !important;
    left: auto !important;
    right: 14px !important;
    bottom: 14px !important;
    margin: 0 !important;
}
.mkp-hero .product-show__has-video-icon .icons { width: 20px !important; height: 20px !important; }


/* Quick actions (Favoritar/Avaliar/Denunciar/Presente/Conversar/Partilhar):
   the shared component caps tiles with a flex max-width, which shrinks them
   inside the product grid. Restore full-width grid cells. */
.mkp-buy .mk-ia__grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
}
.mkp-buy .mk-ia__tile {
    max-width: none !important;
    width: 100% !important;
    flex: 0 0 auto !important;
    min-height: 64px !important;
    padding: 10px 6px !important;
    font-size: .72rem !important;
    border-radius: 12px !important;
}
.mkp-buy .mk-ia__tile svg { width: 20px !important; height: 20px !important; }
@media (max-width: 340px) {
    .mkp-buy .mk-ia__grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

/* Desktop: producer + gift card under the product images */
.mkp-media-extras { display: none; }

@media (min-width: 992px) {
    .mkp-media-extras {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 20px;
    }
    .mkp-hero__intro .mkp-seller { display: none !important; }
    .wrapped-two-card > a[href^="/gift/product/"] { display: none !important; }
}

.mkp-media-producer {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #e8ebf0;
    border-radius: 16px;
    padding: 14px;
}
.mkp-media-producer__avatar {
    width: 44px; height: 44px; border-radius: 50%;
    overflow: hidden; background: #f1f5f9; flex-shrink: 0;
}
.mkp-media-producer__avatar img { width: 100%; height: 100%; object-fit: cover; }
.mkp-media-producer__info span {
    display: block; font-size: 11px; letter-spacing: .06em;
    text-transform: uppercase; color: #94a3b8;
}
.mkp-media-producer__info a { font-weight: 700; color: #0f172a; font-size: 14px; text-decoration: none; }
.mkp-media-producer__link {
    margin-left: auto; font-size: 13px; font-weight: 600;
    color: #0B5D3B; text-decoration: none; white-space: nowrap;
}
.mkp-media-producer__link:hover { text-decoration: underline; }

.mkp-media-gift {
    display: flex; align-items: center; gap: 12px;
    background: #ffffff; border: 1px solid #e8ebf0; border-radius: 16px;
    padding: 14px; text-decoration: none;
}
.mkp-media-gift__icon {
    width: 40px; height: 40px; border-radius: 50%;
    background: #fef3c7; display: flex; align-items: center; justify-content: center;
    font-size: 18px; flex-shrink: 0;
}
.mkp-media-gift__text { flex: 1; min-width: 0; }
.mkp-media-gift__text b { display: block; color: #0f172a; font-size: 14px; }
.mkp-media-gift__text small { display: block; color: #94a3b8; font-size: 12px; margin-top: 2px; }
.mkp-media-gift__arrow { color: #94a3b8; font-size: 16px; }

body.dark-mode .mkp-media-producer,
body.dark-mode .mkp-media-gift { background: #151517; border-color: #26262b; }
body.dark-mode .mkp-media-producer__info a,
body.dark-mode .mkp-media-gift__text b { color: #fafafa; }
body.dark-mode .mkp-media-producer__info span,
body.dark-mode .mkp-media-gift__text small { color: #a1a1aa; }
