/* 
 * FSN Camp Redesign CSS
 * Applies the new UI aesthetic (Parents Night Out / Camps prototype)
 */


/* Header Section */
.fsn-camp-header-container {
    text-align: left;
    margin-bottom: 40px;
}

.fsn-camp-header-title {
    font-size: 52px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 10px;
    text-align: left;
}

.fsn-camp-header-badge {
    background: #ef4444;
    color: white;
    font-size: 16px;
    padding: 0 16px;
    border-radius: 20px;
    vertical-align: middle;
    cursor: pointer;
    display: inline-block;
}

.fsn-camp-header-pills {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

.fsn-camp-type-pill {
    border: 1px solid #e1e1e1;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    background: white;
}

.fsn-camp-type-pill.active {
    border-color: transparent;
    background: #8b5cf6;
    color: white;
}

.fsn-camp-redesign-container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1a1a1a;
}

.fsn-camp-redesign-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: start;
}

@media (max-width: 900px) {
    .fsn-camp-redesign-grid {
        grid-template-columns: 1fr;
    }
}

/* -------------------------------------
 * FORM COLUMN (LEFT)
 * ------------------------------------- */
.fsn-camp-booking-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.fsn-camp-card-header {
    background: #2a1b41;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    color: #ffffff;
}

.fsn-camp-title-wrap {
    flex: 1;
}

.fsn-camp-title {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 5px 0;
    letter-spacing: -0.5px;
}

.fsn-camp-subtitle {
    font-size: 14px;
    color: #b5adc5;
    margin: 0;
}

.fsn-camp-price-wrap {
    text-align: right;
}

.fsn-camp-price {
    font-size: 46px;
    font-weight: 900;
    color: #ffd242;
    /* Yellow */
    line-height: 1;
}

.fsn-camp-price .woocommerce-Price-currencySymbol {
    font-size: 24px;
    vertical-align: top;
}

/* Form Body */
.fsn-camp-card-body {
    padding: 20px 24px;
    background: #ffffff;
}

/* Override Gravity Forms styling */
.fsn-camp-card-body .gform_wrapper {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

.fsn-camp-card-body .gform_fields {
    row-gap: 20px !important;
}

.fsn-camp-card-body .gfield {
    margin-bottom: 0 !important;
}

.fsn-camp-card-body .form-row {
    margin-bottom: 1.25rem !important;
}

.fsn-camp-card-body .gfield_label,
.fsn-camp-card-body .form-row label {
    color: #6a6a6a !important;
    font-weight: 700 !important;
    font-size: 11px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px !important;
    display: block;
}

.fsn-camp-card-body .form-row br {
    display: none;
}

.fsn-camp-card-body input[type="text"],
.fsn-camp-card-body input[type="email"],
.fsn-camp-card-body select,
.fsn-camp-card-body textarea {
    width: 100%;
    margin-top: 0 !important;
    background: #f9f9f9 !important;
    border: 1px solid #e1e1e1 !important;
    color: #1a1a1a !important;
    border-radius: 6px !important;
    padding: 14px 16px !important;
    font-size: 15px !important;
    box-sizing: border-box !important;
    height: auto !important;
    line-height: normal !important;
    transition: border-color 0.2s ease;
}

.fsn-camp-card-body input:focus,
.fsn-camp-card-body select:focus {
    outline: none !important;
    border-color: #2a1b41 !important;
}

/* Style radio buttons as pills (Session select) */
.fsn-camp-card-body .gfield_radio {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
    gap: 10px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.fsn-camp-card-body .gfield_radio li,
.fsn-camp-card-body .gfield_radio .gchoice {
    margin-bottom: 0 !important;
    display: block !important;
    /* Override Orbital inline-grid */
}

.fsn-camp-card-body .gfield_radio input[type="radio"] {
    display: none !important;
}

.fsn-camp-card-body .gfield_radio label,
.fsn-camp-card-body .gfield_radio .gchoice label {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    /* Override Orbital label margins */
    text-align: center;
    padding: 14px;
    border: 1px solid #e1e1e1;
    background: #f9f9f9;
    border-radius: 6px;
    color: #1a1a1a !important;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.2s ease;
}

.fsn-camp-card-body .gfield_radio input[type="radio"]:checked+label {
    border-color: #2a1b41;
    color: #ffffff !important;
    background: #2a1b41;
}

/* GF Orbital theme uses .gchoice--selected instead of :checked+label */
.fsn-camp-card-body .gfield_radio .gchoice--selected label,
.fsn-camp-card-body .gfield_radio .gchoice.gf-selected label,
.fsn-camp-card-body .gfield_radio .gchoice[aria-checked="true"] label {
    border-color: #2a1b41 !important;
    color: #ffffff !important;
    background: #2a1b41 !important;
}

/* Direct override for GF form 15 field 1 (Who Is This For) */
#label_15_1_0,
#label_15_1_1,
.fsn-camp-card-body label[id^="label_15_1"] {
    color: #1a1a1a !important;
}

/* Checkbox Fixes for Orbital Theme */
.fsn-camp-card-body .gfield_checkbox input[type="checkbox"] {
    width: 20px !important;
    height: 20px !important;
    margin-right: 10px !important;
    position: relative !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.fsn-camp-card-body .gfield_checkbox label {
    display: flex !important;
    align-items: center !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #475569 !important;
}

.fsn-camp-card-body .gfield_checkbox label::before {
    display: none !important;
    /* Hide custom snippet checkbox if it conflicts */
}

/* Athletes Registration (List Field) */
.fsn-camp-card-body .gfield_list {
    width: 100% !important;
    border-collapse: collapse !important;
    border: 1px solid #e1e1e1 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    margin-bottom: 10px !important;
}

.fsn-camp-card-body .gfield_list th {
    background: #f1f1f1 !important;
    color: #2a1b41 !important;
    font-weight: 800 !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    padding: 12px !important;
    border-bottom: 1px solid #e1e1e1 !important;
}

.fsn-camp-card-body .gfield_list td {
    padding: 10px !important;
    border-bottom: 1px solid #e1e1e1 !important;
    vertical-align: middle !important;
}

.fsn-camp-card-body .gfield_list tr:last-child td {
    border-bottom: none !important;
}

/* List Field Buttons */
.fsn-camp-card-body .add_list_item,
.fsn-camp-card-body .delete_list_item {
    background: #2a1b41 !important;
    /* Dark Purple */
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 8px 16px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    margin-top: 5px !important;
    display: inline-block !important;
}

.fsn-camp-card-body .delete_list_item {
    background: #ef4444 !important;
    /* Red for remove */
    margin-left: 10px !important;
}

/* Submit/Add to Cart Button */
.fsn-camp-card-body .gform_footer input[type="submit"],
.fsn-camp-card-body button.single_add_to_cart_button {
    width: 100%;
    background: #ef4444 !important;
    /* Bright Red */
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 18px !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease;
    margin-top: 20px;
}

.fsn-camp-card-body button.single_add_to_cart_button:hover,
.fsn-camp-card-body .gform_footer input[type="submit"]:hover {
    background: #dc2626 !important;
}

.fsn-camp-card-body .quantity {
    display: none !important;
}

/* -------------------------------------
 * INFO SIDEBAR (RIGHT)
 * ------------------------------------- */
.fsn-camp-info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fsn-camp-info-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
}

.fsn-camp-info-card h3 {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 16px 0;
    color: #ef4444;
    /* Orange/Red accent */
    display: flex;
    align-items: center;
    gap: 8px;
}

.fsn-camp-info-card h3::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
}

.fsn-camp-info-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px 0;
}

.fsn-camp-info-card p,
.fsn-camp-info-card ul {
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
    margin: 0;
}

.fsn-camp-info-card ul {
    padding-left: 24px;
}

.fsn-camp-info-card li {
    margin-bottom: 8px;
}

.woocommerce-notices-wrapper {
    position: relative;
    z-index: 99999;
    margin-top: 20px;
}

.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
    position: relative;
    z-index: 99999;
}
/* -------------------------------------
 * REUSABLE COMPONENTS & UTILITIES
 * ------------------------------------- */

.fsn-badge-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.fsn-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.fsn-badge-value {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.fsn-camp-title-constrained {
    max-width: 100%;
    line-height: 1.1;
    margin-bottom: 10px;
}

.fsn-camp-subtitle-constrained {
    max-width: 160px;
    line-height: 1.4;
}

.fsn-price-wrap {
    text-align: right;
}

.fsn-price-display {
    font-size: 32px;
    font-weight: 900;
    color: #ffd242;
    line-height: 1.1;
    margin-bottom: 5px;
}

.fsn-price-tax {
    font-size: 12px;
    color: #b5adc5;
}

.fsn-sidebar-required {
    color: #ef4444;
    font-size: 10px;
}

.fsn-time-block {
    background: #f1f5f9;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.fsn-time-block + .fsn-time-block {
    margin-top: 10px;   /* replaces inline style="margin-top:10px" */
}

.fsn-time-label {
    color: #64748b;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.fsn-time-value {
    color: #0f172a;
    font-weight: 700;
}

/* Level guide body copy — smaller, lighter than default time-value */
.fsn-time-block .fsn-time-value--body {
    font-size: 12px;
    font-weight: 400;
    color: #64748b;
}

.fsn-time-icon {
    font-size: 20px;
}

.fsn-feature-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.fsn-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fsn-feature-icon {
    font-size: 20px;
    min-width: 28px;
    text-align: center;
}

.fsn-feature-title {
    color: #0f172a;
    font-weight: 800;
    font-size: 13px;
}

.fsn-feature-desc {
    color: #64748b;
    font-size: 12px;
}

.fsn-badge-green {
    background: #22c55e !important;
}

/* ── Product Hero (classes page) ───────────────────────────────────────────── */
.fsn-product-hero {
    /* Hero lives outside WC wrapper — naturally full-width, no breakout needed */
    width: 100%;
    min-height: 320px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.fsn-product-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;                         /* was 65% — caused image to only cover right side */
    background-image: url(https://fsn.boost2business.ca/wp-content/uploads/2026/07/fsn-summer-camp-hero.jpg);
    background-size: cover;
    background-position: center bottom;  /* was center 30% — bottom shows action area */
    background-repeat: no-repeat;
    opacity: 0.35;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.1) 20%, rgba(0,0,0,0.8) 60%, black 100%);
    mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.1) 20%, rgba(0,0,0,0.8) 60%, black 100%);
    z-index: 0;
    pointer-events: none;
}

.fsn-product-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
    width: 100%;
}

.fsn-hero-label {
    display: inline-block;
    background: #dc2626;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.fsn-hero-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 900;
    color: #ffffff;
    line-height: 1.1;
    text-transform: uppercase;
    margin: 0 0 20px;
    letter-spacing: -0.5px;
}

.fsn-hero-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.82);
    max-width: 560px;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .fsn-product-hero-inner {
        padding: 40px 20px;
    }
    .fsn-hero-title {
        font-size: 28px;
    }
}

/* ── Breadcrumb bar (below hero) ────────────────────────────────────────────── */
.fsn-breadcrumb-bar {
    /* Breadcrumb lives outside WC wrapper — naturally full-width */
    width: 100%;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 10px 0;
}

.fsn-breadcrumb-bar .woocommerce-breadcrumb {
    /* Mirror fsn-camp-redesign-container alignment exactly */
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    font-size: 13px;
    color: #64748b;
    display: block;
}

.fsn-breadcrumb-bar .woocommerce-breadcrumb a {
    color: #dc2626;
    text-decoration: none;
}

.fsn-breadcrumb-bar .woocommerce-breadcrumb a:hover {
    text-decoration: underline;
}

/* ── Info pills (booking card header) ──────────────────────────────────────── */
.fsn-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.fsn-pill {
    background: rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
}

/* ── WooCommerce notices: prevent overlap with sticky header ────────────────── */
/* WC JS sets z-index:999/position:sticky on this wrapper; bring it below the   */
/* Bricks sticky header (which sits at z-index 200+).                           */
.woocommerce-notices-wrapper,
#fsn-notices-anchor {
    position: relative !important;
    z-index: 1 !important;
    top: auto !important;
}

/* ── Checkout order-summary (right-column) — reduce spacing ─────────────── */
/* Target the review-order table and its cells on the checkout page only.    */
.woocommerce-checkout-review-order-table td,
.woocommerce-checkout-review-order-table th {
    padding-top: 6px !important;
    padding-bottom: 6px !important;
}

/* Tighten the product image + name row */
.woocommerce-checkout-review-order-table .cart_item td {
    padding: 6px 0 !important;
}

/* Reduce gap above the coupon / totals block */
.woocommerce-checkout-review-order-table tfoot tr:first-child td,
.woocommerce-checkout-review-order-table tfoot tr:first-child th {
    padding-top: 10px !important;
}

/* ── Order thank-you page item meta — reduce spacing between pills ───────── */
.woocommerce-order-details .wc-item-meta {
    margin-top: 4px;
}

.woocommerce-order-details .wc-item-meta li {
    margin-bottom: 2px;
}

