/* =========================================================
   iPack Product Page
   ========================================================= */

.ipack-page {
    padding: 24px 0 80px;
    background: linear-gradient(
        180deg,
        var(--color-slate-gray-light) 0%,
        #f9fbfc 100%
    );
}

.ipack-main-card {
    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #fcfcfb 100%
    );
    border: 1px solid var(--color-border);
    border-radius: 18px;
    padding: 32px 34px 36px;
    box-shadow: 0 10px 24px rgba(68, 65, 65, 0.05);
}

/* Status row */

.ipack-status-row {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 30px;
    padding: 18px 20px;
    background: linear-gradient(
        180deg,
        #fffdf6 0%,
        #faf8f1 100%
    );
    border: 1px solid var(--color-border);
    border-radius: 14px;
}

.ipack-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--color-bee-yellow);
    color: var(--color-coal-black);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.ipack-status-text {
    margin: 0;
    line-height: 1.7;
    color: var(--color-gray-700);
}

/* Layout */

.ipack-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 32px;
    align-items: start;
}

.ipack-content {
    min-width: 0;
}

.ipack-sidebar {
    min-width: 0;
    display: grid;
    gap: 22px;
    align-content: start;
}

/* Main content typography */

.ipack-content h2 {
    margin: 0 0 18px;
    font-size: 38px;
    line-height: 1.2;
    color: var(--color-coal-black);
}

.ipack-content h3 {
    margin: 30px 0 14px;
    font-size: 28px;
    line-height: 1.25;
    color: var(--color-avalonia-violet);
}

.ipack-content h4 {
    margin: 22px 0 10px;
    font-size: 20px;
    line-height: 1.35;
    color: var(--color-coal-black);
}

.ipack-content p {
    margin: 0 0 16px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-gray-700);
}

.ipack-content strong {
    color: var(--color-coal-black);
}

.ipack-content a {
    color: var(--color-primary-700);
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.ipack-content a:hover {
    color: var(--color-primary-600);
}

/* Sidebar panels */

.ipack-product-box,
.ipack-summary-panel {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    overflow: hidden;
}

.ipack-product-box {
    padding: 22px;
    text-align: center;
    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #faf8f1 100%
    );
}

.ipack-product-image,
.ipack-product-box img {
    display: block;
    width: 100%;
    max-width: 220px;
    height: auto;
    margin: 0 auto;
}

.ipack-summary-panel {
    padding: 22px 22px 20px;
}

.ipack-summary-panel h3 {
    margin: 0 0 14px;
    font-size: 18px;
    color: var(--color-coal-black);
}

.ipack-summary-panel ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ipack-summary-panel li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 10px;
    line-height: 1.6;
    color: var(--color-gray-700);
}

.ipack-summary-panel li:last-child {
    margin-bottom: 0;
}

.ipack-summary-panel li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-bee-yellow);
    transform: translateY(-50%);
}

.ipack-summary-panel a {
    color: var(--color-primary-700);
    text-decoration: none;
    font-weight: 600;
}

.ipack-summary-panel a:hover {
    color: var(--color-primary-600);
    text-decoration: underline;
}

/* Subtle section emphasis */

.ipack-content h3 + h4 {
    margin-top: 6px;
}

.ipack-content > *:first-child {
    margin-top: 0;
}

.ipack-content > *:last-child {
    margin-bottom: 0;
}

/* Responsive */

@media (max-width: 980px) {
    .ipack-layout {
        grid-template-columns: 1fr;
    }

    .ipack-sidebar {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }

    .ipack-product-box {
        grid-column: 1 / -1;
    }
}

@media (max-width: 700px) {
    .ipack-main-card {
        padding: 24px;
    }

    .ipack-status-row {
        flex-direction: column;
        gap: 12px;
        padding: 16px;
    }

    .ipack-content h2 {
        font-size: 30px;
    }

    .ipack-content h3 {
        font-size: 24px;
    }

    .ipack-content h4 {
        font-size: 18px;
    }

    .ipack-sidebar {
        grid-template-columns: 1fr;
    }
}



/* =========================================================
   Products Page
   ========================================================= */

.products-page {
    padding: 24px 0 80px;
    background: linear-gradient(
        180deg,
        var(--color-slate-gray-light) 0%,
        #f9fbfc 100%
    );
}

.products-intro-card {
    position: relative;
    max-width: 920px;
    margin: 0 auto 36px;
    padding: 34px 38px;
    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #fffdf6 100%
    );
    border: 1px solid var(--color-border);
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(68, 65, 65, 0.05);
}

.products-intro-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 22px;
    bottom: 22px;
    width: 4px;
    border-radius: 999px;
    background: var(--color-bee-yellow);
}

.products-intro-lead {
    margin: 0 0 12px;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--color-coal-black);
}

.products-intro-text {
    margin: 0;
    font-size: 16px;
    line-height: 1.75;
    color: var(--color-gray-700);
}

/* Product list */

.products-list {
    display: grid;
    gap: 28px;
    margin-top: 8px;
}

.product-card {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 30px;
    align-items: center;

    padding: 30px 32px;
    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #fcfcfb 100%
    );
    border: 1px solid var(--color-border);
    border-radius: 18px;
    box-shadow: 0 8px 20px rgba(68, 65, 65, 0.04);

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}

.product-card-image-wrap {
    min-width: 0;
    text-align: center;
}

.product-card-image-link {
    display: inline-block;
    text-decoration: none;
}

.product-card-image {
    display: block;
    width: 100%;
    max-width: 190px;
    height: auto;
    margin: 0 auto;
    transition: transform 0.25s ease;
}

.product-card-image-link:hover .product-card-image {
    transform: translateY(-2px) scale(1.02);
}

.product-card-content {
    min-width: 0;
}

.product-card-title {
    margin: 0;
    font-size: 36px;
    line-height: 1.2;
    color: var(--color-coal-black);
}

.product-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.product-card-title a:hover {
    color: var(--color-primary-700);
}

.product-card-excerpt p {
    margin: 0 0 20px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-gray-700);
}

.product-card-cta-group {
    margin-top: 22px;

    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.product-card-cta-group .bm-cta {
    max-width: 260px;
    width: auto;
    min-width: 150px;
    padding: 0 16px;
}

.product-card-cta-group .bm-cta--light {
    min-width: 180px;
}

/* Responsive */

@media (max-width: 900px) {
    .product-card {
        grid-template-columns: 1fr;
        gap: 22px;
        text-align: center;
    }

    .product-card-title {
        font-size: 30px;
    }
}

@media (max-width: 700px) {
    .products-intro-card,
    .product-card {
        padding: 24px;
    }

    .products-intro-lead {
        font-size: 21px;
    }

    .product-card-title {
        font-size: 26px;
    }

    .product-card-excerpt p {
        font-size: 15px;
    }
}

.product-card-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 14px;
}

.product-card-title-row .product-card-title {
    margin: 0;
}

.product-card-controls-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(132, 68, 160, 0.12);
    border: 1px solid rgba(132, 68, 160, 0.22);
    color: var(--color-avalonia-violet);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.product-card-controls-badge--bee-yellow {
    background: rgba(255, 247, 0, 0.3);
    border: 1px solid rgba(255, 200, 0, 0.35);
    color: var(--color-bee-yellow);
}

.product-card-controls-badge--avalonia-violet {
    background: rgba(132, 68, 160, 0.12);
    border: 1px solid rgba(132, 68, 160, 0.22);
    color: var(--color-avalonia-violet);
}

/* =========================================================
   Products Page – section separator
   ========================================================= */

.products-section-separator {
    height: 40px;
    margin: 10px auto 24px;

    background: linear-gradient(
        to bottom,
        rgba(132, 68, 160, 0.10) 0%,
        rgba(132, 68, 160, 0.04) 40%,
        rgba(132, 68, 160, 0.00) 100%
    );

    border-radius: 999px;

    max-width: 720px;
    filter: blur(18px);
    opacity: 0.55;
}
