/* Ajustes exclusivos da vela. O restante do CSS permanece igual. */
.candle-setting {
    position: relative;
    isolation: isolate;
    width: 310px;
    max-width: 100%;
    height: 270px;
    margin: 20px auto 12px;
}

/* Superfície e espessura de uma pequena base de madeira. */
.candle-setting::before {
    content: "";
    position: absolute;
    z-index: 1;
    left: 0;
    right: 0;
    bottom: 5px;
    height: 34px;
    border-radius: 50%;
    background:
        repeating-linear-gradient(4deg, transparent 0 7px, #e1bf8420 8px, transparent 9px 16px),
        radial-gradient(ellipse at 50% 32%, #a18459, #695035 55%, #382819 95%);
    border: 1px solid #c1a47770;
    box-shadow: inset 0 2px 5px #f1d9ad25;
}

.candle-setting::after {
    content: "";
    position: absolute;
    z-index: 0;
    left: 2px;
    right: 2px;
    bottom: 0;
    height: 28px;
    border-radius: 45% 45% 50% 50%;
    background: linear-gradient(#755437, #382719 58%, #251a12);
    border-bottom: 1px solid #ae875745;
    box-shadow: 0 8px 12px #0006;
}

.candle-setting .candle-contact {
    position: absolute;
    z-index: 2;
    width: 114px;
    height: 11px;
    left: 50%;
    bottom: 15px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(ellipse, #120d09d9 15%, #120d0970 58%, transparent 75%);
    filter: blur(2px);
}

.candle-setting .candle-image {
    position: absolute;
    z-index: 3;
    display: block;
    width: 190px;
    max-width: 100%;
    height: auto;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    margin: 0;
}

.candle-setting--lit .candle-glow {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    width: 130px;
    height: 130px;
    left: 50%;
    top: 5px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, #ffc66c35, #e7a75215 40%, transparent 70%);
}

@media (max-width: 420px) {
    .candle-setting { width: 270px; }
}
