/* Aromax Candle Constructor Styles */
:root {
  --arx-gold: #c5a367;
  --arx-gold-dark: #a88448;
  --arx-black: #1a1a1a;
  --arx-gray-bg: #f8f7f5;
  --arx-border: #e2ded9;
  --arx-text-muted: #737373;
  --arx-radius: 12px;
}

.arx-constructor-wrapper {
  max-width: 1240px;
  margin: 0 auto;
  padding: 30px 20px 80px 20px;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--arx-black);
  box-sizing: border-box;
}

.arx-constructor-wrapper * {
  box-sizing: border-box;
}

/* Header section */
.arx-const-header {
  text-align: center;
  margin-bottom: 35px;
}

.arx-badge {
  display: inline-block;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 2.5px;
  font-weight: 600;
  color: var(--arx-gold-dark);
  background: rgba(197, 163, 103, 0.12);
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 12px;
}

.arx-const-title {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin: 0 0 10px 0;
  color: #111;
}

.arx-const-subtitle {
  font-size: 16px;
  color: var(--arx-text-muted);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Tabs switcher */
.arx-type-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 35px;
}

.arx-type-tab {
  background: #ffffff;
  border: 2px solid var(--arx-border);
  border-radius: var(--arx-radius);
  padding: 16px 18px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}

.arx-type-tab:hover {
  border-color: #b5b0a7;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.arx-type-tab.active {
  border-color: var(--arx-gold);
  background: #fffcf7;
  box-shadow: 0 6px 24px rgba(197, 163, 103, 0.18);
}

.arx-tab-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f4efe7;
  color: var(--arx-gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  transition: background 0.25s ease;
}

.arx-type-tab.active .arx-tab-icon {
  background: var(--arx-gold);
  color: #fff;
}

.arx-tab-info {
  display: flex;
  flex-direction: column;
}

.arx-tab-name {
  font-weight: 700;
  font-size: 15px;
  color: #111;
  margin-bottom: 2px;
}

.arx-tab-desc {
  font-size: 12px;
  color: var(--arx-text-muted);
}

/* 2-Column Constructor Grid */
.arx-builder-grid {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 40px;
  align-items: start;
}

/* Left column - Live Visualizer (Sticky) */
.arx-visualizer-sticky {
  position: sticky;
  top: 90px;
  background: linear-gradient(145deg, #fbfaf8 0%, #f0ede6 100%);
  border-radius: 20px;
  border: 1px solid #e8e4dc;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.arx-candle-container {
  position: relative;
  width: 100%;
  max-width: 380px;
  height: 440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arx-candle-bg-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.15));
  user-select: none;
  pointer-events: none;
}

/* Live Label Overlay on Candle Jar */
.arx-candle-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -43%);
  width: 190px;
  min-height: 175px;
  background: #fbf9f4;
  border: 1px solid #d9d3c5;
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.03), 0 3px 8px rgba(0, 0, 0, 0.12);
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  border-radius: 3px;
  transition: all 0.2s ease;
  z-index: 5;
}

.arx-label-brand {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #222;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 4px;
  margin-bottom: 4px;
}

.arx-label-subbrand {
  font-size: 7px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 8px;
}

.arx-label-main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4px 2px;
  word-break: break-word;
}

.arx-live-names {
  font-size: 16px;
  font-weight: 600;
  color: #111;
  line-height: 1.25;
}

.arx-live-symbol {
  font-size: 14px;
  color: var(--arx-gold-dark);
  margin: 2px 0;
}

.arx-live-date {
  font-size: 10px;
  color: #666;
  letter-spacing: 1.5px;
  margin-top: 4px;
}

.arx-live-author-title {
  font-size: 14px;
  font-weight: 700;
  color: #111;
  margin-bottom: 4px;
  line-height: 1.2;
}

.arx-live-author-text {
  font-size: 11px;
  color: #444;
  line-height: 1.35;
  font-style: italic;
}

.arx-live-phrase-text {
  font-size: 13px;
  font-weight: 600;
  color: #111;
  line-height: 1.35;
  padding: 0 4px;
}

.arx-label-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 5px;
  margin-top: 6px;
}

.arx-label-aroma-preview {
  font-size: 8px;
  font-weight: 600;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 170px;
}

.arx-label-meta {
  font-size: 7px;
  color: #888;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Visualizer Badges */
.arx-vis-specs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.arx-vis-spec-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: #555;
  background: rgba(255, 255, 255, 0.8);
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid #e0dbd1;
}

.arx-vis-spec-item svg {
  width: 14px;
  height: 14px;
  fill: var(--arx-gold-dark);
}

/* Right column - Steps & Controls */
.arx-builder-controls {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.arx-step-card {
  background: #ffffff;
  border: 1px solid var(--arx-border);
  border-radius: var(--arx-radius);
  padding: 24px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.02);
}

.arx-step-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.arx-step-num {
  width: 28px;
  height: 28px;
  background: #111;
  color: #fff;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arx-step-title {
  font-size: 18px;
  font-weight: 700;
  color: #111;
  margin: 0;
}

.arx-step-sub {
  font-size: 13px;
  color: var(--arx-text-muted);
  margin-top: 2px;
}

/* Form inputs */
.arx-form-group {
  margin-bottom: 16px;
}

.arx-form-group:last-child {
  margin-bottom: 0;
}

.arx-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
}

.arx-label-opt {
  font-weight: 400;
  color: var(--arx-text-muted);
  font-size: 12px;
}

.arx-input,
.arx-select,
.arx-textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  border: 1.5px solid var(--arx-border);
  border-radius: 8px;
  background: #fff;
  color: #111;
  font-family: inherit;
  transition: all 0.2s ease;
}

.arx-input:focus,
.arx-select:focus,
.arx-textarea:focus {
  outline: none;
  border-color: var(--arx-gold);
  box-shadow: 0 0 0 3px rgba(197, 163, 103, 0.15);
}

.arx-textarea {
  resize: vertical;
  min-height: 75px;
}

.arx-input-row {
  display: grid;
  grid-template-columns: 1fr 65px 1fr;
  gap: 10px;
  align-items: center;
}

.arx-symbol-select {
  text-align: center;
  font-weight: 700;
  padding: 12px 6px;
}

/* Style Font Selector */
.arx-font-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.arx-font-btn {
  background: #fff;
  border: 1.5px solid var(--arx-border);
  border-radius: 8px;
  padding: 10px;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
}

.arx-font-btn:hover {
  border-color: #aaa;
}

.arx-font-btn.active {
  border-color: var(--arx-gold);
  background: #fffbf4;
  font-weight: 600;
}

/* Scent Blend Selectors */
.arx-scents-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

.arx-preset-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.arx-preset-chip {
  font-size: 12px;
  background: #f6f4f0;
  border: 1px solid #e5e0d7;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  color: #444;
  transition: all 0.2s ease;
}

.arx-preset-chip:hover {
  background: #ece7dd;
  color: #111;
  border-color: #d1c8b9;
}

/* Wick & Size Selector Buttons */
.arx-option-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.arx-option-card {
  border: 1.5px solid var(--arx-border);
  border-radius: 8px;
  padding: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.arx-option-card:hover {
  border-color: #aaa;
}

.arx-option-card.active {
  border-color: var(--arx-gold);
  background: #fffbf4;
}

.arx-opt-title {
  font-weight: 700;
  font-size: 14px;
  color: #111;
}

.arx-opt-detail {
  font-size: 12px;
  color: var(--arx-text-muted);
}

.arx-opt-price {
  font-size: 12px;
  font-weight: 600;
  color: var(--arx-gold-dark);
  margin-top: 4px;
}

/* Bottom CTA & Summary */
.arx-order-summary-card {
  background: #1a1a1a;
  color: #ffffff;
  border-radius: var(--arx-radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.arx-summary-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 14px;
}

.arx-summary-label {
  font-size: 14px;
  color: #bbb;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.arx-summary-price {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
}

.arx-summary-price span {
  color: var(--arx-gold);
  font-size: 20px;
  margin-left: 4px;
}

.arx-summary-actions {
  display: flex;
  gap: 12px;
}

.arx-btn-add-cart {
  flex: 2;
  background: var(--arx-gold);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.25s ease;
}

.arx-btn-add-cart:hover {
  background: #b69255;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 163, 103, 0.4);
}

.arx-btn-add-cart:active {
  transform: translateY(0);
}

.arx-btn-quick-order {
  flex: 1;
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  padding: 16px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.arx-btn-quick-order:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.arx-perks-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: #aaa;
  margin-top: 4px;
}

.arx-perk {
  display: flex;
  align-items: center;
  gap: 6px;
}

.arx-perk svg {
  width: 14px;
  height: 14px;
  fill: var(--arx-gold);
}

/* Toast notification */
.arx-toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #111;
  color: #fff;
  padding: 14px 22px;
  border-radius: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 99999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-left: 4px solid var(--arx-gold);
}

.arx-toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Responsive adjustments */
@media screen and (max-width: 980px) {
  .arx-builder-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .arx-visualizer-sticky {
    position: relative;
    top: 0;
    max-width: 500px;
    margin: 0 auto;
  }
  .arx-type-tabs {
    grid-template-columns: 1fr;
  }
  .arx-scents-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 480px) {
  .arx-const-title {
    font-size: 26px;
  }
  .arx-candle-container {
    height: 380px;
  }
  .arx-candle-label {
    width: 165px;
    min-height: 155px;
  }
  .arx-option-grid {
    grid-template-columns: 1fr;
  }
  .arx-summary-actions {
    flex-direction: column;
  }
}


/* Strict overrides for Tilda Cart Floating Icon */
.t706__carticon {
  display: none;
  position: fixed !important;
  right: 40px !important;
  top: 90px !important;
  z-index: 9999 !important;
  width: 80px !important;
  height: 80px !important;
  max-width: 80px !important;
  max-height: 80px !important;
}

.t706__carticon_showed {
  display: block !important;
}

.t706__carticon-imgwrap {
  width: 70px !important;
  height: 70px !important;
  max-width: 70px !important;
  max-height: 70px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
}

.t706__carticon-img,
svg.t706__carticon-img {
  width: 36px !important;
  height: 36px !important;
  max-width: 36px !important;
  max-height: 36px !important;
  display: block !important;
  padding: 0 !important;
  margin: auto !important;
}
