/* First-time funeral flower guide: scoped strictly to body.ftg-page */
body.ftg-page {
    margin: 0;
    background: #faf9f5;
    color: #204639;
}

.ftg-page * {
    box-sizing: border-box;
}

.ftg-page [hidden] {
    display: none !important;
}

.ftg-container {
    max-width: var(--hkf-public-max-width, 1240px);
    margin: 0 auto;
    padding: 18px 20px 56px;
}

.ftg-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.ftg-page .public-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}

.ftg-page .public-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Breadcrumb */
.ftg-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #5a6d60;
    margin: 4px 0 18px;
}

.ftg-breadcrumb a {
    color: inherit;
    text-decoration: none;
    text-underline-offset: 4px;
}

.ftg-breadcrumb a:hover {
    text-decoration: underline;
}

/* Hero */
.ftg-hero {
    background: linear-gradient(120deg, #f1f4ec 0%, #fcfaf3 100%);
    border: 1px solid #d4decb;
    border-top: 3px solid #9f8349;
    border-radius: 14px;
    padding: 28px 32px;
    margin-bottom: 22px;
}

.ftg-eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #856936;
    margin: 0 0 8px;
}

.ftg-hero h1 {
    font-family: 'HK Flowers Brand', 'Noto Serif TC', 'PMingLiU', serif;
    font-size: clamp(28px, 3.2vw, 40px);
    font-weight: 600;
    line-height: 1.35;
    color: #163f30;
    margin: 0 0 12px;
}

.ftg-lead {
    font-size: 16px;
    line-height: 1.8;
    color: #465f51;
    max-width: 52rem;
    margin: 0 0 16px;
}

.ftg-reassurance-pills {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
}

.ftg-reassurance-pills li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13.5px;
    font-weight: 600;
    color: #285441;
    background: #ffffffbf;
    border: 1px solid #d7e1cf;
    border-radius: 999px;
    padding: 5px 13px;
}

.ftg-reassurance-pills .public-icon {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
    color: #5c7f51;
}

/* Stepper */
.ftg-stepper {
    margin-bottom: 20px;
}

.ftg-stepper-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.ftg-step-tab {
    width: 100%;
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 14px;
    text-align: left;
    background: #fffefb;
    border: 1px solid #d7dfd0;
    border-radius: 10px;
    color: #496154;
    cursor: pointer;
    font-family: inherit;
    transition: border-color 0.15s, background-color 0.15s, box-shadow 0.15s;
}

.ftg-step-tab:hover {
    border-color: #93aa8e;
    background: #f6f8f2;
}

.ftg-step-tab.is-active {
    background: #244f40;
    border-color: #244f40;
    color: #ffffff !important;
    box-shadow: 0 6px 16px rgba(36, 79, 64, 0.14);
}

.ftg-page .ftg-step-tab.is-active strong {
    color: #ffffff !important;
}

.ftg-page .ftg-step-tab.is-active small {
    color: #e6f0ea !important;
    opacity: 1;
}

.ftg-step-tab.is-completed:not(.is-active) {
    background: #eef3e8;
    border-color: #b7c8b0;
    color: #1f4739;
}

.ftg-step-num {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    background: #e9efe4;
    color: #244f40;
}

.ftg-step-tab.is-active .ftg-step-num {
    background: #e6d3a3;
    color: #1b3f32;
}

.ftg-step-meta {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ftg-step-meta strong {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

.ftg-step-meta small {
    font-size: 12px;
    line-height: 1.35;
    opacity: 0.86;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Main Step Panels */
.ftg-panel {
    background: #ffffff;
    border: 1px solid #d8e1d1;
    border-radius: 14px;
    padding: 28px 30px;
    box-shadow: 0 8px 24px rgba(32, 70, 57, 0.04);
}

.ftg-panel-head {
    margin-bottom: 22px;
}

.ftg-step-kicker {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #856936;
    margin-bottom: 6px;
}

.ftg-panel-head h2,
.ftg-results-header h2 {
    font-family: 'HK Flowers Brand', 'Noto Serif TC', 'PMingLiU', serif;
    font-size: clamp(23px, 2.4vw, 30px);
    font-weight: 600;
    line-height: 1.4;
    color: #163f30;
    margin: 0 0 8px;
}

.ftg-panel-head p,
.ftg-results-header p {
    font-size: 15px;
    line-height: 1.75;
    color: #52685b;
    margin: 0;
}

/* Option Cards */
.ftg-choice-grid {
    display: grid;
    gap: 14px;
    margin-bottom: 20px;
}

.ftg-choice-grid--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ftg-choice-grid--four[data-ftg-cols="3"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ftg-choice-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 8px;
    padding: 18px;
    min-height: 126px;
    background: #fcfbf7;
    border: 1.5px solid #d5ded0;
    border-radius: 11px;
    color: #1f4638;
    font-family: inherit;
    cursor: pointer;
    transition: border-color 0.15s, background-color 0.15s, box-shadow 0.15s;
}

.ftg-choice-card:hover {
    border-color: #84a083;
    background: #f5f8f1;
}

.ftg-choice-card.is-selected {
    background: #eef4ea;
    border-color: #285441;
    box-shadow: 0 0 0 1px #285441, 0 6px 18px rgba(40, 84, 65, 0.08);
}

.ftg-choice-card[hidden] {
    display: none !important;
}

.ftg-choice-top {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.ftg-choice-badge {
    font-size: 11.5px;
    font-weight: 700;
    color: #7d6331;
    background: #f5efe0;
    border-radius: 5px;
    padding: 2px 8px;
}

.ftg-choice-radio {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    border-radius: 999px;
    border: 2px solid #9ab09b;
    background: #ffffff;
    position: relative;
}

.ftg-choice-card.is-selected .ftg-choice-radio,
.ftg-custom-toggle.is-selected .ftg-choice-radio,
.ftg-calc-card.is-selected .ftg-choice-radio {
    border-color: #285441;
    background: #285441;
}

.ftg-choice-card.is-selected .ftg-choice-radio::after,
.ftg-custom-toggle.is-selected .ftg-choice-radio::after,
.ftg-calc-card.is-selected .ftg-choice-radio::after {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 999px;
    background: #ffffff;
}

.ftg-choice-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    color: #163f30;
}

.ftg-choice-sub {
    font-size: 13.5px;
    line-height: 1.65;
    color: #546a5d;
}

/* Budget tier specifics */
.ftg-tier-name {
    font-size: 17px;
    font-weight: 700;
    color: #163f30;
}

.ftg-tier-range {
    font-size: 18px;
    font-weight: 750;
    color: #285441;
    background: #ffffffc9;
    border: 1px solid #d5e0cf;
    border-radius: 6px;
    padding: 3px 9px;
}

.ftg-tier-group-share {
    margin-top: auto;
    padding-top: 8px;
    width: 100%;
    border-top: 1px dashed #c6d5bf;
    font-size: 12.5px;
    font-weight: 700;
    color: #7a5f2c;
}

/* Group Contributor Box */
.ftg-subcard {
    background: #f6f8f2;
    border: 1px solid #cbd9c4;
    border-radius: 11px;
    padding: 18px 20px;
    margin-bottom: 18px;
}

.ftg-group-count-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.ftg-field-label {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #173f31;
    margin-bottom: 4px;
}

.ftg-field-hint {
    font-size: 13.5px;
    line-height: 1.65;
    color: #53695b;
    margin: 0;
    max-width: 40rem;
}

.ftg-number-control {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #b6c8b2;
    border-radius: 8px;
    padding: 4px 6px;
}

.ftg-page .ftg-stepper-btn {
    width: 38px !important;
    min-width: 38px;
    flex: 0 0 38px;
    height: 38px;
    border: 1px solid #d2ddd0;
    border-radius: 6px;
    background: #f5f7f2;
    color: #1d4637;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.ftg-stepper-btn:hover {
    background: #e6eee1;
}

.ftg-number-control input[type="number"] {
    width: 72px;
    height: 38px;
    border: 0;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: #163f30;
    background: transparent;
    font-family: inherit;
}

.ftg-unit {
    font-size: 14px;
    font-weight: 600;
    color: #52685b;
    padding-right: 4px;
}

.ftg-chip-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}

.ftg-chip-row > span {
    font-size: 13px;
    color: #596e61;
}

.ftg-page .ftg-chip {
    width: auto !important;
    flex: 0 0 auto;
    min-height: 36px;
    padding: 6px 13px;
    border: 1px solid #c6d4c0;
    border-radius: 999px;
    background: #ffffff;
    color: #254d40;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
}

.ftg-chip:hover,
.ftg-chip.is-active {
    background: #285441;
    border-color: #285441;
    color: #ffffff;
}

/* Contextual Tip & Advice Boxes */
.ftg-tip-box {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    background: #faf6eb;
    border: 1px solid #e3d8bc;
    border-left: 4px solid #9f8349;
    border-radius: 10px;
    margin-bottom: 20px;
}

.ftg-tip-box--sage {
    background: #f1f5ed;
    border-color: #cedbc6;
    border-left-color: #285441;
}

.ftg-tip-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 8px;
    background: #ffffffc9;
    border: 1px solid #dfd7c2;
    color: #856936;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ftg-tip-box--sage .ftg-tip-icon {
    border-color: #c8d7c0;
    color: #285441;
}

.ftg-tip-content {
    min-width: 0;
    flex: 1;
}

.ftg-tip-content > strong {
    display: block;
    font-size: 15.5px;
    font-weight: 700;
    color: #1a4334;
    margin-bottom: 6px;
}

.ftg-tip-content > p {
    font-size: 14.5px;
    line-height: 1.8;
    color: #465d50;
    margin: 0;
}

.ftg-advice-list {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 8px;
    font-size: 14.5px;
    line-height: 1.78;
    color: #435b4d;
}

.ftg-tip-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 10px;
}

.ftg-tip-links a {
    font-size: 13.5px;
    font-weight: 700;
    color: #285441;
    text-underline-offset: 4px;
}

.ftg-venue-schedule-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.ftg-Resource-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 8px 14px;
    background: #ffffff;
    border: 1px solid #b9ccb3;
    border-radius: 8px;
    color: #1f4739;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
}

.ftg-Resource-pill:hover {
    background: #e8f0e2;
    border-color: #7e9b77;
}

/* Optional Etiquette Disclosure */
.ftg-etiquette-details {
    border: 1px solid #d6e0cf;
    border-radius: 10px;
    background: #fcfcf9;
    margin-bottom: 22px;
    overflow: hidden;
}

.ftg-etiquette-details summary {
    list-style: none;
    cursor: pointer;
    padding: 15px 18px;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ftg-etiquette-details summary::-webkit-details-marker {
    display: none;
}

.ftg-etiquette-summary-text {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #1b4435;
    font-size: 15px;
}

.ftg-etiquette-summary-text .public-icon {
    color: #856936;
}

.ftg-etiquette-toggle-label {
    font-size: 13px;
    font-weight: 700;
    color: #285441;
    background: #ecf2e7;
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.ftg-etiquette-details[open] .ftg-etiquette-toggle-label {
    background: #285441;
    color: #ffffff;
}

.ftg-etiquette-body {
    padding: 4px 18px 18px;
    border-top: 1px solid #e3eadc;
}

.ftg-etiquette-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 14px;
}

.ftg-etiquette-grid article {
    background: #f5f8f1;
    border: 1px solid #dce5d6;
    border-radius: 8px;
    padding: 14px 16px;
}

.ftg-etiquette-grid h3,
.ftg-etiquette-grid h4 {
    font-size: 15px;
    font-weight: 700;
    color: #1b4435;
    margin: 0 0 6px;
}

.ftg-etiquette-grid p {
    font-size: 13.5px;
    line-height: 1.75;
    color: #4d6456;
    margin: 0;
}

.ftg-etiquette-more {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin: 14px 0 0;
    font-size: 13.5px;
}

.ftg-etiquette-more a {
    color: #285441;
    font-weight: 700;
    text-underline-offset: 4px;
}

/* Pooling & Custom Budget */
.ftg-pooling-banner {
    background: #f9f5e8;
    border: 1px solid #e1d4b5;
    border-radius: 11px;
    padding: 18px 20px;
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ftg-pooling-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.ftg-pooling-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #dfd3b5;
    color: #856936;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ftg-pooling-head strong {
    display: block;
    font-size: 15.5px;
    color: #1b4435;
    margin-bottom: 4px;
}

.ftg-pooling-head p {
    font-size: 14px;
    line-height: 1.78;
    color: #4d6255;
    margin: 0;
}

.ftg-pooling-people-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px dashed #dbcea9;
}

.ftg-pooling-people-inline label {
    font-size: 14px;
    font-weight: 700;
    color: #254d40;
}

.ftg-custom-budget-wrap {
    margin-bottom: 20px;
}

.ftg-custom-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 15px 18px;
    background: #fcfbf7;
    border: 1.5px solid #d5ded0;
    border-radius: 10px;
    color: #1b4435;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
}

.ftg-custom-toggle.is-selected {
    background: #eef4ea;
    border-color: #285441;
}

.ftg-custom-toggle strong {
    font-size: 16px;
}

.ftg-custom-toggle span:last-child {
    font-size: 13.5px;
    color: #556b5d;
}

.ftg-custom-input-panel {
    margin-top: 12px;
    padding: 16px 18px;
    background: #f5f8f1;
    border: 1px solid #cbd9c4;
    border-radius: 10px;
}

.ftg-currency-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.ftg-currency-row .ftg-chip-row {
    margin-top: 0;
}

.ftg-currency-field {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border: 1.5px solid #9ab098;
    border-radius: 8px;
    padding: 4px 12px;
    min-height: 46px;
}

.ftg-currency-prefix {
    font-size: 14px;
    font-weight: 700;
    color: #4f6658;
    margin-right: 8px;
    white-space: nowrap;
}

.ftg-currency-field input[type="number"] {
    width: 110px;
    border: 0;
    font-size: 18px;
    font-weight: 700;
    color: #163f30;
    font-family: inherit;
    background: transparent;
}

.ftg-currency-field input[type="number"]:focus,
.ftg-number-control input[type="number"]:focus {
    outline: none;
}

.ftg-currency-field:focus-within,
.ftg-number-control:focus-within {
    border-color: #285441;
    box-shadow: 0 0 0 2px rgba(40, 84, 65, 0.18);
}

/* Group Dual Calculators */
.ftg-calc-heading {
    font-size: 14.5px;
    font-weight: 700;
    color: #1f4739;
    margin: 4px 0 12px;
}

.ftg-group-mode-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 14px;
}

.ftg-calc-card {
    background: #fcfbf7;
    border: 1.5px solid #d5ded0;
    border-radius: 11px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ftg-calc-card.is-selected {
    background: #eef4ea;
    border-color: #285441;
    box-shadow: 0 0 0 1px #285441;
}

.ftg-calc-select {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: none;
    border: 0;
    padding: 0;
    text-align: left;
    font-family: inherit;
    color: inherit;
    cursor: pointer;
}

.ftg-calc-select strong {
    display: block;
    font-size: 16px;
    color: #163f30;
    margin-bottom: 3px;
}

.ftg-calc-select span {
    font-size: 13px;
    color: #53695b;
    line-height: 1.5;
}

.ftg-calc-controls {
    padding-left: 30px;
}

.ftg-live-total-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: #244f40;
    color: #ffffff;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 15.5px;
}

.ftg-live-total-bar .public-icon {
    color: #e6d3a3;
}

/* Navigation & Action Buttons */
.ftg-nav-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #e3eadc;
}

.ftg-nav-actions--end {
    justify-content: flex-end;
}

.ftg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 11px 20px;
    border-radius: 8px;
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.4;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: filter 0.15s, background-color 0.15s, border-color 0.15s;
}

.ftg-btn--primary {
    background: #285441;
    border-color: #285441;
    color: #ffffff !important;
}

.ftg-btn--primary:hover {
    background: #1d4031;
}

.ftg-btn--secondary {
    background: #fffefb;
    border-color: #b5c7b2;
    color: #204639 !important;
}

.ftg-btn--secondary:hover {
    background: #edf3e8;
    border-color: #88a384;
}

.ftg-btn--whatsapp {
    background: #1f6b45;
    border-color: #1f6b45;
    color: #ffffff !important;
}

.ftg-btn--whatsapp:hover {
    background: #175436;
}

.ftg-btn--ghost {
    background: transparent;
    border-color: transparent;
    color: #355b4b !important;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Step 4 Results */
.ftg-selection-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 14px 16px;
    background: #f3f6ef;
    border: 1px solid #d3dfd0;
    border-radius: 10px;
    margin-bottom: 24px;
}

.ftg-summary-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 4px 8px;
}

.ftg-summary-item + .ftg-summary-item {
    border-left: 1px solid #d4dfd0;
    padding-left: 16px;
}

.ftg-summary-label {
    font-size: 12px;
    color: #5c7063;
    white-space: nowrap;
}

.ftg-summary-item strong {
    font-size: 14px;
    color: #173f31;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ftg-page .ftg-edit-link {
    width: auto !important;
    flex: 0 0 auto;
    margin-left: 4px;
    background: #ffffff;
    border: 1px solid #c3d2be;
    border-radius: 6px;
    padding: 4px 10px;
    min-height: 32px;
    font-size: 12.5px;
    font-weight: 700;
    color: #285441;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
}

.ftg-edit-link:hover {
    background: #e6efe0;
}

.ftg-results-header {
    margin-bottom: 16px;
}

.ftg-delivery-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 18px;
    background: #fbf8ef;
    border: 1px solid #e3d7ba;
    border-radius: 10px;
    margin-bottom: 22px;
}

.ftg-delivery-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 8px;
    background: #fffdf7;
    border: 1px solid #e0d3b5;
    color: #856936;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ftg-delivery-notice strong {
    display: block;
    font-size: 14.5px;
    color: #1c4435;
    margin-bottom: 4px;
}

.ftg-delivery-notice p {
    font-size: 13.5px;
    line-height: 1.72;
    color: #516658;
    margin: 0;
}

/* Recommended Product Cards */
.ftg-recommendations-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

.ftg-recommendations-grid[hidden] {
    display: none !important;
}

.ftg-rec-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #d6e0d0 !important;
    border-radius: 12px !important;
    overflow: hidden;
    padding: 0 !important;
    gap: 0 !important;
    box-shadow: 0 4px 14px rgba(32, 70, 57, 0.05);
}

.ftg-rec-media {
    position: relative;
    background: #ffffff;
    border-bottom: 1px solid #e6ece2;
    padding: 14px;
}

.ftg-rec-photo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 4.5;
    min-height: 230px;
    background: #ffffff !important;
    border: 0 !important;
    box-shadow: none !important;
}

.ftg-rec-photo-link img {
    max-width: 100%;
    max-height: 260px;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

.ftg-rec-slot-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    background: #244f40;
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 6px;
}

.ftg-rec-offer-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    background: #9a6b25;
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 6px;
}

.ftg-rec-body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
}

.ftg-rec-meta-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: #607467;
}

.ftg-rec-category {
    font-weight: 700;
    color: #7c6230;
}

.ftg-rec-title {
    margin: 0;
    font-size: 18px;
    line-height: 1.4;
}

.ftg-rec-title a {
    color: #163f30;
    text-decoration: none;
}

.ftg-rec-title a:hover {
    text-decoration: underline;
}

.ftg-rec-pricing {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 10px;
}

.ftg-rec-price {
    font-size: 21px;
    font-weight: 800;
    color: #1f4c3b;
}

.ftg-rec-original-price {
    font-size: 13.5px;
    color: #7d8580;
}

.ftg-rec-share-pill {
    display: inline-flex;
    align-items: center;
    background: #f5efe0;
    border: 1px solid #dfd2b2;
    color: #6f5422;
    font-size: 12.5px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 999px;
}

.ftg-rec-reason {
    font-size: 14px;
    line-height: 1.72;
    color: #3d5648;
    background: #f4f7f0;
    border-left: 3px solid #7f9c79;
    padding: 9px 11px;
    border-radius: 0 6px 6px 0;
    margin: 2px 0;
}

.ftg-rec-delivery-note {
    font-size: 12px;
    line-height: 1.55;
    color: #607366;
    margin: 0 0 6px;
}

.ftg-rec-actions {
    margin-top: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding-top: 6px;
}

.ftg-rec-cart-form {
    margin: 0;
}

.ftg-rec-view-btn,
.ftg-rec-cart-btn {
    width: 100%;
    min-height: 44px;
    padding: 9px 14px;
    font-size: 14px;
}

/* Empty State */
.ftg-empty-state {
    text-align: center;
    padding: 34px 24px;
    background: #f8f9f4;
    border: 1.5px dashed #bfd0b8;
    border-radius: 12px;
    margin-bottom: 24px;
}

.ftg-empty-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    border-radius: 999px;
    background: #eef3e8;
    color: #285441;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ftg-empty-state h3 {
    font-size: 20px;
    color: #173f31;
    margin: 0 0 8px;
}

.ftg-empty-state p {
    font-size: 14.5px;
    line-height: 1.75;
    color: #516759;
    max-width: 38rem;
    margin: 0 auto 18px;
}

.ftg-empty-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

/* Primary WhatsApp + Browse CTA Bar */
.ftg-cta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 24px;
    background: #edf3e7;
    border: 1px solid #c6d6bf;
    border-radius: 12px;
    margin-bottom: 26px;
}

.ftg-cta-copy {
    max-width: 38rem;
}

.ftg-cta-copy strong {
    display: block;
    font-size: 17px;
    color: #163f30;
    margin-bottom: 5px;
}

.ftg-cta-copy p {
    font-size: 13.5px;
    line-height: 1.7;
    color: #4b6254;
    margin: 0;
}

.ftg-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex-shrink: 0;
}

/* Recap Section */
.ftg-tailored-recap {
    border-top: 1px solid #dfe7d9;
    padding-top: 24px;
    margin-bottom: 20px;
}

.ftg-tailored-recap > h3 {
    font-family: 'HK Flowers Brand', 'Noto Serif TC', serif;
    font-size: 21px;
    color: #163f30;
    margin: 0 0 16px;
}

.ftg-recap-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.ftg-recap-card {
    background: #fafaf6;
    border: 1px solid #dae2d3;
    border-radius: 10px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ftg-recap-card-head {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #285441;
}

.ftg-recap-card-head strong {
    font-size: 15.5px;
    color: #173f31;
}

.ftg-recap-card > p {
    font-size: 14px;
    line-height: 1.75;
    color: #4a6053;
    margin: 0;
}

.ftg-recap-links {
    margin-top: auto;
    padding-top: 6px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
}

.ftg-recap-links a {
    font-size: 13.5px;
    font-weight: 700;
    color: #285441;
    text-underline-offset: 4px;
}

/* Dark theme support */
html[data-hkf-theme="dark"] body.ftg-page {
    background: #14221c;
    color: #e9f2ec;
}

html[data-hkf-theme="dark"] .ftg-page :is(.ftg-hero, .ftg-panel, .ftg-rec-card, .ftg-step-tab:not(.is-active), .ftg-choice-card, .ftg-subcard, .ftg-tip-box, .ftg-etiquette-details, .ftg-calc-card, .ftg-selection-summary, .ftg-delivery-notice, .ftg-cta-bar, .ftg-recap-card, .ftg-empty-state) {
    background: #1d3128;
    border-color: #3d5b4d !important;
    color: #edf4ef;
}

html[data-hkf-theme="dark"] .ftg-page :is(h1, h2, h3, h4, strong, .ftg-choice-title, .ftg-tier-name, .ftg-rec-title a, .ftg-rec-price) {
    color: #f3f8f4;
}

html[data-hkf-theme="dark"] .ftg-page :is(p, li, small, .ftg-choice-sub, .ftg-breadcrumb, .ftg-rec-delivery-note) {
    color: #c9d9cf;
}

/* Tablet & Mobile Responsive */
@media (max-width: 1024px) {
    .ftg-choice-grid--four,
    .ftg-choice-grid--four[data-ftg-cols="3"] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ftg-recommendations-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ftg-cta-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .ftg-cta-buttons {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .ftg-container {
        padding: 14px 14px 42px;
    }

    .ftg-hero {
        padding: 20px 18px;
    }

    .ftg-lead {
        font-size: 15px;
    }

    .ftg-stepper-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .ftg-step-tab {
        padding: 9px 10px;
        min-height: 52px;
        gap: 8px;
    }

    .ftg-panel {
        padding: 20px 16px;
    }

    .ftg-etiquette-grid,
    .ftg-group-mode-grid,
    .ftg-recap-grid,
    .ftg-selection-summary {
        grid-template-columns: minmax(0, 1fr);
    }

    .ftg-summary-item + .ftg-summary-item {
        border-left: 0;
        border-top: 1px solid #d4dfd0;
        padding-left: 8px;
        padding-top: 10px;
    }

    .ftg-calc-controls {
        padding-left: 0;
    }
}

@media (max-width: 600px) {
    .ftg-choice-grid--four,
    .ftg-choice-grid--four[data-ftg-cols="3"],
    .ftg-recommendations-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .ftg-summary-item strong {
        white-space: normal;
        line-height: 1.4;
    }

    .ftg-choice-card {
        min-height: 0;
        padding: 15px 16px;
    }

    .ftg-group-count-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .ftg-tip-box,
    .ftg-delivery-notice {
        padding: 15px;
        gap: 11px;
    }

    .ftg-tip-icon,
    .ftg-delivery-icon {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
    }

    .ftg-cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .ftg-nav-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .ftg-nav-actions--end {
        flex-direction: column;
    }

    .ftg-cta-buttons .ftg-btn,
    .ftg-nav-actions .ftg-btn,
    .ftg-Resource-pill {
        width: 100%;
    }
}

