/* ── Step cards ───────────────────────────────────────────── */
.fcc-step {
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #fff;
}

.fcc-step-active {
    border-color: #1d1d1d;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

.fcc-step-done {
    border-color: #e8e8e8;
}

.fcc-step-locked {
    border-color: #f0f0f0;
    background: #fafafa;
}

/* ── Step header ──────────────────────────────────────────── */
.fcc-step-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    cursor: default;
}

.fcc-step-done .fcc-step-header,
.fcc-step-active .fcc-step-header {
    cursor: default;
}

.fcc-step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #1d1d1d;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: var(--alt-font, sans-serif);
    transition: background 0.2s;
}

.fcc-step-locked .fcc-step-number {
    background: #ccc;
}

.fcc-step-done .fcc-step-number {
    background: #27ae60;
}

.fcc-step-done .fcc-step-number::after {
    content: '✓';
    font-size: 14px;
}

.fcc-step-done .fcc-step-number-text {
    display: none;
}

.fcc-step-title {
    flex: 1;
    min-width: 0;
}

.fcc-step-label {
    display: block;
}

.fcc-step-locked .fcc-step-label {
    color: #aaa !important;
}

.fcc-step-summary {
    display: block;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Step body ────────────────────────────────────────────── */
.fcc-step-body {
    padding: 0 25px 25px 25px;
    display: none;
}

.fcc-step-active .fcc-step-body {
    display: block;
    animation: fccFadeIn 0.2s ease;
}

.fcc-step-locked .fcc-step-label,
.fcc-step-locked .fcc-step-summary {
    color: #bbb !important;
}

@keyframes fccFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Inputs ───────────────────────────────────────────────── */
.fcc-input {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px 15px;
    font-size: 14px;
    transition: border-color 0.15s;
    width: 100%;
}

.fcc-input:focus {
    border-color: #1d1d1d;
    box-shadow: none;
    outline: none;
}

.fcc-input-error {
    border-color: #c0392b !important;
}

.fcc-field-error {
    color: #c0392b;
    font-size: 12px;
    margin-top: 4px;
    display: none;
}

.fcc-error-msg {
    background: #fdf0f0;
    border: 1px solid #f5c6cb;
    color: #c0392b;
    border-radius: 6px;
    padding: 10px 15px;
    font-size: 13px;
}

/* ── Shipping options ─────────────────────────────────────── */
.fcc-shipping-option {
    display: block;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 16px 18px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}

.fcc-shipping-option:hover {
    border-color: #bbb;
}

.fcc-shipping-selected {
    border-color: #1d1d1d !important;
    background: #fafafa;
}

.fcc-shipping-option input[type="radio"] {
    display: none;
}

.fcc-shipping-option-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.text-success-green { color: #27ae60; }

/* ── Stripe wrap ──────────────────────────────────────────── */
.fcc-stripe-wrap {
    background: #f8f8f8;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 20px;
}

.fcc-stripe-loading {
    display: flex;
    align-items: center;
    padding: 10px 0;
}

/* ── Review blocks ────────────────────────────────────────── */
.fcc-review-block {
    display: flex;
    gap: 15px;
}

.fcc-review-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #aaa;
    width: 70px;
    flex-shrink: 0;
    padding-top: 2px;
}

.fcc-review-value {
    font-size: 14px;
    color: #1d1d1d;
    line-height: 1.6;
}

/* ── Order summary panel ──────────────────────────────────── */
.fcc-order-summary-panel {
    position: sticky;
    top: 100px;
}

.fcc-summary-item {
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 15px;
}

.fcc-summary-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.fcc-summary-img-wrap {
    width: 56px;
    height: 56px;
}

.fcc-summary-img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #e8e8e8;
}

.fcc-summary-qty-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 20px;
    height: 20px;
    background: #555;
    color: #fff;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fcc-condition-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: #f0f0f0;
    color: #555;
    border-radius: 3px;
    padding: 2px 6px;
}

/* ── Checkbox label ───────────────────────────────────────── */
.fcc-checkbox-label {
    cursor: pointer;
    font-weight: normal; 
    margin-bottom: 0;
}

/* ── Mobile ───────────────────────────────────────────────── */
@media (max-width: 991px) {
    .fcc-order-summary-panel {
        position: static;
    }
    .col-lg-7.pe-40px {
        padding-right: 15px !important;
    }
}
	
.fcc-checkbox-label { 
    cursor: pointer;
    font-weight: normal;
    margin-bottom: 0;
    display: flex !important;
    align-items: center !important;
    flex-direction: row !important;
    writing-mode: horizontal-tb !important;
}

#fcc-step-contact .fcc-checkbox-label,
#fcc-step-contact .fcc-checkbox-label * {
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    letter-spacing: normal !important;
}

.fcc-highlight { color: #394B8D !important; }
.fcc-accent    { color: #DF542B !important; }

/* ─────────────────────────────────────────────────────────────────────────
   Readability bump for Crafto's gray-text classes.
   The defaults (~#bbb / ~#999) are too pale for body copy on white — they
   fail WCAG AA contrast on white backgrounds, especially at small sizes.
   These overrides bring secondary text up to a comfortable contrast ratio
   while keeping it visually subordinate to primary body text.
   Affects every customer-facing page that uses head.inc. (Admin templates
   render their own HTML and aren't affected.)
   ───────────────────────────────────────────────────────────────────────── */
.text-extra-medium-gray { color: #6c757d !important; }
.text-medium-gray       { color: #555555 !important; }

/* ─────────────────────────────────────────────────────────────────────────
   Font-smoothing fix.
   Crafto's style.css applies `-webkit-font-smoothing: antialiased` site-wide,
   which makes text appear thin/fuzzy on macOS Retina — particularly at small
   sizes with lighter colors. Reverting to subpixel rendering (the OS default)
   gives noticeably crisper body text without affecting headings adversely.
   ───────────────────────────────────────────────────────────────────────── */
body, body * {
    -webkit-font-smoothing: subpixel-antialiased;
    -moz-osx-font-smoothing: auto;
}