/* =========================================================
   Public Site Visual Polish
   Bootstrap 3.4.1 compatible
   Intent: Modernize layout & readability without
   changing navigation, structure, or behavior
   ========================================================= */

/* ---------- Global canvas ---------- */

body {
    background-color: #f6f7f9;
}

/* ---------- Content rail ----------
   Wrap main page content in:
   <div class="content-rail">...</div>
----------------------------------- */

.content-rail {
    max-width: 1080px;
    margin: 24px auto;
    padding: 24px 32px;
    background-color: #ffffff; /* critical */
    border-radius: 6px;
}


/* On smaller screens, reduce padding */
@media (max-width: 768px) {
    .content-rail {
        padding: 20px;
        margin: 16px auto;
    }
}

/* ---------- Typography & rhythm ---------- */

.content-rail p,
.content-rail li {
    line-height: 1.45;
}

/* Headings: spacing does the work, not fonts */

.content-rail h1 {
    font-size: 30px;
    margin-top: 0;
    margin-bottom: 16px;
    font-weight: 600;
}

.content-rail h2 {
    font-size: 24px;
    margin-top: 32px;
    margin-bottom: 12px;
    font-weight: 600;
}

.content-rail h3 {
    font-size: 20px;
    margin-top: 24px;
    margin-bottom: 10px;
    font-weight: 600;
}

/* ---------- Section spacing ---------- */

.content-rail .row {
    margin-bottom: 0px;
}

/* Prevent last row from adding extra space */
.content-rail .row:last-child {
    margin-bottom: 0;
}

/* ---------- Panels (soften, not redesign) ---------- */

.content-rail .panel {
    border-radius: 6px;
    border: 1px solid whitesmoke;
    box-shadow: none;
}

.content-rail .panel-heading {
    background: #fafbfc;
    border-bottom: 1px solid #e3e6ea;
    font-weight: 600;
}

/* ---------- Tables (public-facing readability) ---------- */

.content-rail .table > thead > tr > th {
    font-weight: 600;
    border-bottom-width: 2px;
}

.content-rail .table > tbody > tr > td {
    padding-top: 12px;
    padding-bottom: 12px;
}

/* ---------- Product cards / grid items ----------
   Optional: apply .product-card where appropriate
----------------------------------------------- */

.product-card {
    background: #ffffff;
    border-radius: 6px;
    padding: 16px;
    border: 1px solid #e3e6ea;
}

/* ---------- Buttons (subtle polish) ---------- */

.content-rail .btn {
    border-radius: 4px;
    font-weight: 500;
}

.content-rail .btn-default {
    background-color: #ffffff;
    border-color: #dcdfe4;
}

/* ---------- Images ---------- */

.content-rail img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

/* ---------- Lists ---------- */

.content-rail ul,
.content-rail ol {
    padding-left: 20px;
}

/* ---------- Forms (gentle spacing only) ---------- */

.content-rail .form-group {
    margin-bottom: 20px;
}

/* =========================================================
   End public-polish.css
   ========================================================= */
/* =========================================================
   Checkout Typography Scale
   Intent: Reduce heading dominance for transactional flow
   ========================================================= */

.checkout-page h1 {
    font-size: 24px;
    margin-bottom: 12px;
}

.checkout-page h2 {
    font-size: 18px;
    margin-top: 24px;
    margin-bottom: 8px;
}

.checkout-page h3 {
    font-size: 16px;
    margin-top: 16px;
    margin-bottom: 6px;
}

/* Make section labels feel UI-like */
.checkout-page h2,
.checkout-page h3 {
    font-weight: 600;
}

/* Reduce excess spacing between stacked sections */
.checkout-page .panel,
.checkout-page .well {
    margin-bottom: 16px;
}

/* =========================================================
   Footer Spacing
   Intent: Add breathing room before footer elements
   ========================================================= */

/* Space before the footer icon row */
.footer_icons {
    margin-top: 24px;
    margin-bottom: 16px;
}

/* Space before the main footer */
footer.footer-bs {
    margin-top: 32px;
}

