/* ===================================================================
 * WiderMatrix - Ice Vending Machine Category Template
 * Template: category-ice.php
 * Prefix: ivm-
 * Ice visual language: frost blues, crystal texture, snowfall,
 * angular ice-shard edges, snowflake markers.
 * =================================================================== */

.ivm-page {
    --ivm-primary: #1273A8;
    --ivm-primary-dark: #0C5578;
    --ivm-frost: #35A3DE;
    --ivm-ice: #EAF6FC;
    --ivm-ice-deep: #CFE9F7;
    --ivm-dark: #0A2233;
    --ivm-deep: #10395A;
    --ivm-text: #16303F;
    --ivm-muted: #587487;
    --ivm-border: #D9E8F1;
    --ivm-snow: #F7FBFE;
}

/* Ice-blue override for primary buttons on this page */
.ivm-page .btn-primary {
    background: linear-gradient(135deg, var(--ivm-frost) 0%, var(--ivm-primary) 100%);
    box-shadow: 0 10px 25px rgba(18, 115, 168, 0.35);
}
.ivm-page .btn-primary:hover {
    box-shadow: 0 14px 30px rgba(18, 115, 168, 0.5);
}
/* Outline dark button (used on light cards) */
.ivm-page .btn-outline-dark {
    background: transparent;
    color: var(--ivm-primary);
    border-color: var(--ivm-primary);
}
.ivm-page .btn-outline-dark:hover {
    background: var(--ivm-primary);
    color: #fff;
    transform: translateY(-2px);
}

/* ---------- Section Base ---------- */
.ivm-page .ivm-section {
    padding: 80px 0;
    background: var(--color-bg);
}

/* ---------- Section Head ---------- */
.ivm-page .ivm-section-head {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 52px;
}
.ivm-page .ivm-section-head .section-title {
    margin-bottom: 14px;
}
.ivm-page .ivm-section-sub {
    margin: 0;
    font-size: 16.5px;
    line-height: 1.75;
    color: var(--color-text-muted);
}

/* ===================================================================
 * 1. HERO — frost gradient + ice crystal texture + snowfall
 *    Jagged ice-shard bottom edge via clip-path.
 * =================================================================== */
.ivm-page .ivm-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(1100px 520px at 85% -10%, rgba(53, 163, 222, 0.38), transparent 62%),
        radial-gradient(800px 420px at 8% 115%, rgba(28, 137, 196, 0.30), transparent 60%),
        linear-gradient(135deg, #081C2C 0%, #0B2C45 48%, #11446A 100%);
    clip-path: polygon(
        0 0, 100% 0,
        100% 96.5%, 93% 98.5%, 86% 96.8%, 78% 99%, 70% 97%,
        62% 99.3%, 54% 97.4%, 46% 99.2%, 38% 97.2%, 30% 99.4%,
        22% 97.6%, 14% 99.2%, 7% 97.8%, 0 99%
    );
    padding-bottom: 64px !important;
}
/* Ice crystal (snowflake) texture layer */
.ivm-page .ivm-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cg fill='none' stroke='%239FD6F2' stroke-width='1.3'%3E%3Cpath d='M70 38v64M42 54l56 32M98 54l-56 32'/%3E%3Cpath d='M70 38l-7 7M70 38l7 7M70 102l-7-7M70 102l7-7M42 54l9 1M42 54l1 9M98 54l-9 1M98 54l-1 9M42 86l9-1M42 86l1-9M98 86l-9-1M98 86l-1-9'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 140px 140px;
    opacity: 0.10;
    pointer-events: none;
}
/* Falling snowflakes */
.ivm-page .ivm-hero-snow {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.ivm-page .ivm-hero-snow span {
    position: absolute;
    top: -6%;
    color: rgba(255, 255, 255, 0.55);
    animation: ivm-snow-fall linear infinite;
    will-change: transform;
}
@keyframes ivm-snow-fall {
    0%   { transform: translateY(-40px) rotate(0deg);      opacity: 0; }
    10%  { opacity: 0.6; }
    85%  { opacity: 0.4; }
    100% { transform: translateY(640px) rotate(280deg);    opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .ivm-page .ivm-hero-snow span {
        animation: none;
        opacity: 0.25;
        top: 30%;
    }
}
.ivm-page .ivm-hero .container {
    position: relative;
    z-index: 1;
}
/* Hero highlight chips */
.ivm-page .ivm-hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 26px 0 30px;
    padding: 0;
    list-style: none;
}
.ivm-page .ivm-hero-chips li {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    backdrop-filter: blur(6px);
}
.ivm-page .ivm-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* ===================================================================
 * 2. Definition + Quick Facts
 * =================================================================== */
.ivm-page .ivm-define {
    background: linear-gradient(180deg, var(--ivm-ice) 0%, var(--color-bg) 100%);
}
.ivm-page .ivm-define-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 56px;
    align-items: center;
}
.ivm-page .ivm-define-text .section-title {
    margin-bottom: 18px;
}
.ivm-page .ivm-lead {
    font-size: 17.5px;
    line-height: 1.75;
    color: var(--ivm-text);
    margin: 0 0 14px;
}
.ivm-page .ivm-define-text > p:not(.ivm-lead) {
    font-size: 15.5px;
    line-height: 1.75;
    color: var(--ivm-muted);
    margin: 0 0 20px;
}
/* Snowflake check list */
.ivm-page .ivm-check-list {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: grid;
    gap: 10px;
}
.ivm-page .ivm-check-list li {
    position: relative;
    padding-left: 30px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--ivm-text);
}
.ivm-page .ivm-check-list li::before {
    content: "❄";
    position: absolute;
    left: 0;
    top: 1px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ivm-frost) 0%, var(--ivm-primary) 100%);
    color: #fff;
    font-size: 10px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ivm-page .ivm-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.ivm-page .ivm-fact-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--ivm-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 28px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
/* snowflake watermark */
.ivm-page .ivm-fact-card::after {
    content: "❄";
    position: absolute;
    right: -12px;
    bottom: -18px;
    font-size: 74px;
    color: var(--ivm-ice-deep);
    opacity: 0.55;
    pointer-events: none;
}
.ivm-page .ivm-fact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.ivm-page .ivm-fact-num {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--ivm-primary) 0%, var(--ivm-frost) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.ivm-page .ivm-fact-label {
    font-size: 15px;
    font-weight: 700;
    color: var(--ivm-text);
}
.ivm-page .ivm-fact-sub {
    font-size: 13px;
    color: var(--ivm-muted);
}

/* ===================================================================
 * 3. Machine Lineup + Spec Table
 * =================================================================== */
.ivm-page .ivm-machines {
    background: var(--color-bg-soft);
}
.ivm-page .ivm-machine-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 56px;
}
.ivm-page .ivm-machine-card {
    background: #fff;
    border: 1px solid var(--ivm-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.ivm-page .ivm-machine-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.ivm-page .ivm-machine-img {
    position: relative;
    background: linear-gradient(160deg, #F2FAFE 0%, #DCEEf9 100%);
    aspect-ratio: 1 / 1;
    overflow: hidden;
}
.ivm-page .ivm-machine-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ivm-page .ivm-machine-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #fff;
    background: rgba(10, 34, 51, 0.82);
    border-radius: 999px;
    backdrop-filter: blur(4px);
}
/* Image placeholder (shown until real photos are added) */
.ivm-page .ivm-img-placeholder {
    position: absolute;
    inset: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    padding: 16px;
    background:
        radial-gradient(220px 140px at 70% 20%, rgba(53, 163, 222, 0.14), transparent 70%),
        linear-gradient(160deg, #F4FBFF 0%, #E3F2FB 100%);
    border: 2px dashed #A9D3EA;
    border-radius: 12px;
}
.ivm-page .ivm-img-placeholder-icon {
    font-size: 44px;
    line-height: 1;
}
.ivm-page .ivm-img-placeholder-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--ivm-muted);
}
.ivm-page .ivm-img-placeholder-size {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--ivm-primary);
    background: var(--ivm-ice);
    border: 1px solid var(--ivm-ice-deep);
    border-radius: 999px;
    padding: 3px 12px;
}
.ivm-page .ivm-machine-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.ivm-page .ivm-machine-name {
    margin: 0 0 8px;
    font-size: 19px;
    font-weight: 700;
    color: var(--ivm-text);
}
.ivm-page .ivm-machine-desc {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.65;
    color: var(--ivm-muted);
    flex: 1;
}
.ivm-page .ivm-machine-specs {
    margin: 0 0 18px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
}
.ivm-page .ivm-machine-specs div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.ivm-page .ivm-machine-specs dt {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ivm-muted);
}
.ivm-page .ivm-machine-specs dd {
    margin: 0;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ivm-text);
}
.ivm-page .ivm-machine-cta {
    align-self: flex-start;
    font-size: 14px;
    font-weight: 700;
    color: var(--ivm-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}
.ivm-page .ivm-machine-cta:hover {
    color: var(--ivm-primary-dark);
}

/* Spec table (vertical parameter layout) */
.ivm-page .ivm-spec-table-wrap {
    background: #fff;
    border: 1px solid var(--ivm-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 32px;
}
.ivm-page .ivm-table-title {
    margin: 0 0 18px;
    font-size: 20px;
    font-weight: 700;
    color: var(--ivm-text);
}
.ivm-page .ivm-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.ivm-page .ivm-spec-table {
    width: 100%;
    border-collapse: collapse;
}
.ivm-page .ivm-spec-table th,
.ivm-page .ivm-spec-table td {
    padding: 13px 16px;
    font-size: 14px;
    text-align: left;
    border-bottom: 1px solid var(--ivm-border);
    vertical-align: top;
}
.ivm-page .ivm-spec-table thead th {
    background: var(--ivm-dark);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.03em;
    white-space: nowrap;
}
.ivm-page .ivm-spec-table thead th:first-child {
    border-radius: 10px 0 0 0;
}
.ivm-page .ivm-spec-table thead th:last-child {
    border-radius: 0 10px 0 0;
}
.ivm-page .ivm-spec-table tbody th[scope="row"] {
    font-weight: 700;
    color: var(--ivm-text);
    white-space: nowrap;
    width: 34%;
}
.ivm-page .ivm-spec-table tbody td {
    color: var(--ivm-muted);
}
.ivm-page .ivm-spec-table tbody tr:nth-child(even) {
    background: var(--ivm-snow);
}
.ivm-page .ivm-table-note {
    margin: 16px 0 0;
    font-size: 13px;
    line-height: 1.65;
    color: var(--ivm-muted);
}
.ivm-page .ivm-table-note a {
    color: var(--ivm-primary);
    font-weight: 600;
}

/* ===================================================================
 * 4. Price (ice-cube cards)
 * =================================================================== */
.ivm-page .ivm-price {
    background: var(--color-bg);
}
.ivm-page .ivm-price-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}
.ivm-page .ivm-price-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--ivm-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 34px 30px 30px;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
/* frost edge on top */
.ivm-page .ivm-price-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    background: linear-gradient(90deg, var(--ivm-ice-deep), var(--ivm-frost) 50%, var(--ivm-ice-deep));
}
.ivm-page .ivm-price-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--ivm-ice-deep);
}
.ivm-page .ivm-price-hot {
    border-color: var(--ivm-frost);
    background: linear-gradient(180deg, var(--ivm-ice) 0%, #fff 55%);
    box-shadow: 0 14px 34px rgba(18, 115, 168, 0.16);
}
.ivm-page .ivm-price-flag {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 16px;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, var(--ivm-frost) 0%, var(--ivm-primary) 100%);
    border-radius: 999px;
    box-shadow: 0 6px 14px rgba(18, 115, 168, 0.35);
    white-space: nowrap;
}
.ivm-page .ivm-price-qty {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ivm-muted);
}
.ivm-page .ivm-price-amount {
    margin: 0 0 8px;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ivm-primary-dark);
    line-height: 1.15;
}
.ivm-page .ivm-price-note {
    margin: 0 0 18px;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--ivm-muted);
}
.ivm-page .ivm-price-list {
    list-style: none;
    margin: 0 0 24px;
    padding: 18px 0 0;
    border-top: 1px dashed var(--ivm-border);
    display: grid;
    gap: 9px;
}
.ivm-page .ivm-price-list li {
    position: relative;
    padding-left: 24px;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--ivm-text);
}
.ivm-page .ivm-price-list li::before {
    content: "❄";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--ivm-frost);
    font-size: 12px;
}
.ivm-page .ivm-price-card .btn {
    margin-top: auto;
}
.ivm-page .ivm-price-footnote {
    margin: 28px auto 0;
    max-width: 860px;
    text-align: center;
    font-size: 13px;
    line-height: 1.7;
    color: var(--ivm-muted);
}

/* ===================================================================
 * 5. Features
 * =================================================================== */
.ivm-page .ivm-features {
    background: var(--color-bg-soft);
}
.ivm-page .ivm-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.ivm-page .ivm-feature-card {
    background: #fff;
    border: 1px solid var(--ivm-border);
    border-radius: var(--radius-md);
    padding: 26px 24px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.ivm-page .ivm-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(18, 115, 168, 0.14);
    border-color: var(--ivm-ice-deep);
}
.ivm-page .ivm-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--ivm-ice);
    font-size: 20px;
    margin-bottom: 14px;
}
.ivm-page .ivm-feature-card h3 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    color: var(--ivm-text);
}
.ivm-page .ivm-feature-card p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--ivm-muted);
}

/* ---------- Frost Divider ---------- */
.ivm-page .ivm-divider {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    line-height: 0;
}
.ivm-page .ivm-divider svg {
    display: block;
    width: 100%;
    height: 40px;
}

/* ===================================================================
 * 6. How It Works
 * =================================================================== */
.ivm-page .ivm-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}
.ivm-page .ivm-step {
    position: relative;
    background: #fff;
    border: 1px solid var(--ivm-border);
    border-radius: var(--radius-lg);
    padding: 32px 26px 28px;
    box-shadow: var(--shadow-sm);
}
.ivm-page .ivm-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ivm-frost) 0%, var(--ivm-primary) 100%);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 16px;
    box-shadow: 0 8px 20px rgba(18, 115, 168, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.ivm-page .ivm-step h3 {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 700;
    color: var(--ivm-text);
}
.ivm-page .ivm-step p {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: var(--ivm-muted);
}

/* ===================================================================
 * 7. Business Case / ROI
 * =================================================================== */
.ivm-page .ivm-roi {
    background: var(--color-bg-soft);
}
.ivm-page .ivm-roi-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: stretch;
}
.ivm-page .ivm-roi-why {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.ivm-page .ivm-why-item {
    display: flex;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--ivm-border);
    border-radius: var(--radius-md);
    padding: 20px 22px;
    box-shadow: var(--shadow-sm);
}
.ivm-page .ivm-why-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--ivm-ice);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}
.ivm-page .ivm-why-item h3 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 700;
    color: var(--ivm-text);
}
.ivm-page .ivm-why-item p {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: var(--ivm-muted);
}
.ivm-page .ivm-roi-calc {
    background: var(--ivm-dark);
    border-radius: var(--radius-lg);
    padding: 36px 34px;
    color: #fff;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
/* frost glow in the calc card */
.ivm-page .ivm-roi-calc::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(53, 163, 222, 0.28) 0%, transparent 70%);
    pointer-events: none;
}
.ivm-page .ivm-calc-title {
    margin: 0 0 18px;
    font-size: 20px;
    font-weight: 700;
    position: relative;
}
.ivm-page .ivm-calc-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
    position: relative;
}
.ivm-page .ivm-calc-table th,
.ivm-page .ivm-calc-table td {
    padding: 11px 12px;
    font-size: 14px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.ivm-page .ivm-calc-table th {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
}
.ivm-page .ivm-calc-table td {
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
}
.ivm-page .ivm-calc-table .ivm-calc-total th,
.ivm-page .ivm-calc-table .ivm-calc-total td {
    border-bottom: none;
    color: var(--ivm-ice-deep);
    font-size: 15.5px;
}
.ivm-page .ivm-calc-note {
    margin: 0 0 22px;
    font-size: 12.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.55);
    position: relative;
}
.ivm-page .ivm-roi-calc .btn {
    align-self: flex-start;
    position: relative;
}

/* ===================================================================
 * 8. Locations
 * =================================================================== */
.ivm-page .ivm-location-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.ivm-page .ivm-location-card {
    background: #fff;
    border: 1px solid var(--ivm-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.ivm-page .ivm-location-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--ivm-ice-deep);
}
.ivm-page .ivm-location-img {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--ivm-ice);
}
.ivm-page .ivm-location-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.ivm-page .ivm-location-card:hover .ivm-location-img img {
    transform: scale(1.05);
}
.ivm-page .ivm-location-body {
    padding: 22px 24px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.ivm-page .ivm-location-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--ivm-ice);
    font-size: 20px;
    margin-bottom: 14px;
}
.ivm-page .ivm-location-body h3 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 700;
    color: var(--ivm-text);
}
.ivm-page .ivm-location-body p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--ivm-muted);
    flex: 1;
}

/* ===================================================================
 * 9. Freshness & Hygiene (icy light section)
 * =================================================================== */
.ivm-page .ivm-fresh {
    background: linear-gradient(180deg, var(--ivm-ice) 0%, var(--ivm-snow) 100%);
    position: relative;
}
.ivm-page .ivm-fresh .section-eyebrow {
    color: var(--ivm-primary);
}
.ivm-page .ivm-fresh-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}
.ivm-page .ivm-fresh-card {
    background: #fff;
    border: 1px solid rgba(18, 115, 168, 0.16);
    border-radius: var(--radius-md);
    padding: 26px 22px;
    box-shadow: var(--shadow-sm);
}
.ivm-page .ivm-fresh-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--ivm-ice);
    font-size: 20px;
    margin-bottom: 14px;
}
.ivm-page .ivm-fresh-card h3 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    color: var(--ivm-text);
}
.ivm-page .ivm-fresh-card p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--ivm-muted);
}

/* ===================================================================
 * 10. Comparison
 * =================================================================== */
.ivm-page .ivm-compare {
    background: var(--color-bg-soft);
}
.ivm-page .ivm-compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.ivm-page .ivm-compare-table th,
.ivm-page .ivm-compare-table td {
    padding: 13px 16px;
    font-size: 14px;
    text-align: left;
    border-bottom: 1px solid var(--ivm-border);
}
.ivm-page .ivm-compare-table thead th {
    background: var(--ivm-dark);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.03em;
    white-space: nowrap;
}
.ivm-page .ivm-compare-table thead th:first-child {
    border-radius: 10px 0 0 0;
}
.ivm-page .ivm-compare-table thead th:last-child {
    border-radius: 0 10px 0 0;
}
.ivm-page .ivm-compare-table th[scope="row"] {
    font-weight: 700;
    color: var(--ivm-text);
    white-space: nowrap;
}
.ivm-page .ivm-compare-table tbody tr:nth-child(even) {
    background: var(--ivm-snow);
}
.ivm-page .ivm-compare-hl {
    background: var(--ivm-ice) !important;
    color: var(--ivm-primary-dark);
    font-weight: 600;
}
.ivm-page .ivm-compare-table thead .ivm-compare-hl {
    background: var(--ivm-primary) !important;
    color: #fff;
    font-weight: 700;
}

/* ===================================================================
 * 11. Manufacturer (EEAT)
 * =================================================================== */
.ivm-page .ivm-maker {
    background: var(--color-bg);
}
.ivm-page .ivm-maker-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 56px;
    align-items: center;
}
.ivm-page .ivm-maker-text .section-title {
    margin-bottom: 16px;
}
.ivm-page .ivm-maker-text .ivm-lead {
    margin: 0 0 14px;
}
.ivm-page .ivm-maker-text > p:not(.ivm-lead) {
    font-size: 15.5px;
    line-height: 1.75;
    color: var(--ivm-muted);
    margin: 0 0 20px;
}
.ivm-page .ivm-cert-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.ivm-page .ivm-cert-row li {
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--ivm-primary);
    background: var(--ivm-ice);
    border: 1px solid var(--ivm-ice-deep);
    border-radius: 999px;
}
.ivm-page .ivm-cert-row li::before {
    content: "❄ ";
    font-weight: 400;
    letter-spacing: 0;
}
.ivm-page .ivm-maker-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.ivm-page .ivm-maker-item {
    display: flex;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--ivm-border);
    border-radius: var(--radius-md);
    padding: 18px 18px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ivm-page .ivm-maker-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.ivm-page .ivm-maker-item span {
    flex-shrink: 0;
    font-size: 20px;
    line-height: 1.3;
}
.ivm-page .ivm-maker-item h3 {
    margin: 0 0 4px;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--ivm-text);
}
.ivm-page .ivm-maker-item p {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.55;
    color: var(--ivm-muted);
}

/* ===================================================================
 * 11b. Ice-Shard Divider (uneven edge: white maker -> icy FAQ)
 * =================================================================== */
.ivm-page .ivm-shard-divider {
    background: var(--ivm-ice);
    line-height: 0;
}
.ivm-page .ivm-shard-divider svg {
    display: block;
    width: 100%;
    height: 48px;
}
/* White jagged shape = ice shards hanging down from the section above */
.ivm-page .ivm-shard-divider path {
    fill: var(--color-bg);
}

/* ===================================================================
 * 12. FAQ (icy background — separated from the white maker section)
 * =================================================================== */
.ivm-page .ivm-faq {
    background: linear-gradient(180deg, var(--ivm-ice) 0%, var(--ivm-snow) 100%);
}
.ivm-page .ivm-faq .section-eyebrow {
    color: var(--ivm-primary);
}
.ivm-page .ivm-faq-list {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ivm-page .ivm-faq-item {
    background: #fff;
    border: 1px solid var(--ivm-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: border-color 0.25s ease;
}
.ivm-page .ivm-faq-item[open] {
    border-color: var(--ivm-ice-deep);
}
.ivm-page .ivm-faq-item summary {
    list-style: none;
    cursor: pointer;
    position: relative;
    padding: 18px 52px 18px 22px;
    font-size: 15.5px;
    font-weight: 700;
    color: var(--ivm-text);
    line-height: 1.5;
}
.ivm-page .ivm-faq-item summary::-webkit-details-marker {
    display: none;
}
.ivm-page .ivm-faq-item summary::after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--ivm-ice);
    color: var(--ivm-primary);
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, background 0.25s ease;
}
.ivm-page .ivm-faq-item[open] summary::after {
    content: "−";
    background: var(--ivm-primary);
    color: #fff;
}
.ivm-page .ivm-faq-item p {
    margin: 0;
    padding: 0 22px 20px;
    font-size: 14.5px;
    line-height: 1.75;
    color: var(--ivm-muted);
}

/* ===================================================================
 * 13. Guides
 * =================================================================== */
.ivm-page .ivm-guides {
    background: var(--color-bg-soft);
}
.ivm-page .ivm-guide-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.ivm-page .ivm-guide-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--ivm-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: inherit;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.ivm-page .ivm-guide-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.ivm-page .ivm-guide-img {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--ivm-ice);
}
.ivm-page .ivm-guide-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.ivm-page .ivm-guide-card:hover .ivm-guide-img img {
    transform: scale(1.05);
}
.ivm-page .ivm-guide-body {
    padding: 22px 24px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.ivm-page .ivm-guide-title {
    margin: 0 0 8px;
    font-size: 16.5px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--ivm-text);
}
.ivm-page .ivm-guide-card:hover .ivm-guide-title {
    color: var(--ivm-primary);
}
.ivm-page .ivm-guide-excerpt {
    margin: 0 0 14px;
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--ivm-muted);
    flex: 1;
}
.ivm-page .ivm-guide-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--ivm-muted);
}
.ivm-page .ivm-guide-dot {
    color: var(--ivm-border);
}
.ivm-page .ivm-guide-link-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 40px;
    row-gap: 4px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--ivm-border);
}
.ivm-page .ivm-guide-link {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    text-decoration: none;
    color: var(--ivm-text);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
    transition: color 0.25s ease;
}
.ivm-page .ivm-guide-link-title {
    min-width: 0;
}
.ivm-page .ivm-guide-link-arrow {
    flex-shrink: 0;
    color: var(--ivm-primary);
    font-size: 16px;
    line-height: 1.5;
    transition: transform 0.25s ease;
}
.ivm-page .ivm-guide-link:hover {
    color: var(--ivm-primary);
}
.ivm-page .ivm-guide-link:hover .ivm-guide-link-arrow {
    transform: translateX(4px);
}

/* ===================================================================
 * 14. Inquiry (dark frost)
 * =================================================================== */
.ivm-page .ivm-inquiry {
    background:
        radial-gradient(900px 420px at 90% -10%, rgba(53, 163, 222, 0.22), transparent 60%),
        linear-gradient(135deg, var(--ivm-dark) 0%, var(--ivm-deep) 60%, var(--ivm-primary-dark) 100%);
    color: #fff;
}
.ivm-page .ivm-inquiry-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
    align-items: center;
}
.ivm-page .ivm-inquiry-text .section-eyebrow {
    color: var(--ivm-ice-deep);
}
.ivm-page .ivm-inquiry-text .section-title {
    color: #fff;
    margin-bottom: 16px;
}
.ivm-page .ivm-inquiry-text > p:first-of-type {
    font-size: 15.5px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 20px;
}
.ivm-page .ivm-inquiry-text .ivm-check-list li {
    color: rgba(255, 255, 255, 0.88);
}
.ivm-page .ivm-inquiry-text .ivm-check-list li::before {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.35);
}
.ivm-page .ivm-inquiry-trust {
    margin: 24px 0 0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.55);
}
.ivm-page .ivm-inquiry-form {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 36px 34px;
}
.ivm-page .ivm-inquiry-form .fluentform-container,
.ivm-page .ivm-inquiry-form form {
    width: 100%;
}
/* Form 24 is configured with "hide labels" in the FluentForm builder
   (.ff-el-form-hide_label -> display:none). Force labels visible on this
   page only, styled to match the white card. */
.ivm-page .ivm-inquiry-form .fluentform .ff-el-input--label {
    display: block !important;
    visibility: visible !important;
    margin-bottom: 8px;
}
.ivm-page .ivm-inquiry-form .fluentform .ff-el-input--label label {
    font-size: 14px;
    font-weight: 600;
    color: var(--ivm-text);
}

/* ===================================================================
 * Responsive - Tablet
 * =================================================================== */
@media (max-width: 1100px) {
    .ivm-page .ivm-machine-grid,
    .ivm-page .ivm-price-grid,
    .ivm-page .ivm-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .ivm-page .ivm-steps,
    .ivm-page .ivm-fresh-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .ivm-page .ivm-location-grid,
    .ivm-page .ivm-guide-grid,
    .ivm-page .ivm-guide-link-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .ivm-page .ivm-define-grid,
    .ivm-page .ivm-roi-grid,
    .ivm-page .ivm-inquiry-grid,
    .ivm-page .ivm-maker-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ===================================================================
 * Responsive - Mobile
 * =================================================================== */
@media (max-width: 768px) {
    .ivm-page .ivm-section {
        padding: 56px 0;
    }
    .ivm-page .ivm-divider svg {
        height: 28px;
    }
    .ivm-page .ivm-shard-divider svg {
        height: 32px;
    }
    .ivm-page .ivm-section-head {
        margin-bottom: 36px;
    }
    .ivm-page .ivm-machine-grid,
    .ivm-page .ivm-price-grid,
    .ivm-page .ivm-steps,
    .ivm-page .ivm-fresh-grid,
    .ivm-page .ivm-location-grid,
    .ivm-page .ivm-guide-grid,
    .ivm-page .ivm-guide-link-grid,
    .ivm-page .ivm-feature-grid,
    .ivm-page .ivm-maker-list {
        grid-template-columns: 1fr;
    }
    .ivm-page .ivm-facts {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .ivm-page .ivm-fact-card {
        padding: 20px 14px;
    }
    .ivm-page .ivm-fact-num {
        font-size: 26px;
    }
    .ivm-page .ivm-spec-table-wrap {
        padding: 20px 16px;
    }
    .ivm-page .ivm-spec-table tbody th[scope="row"] {
        white-space: normal;
        width: 40%;
    }
    .ivm-page .ivm-roi-calc {
        padding: 28px 22px;
    }
    .ivm-page .ivm-inquiry-form {
        padding: 26px 20px;
    }
    .ivm-page .ivm-calc-table th,
    .ivm-page .ivm-calc-table td {
        padding: 10px 8px;
        font-size: 13px;
    }
    .ivm-page .ivm-hero-chips li {
        font-size: 12px;
        padding: 7px 12px;
    }
}
