/*
 * ============================================================
 *  step-4.css  —  Scelta bastone + Panel Bastone
 *  Layout identico a step-3: img sx | info dx, poi sezioni full-width
 * ============================================================
 */

/* Dimensione card bastone — aspect ratio 4:3 per foto landscape */
.ctp-card--bastone .ctp-card__media {
    aspect-ratio: 4 / 3;
}

/* ════════════════════════════════════════════════════════════
   PANEL BASTONE
   ════════════════════════════════════════════════════════════ */

.ctp-step--bastone{
    .ctp-eyebrow,.ctp-title, .ctp-subtitle{
        color: #fff;
    }
}

.ctp-panel-bastone {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background: #fff;
    animation: ctpDetailIn 0.32s ease forwards;
    padding: 15px;
}

/* ── TOP: griglia immagine sx + info dx ── */
.ctp-pb__top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 260px;
}

/* colonna immagine */
.ctp-pb__img-col {
    position: relative;
    overflow: hidden;
    background: #e8e0d4;
    border-radius: 15px;
}
.ctp-pb__hero {
    position: relative;
    height: 100%;
    min-height: 240px;
}
.ctp-pb__hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
    border-radius: 0 0 12px 0;
}
.ctp-pb__img-col:hover .ctp-pb__hero img { transform: scale(1.03); }

/* badge colore */
.ctp-pb__color-badge {
    position: absolute; bottom: 0; left: 0; right: 0;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    background: rgba(255,255,255,0.93);
    padding: 8px 12px;
    font-family: var(--font-ui); font-size: 12px; font-weight: 600;
    color: var(--dark-brown);
    opacity: 0; transition: opacity 0.25s;
    pointer-events: none;
    box-shadow: 0 -4px 18px rgba(0,0,0,0.10);
    border-top: 1px solid rgba(0,0,0,0.07);
}
.ctp-pb__color-badge.is-visible { opacity: 1; }
.ctp-pb__color-dot {
    width: 105px; height: 105px; border-radius: 50%;
    border: 2px solid rgba(0,0,0,0.15); flex-shrink: 0;
}

/* colonna informazioni */
.ctp-pb__info-col {
    padding: 16px 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    overflow-y: auto;
}

.ctp-pb__title {
    font-family: var(--font-serif);
    font-size: 15px; font-weight: 700;
    color: var(--dark-brown);
    line-height: 1.15;
    margin: 0;
}
.ctp-pb__desc {
    font-family: var(--font-ui);
    font-size: 11px; font-weight: 300;
    line-height: 1.6;
    color: var(--ctp-text-light);
    margin: 0;
}

/* prezzo */
.ctp-pb__price-wrap { }
.ctp-pb__price {
    font-family: var(--font-serif);
    font-size: 24px; font-weight: 700;
    color: var(--dark-brown);
    letter-spacing: -0.02em;
    line-height: 1;
}

/* swatches */
.ctp-pb__colori-wrap { display: flex; flex-direction: column; gap: 6px; }
.ctp-pb__colori-title {
    font-family: var(--font-ui);
    font-size: 11px; font-weight: 500;
    color: var(--dark-brown);
    margin: 0;
}

/* bottoni */
.ctp-pb__actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 0;
    flex-direction: column;
}
.ctp-pb__actions .ctp-btn--primary {
    background: var(--ctp-brown-deeper);
    color: #fff;
    border-radius: 0;
    padding: 11px 20px;
    font-size: 11px; font-weight: 600;
    letter-spacing: 0.06em;
    flex: 1; min-width: 140px;
}
.ctp-pb__actions .ctp-btn--outline-brown {
    border-radius: 0;
    padding: 11px 20px;
    font-size: 11px; font-weight: 600;
    letter-spacing: 0.06em;
    flex: 1; min-width: 140px;
    border: 1.5px solid var(--dark-brown);
    color: var(--dark-brown);
    justify-content: center;
}
.ctp-pb__actions .ctp-btn--outline-brown:hover {
    background: rgba(61,40,0,0.05);
}

/* ── IDEALE PER ── */
.ctp-pb__ideal {
    padding: 12px 16px;
}
.ctp-pb__section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.ctp-pb__section-line {
    display: block;
    width: 28px; height: 1.5px;
    background: var(--ctp-brown);
    flex-shrink: 0;
}
.ctp-pb__section-label {
    font-family: var(--font-ui);
    font-size: 10px; font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ctp-brown);
}
.ctp-pb__ideal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid #e8e0d4;
}
.ctp-pb__ideal-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid #e8e0d4;
    font-family: var(--font-ui);
    font-size: 11px; font-weight: 400;
    color: var(--ctp-text-light);
    background: #fff;
    margin: -0.5px;
}
.ctp-pb__check {
    color: var(--ctp-brown);
    font-weight: 700;
    flex-shrink: 0;
    font-size: 13px;
}

/* ── COME FUNZIONA ── */
.ctp-pb__howto {
    border-top: 1px solid #e8e0d4;
    padding: 12px 16px 18px;
    background: #faf8f4;
}
.ctp-pb__section-header--gold {
    margin-bottom: 14px;
}
.ctp-pb__section-label--gold {
    font-family: var(--font-ui);
    font-size: 10px; font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ctp-brown);
}
.ctp-pb__howto-steps { display: flex; flex-direction: column; gap: 12px; }
.ctp-pb__howto-step {
    display: flex; gap: 14px; align-items: flex-start;
}
.ctp-pb__howto-num {
    width: 24px; height: 24px; flex-shrink: 0;
    border-radius: 50%;
    background: var(--ctp-brown-deeper);
    color: #fff;
    font-family: var(--font-ui);
    font-size: 11px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    margin-top: 1px;
}
.ctp-pb__howto-step p {
    font-family: var(--font-ui);
    font-size: 11px; font-weight: 300;
    line-height: 1.55; color: var(--ctp-text-light); margin: 0;
}
.ctp-pb__howto-step p strong { font-weight: 600; color: var(--dark-brown); }

/* responsive */
@media (max-width: 700px) {
    .ctp-pb__top { grid-template-columns: 1fr; }
    .ctp-pb__hero { min-height: 240px; }
    .ctp-pb__info-col { padding: 20px 18px; }
}
