/* SGH Training Full Width Order Form - v4 */
.sgh-training-orderform .sgh-training-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 15px 24px;
}
.sgh-training-orderform .sgh-training-header {
    margin-bottom: 14px;
}
.sgh-training-orderform .sgh-training-header h1 {
    color: #005984;
    font-weight: 700;
    line-height: 1.15;
    font-size: 34px !important;
    margin-bottom: 10px;
}
.sgh-training-orderform .sgh-training-header p {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 0;
}

.sgh-currency-switcher {
    margin-bottom: 18px;
    border-radius: 10px;
}
.sgh-currency-switcher .panel-body {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 14px 18px;
}
.sgh-currency-buttons .btn {
    min-width: 88px;
    text-align: center;
    font-weight: 700;
    margin-right: 4px;
    margin-bottom: 4px;
}
.sgh-currency-buttons .btn.active {
    background: #005984 !important;
    border-color: #005984 !important;
    color: #ffffff !important;
}

.sgh-training-product {
    width: 100%;
    float: none !important;
    margin: 0 0 22px !important;
    padding: 0 !important;
    border: 1px solid #dfe7ed !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: 0 6px 22px rgba(0,0,0,0.08);
    overflow: visible !important;
    min-height: 0 !important;
    height: auto !important;
}
.sgh-product-main {
    display: flex;
    align-items: stretch;
    width: 100%;
}
.sgh-product-info {
    flex: 1 1 auto;
    min-width: 0;
}
.sgh-product-title {
    background: linear-gradient(135deg, #005984, #0e7e97) !important;
    padding: 18px 22px !important;
    font-size: 27px !important;
    font-weight: 800 !important;
    line-height: 1.22 !important;
    border-radius: 12px 0 0 0;
    color: #ffffff !important;
}
.sgh-product-title,
.sgh-product-title *,
.sgh-product-title span,
.sgh-product-title a,
.sgh-product-title #product-name,
.sgh-product-title [id$='-name'] {
    color: #ffffff !important;
    text-shadow: 0 1px 0 rgba(0,0,0,0.08);
}
.sgh-product-title .qty {
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    margin-left: 10px;
    background: rgba(255,255,255,0.18);
    padding: 3px 8px;
    border-radius: 4px;
}

.sgh-product-desc {
    padding: 18px 22px !important;
    font-size: 15px;
    line-height: 1.5;
    color: #2e3842;
    overflow: visible !important;
    max-height: none !important;
    height: auto !important;
}
.sgh-product-desc,
.sgh-product-desc *,
.sgh-full-description,
.sgh-full-description *,
.sgh-feature-list,
.sgh-feature-list li {
    overflow: visible !important;
    max-height: none !important;
}

/* Make the full description fit on one page more easily */
.sgh-full-description {
    font-size: 14.5px;
    line-height: 1.45;
    color: #2e3842;
    column-count: 2;
    column-gap: 28px;
    column-fill: balance;
}
.sgh-full-description p,
.sgh-full-description div,
.sgh-full-description ul,
.sgh-full-description ol,
.sgh-full-description blockquote,
.sgh-full-description table,
.sgh-full-description h1,
.sgh-full-description h2,
.sgh-full-description h3,
.sgh-full-description h4,
.sgh-full-description h5,
.sgh-full-description h6 {
    break-inside: avoid;
    page-break-inside: avoid;
}
.sgh-full-description strong {
    color: #005984;
    font-size: 16px;
    display: inline;
}
.sgh-full-description a {
    color: #0b74a5;
    font-weight: 700;
    text-decoration: underline;
}

.sgh-feature-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px 14px;
    margin-top: 14px !important;
    padding-left: 0 !important;
    list-style: none !important;
}
.sgh-feature-list li {
    padding: 6px 10px;
    background: #f7fbfc;
    border-radius: 6px;
    border-left: 3px solid #2fb344;
    font-size: 14px;
    line-height: 1.35;
}
.sgh-feature-list li .feature-value {
    color: #2fb344 !important;
    font-weight: 700;
}

.sgh-product-action {
    flex: 0 0 275px;
    background: #f7fbfd;
    border-left: 1px solid #e6eef2;
    padding: 24px 18px;
    text-align: center;
    border-radius: 0 12px 12px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}
.sgh-price-box .price {
    display: block;
    color: #005984;
    font-size: 28px !important;
    font-weight: 800;
    line-height: 1.2;
    word-break: break-word;
}
.sgh-starting,
.sgh-cycle {
    color: #67727e;
    font-size: 13px;
}
.sgh-enrol-btn {
    background: #28a745 !important;
    border-color: #28a745 !important;
    border-radius: 8px !important;
    padding: 14px 18px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    text-transform: none !important;
    white-space: normal;
}
.sgh-enrol-btn:hover,
.sgh-enrol-btn:focus {
    background: #218838 !important;
    border-color: #218838 !important;
}

@media (min-width: 1280px) {
    .sgh-training-orderform .sgh-training-container { max-width: 1500px; }
    .sgh-product-action { flex-basis: 300px; }
    .sgh-full-description { column-count: 3; }
}

@media (max-width: 1199px) {
    .sgh-full-description { column-count: 2; }
    .sgh-feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 991px) {
    .sgh-product-main { display: block; }
    .sgh-product-title {
        border-radius: 12px 12px 0 0;
        font-size: 23px !important;
    }
    .sgh-product-action {
        border-left: 0;
        border-top: 1px solid #e6eef2;
        border-radius: 0 0 12px 12px;
        flex-basis: auto;
    }
    .sgh-full-description { column-count: 1; }
}

@media (max-width: 767px) {
    .sgh-training-orderform .sgh-training-container {
        padding-left: 10px;
        padding-right: 10px;
    }
    .sgh-training-orderform .sgh-training-header h1 {
        font-size: 27px !important;
    }
    .sgh-product-title {
        font-size: 20px !important;
        padding: 15px !important;
    }
    .sgh-product-desc {
        padding: 15px !important;
        font-size: 14px;
        line-height: 1.5;
    }
    .sgh-full-description {
        font-size: 14px;
        line-height: 1.45;
    }
    .sgh-feature-list {
        grid-template-columns: 1fr;
    }
    .sgh-product-action {
        padding: 20px 15px;
    }
    .sgh-price-box .price {
        font-size: 26px !important;
    }
    .sgh-currency-switcher .panel-body {
        padding: 12px 14px;
    }
}
