/* =============================================
BASE LAYOUT
============================================= */

.fc-wrap {
  max-width: 780px;
  margin: 0 auto;
  font-family: inherit;
  color: #2a2a25;
}

/* =============================================
BASE BUTTON RESET — scoped to configurator
============================================= */

.fc-wrap [type="button"],
.fc-wrap [type="submit"],
.fc-wrap button {
  background-color: #fff;
  border: 1.5px solid #ddd6c8;
  border-radius: 4px;
  color: #2a2a25;
  cursor: pointer;
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 16px;
  text-align: center;
  transition:
    border-color 0.15s,
    background 0.15s,
    color 0.15s;
  white-space: nowrap;
  user-select: none;
  width: auto;
  -webkit-appearance: none;
  appearance: none;
}

.fc-wrap [type="button"]:hover,
.fc-wrap [type="submit"]:hover,
.fc-wrap button:hover {
  border-color: #b89a6a;
  background-color: #fdf9f4;
  color: #2a2a25;
}

.fc-wrap [type="button"]:focus,
.fc-wrap [type="submit"]:focus,
.fc-wrap button:focus {
  outline: 2px solid #b89a6a;
  outline-offset: 2px;
}

.fc-color-btn .fc-color-swatch img[src=""],
.fc-color-btn .fc-color-swatch img:not([src]) {
  display: none;
}

/* =============================================
STEP ACCORDION
============================================= */

.fc-step {
  border: 2px solid #ddd6c8;
  border-radius: 6px;
  margin-bottom: 12px;
  background: #ffffff;
  transition: border-color 0.2s ease;
  overflow: hidden;
}

.fc-step.fc-step--active {
  border-color: #1c2e1e;
}
.fc-step.fc-step--done {
  border-color: #3a5c3d;
}

.fc-step.fc-step--locked {
  opacity: 0.55;
  pointer-events: none;
}

.fc-step__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  cursor: pointer;
  user-select: none;
  background: #f5f0e8;
}

.fc-step--active .fc-step__header {
  background: #ede5d8;
}

.fc-step--done .fc-step__header {
  cursor: pointer;
}
.fc-step--done .fc-step__header:hover {
  background: #f5f0e8;
}

.fc-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ddd6c8;
  color: #2a2a25;
  font-weight: 700;
  font-size: 0.82rem;
  flex-shrink: 0;
  transition:
    background 0.2s,
    color 0.2s;
}

.fc-step--active .fc-step__num,
.fc-step--done .fc-step__num {
  background: #1c2e1e;
  color: #f5f0e8;
}

.fc-step__title {
  flex: 1;
  font-weight: 600;
  font-size: 0.95rem;
  color: #2a2a25;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.fc-step__optional {
  font-weight: 400;
  font-size: 0.8rem;
  color: #6b6558;
  margin-left: 4px;
  text-transform: none;
  letter-spacing: 0;
}

.fc-step__selection {
  font-size: 0.78rem;
  color: #3a5c3d;
  font-weight: 500;
  max-width: 220px;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-style: italic;
}

.fc-step--done .fc-step__selection {
  color: #3a5c3d;
  font-size: 0.8rem;
  font-weight: 600;
}

.fc-step__toggle {
  font-size: 0.7rem;
  color: #6b6558;
  transition: transform 0.2s;
}

.fc-step--active .fc-step__toggle {
  transform: rotate(180deg);
}

.fc-step__body {
  padding: 20px 18px 18px;
  display: none;
  border-top: 1px solid #ddd6c8;
  overflow-x: hidden;
}

.fc-step--active .fc-step__body {
  display: block;
}

.fc-step__note {
  font-size: 0.8rem;
  color: #6b6558;
  margin: 0 0 16px;
  font-style: italic;
}

/* =============================================
STEP 1 — FRAME SIZE GRID
============================================= */

.fc-size-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.fc-size-btn {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center;
  gap: 4px;
  padding: 14px 10px;
  background: #ffffff !important;
  border: 1.5px solid #e8e3dc !important;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
  transition:
    border-color 0.18s,
    box-shadow 0.18s,
    background 0.18s;
  position: relative;
}

.fc-size-btn:hover {
  border-color: #3a5c3d !important;
  box-shadow: 0 4px 14px rgba(28, 46, 30, 0.1);
  background: #f5f0e8 !important;
}

.fc-size-btn.fc-selected {
  border-color: #1c2e1e !important;
  background: #f5f0e8 !important;
  box-shadow: 0 4px 16px rgba(28, 46, 30, 0.15);
}

/* Checkmark on selected */
.fc-size-btn.fc-selected::after,
.fc-mat-btn.fc-selected::after,
.fc-keepsake-btn.fc-selected::after,
.fc-delivery-btn.fc-selected::after,
.fc-lettering-type-btn.fc-selected::after {
  content: "✓";
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 0.75rem;
  color: #1c2e1e;
  font-weight: 700;
}

.fc-size-label {
  display: block !important;
  font-size: 0.9rem;
  font-weight: 700;
  color: #2a2a25;
  line-height: 1.3;
}

.fc-size-price {
  display: block !important;
  font-size: 0.82rem;
  color: #b89a6a;
  font-weight: 600;
}

/* =============================================
STEP 2 — FRAME STYLE GRID
============================================= */

.fc-frame-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.fc-frame-btn {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  padding: 0 0 12px 0;
  background: #fff !important;
  border: 1.5px solid #e8e3dc !important;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
  position: relative;
}

.fc-frame-btn:hover {
  border-color: #3a5c3d !important;
  box-shadow: 0 4px 12px rgba(28, 46, 30, 0.1);
}

.fc-frame-btn.fc-selected {
  border-color: #1c2e1e !important;
  background: #f5f0e8 !important;
}

.fc-frame-btn.fc-selected::after {
  content: "✓";
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 0.75rem;
  color: #1c2e1e;
  font-weight: 700;
  background: rgba(245, 240, 232, 0.9);
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Frame thumbnail image */
.fc-frame-img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  display: block;
  background: #f0ebe3;
  border-radius: 6px 6px 0 0;
}

/* "Style 421  Basic" inline label */
.fc-frame-style-label {
  display: block !important;
  font-size: 0.78rem;
  font-weight: 600;
  color: #2a2a25;
  padding: 8px 10px 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  box-sizing: border-box;
}

/* Tier name sits inline after style number */
.fc-frame-tier-name {
  font-size: 0.68rem;
  font-weight: 400;
  margin-left: 4px;
}

.fc-tier--basic {
  color: #3a5c3d;
}
.fc-tier--classic {
  color: #b89a6a;
}
.fc-tier--elegance {
  color: #8a6a30;
}
.fc-tier--discount {
  color: #6b6558;
}

/* Price line */
.fc-frame-style-price {
  display: block !important;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0 10px;
}

.fc-frame-style-price.fc-tier--basic {
  color: #3a5c3d;
}
.fc-frame-style-price.fc-tier--classic {
  color: #b89a6a;
}
.fc-frame-style-price.fc-tier--elegance {
  color: #8a6a30;
}
.fc-frame-style-price.fc-tier--discount {
  color: #6b6558;
}

/* ── COLOR PICKER (image + label cards) ── */
.fc-color-picker {
  margin: 16px 0 8px;
  padding: 16px;
  background: #f5f0e8;
  border: 1px solid #ddd6c8;
  border-radius: 6px;
}

.fc-color-picker__label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #6b6558;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.fc-color-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
  gap: 8px;
}

/* Each color chip: swatch image + label */
.fc-color-chip {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 5px;
  padding: 6px 4px 8px;
  border: 1.5px solid #ddd6c8 !important;
  background: #fff !important;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  transition:
    border-color 0.15s,
    background 0.15s;
  width: 100%;
  box-sizing: border-box;
  position: relative;
}

.fc-color-chip:hover {
  border-color: #3a5c3d !important;
  background: #fdf9f4 !important;
}

.fc-color-chip.fc-selected {
  border-color: #1c2e1e !important;
  background: #f5f0e8 !important;
}

.fc-color-chip.fc-selected::after {
  content: "✓";
  position: absolute;
  top: 4px;
  right: 5px;
  font-size: 0.65rem;
  color: #1c2e1e;
  font-weight: 700;
}

.fc-color-chip img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
  background: #ede5d8;
}

.fc-color-chip span {
  display: block !important;
  font-size: 0.68rem;
  color: #2a2a25;
  text-align: center;
  white-space: normal;
  word-break: break-word;
  line-height: 1.3;
}

/* =============================================
STEP 3 — MAT BOARD
============================================= */

.fc-mat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.fc-mat-btn {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  padding: 0 0 14px 0;
  border: 1.5px solid #e8e3dc !important;
  background: #fff !important;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  overflow: hidden;
  transition:
    border-color 0.15s,
    background 0.15s;
  position: relative;
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
}

.fc-mat-btn:hover {
  border-color: #3a5c3d !important;
  background: #fdf9f4 !important;
}

.fc-mat-btn.fc-selected {
  border-color: #1c2e1e !important;
  background: #f5f0e8 !important;
}

/* Color swatch block at top */
.fc-mat-swatch {
  display: block;
  width: 100%;
  height: 60px;
  border-radius: 6px 6px 0 0;
  margin-bottom: 12px;
  flex-shrink: 0;
}

.fc-mat-swatch--decorative {
  background: linear-gradient(135deg, #e8e0d0 0%, #d4c9b5 50%, #c8bba5 100%);
}

.fc-mat-swatch--suede {
  background: linear-gradient(135deg, #b5a898 0%, #9e8f81 50%, #8a7a6e 100%);
}

.fc-mat-type {
  display: block !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  color: #2a2a25;
  padding: 0 14px;
  margin-bottom: 3px;
}

.fc-mat-detail {
  display: block !important;
  font-size: 0.75rem !important;
  color: #6b6558;
  padding: 0 14px;
  margin-bottom: 6px;
  line-height: 1.4;
}

.fc-mat-price {
  display: block !important;
  font-size: 0.82rem;
  color: #b89a6a;
  font-weight: 600;
  padding: 0 14px;
}

/* ── Mat color visual grid ── */
.fc-mat-color-section {
  margin-bottom: 20px;
}

.fc-mat-color-section-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #6b6558;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 10px;
}

.fc-mat-color-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 8px;
}

.fc-mat-color-chip {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 5px;
  padding: 6px 4px 8px;
  border: 1.5px solid #ddd6c8 !important;
  background: #fff !important;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  transition:
    border-color 0.15s,
    background 0.15s;
  width: 100%;
  box-sizing: border-box;
  position: relative;
}

.fc-mat-color-chip:hover {
  border-color: #3a5c3d !important;
  background: #fdf9f4 !important;
}

.fc-mat-color-chip.fc-selected {
  border-color: #1c2e1e !important;
  background: #f5f0e8 !important;
}

.fc-mat-color-chip.fc-selected::after {
  content: "✓";
  position: absolute;
  top: 4px;
  right: 5px;
  font-size: 0.65rem;
  color: #1c2e1e;
  font-weight: 700;
}

.fc-mat-color-chip img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
  background: #ede5d8;
}

.fc-mat-color-chip span {
  display: block !important;
  font-size: 0.68rem;
  color: #2a2a25;
  text-align: center;
  word-break: break-word;
  line-height: 1.3;
  white-space: normal;
}

/* =============================================
DISCOUNT FRAME & MAT COLORS
============================================= */

.fc-df-color-btn,
.fc-df-mat-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px;
  border: 1.5px solid #d8d3cc;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
  min-width: 90px;
  position: relative;
}
.fc-df-color-btn:hover,
.fc-df-mat-btn:hover {
  border-color: #1c2e1e;
}

.fc-df-color-btn.fc-selected,
.fc-df-mat-btn.fc-selected {
  border-color: #1c2e1e;
  box-shadow: 0 0 0 2px rgba(28, 46, 30, 0.15);
  background-color: #f5f0e8 !important;
}

.fc-df-color-btn.fc-selected::after,
.fc-df-mat-btn.fc-selected::after {
  content: "✓";
  position: absolute;
  top: 4px;
  right: 6px;
  font-size: 0.7rem;
  color: #1c2e1e;
  font-weight: 700;
}

.fc-color-swatch-img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}
.fc-color-swatch-placeholder {
  width: 56px;
  height: 56px;
  border-radius: 4px;
  background: #e8e4de;
  display: block;
}
.fc-df-color-btn .fc-color-label,
.fc-df-mat-btn .fc-color-label {
  font-size: 12px;
  text-align: center;
  line-height: 1.3;
  color: #333;
}

.fc-discount-color-grid,
.fc-mat-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 20px;
}

/* =============================================
STEP 4 — FLORAL DESIGN
============================================= */

.fc-design-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.fc-design-btn {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 4px;
  padding: 14px 16px;
  background: #ffffff !important;
  border: 1.5px solid #e8e3dc !important;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
  transition:
    border-color 0.18s,
    box-shadow 0.18s,
    background 0.18s;
  position: relative;
}

.fc-design-btn:hover {
  border-color: #3a5c3d !important;
  background: #f5f0e8 !important;
  box-shadow: 0 4px 14px rgba(28, 46, 30, 0.1);
}

.fc-design-btn.fc-selected {
  border-color: #1c2e1e !important;
  background: #f5f0e8 !important;
}

.fc-design-btn.fc-disabled {
  opacity: 0.35;
  pointer-events: none;
}

.fc-design-name {
  display: block !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  color: #2a2a25;
  line-height: 1.3;
}

.fc-design-desc {
  display: block !important;
  font-size: 0.78rem !important;
  color: #6b6558;
  line-height: 1.4;
  white-space: normal !important;
  text-align: left;
}

.fc-design-btn.fc-selected .fc-design-name {
  color: #1c2e1e;
}

.fc-custom-design {
  margin: 4px 0 14px;
  grid-column: 1 / -1;
}

.fc-custom-design label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #2a2a25;
}

/* =============================================
STEP 5 — KEEPSAKE (Shadow Box only)
============================================= */

.fc-keepsake-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.fc-keepsake-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 14px 12px;
  border: 1.5px solid #e8e3dc !important;
  border-radius: 8px;
  background: #fff !important;
  font-size: 0.85rem;
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  color: #2a2a25 !important;
  text-align: center;
  transition:
    border-color 0.15s,
    background 0.15s;
  width: 100%;
  box-sizing: border-box;
  position: relative;
}

.fc-keepsake-btn:hover {
  border-color: #3a5c3d !important;
  background: #f5f0e8 !important;
}

.fc-keepsake-btn.fc-selected {
  border-color: #1c2e1e !important;
  background: #f5f0e8 !important;
  font-weight: 600;
}

/* =============================================
STEP 6 — EVENT INFORMATION
============================================= */

.fc-event-fields {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}

.fc-event-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

label.fc-event-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #2a2a25;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.4;
}

.fc-required span {
  color: #c0392b;
}

.fc-event-input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #e8e3dc;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.84rem;
  color: #2a2a25;
  background: #fff;
  outline: none;
  box-sizing: border-box;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
  -webkit-appearance: none;
  appearance: none;
}

.fc-event-input:focus {
  border-color: #1c2e1e;
  box-shadow: 0 2px 8px rgba(28, 46, 30, 0.1);
}

.fc-event-input[type="date"] {
  cursor: pointer;
}
/* ── Orientation select chevron ── */
.fc-event-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23555' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
  cursor: pointer;
}

/* ── Error highlight (shake + red border on failed validation) ── */
.fc-event-input.fc-input-error {
  border-color: #c8102e !important;
  box-shadow: 0 0 0 2px rgba(200, 16, 46, 0.15);
  animation: fc-shake 0.25s ease;
}

@keyframes fc-shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-4px);
  }
  75% {
    transform: translateX(4px);
  }
}

/* =============================================
STEP 7 — DELIVERY
============================================= */

.fc-delivery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.fc-delivery-btn {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 5px;
  padding: 16px;
  background: #ffffff !important;
  border: 1.5px solid #e8e3dc !important;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
  transition:
    border-color 0.18s,
    background 0.18s;
  position: relative;
}

.fc-delivery-btn:hover {
  border-color: #3a5c3d !important;
  background: #f5f0e8 !important;
}

.fc-delivery-btn.fc-selected {
  border-color: #1c2e1e !important;
  background: #f5f0e8 !important;
}

.fc-delivery-icon {
  display: block !important;
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.fc-delivery-label {
  display: block !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  color: #2a2a25;
}

.fc-delivery-desc {
  display: block !important;
  font-size: 0.78rem !important;
  color: #6b6558;
  line-height: 1.4;
  white-space: normal !important;
  text-align: left !important;
}

/* Address info box — shown when Drop Off is selected */
.fc-delivery-address {
  background: #f5f0e8;
  border: 1px solid #ddd6c8;
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 0.8rem;
  color: #6b6558;
  margin-bottom: 14px;
  line-height: 1.5;
}

/* =============================================
STEP 8 — NOTES
============================================= */

#fc-notes {
  resize: vertical;
  min-height: 100px;
}

/* =============================================
SHARED INPUT FIELDS
============================================= */

.fc-lettering-text,
#fc-notes,
#fc-custom-design-text {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #e8e3dc;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.84rem;
  color: #2a2a25;
  background: #fff;
  outline: none;
  box-sizing: border-box;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}

.fc-lettering-text:focus,
#fc-notes:focus,
#fc-custom-design-text:focus {
  border-color: #1c2e1e;
  box-shadow: 0 2px 8px rgba(28, 46, 30, 0.1);
}

/* =============================================
CONTINUE BUTTON
============================================= */

.fc-continue-btn {
  display: inline-block;
  margin-top: 18px;
  padding: 12px 28px;
  background: #1c2e1e !important;
  color: #f5f0e8 !important;
  border: none !important;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background 0.2s;
  box-shadow: none !important;
}

.fc-continue-btn:hover {
  background: #3a5c3d !important;
  color: #f5f0e8 !important;
}

/* =============================================
ORDER SUMMARY PANEL
============================================= */

.fc-summary {
  border: 2px solid #1c2e1e;
  border-radius: 8px;
  padding: 24px 22px;
  background: #f5f0e8;
  margin-top: 10px;
}

.fc-summary__title {
  font-size: 0.75rem;
  font-weight: 700;
  color: #1c2e1e;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #1c2e1e;
}

.fc-summary__list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}

.fc-summary__list li {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px solid #ddd6c8;
  font-size: 0.83rem;
  color: #2a2a25;
  gap: 12px;
}

.fc-summary__list li:last-child {
  border-bottom: none;
}

.fc-sum-key {
  color: #6b6558;
  font-weight: 500;
  flex-shrink: 0;
}

.fc-sum-val {
  font-weight: 600;
  text-align: right;
}

.fc-summary__total {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1c2e1e;
  text-align: right;
  margin-bottom: 8px;
  padding-top: 12px;
  border-top: 2px solid #1c2e1e;
}

.fc-summary__note {
  font-size: 0.77rem;
  color: #6b6558;
  font-style: italic;
  margin: 0 0 18px;
  text-align: center;
}

/* =============================================
ADD TO CART BUTTON
============================================= */

.fc-atc-btn {
  display: block;
  width: 100%;
  padding: 16px;
  background: #1c2e1e !important;
  color: #f5f0e8 !important;
  border: none !important;
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s;
  box-shadow: none !important;
  text-align: center;
}

.fc-atc-btn:hover {
  background: #3a5c3d !important;
  color: #f5f0e8 !important;
}

.fc-atc-btn:disabled,
.fc-atc-btn.fc-loading {
  background: #6b6558 !important;
  cursor: not-allowed;
}

/* =============================================
Cart & Checkout Summary Table
============================================= */

.fc-cart-summary {
  margin-top: 10px;
  font-size: 0.82rem;
  width: 100%;
}
.fc-cart-summary__table {
  width: 100% !important;
  border-collapse: collapse !important;
  margin-bottom: 6px;
  table-layout: auto !important;
  border: 1px solid #754029 !important;
}
.fc-cart-summary__table th,
.fc-cart-summary__table td {
  padding: 5px 8px !important;
  border-bottom: 1px solid #754029 !important;
  border-top: none !important;
  text-align: left !important;
  vertical-align: top !important;
  width: auto !important;
  font-size: 0.82rem !important;
  color: inherit;
}
.fc-cart-summary__table th {
  color: #754029 !important;
  font-weight: 500 !important;
  width: 50% !important;
  white-space: nowrap;
  font-family: "BonaNova Regular";
  border: 1px solid #754029;
}
.fc-cart-summary__table td {
  color: #000000 !important;
  text-align: right !important;
  font-family: "karla", sans-serif !important;
}
.fc-cart-summary__total th,
.fc-cart-summary__total td {
  border-top: 2px solid #754029 !important;
  border-bottom: none !important;
  font-weight: 700 !important;
  color: #754029 !important;
  padding-top: 8px !important;
  font-family: "karla", sans-serif !important;
}
.fc-cart-summary__note {
  color: #9a9186 !important;
  font-size: 0.78rem !important;
  font-style: italic;
  margin: 0 !important;
  padding: 0 !important;
}

/* =============================================
ERROR STATE
============================================= */

.fc-error {
  color: #c0392b;
  font-size: 0.85rem;
  padding: 10px;
  border: 1px solid #e8d5d5;
  border-radius: 4px;
  background: #fdf0f0;
}

/* =============================================
CUSTOM SCROLLBAR
============================================= */

.fc-size-grid::-webkit-scrollbar,
.fc-frame-grid::-webkit-scrollbar {
  width: 4px;
}

.fc-size-grid::-webkit-scrollbar-track,
.fc-frame-grid::-webkit-scrollbar-track {
  background: #f5f0e8;
  border-radius: 10px;
}

.fc-size-grid::-webkit-scrollbar-thumb,
.fc-frame-grid::-webkit-scrollbar-thumb {
  background: #b89a6a;
  border-radius: 10px;
}

/* =============================================
Ribbon Buttons (used in custom design step)
============================================= */

.fc-frame-grid.fc-ribbon-grid {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px;
  box-sizing: border-box;
}

.fc-frame-grid.fc-ribbon-grid .fc-ribbon-btn {
  flex: 1 1 calc(33.333% - 8px);
  max-width: calc(33.333% - 8px);
  box-sizing: border-box;
}

.fc-ribbon-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 8px;
  border: 1.5px solid #ddd6c8;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  text-align: center;
  transition:
    border-color 0.15s,
    background 0.15s;
}
.fc-ribbon-btn:hover {
  border-color: #b89a6a;
  background: #fdf9f4;
}
.fc-ribbon-btn.fc-selected {
  border-color: #b89a6a !important;
  color: #1c2e1e !important;
  background-color: transparent !important;
}

.fc-ribbon-btn .fc-ribbon-img[src=""],
.fc-ribbon-btn .fc-ribbon-img:not([src]) {
  display: none;
}

.fc-ribbon-btn {
  position: relative;
}
.fc-ribbon-btn.fc-selected::after {
  content: "✓";
  position: absolute;
  top: 4px;
  right: 6px;
  font-size: 0.7rem;
  color: #1c2e1e;
  font-weight: 700;
}

/* ── Out of stock items ── */
.fc-out-of-stock {
  opacity: 0.45;
  cursor: not-allowed !important;
  position: relative;
  pointer-events: none;
}

.fc-out-of-stock img {
  filter: grayscale(100%);
}

.fc-oos-label {
  display: block;
  font-size: 10px;
  color: #dc2626;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-top: 3px;
  line-height: 1.2;
}

/* Strikethrough diagonal line over greyed out size buttons */
.fc-size-btn.fc-out-of-stock::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 4px,
    rgba(220, 38, 38, 0.15) 4px,
    rgba(220, 38, 38, 0.15) 5px
  );
  border-radius: inherit;
  pointer-events: none;
}

/* ══════════════════════════════════════════════════════════
   ORNAMENT SHAPE STEP
   Add these rules to your configurator.css (or admin.css)
   ══════════════════════════════════════════════════════════ */

.fc-ribbon-btn {
  position: relative;
}
.fc-ribbon-btn.fc-selected {
  background: #f5f0e8 !important;
  border-color: rgb(28, 46, 30);
}
/* Tick mark — top-right corner */
.fc-ribbon-btn.fc-selected::after {
  content: "✓";
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 0.75rem;
  color: rgb(28, 46, 30);
  font-weight: 700;
}

/* If your ribbon buttons have images, ensure the image itself
   does NOT get a color tint when selected */
.fc-ribbon-btn.fc-selected img,
.fc-ribbon-btn.fc-selected .fc-ribbon-img {
  filter: none !important;
  opacity: 1 !important;
}

/* ── SHAPE: text-label buttons, tick on selected ──────────
   Matches ribbon tick style for visual consistency          */

.fc-shape-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 360px;
  margin: 0 auto 20px;
}
.fc-shape-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 22px 16px;
  border: 2px solid #f5f0e8;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease;
  font-family: inherit;
  text-align: center;
}
.fc-shape-btn:hover {
  border-color: #f5f0e8;
}
/* Selected: border + tick, no background fill */
.fc-shape-btn.fc-selected {
  border-color: rgb(28, 46, 30) !important;
  background: #f5f0e8 !important;
}
/* Tick mark — same as ribbon */
.fc-shape-btn.fc-selected::after {
  content: "✓";
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 0.75rem;
  color: rgb(28, 46, 30);
  font-weight: 700;
}

.fc-shape-icon {
  font-size: 1.8rem;
  line-height: 1;
  display: block;
  color: #555;
}

.fc-shape-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
  display: block;
}

/* Responsive: full width on small screens */
@media (max-width: 480px) {
}
/* =============================================
RESPONSIVE — MOBILE
============================================= */

@media (max-width: 560px) {
  .fc-size-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .fc-frame-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .fc-design-grid {
    grid-template-columns: 1fr 1fr;
  }
  .fc-keepsake-grid {
    grid-template-columns: 1fr 1fr;
  }
  .fc-delivery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .fc-mat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .fc-step__selection {
    max-width: 120px;
    font-size: 0.7rem;
  }
  .fc-continue-btn {
    width: 100%;
    text-align: center;
  }
  .fc-step__title {
    font-size: 0.82rem;
  }
  .fc-shape-grid {
    grid-template-columns: 1fr 1fr;
    max-width: 100%;
  }
}

@media (max-width: 380px) {
  .fc-size-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .fc-frame-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .fc-color-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .fc-mat-color-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .fc-delivery-grid {
    grid-template-columns: 1fr;
  }
}
