/* FindMyShots Public Styles */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
    --fms-primary: #e85d04;
    --fms-primary-dark: #c74b02;
    --fms-dark: #1a1a2e;
    --fms-card-bg: #ffffff;
    --fms-border: #e5e7eb;
    --fms-radius: 12px;
    --fms-shadow: 0 4px 24px rgba(0,0,0,.10);
}

.fms-wrap { font-family: 'Inter', sans-serif; color: #1f2937; }
.fms-wrap * { box-sizing: border-box; }

/* ── Hero ── */
.fms-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 60px 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.fms-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center bottom, rgba(232,93,4,.2) 0%, transparent 70%);
}
.fms-hero-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.fms-hero-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 800;
    color: #fff;
    letter-spacing: -1px;
    margin: 0 0 12px;
    text-transform: uppercase;
}
.fms-hero-subtitle { color: rgba(255,255,255,.7); font-size: 18px; margin: 0 0 36px; }

.fms-search-bar {
    display: flex;
    max-width: 560px;
    margin: 0 auto;
    background: #fff;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,.3);
}
.fms-search-input {
    flex: 1;
    border: none;
    padding: 16px 24px;
    font-size: 15px;
    outline: none;
    background: transparent;
    font-family: 'Inter', sans-serif;
}
.fms-search-btn {
    background: var(--fms-primary);
    color: #fff;
    border: none;
    padding: 16px 28px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background .2s;
    font-family: 'Inter', sans-serif;
}
.fms-search-btn:hover { background: var(--fms-primary-dark); }

/* ── Races Section ── */
.fms-races-section { padding: 48px 20px; max-width: 1200px; margin: 0 auto; }
.fms-section-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 28px;
    color: var(--fms-dark);
}

.fms-races-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

/* ── Race Card ── */
.fms-race-card {
    background: var(--fms-card-bg);
    border-radius: var(--fms-radius);
    overflow: hidden;
    box-shadow: var(--fms-shadow);
    transition: transform .2s, box-shadow .2s;
    border: 1px solid var(--fms-border);
}
.fms-race-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.15); }
.fms-race-cover {
    height: 180px;
    background-size: cover;
    background-position: center;
    background-color: #0f3460;
    position: relative;
}
.fms-race-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,.5) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 12px;
}
.fms-photo-count {
    background: rgba(0,0,0,.6);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}
.fms-race-info { padding: 16px; }
.fms-race-name { font-size: 17px; font-weight: 700; margin: 0 0 8px; color: var(--fms-dark); line-height: 1.3; }
.fms-race-meta { display: flex; flex-direction: column; gap: 4px; margin: 0 0 10px; }
.fms-race-date, .fms-race-loc { font-size: 13px; color: #6b7280; }
.fms-race-price { font-size: 13px; font-weight: 700; color: var(--fms-primary); margin: 0 0 12px; }
.fms-race-price.fms-free { color: #16a34a; }

/* ── Button ── */
.fms-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
}
.fms-view-race-btn {
    width: 100%;
    background: var(--fms-dark);
    color: #fff;
}
.fms-view-race-btn:hover { background: #2d2d4e; color: #fff; }

/* ── Modal ── */
.fms-modal { position: fixed; inset: 0; z-index: 99999; }
.fms-buy-modal { z-index: 1000001; }  /* always above lightbox (999999) */
.fms-modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.7); backdrop-filter: blur(4px); }
.fms-modal-inner {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 16px;
    width: 95%;
    max-width: 980px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 28px;
    box-shadow: 0 30px 80px rgba(0,0,0,.4);
}
.fms-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #f3f4f6;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
}
.fms-modal-close:hover { background: #e5e7eb; }

/* ── Race modal header ── */
.fms-race-modal-header { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.fms-race-modal-title { font-family: 'Barlow Condensed', sans-serif; font-size: 28px; font-weight: 800; text-transform: uppercase; margin: 0; }
.fms-modal-search-bar { display: flex; gap: 8px; margin-bottom: 20px; }
.fms-modal-search-bar input { flex: 1; padding: 10px 16px; border: 1.5px solid var(--fms-border); border-radius: 8px; font-size: 14px; outline: none; font-family: 'Inter', sans-serif; }
.fms-modal-search-bar input:focus { border-color: var(--fms-primary); }
.fms-modal-search-btn { background: var(--fms-primary); color: #fff; border: none; padding: 10px 18px; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; }

/* ── Photos Grid (frontend) ── */
.fms-photos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.fms-photo-card { position: relative; border-radius: 10px; overflow: hidden; cursor: pointer; }
.fms-photo-thumb {
    height: 180px;
    background-size: cover;
    background-position: center;
    background-color: #f3f4f6;
    position: relative;
}
.fms-photo-actions {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transition: opacity .2s;
}
.fms-photo-card:hover .fms-photo-actions { opacity: 1; }
.fms-photo-preview {
    background: rgba(255,255,255,.15);
    border: 1.5px solid rgba(255,255,255,.5);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.fms-photo-buy, .fms-photo-download {
    background: var(--fms-primary);
    color: #fff;
    border: none;
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    transition: background .15s;
}
.fms-photo-buy:hover { background: var(--fms-primary-dark); }
.fms-photo-download { background: #16a34a; }
.fms-photo-download:hover { background: #15803d; }
.fms-photo-bib {
    background: var(--fms-dark);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    text-align: center;
}

/* ── Filter bar ── */
.fms-filter-bar { margin-bottom: 16px; }
.fms-bib-filter {
    padding: 10px 16px;
    border: 1.5px solid var(--fms-border);
    border-radius: 8px;
    font-size: 14px;
    width: 100%;
    max-width: 340px;
    outline: none;
    font-family: 'Inter', sans-serif;
}
.fms-bib-filter:focus { border-color: var(--fms-primary); }

/* ── Buy Modal ── */
.fms-buy-modal-inner { max-width: 440px; }
.fms-buy-title { font-family: 'Barlow Condensed', sans-serif; font-size: 22px; font-weight: 800; text-transform: uppercase; margin: 0 0 6px; }
.fms-buy-price { font-size: 28px; font-weight: 700; color: var(--fms-primary); margin: 0 0 20px; }
.fms-buy-form label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 5px; }
.fms-buy-form input {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--fms-border);
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 14px;
    outline: none;
    font-family: 'Inter', sans-serif;
}
.fms-buy-form input:focus { border-color: var(--fms-primary); }
.fms-gcash-btn {
    width: 100%;
    background: linear-gradient(135deg, #007aff, #0057d8);
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    transition: opacity .2s;
    margin-top: 4px;
}
.fms-gcash-btn:hover { opacity: .9; }
.fms-gcash-btn img { width: 28px; }
.fms-gcash-logo { display: inline-block; background: #fff; color: #007aff; font-weight: 900; font-size: 14px; padding: 2px 8px; border-radius: 4px; letter-spacing: -.5px; }

/* ── Lightbox ── */
.fms-lightbox {
    position: fixed; inset: 0; z-index: 999999;
    background: rgba(0,0,0,.95);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
}
.fms-lightbox-close {
    position: absolute; top: 16px; right: 20px;
    color: #fff; font-size: 32px; cursor: pointer; background: none; border: none; z-index: 10;
    line-height: 1;
}
/* Prev / Next nav arrows */
.fms-lightbox-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    color: #fff; font-size: 52px; line-height: 1;
    cursor: pointer; background: none; border: none;
    padding: 0 18px; z-index: 10; opacity: .7; transition: opacity .15s;
    user-select: none;
}
.fms-lightbox-nav:hover { opacity: 1; }
.fms-lightbox-prev { left: 0; }
.fms-lightbox-next { right: 0; }
/* Wrapper keeps watermark exactly over the image */
.fms-lightbox-wrap {
    position: relative;
    max-width: 88vw; max-height: 78vh;
    display: flex; align-items: center; justify-content: center;
}
.fms-lightbox-wrap img {
    max-width: 88vw; max-height: 78vh;
    object-fit: contain; border-radius: 4px; display: block;
}
/* Tiling watermark */
.fms-lightbox-watermark {
    position: absolute; inset: 0;
    pointer-events: none;
    background-repeat: repeat;
    background-size: 220px 110px;
    z-index: 1; border-radius: 4px;
}
/* Bottom bar: bib info + counter + buy/download */
.fms-lightbox-bar {
    display: flex; align-items: center; justify-content: space-between;
    width: 88vw; max-width: 960px;
    padding: 10px 0 0; gap: 12px; flex-wrap: wrap;
}
.fms-lightbox-info { display: flex; align-items: center; gap: 14px; }
.fms-lightbox-bib  { color: #fdba74; font-weight: 700; font-size: 14px; }
.fms-lightbox-counter { color: rgba(255,255,255,.5); font-size: 13px; }
.fms-lightbox-actions { display: flex; gap: 10px; }
.fms-lb-buy {
    background: #e85d04; color: #fff; border: none; border-radius: 8px;
    padding: 9px 20px; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .15s;
}
.fms-lb-buy:hover { background: #c74b02; }
.fms-lb-download {
    background: rgba(255,255,255,.15); color: #fff; border: 1px solid rgba(255,255,255,.3);
    border-radius: 8px; padding: 9px 20px; font-size: 14px; font-weight: 600;
    text-decoration: none; transition: background .15s;
}
.fms-lb-download:hover { background: rgba(255,255,255,.25); }

/* ── Loading ── */
.fms-loading { text-align: center; padding: 40px; }
.fms-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e5e7eb;
    border-top-color: var(--fms-primary);
    border-radius: 50%;
    animation: fms-spin .8s linear infinite;
    margin: 0 auto;
}
@keyframes fms-spin { to { transform: rotate(360deg); } }
.fms-empty { grid-column: 1/-1; text-align: center; padding: 40px; color: #9ca3af; font-size: 16px; }

/* ── Race title ── */
.fms-race-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 32px;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0 0 16px;
}

@media (max-width: 600px) {
    .fms-photos-grid { grid-template-columns: repeat(2, 1fr); }
    .fms-modal-inner { padding: 20px 16px; }
}

/* ─── AI Search Tabs ─── */
.fms-search-tabs {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.fms-tab-btn {
    background: rgba(255,255,255,.12);
    color: rgba(255,255,255,.8);
    border: 1.5px solid rgba(255,255,255,.2);
    padding: 9px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all .2s;
    font-family: 'Inter', sans-serif;
    backdrop-filter: blur(4px);
}
.fms-tab-btn:hover { background: rgba(255,255,255,.2); color: #fff; }
.fms-tab-btn.active {
    background: var(--fms-primary);
    color: #fff;
    border-color: var(--fms-primary);
}

.fms-tab-content { display: none; }
.fms-tab-content.active { display: block; }

/* ─── AI Upload Box ─── */
.fms-ai-search-box { max-width: 520px; margin: 0 auto; }
.fms-ai-upload-zone {
    border: 2px dashed rgba(255,255,255,.35);
    border-radius: 12px;
    padding: 24px 20px;
    cursor: pointer;
    transition: border-color .2s, background .2s;
    margin-bottom: 14px;
    background: rgba(255,255,255,.07);
}
.fms-ai-upload-zone:hover, .fms-ai-upload-zone.drag-over {
    border-color: rgba(255,255,255,.7);
    background: rgba(255,255,255,.12);
}
.fms-ai-upload-inner { text-align: center; }
.fms-ai-icon { font-size: 36px; display: block; margin-bottom: 8px; }
.fms-ai-upload-inner p { margin: 0 0 4px; color: rgba(255,255,255,.9); font-size: 14px; }
.fms-ai-hint { font-size: 12px !important; color: rgba(255,255,255,.6) !important; }
.fms-ai-preview-img { width: 90px; height: 90px; object-fit: cover; border-radius: 50%; border: 3px solid rgba(255,255,255,.4); display: block; margin: 0 auto 8px; }
.fms-ai-ready { color: #86efac !important; font-size: 13px !important; }
.fms-ai-error { color: #fca5a5 !important; font-size: 13px !important; margin-top: 8px !important; }

.fms-ai-race-select { margin-bottom: 12px; text-align: left; }
.fms-ai-race-select label { display: block; font-size: 12px; color: rgba(255,255,255,.7); margin-bottom: 5px; }
.fms-ai-race-select select {
    width: 100%;
    padding: 9px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.2);
    background: rgba(255,255,255,.1);
    color: #fff;
    font-size: 13px;
    outline: none;
}
.fms-ai-race-select select option { background: #1a1a2e; color: #fff; }

.fms-ai-search-btn {
    width: 100%;
    background: var(--fms-primary);
    color: #fff;
    border: none;
    padding: 13px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    transition: background .2s, opacity .2s;
}
.fms-ai-search-btn:hover:not(:disabled) { background: var(--fms-primary-dark); }
.fms-ai-search-btn:disabled { opacity: .5; cursor: not-allowed; }

/* ─── Section header ─── */
.fms-section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }

/* ─── Loading text ─── */
.fms-loading p { color: #6b7280; font-size: 14px; margin-top: 12px; }

/* ─── Spinner inline ─── */
.fms-spinner-inline {
    display: inline-block;
    width: 14px; height: 14px;
    border: 2px solid rgba(255,255,255,.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: fms-spin .7s linear infinite;
    vertical-align: middle;
}

/* ─── Photo meta row ─── */
.fms-photo-meta { display: flex; align-items: center; gap: 6px; padding: 6px 8px; flex-wrap: wrap; }
.fms-bib-badge {
    background: var(--fms-dark);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
}
.fms-race-badge {
    background: #e0e7ff;
    color: #3730a3;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}

/* ─── Modal price ─── */
.fms-modal-price { color: var(--fms-primary); font-weight: 700; margin: 0; font-size: 14px; }
.fms-modal-price.fms-free { color: #16a34a; }

/* ─── Result count ─── */
.fms-result-count { grid-column: 1/-1; font-size: 13px; color: #6b7280; margin: 0 0 8px; }

/* ─── Buy form ─── */
.fms-buy-error { color: #dc2626; font-size: 13px; margin-bottom: 8px; padding: 8px 12px; background: #fee2e2; border-radius: 6px; }
.fms-buy-footnote { text-align: center; font-size: 12px; color: #9ca3af; margin: 12px 0 0; }

/* ─── Body scroll lock ─── */
body.fms-modal-open { overflow: hidden; }

/* ─── Race cover placeholder ─── */
.fms-race-cover-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    background: linear-gradient(135deg, #1e3a5f, #0f2027);
}

/* ── Bib number text search ── */
.fms-bib-text-search { margin-bottom: 14px; text-align: left; }
.fms-bib-text-search label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: #fff; }
.fms-bib-number-field {
    width: 100%; padding: 12px 16px; font-size: 18px; font-weight: 700;
    letter-spacing: 2px; text-align: center; border: 2px solid rgba(255,255,255,.3);
    border-radius: 10px; background: rgba(255,255,255,.15); color: #fff;
    outline: none; transition: border-color .2s;
}
.fms-bib-number-field::placeholder { font-weight: 400; letter-spacing: 0; opacity: .6; }
.fms-bib-number-field:focus { border-color: #fff; background: rgba(255,255,255,.25); }
.fms-required { color: #f87171; }
.fms-bib-error { margin-top: 8px; padding: 8px 12px; background: rgba(239,68,68,.2); border: 1px solid rgba(239,68,68,.5); border-radius: 8px; color: #fca5a5; font-size: 13px; }

/* ── Watermark overlay ── */
.fms-watermark {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .08em;
    color: rgba(255,255,255,.55);
    text-shadow: 0 1px 3px rgba(0,0,0,.5);
    transform: rotate(-30deg);
    white-space: nowrap;
    overflow: hidden;
    z-index: 1;
    /* Repeat the text diagonally */
    background: repeating-linear-gradient(
        -30deg,
        transparent,
        transparent 60px,
        rgba(255,255,255,.03) 60px,
        rgba(255,255,255,.03) 62px
    );
    /* Use text-shadow trick to tile the watermark */
    text-shadow:
        0 0 0 rgba(255,255,255,.55),
        -120px -80px 0 rgba(255,255,255,.55),
        120px 80px 0 rgba(255,255,255,.55),
        -240px -160px 0 rgba(255,255,255,.55),
        240px 160px 0 rgba(255,255,255,.55);
}

/* ── Required select validation flash ── */
.fms-select-error { border-color: #ef4444 !important; box-shadow: 0 0 0 3px rgba(239,68,68,.3) !important; }

/* ── Bib text field (reused in bibtext tab) ── */
.fms-bib-text-search { margin-bottom: 14px; text-align: left; }
.fms-bib-text-search label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: #fff; }
.fms-bib-number-field {
    width: 100%; padding: 12px 16px; font-size: 22px; font-weight: 700;
    letter-spacing: 4px; text-align: center;
    border: 2px solid rgba(255,255,255,.3); border-radius: 10px;
    background: rgba(255,255,255,.15); color: #fff; outline: none;
    transition: border-color .2s, background .2s;
}
.fms-bib-number-field::placeholder { font-weight: 400; letter-spacing: 0; font-size: 16px; opacity: .6; }
.fms-bib-number-field:focus { border-color: #fff; background: rgba(255,255,255,.25); }

/* ── Cart badge ── */
.fms-cart-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: #4f46e5; color: #fff; text-decoration: none;
    border-radius: 999px; padding: 8px 20px; font-size: 14px; font-weight: 600;
    margin-top: 16px; transition: background .15s;
}
.fms-cart-badge:hover { background: #3730a3; color: #fff; }

/* ── Add-to-cart thumbnail button ── */
.fms-photo-cart {
    background: #4f46e5; color: #fff; border: none; border-radius: 7px;
    padding: 6px 10px; font-size: 16px; cursor: pointer; transition: background .15s;
    line-height: 1;
}
.fms-photo-cart:hover { background: #3730a3; }

/* ── Lightbox cart button ── */
.fms-lb-cart {
    background: #4f46e5; color: #fff; border: none; border-radius: 8px;
    padding: 9px 18px; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .15s;
}
.fms-lb-cart:hover { background: #3730a3; }

/* ── Cart page ([fms_cart] shortcode) ── */
.fms-cart-page { max-width: 720px; margin: 0 auto; padding: 24px 16px; }
.fms-cart-title { font-size: 26px; font-weight: 800; margin-bottom: 20px; }
.fms-cart-wc-notice { background:#eff6ff; border:1px solid #bfdbfe; border-radius:8px; padding:12px 16px; font-size:14px; margin-bottom:16px; }
.fms-cart-items { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.fms-cart-item {
    display: flex; align-items: center; gap: 14px;
    background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 12px;
}
.fms-cart-thumb { width: 72px; height: 72px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.fms-cart-item-meta { flex: 1; }
.fms-cart-item-meta strong { display: block; font-size: 14px; margin-bottom: 4px; }
.fms-cart-item-price { font-size: 16px; font-weight: 700; color: #111; white-space: nowrap; }
.fms-cart-remove {
    background: none; border: 1px solid #d1d5db; border-radius: 6px;
    color: #6b7280; padding: 5px 10px; font-size: 12px; cursor: pointer; white-space: nowrap;
}
.fms-cart-remove:hover { background: #fef2f2; border-color: #fca5a5; color: #dc2626; }
.fms-cart-total { font-size: 18px; font-weight: 700; text-align: right; padding: 12px 0; border-top: 2px solid #e5e7eb; margin-bottom: 24px; }
.fms-cart-checkout-form { background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 24px; }
.fms-cart-checkout-form h3 { font-size: 18px; font-weight: 700; margin: 0 0 16px; }
.fms-form-field { margin-bottom: 14px; }
.fms-form-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; color: #374151; }
.fms-form-field input { width: 100%; padding: 10px 14px; border: 1.5px solid #d1d5db; border-radius: 8px; font-size: 14px; font-family: inherit; }
.fms-form-field input:focus { outline: none; border-color: #4f46e5; }

/* Admin: settings description */
.fms-settings-desc { color: #6b7280; font-size: 13px; margin-bottom: 16px; }
