*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body.embed-body {
    margin: 0;
    padding: 0;
    background: #0f172a;
    color: #e2e8f0;
    font-family: Montserrat, system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.embed-wrap {
    padding: 12px;
}

.embed-wrap--promo {
    padding: 10px 12px 8px;
}

.embed-wrap--promo .embed-header {
    margin-bottom: 8px;
}

.embed-wrap--promo .embed-title {
    font-size: 14px;
}

.embed-wrap--promo .embed-card__media {
    height: 64px;
}

.embed-wrap--promo .embed-card__body {
    padding: 8px;
}

.embed-wrap--promo .embed-card__product {
    font-size: 11px;
    margin-bottom: 2px;
    -webkit-line-clamp: 1;
}

.embed-wrap--promo .embed-card__item {
    margin-bottom: 6px;
    font-size: 10px;
}

.embed-wrap--promo .embed-card__item--solo {
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 700;
    color: #f8fafc;
    -webkit-line-clamp: 2;
}

.embed-wrap--promo .embed-card__price {
    font-size: 11px;
}

.embed-wrap--promo .embed-owl .owl-nav {
    margin-top: 6px;
}

.embed-wrap--promo .embed-owl .owl-dots {
    margin-top: 4px;
}

.embed-wrap--featured-compact .embed-badge {
    font-size: 9px;
    padding: 3px 6px;
}

.embed-wrap--featured-compact .embed-card__rank {
    top: 6px;
    left: 6px;
    width: 20px;
    height: 20px;
    font-size: 9px;
}

.embed-wrap--featured-compact .embed-card__meta {
    display: none;
}

.embed-wrap--featured-compact .embed-card__product {
    -webkit-line-clamp: 1;
}

.embed-wrap--featured-compact .embed-owl .owl-nav {
    margin-top: 4px;
}

.embed-wrap--featured-compact .embed-owl .owl-nav button.owl-prev,
.embed-wrap--featured-compact .embed-owl .owl-nav button.owl-next {
    width: 26px;
    height: 26px;
    font-size: 16px !important;
}

.embed-wrap--featured-compact .embed-owl .owl-dots {
    margin-top: 4px;
}

.embed-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
}

.embed-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    background: linear-gradient(90deg, #fb923c, #f472b6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.embed-title--flash {
    background: linear-gradient(90deg, #facc15, #ef4444, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
}

.embed-subtitle {
    margin: 4px 0 0;
    font-size: 11px;
    color: #67e8f9;
}

.embed-header--flash {
    align-items: flex-start;
    flex-wrap: wrap;
}

.embed-countdown {
    display: flex;
    gap: 6px;
}

.embed-countdown__box {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 42px;
    padding: 6px 8px;
    border-radius: 10px;
    border: 1px solid rgba(236, 72, 153, 0.35);
    background: linear-gradient(135deg, rgba(30, 27, 75, 0.9), rgba(124, 45, 18, 0.8));
}

.embed-countdown__box strong {
    font-size: 14px;
    font-weight: 700;
    background: linear-gradient(90deg, #22d3ee, #f472b6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.embed-countdown__box small {
    font-size: 9px;
    color: #94a3b8;
    text-transform: uppercase;
}

.embed-card--flash {
    border-color: rgba(250, 204, 21, 0.3);
}

.embed-card--flash:hover {
    border-color: rgba(250, 204, 21, 0.55);
}

.embed-card--soldout {
    opacity: 0.55;
    pointer-events: none;
}

.embed-owl--flash .owl-dot.active span {
    background: #facc15 !important;
}

.embed-owl--flash .owl-nav button.owl-prev:hover,
.embed-owl--flash .owl-nav button.owl-next:hover {
    background: rgba(250, 204, 21, 0.85) !important;
    color: #111827 !important;
}

.embed-title--promo {
    background: linear-gradient(90deg, #22d3ee, #a78bfa);
    -webkit-background-clip: text;
    background-clip: text;
}

.embed-badge {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid rgba(248, 113, 113, 0.35);
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
}

.embed-owl {
    position: relative;
}

.embed-owl .owl-stage-outer {
    padding: 2px 0 4px;
}

.embed-owl .owl-item {
    display: flex;
}

.embed-owl .item {
    width: 100%;
}

.embed-owl .owl-nav {
    margin-top: 8px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.embed-owl .owl-nav button.owl-prev,
.embed-owl .owl-nav button.owl-next {
    width: 30px;
    height: 30px;
    border-radius: 999px !important;
    background: rgba(51, 65, 85, 0.9) !important;
    color: #e2e8f0 !important;
    font-size: 18px !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
}

.embed-owl--featured .owl-nav button.owl-prev:hover,
.embed-owl--featured .owl-nav button.owl-next:hover {
    background: rgba(249, 115, 22, 0.85) !important;
    color: #fff !important;
}

.embed-owl--promo .owl-nav button.owl-prev:hover,
.embed-owl--promo .owl-nav button.owl-next:hover {
    background: rgba(34, 211, 238, 0.85) !important;
    color: #0f172a !important;
}

.embed-owl .owl-dots {
    margin-top: 8px;
    line-height: 1;
}

.embed-owl .owl-dot span {
    width: 7px;
    height: 7px;
    margin: 4px 4px;
    background: rgba(148, 163, 184, 0.45) !important;
}

.embed-owl--featured .owl-dot.active span {
    background: #fb923c !important;
}

.embed-owl--promo .owl-dot.active span {
    background: #22d3ee !important;
}

.embed-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(249, 115, 22, 0.25);
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.98));
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.embed-card:hover {
    transform: translateY(-2px);
    border-color: rgba(251, 146, 60, 0.55);
}

.embed-card--promo {
    border-color: rgba(34, 211, 238, 0.2);
}

.embed-card--promo:hover {
    border-color: rgba(34, 211, 238, 0.45);
}

.embed-card__media {
    position: relative;
    height: 88px;
    background-size: cover;
    background-position: center;
}

.embed-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.15), rgba(15, 23, 42, 0.92));
}

.embed-card__rank {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
    background: linear-gradient(135deg, #f97316, #ef4444);
    color: #fff;
}

.embed-card__flash {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 7px;
    border-radius: 999px;
    background: linear-gradient(135deg, #facc15, #f97316);
    color: #111827;
}

.embed-card__body {
    padding: 10px;
}

.embed-card__product {
    margin: 0 0 4px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    color: #f8fafc;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.embed-card__item {
    margin: 0 0 8px;
    font-size: 11px;
    color: #94a3b8;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.embed-card__price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
}

.embed-card__price {
    font-size: 12px;
    font-weight: 700;
    color: #67e8f9;
}

.embed-card__price-old {
    font-size: 10px;
    color: #64748b;
    text-decoration: line-through;
}

.embed-card__meta {
    margin-top: 6px;
    font-size: 10px;
    color: #94a3b8;
}

.embed-empty {
    padding: 24px 12px;
    text-align: center;
    font-size: 13px;
    color: #94a3b8;
    border: 1px dashed rgba(148, 163, 184, 0.35);
    border-radius: 12px;
}
