/** Shopify CDN: Minification failed

Line 608:0 Expected "}" to go with "{"

**/
/* ==========================================================================
   Gift Box Builder Card Component (Image 1 Reference Design)
   ========================================================================== */

.gift-box-builder-container {
  display: block;
  margin: 28px 0;
  padding: 28px 30px;
  background: #ffffff;
  border: 1px solid #ebe7e1;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
  font-family: inherit;
}

/* Header Section */
.gbb-card-header {
  margin-bottom: 20px;
}

.gbb-header-top-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.gbb-card-title {
  margin: 0;
  font-family: var(--font-heading-family, "Playfair Display", Georgia, serif);
  font-size: 26px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.2;
  letter-spacing: -0.3px;
}

.gbb-header-counter {
  font-size: 14px;
  font-weight: 500;
  color: #666666;
  white-space: nowrap;
}

/* Segmented Progress Bar */
.gbb-segmented-progress {
  display: flex;
  gap: 8px;
  width: 100%;
  margin-top: 14px;
}

.gbb-progress-segment {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background-color: #e5e0d8;
  transition: background-color 0.25s ease;
}

.gbb-progress-segment.is-filled {
  background-color: #a21a1d;
}

/* Error message banner */
.gbb-error-message {
  font-size: 13px;
  color: #9b1c1c;
  background: #fdf2f2;
  border: 1px solid #f8b4b4;
  padding: 10px 14px;
  border-radius: 8px;
  margin-top: 14px;
  font-weight: 500;
}

.gbb-error-message.hidden {
  display: none !important;
}

/* ==========================================================================
   Base Gift Box Row
   ========================================================================== */

.gbb-base-box-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-top: 1px solid #f0ebe4;
  border-bottom: 1px solid #f0ebe4;
}

.gbb-base-box-left {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.gbb-base-box-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #f5f2ed;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gbb-isometric-box-svg {
  stroke: #222222;
}

.gbb-base-box-text {
  min-width: 0;
}

.gbb-base-box-title {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 3px 0;
  line-height: 1.25;
}

.gbb-base-box-sub {
  font-size: 13px;
  color: #666666;
  margin: 0;
  line-height: 1.25;
}

.gbb-base-box-price {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  white-space: nowrap;
  margin-left: 12px;
}

/* ==========================================================================
   Container Slot Rows
   ========================================================================== */

.gbb-slots-list {
  display: flex;
  flex-direction: column;
}

.gbb-slot-row {
  padding: 16px 0;
  border-bottom: 1px solid #f0ebe4;
  transition: background-color 0.2s ease;
}

.gbb-slot-main-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  user-select: none;
}

.gbb-slot-main-left {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  flex: 1;
}

/* Thumbnail / Placeholder */
.gbb-slot-thumb-container {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #fdf2e9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.gbb-slot-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}

.gbb-slot-thumb-img.hidden {
  display: none !important;
}

.gbb-slot-thumb-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.gbb-slot-thumb-placeholder.hidden {
  display: none !important;
}

.gbb-placeholder-cashew {
  stroke: #d49b6a;
}

/* Text Group */
.gbb-slot-text-group {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.gbb-slot-eyebrow {
  font-size: 11px;
  font-weight: 700;
  color: #a21a1d;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 3px;
  line-height: 1;
}

.gbb-slot-title {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 3px;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gbb-slot-row:not(.is-filled) .gbb-slot-title {
  color: #777777;
  font-weight: 500;
  font-style: italic;
}

.gbb-slot-subtitle {
  font-size: 13px;
  color: #666666;
  line-height: 1.25;
}

/* Right Section */
.gbb-slot-main-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  margin-left: 12px;
}

.gbb-slot-price-tag {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  white-space: nowrap;
}

.gbb-slot-row:not(.is-filled) .gbb-slot-price-tag {
  color: #888888;
  font-weight: 500;
}

.gbb-slot-edit-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid #e0dad3;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  flex-shrink: 0;
}

.gbb-slot-edit-btn:hover,
.gbb-slot-row.is-drawer-open .gbb-slot-edit-btn {
  border-color: #a21a1d;
  background: #fff8f8;
}

.gbb-pencil-icon {
  stroke: #222222;
  transition: stroke 0.2s ease;
}

.gbb-slot-edit-btn:hover .gbb-pencil-icon,
.gbb-slot-row.is-drawer-open .gbb-pencil-icon {
  stroke: #a21a1d;
}

/* Inline Component Drawer */
.gbb-slot-drawer {
  margin-top: 14px;
  animation: gbbFadeIn 0.2s ease-in-out;
}

.gbb-slot-drawer.hidden {
  display: none !important;
}

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

.gbb-drawer-inner {
  background: #faf8f5;
  border: 1px solid #ebe5dc;
  border-radius: 14px;
  padding: 8px;
  max-height: 280px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gbb-drawer-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.15s ease;
  gap: 12px;
}

.gbb-drawer-item:hover {
  background-color: #f2ebe1;
}

.gbb-drawer-item.gbb-clear-option {
  color: #a21a1d;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.gbb-clear-icon {
  font-size: 11px;
}

.gbb-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.gbb-item-thumb {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #e5e0d8;
  flex-shrink: 0;
}

.gbb-item-thumb-placeholder {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #ece7df;
  flex-shrink: 0;
}

.gbb-item-title {
  font-size: 14px;
  font-weight: 600;
  color: #222222;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gbb-item-right {
  flex-shrink: 0;
}

.gbb-item-pergram {
  font-size: 12.5px;
  font-weight: 600;
  color: #666666;
}

.gbb-drawer-item.sold-out {
  opacity: 0.5;
  cursor: not-allowed;
}

.gbb-drawer-inner::-webkit-scrollbar {
  width: 6px;
}
.gbb-drawer-inner::-webkit-scrollbar-track {
  background: #faf8f5;
}
.gbb-drawer-inner::-webkit-scrollbar-thumb {
  background: #d4cdc5;
  border-radius: 3px;
}

/* ==========================================================================
   Footer Section
   ========================================================================== */

.gbb-card-footer {
  margin-top: 20px;
  padding-top: 16px;
}

.gbb-footer-top-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.gbb-footer-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.gbb-footer-label {
  font-size: 13px;
  font-weight: 500;
  color: #666666;
}

.gbb-footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}

.gbb-footer-badge.is-ready {
  background: #eafaf1;
  color: #1e7e48;
  border: 1px solid #c7f0db;
}

.gbb-footer-badge.is-pending {
  background: #fff8eb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.gbb-check-icon {
  stroke: #1e7e48;
}

.gbb-grand-total {
  font-family: var(--font-heading-family, "Playfair Display", Georgia, serif);
  font-size: 34px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1;
}

/* Full-width Crimson CTA */
.gbb-card-cta-btn {
  width: 100%;
  height: 52px;
  background: #a21a1d;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.gbb-card-cta-btn:hover {
  background-color: #8b1417;
}

.gbb-card-cta-btn:active {
  transform: scale(0.99);
}

.gbb-card-cta-btn.loading {
  opacity: 0.8;
  cursor: wait;
}

/* Slot pulse highlight on validation error */
@keyframes gbbPulseHighlight {
  0% {
    background-color: #fff9f9;
    box-shadow: 0 0 0 0 rgba(162, 26, 29, 0.4);
  }
  40% {
    background-color: #fff5f5;
    box-shadow: 0 0 0 6px rgba(162, 26, 29, 0.15);
  }
  100% {
    background-color: transparent;
    box-shadow: none;
  }
}

.gbb-slot-row.gbb-slot-highlight {
  animation: gbbPulseHighlight 1.5s ease-out;
  border-radius: 8px;
}

/* ==========================================================================
   Gifting Sticky Bar Component (Image 2 Reference Design)
   ========================================================================== */

.product-sticky-bar.gbb-sticky-product-bar {
  background: #ffffff !important;
  border-top: 1px solid #ebe7e1 !important;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06) !important;
  padding: 12px 24px !important;
}

.gbb-sticky-wrapper {
  max-width: var(--container-width, 1200px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

/* Left: Brown Box Icon + Title + Price */
.gbb-sticky-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.gbb-sticky-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #8a532b;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gbb-sticky-cube-svg {
  stroke: #ffffff;
}

.gbb-sticky-info {
  display: flex;
  flex-direction: column;
}

.gbb-sticky-title {
  margin: 0 0 2px 0;
  font-family: var(--font-heading-family, "Playfair Display", Georgia, serif);
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.2;
}

.gbb-sticky-price-row {
  display: flex;
