/* Product-page design tokens from product.html. Keep local to this block for easy future edits. */
.wp-block-ananeoo-product-phase-sec.product-phase-sec {
    --bg: oklch(98.5% 0.005 220);
    --surface: oklch(100% 0 0);
    --surface-2: oklch(96.7% 0.008 220);
    --teal-soft: oklch(95.5% 0.022 210);
    --ink: oklch(26% 0.032 232);
    --muted: #003660;
    --border: oklch(90% 0.012 220);
    --teal: oklch(32% 0.045 228);
    --teal-deep: oklch(27% 0.04 230);
    --teal-2: oklch(46% 0.055 224);
    --accent: oklch(74% 0.095 80);
    --accent-hi: oklch(80% 0.085 82);
    --accent-ink: oklch(26% 0.045 75);
    --blue: oklch(54% 0.13 244);
    --blue-soft: oklch(94% 0.03 240);
    --green: oklch(54% 0.12 165);
    --green-soft: oklch(94% 0.04 165);
    --green-ink: oklch(40% 0.09 165);
    --on-teal: oklch(100% 0 0);
    --on-teal-mut: oklch(89% 0.018 220);
    --border-teal: oklch(72% 0.03 220 / 0.26);
    --t-label: 0.82rem;
    --t-lead: clamp(1.15rem, 1.05rem + 0.4vw, 1.34rem);
    --t-h4: clamp(1.2rem, 1.06rem + 0.5vw, 1.42rem);
    --t-h3: clamp(1.42rem, 1.2rem + 1vw, 1.9rem);
    --t-h2: clamp(1.85rem, 1.4rem + 2vw, 2.9rem);
    --t-h1: clamp(2.3rem, 1.6rem + 3.4vw, 3.85rem);
    font-family: var(--font-body);
    font-size: clamp(17px, 1rem + 0.25vw, 19.5px);
    line-height: 1.65;
    background: var(--surface);
}

.product-phase-sec .center .head {
    margin-inline: auto;
}

.product-phase-sec .phase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2.4vw, 26px);
    margin-top: 46px;
}

.product-phase-sec .phase-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-phase-sec.product-phase-sec--nested .phase-card,
.editor-styles-wrapper .product-phase-sec.product-phase-sec--nested .phase-card {
    height: 100%;
}

.editor-styles-wrapper .product-phase-sec.product-phase-sec--nested .phase-card > .ananeoo-section__editor-inner,
.editor-styles-wrapper .product-phase-sec.product-phase-sec--nested .phase-body > .ananeoo-section__editor-inner {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

.product-phase-sec .phase-media {
    aspect-ratio: 16 / 10;
    background: var(--surface-2);
}

.product-phase-sec.product-phase-sec--nested .phase-media,
.editor-styles-wrapper .product-phase-sec.product-phase-sec--nested .phase-media {
    aspect-ratio: auto;
    overflow: visible;
}

.product-phase-sec .phase-media img,
.product-phase-sec .phase-media .ananeoo-advanced-image,
.product-phase-sec .phase-media .ananeoo-advanced-image__inner,
.product-phase-sec .phase-media .ananeoo-advanced-image__media,
.editor-styles-wrapper .product-phase-sec .phase-media img,
.editor-styles-wrapper .product-phase-sec .phase-media .ananeoo-advanced-image,
.editor-styles-wrapper .product-phase-sec .phase-media .ananeoo-advanced-image__inner,
.editor-styles-wrapper .product-phase-sec .phase-media .ananeoo-advanced-image__media {
    width: 100%;
    height: 100%;
    max-width: none;
}

.product-phase-sec .phase-media img,
.editor-styles-wrapper .product-phase-sec .phase-media img {
    object-fit: cover;
}

.product-phase-sec.product-phase-sec--nested .phase-media .ananeoo-advanced-image,
.product-phase-sec.product-phase-sec--nested .phase-media .ananeoo-advanced-image__inner,
.product-phase-sec.product-phase-sec--nested .phase-media .ananeoo-advanced-image__media,
.editor-styles-wrapper .product-phase-sec.product-phase-sec--nested .phase-media .ananeoo-advanced-image,
.editor-styles-wrapper .product-phase-sec.product-phase-sec--nested .phase-media .ananeoo-advanced-image__inner,
.editor-styles-wrapper .product-phase-sec.product-phase-sec--nested .phase-media .ananeoo-advanced-image__media {
    height: auto;
}

.product-phase-sec.product-phase-sec--nested .phase-media .ananeoo-advanced-image__media img,
.editor-styles-wrapper .product-phase-sec.product-phase-sec--nested .phase-media .ananeoo-advanced-image__media img {
    height: auto !important;
    object-fit: var(--ananeoo-image-object-fit, contain);
}

.product-phase-sec .phase-body {
    padding: clamp(20px, 2.4vw, 28px);
}

.product-phase-sec .phase-num {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue);
}

.product-phase-sec .phase-num > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.product-phase-sec .phase-num em {
    font-style: normal;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: var(--teal);
    color: var(--on-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.96rem;
    letter-spacing: 0;
}

.product-phase-sec .phase-card h3 {
    font-size: var(--t-h4);
    margin: 14px 0 4px;
}

.product-phase-sec .phase-card .phase-days {
    display: inline-block;
    font-size: 0.94rem;
    color: #003660;
    font-weight: 700;
}

.product-phase-sec .phase-card p {
    color: #003660;
    margin-top: 12px;
}

@media (max-width: 980px) {
    .product-phase-sec .phase-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .product-phase-sec .head h2 {
        overflow-wrap: anywhere;
        text-align: center;
    }

    .product-phase-sec .eyebrow {
        display: flex;
        align-items: center;
        text-align: center;
    }
}
