/* Shared PlanetsDivine navigation for the Django creation studio. */
:root {
  --pd-customizer-header-height: 76px;
  --pd-ui-font: "Manrope", "Helvetica Neue", Arial, sans-serif;
}

.pd-customizer-navbar,
.pd-customizer-navbar * { box-sizing: border-box; }

.pd-customizer-navbar {
  position: fixed;
  z-index: 10050;
  top: 0;
  right: 0;
  left: 0;
  height: var(--pd-customizer-header-height);
  background: #fff;
  border-bottom: 1px solid rgba(21, 26, 42, .07);
  box-shadow: 0 2px 18px rgba(21, 26, 42, .025);
  font-family: var(--pd-ui-font);
}

.pd-customizer-navbar-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 30px;
  width: min(calc(100% - 70px), 1380px);
  height: 100%;
  margin: 0 auto;
}

.pd-customizer-brand { display: inline-flex; align-items: center; gap: 11px; justify-self: start; color: #151a2a; text-decoration: none; }
.pd-customizer-logo { position: relative; display: block; width: 46px; height: 36px; flex-shrink: 0; }
.pd-customizer-orbit { position: absolute; top: 50%; left: 50%; width: 44px; height: 20px; border: 1.35px solid #b98232; border-radius: 50%; }
.pd-customizer-orbit-one { transform: translate(-50%, -50%) rotate(25deg); }
.pd-customizer-orbit-two { transform: translate(-50%, -50%) rotate(-25deg); }
.pd-customizer-planet { position: absolute; top: 50%; left: 50%; display: flex; width: 18px; height: 18px; align-items: center; justify-content: center; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle at 32% 28%, #efd69d 0%, #d09a45 42%, #a66b20 75%, #855315 100%); box-shadow: 0 2px 8px rgba(161, 103, 24, .24); }
.pd-customizer-planet span { width: 10px; height: 3px; transform: rotate(-17deg); border-top: 1px solid rgba(255,255,255,.42); }
.pd-customizer-star { position: absolute; top: 0; right: 0; color: #b98232; font-size: 8px; line-height: 1; }
.pd-customizer-brand-name { color: #151a2a; font-family: var(--pd-ui-font); font-size: 25px; font-weight: 700; line-height: 1; letter-spacing: -.05em; white-space: nowrap; }
.pd-customizer-brand-name span { color: #b77b29; }

.pd-customizer-nav { display: flex; align-items: center; justify-content: center; gap: 40px; justify-self: center; }
.pd-customizer-nav a { position: relative; padding: 10px 0; color: #303644; font-size: 13px; font-weight: 500; line-height: 1; text-decoration: none; white-space: nowrap; transition: color 180ms ease; }
.pd-customizer-nav a::after { position: absolute; bottom: -5px; left: 50%; width: 0; height: 1px; content: ""; transform: translateX(-50%); background: #b77b29; transition: width 200ms ease; }
.pd-customizer-nav a:hover, .pd-customizer-nav a.is-active { color: #b77b29; }
.pd-customizer-nav a:hover::after, .pd-customizer-nav a.is-active::after { width: 100%; }

.pd-customizer-actions { display: flex; align-items: center; justify-content: flex-end; gap: 7px; justify-self: end; }
.pd-customizer-icon { position: relative; display: flex; width: 39px; height: 39px; align-items: center; justify-content: center; color: #252b39; text-decoration: none; transition: color 180ms ease, transform 180ms ease; }
.pd-customizer-icon svg, .pd-customizer-cta svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.45; }
.pd-customizer-icon:hover { color: #b77b29; transform: translateY(-1px); }
.pd-customizer-cart { margin-right: 3px; }
.pd-customizer-cart-count { position: absolute; top: 1px; right: 1px; display: flex; min-width: 15px; height: 15px; align-items: center; justify-content: center; padding: 0 3px; border-radius: 50%; background: #bd8130; color: #fff; font-size: 7px; font-weight: 700; line-height: 1; }
.pd-customizer-cta { position: relative; display: inline-flex; height: 44px; align-items: center; gap: 14px; padding: 0 6px 0 18px; overflow: hidden; border: 1px solid rgba(255,255,255,.18); border-radius: 6px; background: linear-gradient(135deg, #cf9a45 0%, #c08832 45%, #b67625 100%); box-shadow: 0 7px 20px rgba(170,111,31,.17), inset 0 1px 0 rgba(255,255,255,.2); color: #fff; font-size: 10px; font-weight: 650; letter-spacing: .005em; text-decoration: none; transition: transform 200ms ease, box-shadow 200ms ease; }
.pd-customizer-cta:hover { transform: translateY(-1px); box-shadow: 0 11px 27px rgba(170,111,31,.24), inset 0 1px 0 rgba(255,255,255,.22); }
.pd-customizer-cta-arrow { display: flex; width: 32px; height: 32px; align-items: center; justify-content: center; border-radius: 4px; background: rgba(255,255,255,.14); }
.pd-customizer-cta-arrow svg { width: 16px; height: 16px; stroke-width: 1.7; }

/* Keep the studio controls consistent without touching the poster artwork preview. */
.control_panel,
.control_panel *,
.control_panel-section-tab,
.control_panel-section-tab *,
.ui-datepicker,
.ui-datepicker *,
.pac-container,
.pac-container * {
  font-family: var(--pd-ui-font) !important;
}

/* Storefront-aligned studio surface. These rules only restyle the controls;
   they deliberately do not change the poster canvas, its dimensions, or its
   absolute-positioned astronomical artwork. */
body {
  background: #fbfaf7;
  color: #151a2a;
}

.preview_img-main {
  background-color: #fbfaf7 !important;
}

/* Match the headline to the poster palette, just like the lower date text. */
.preview_img-main .title.title_head-top {
  color: #fff !important;
}

.preview_img-main[selected_poster="White"] .title.title_head-top,
.preview_img-main[selected_poster="black_circled"] .title.title_head-top {
  color: #000 !important;
}

.control_panel {
  --wizard-ink: #151a2a;
  --wizard-paper: #fff;
  --wizard-soft: #f5f6f8;
  --wizard-line: rgba(21, 26, 42, .11);
  --wizard-accent: #b77b29;
  background: var(--wizard-paper);
  border-left: 1px solid rgba(21, 26, 42, .08);
  box-shadow: -14px 0 34px rgba(21, 26, 42, .06);
}

#tab-links {
  background: var(--wizard-soft);
  border: 1px solid rgba(21, 26, 42, .035);
  box-shadow: none;
}

#tab-links li a,
#tab-links li.inactive a {
  color: #6b6f7a;
}

#tab-links .tab_text {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .01em;
}

#tab-links li a:hover,
#tab-links li a:focus-visible {
  color: var(--wizard-ink);
  background: #e9ebf0;
}

#tab-links li a.active {
  color: #fff;
  background: var(--wizard-ink);
}

.tab_content,
.action_btn {
  background: var(--wizard-paper);
}

.widget_panel-heading {
  border-bottom-color: var(--wizard-line);
}

.widget_panel-heading .h3,
.widget_panel-heading p,
.title_md,
.form_row label,
.panel_size-box h4,
.panel_on-off-img span {
  color: var(--wizard-ink);
}

.variation a.no_link,
.panel_on-off-list,
.widget_panel-size .panel_size-label,
.inline_checkbox-list > .label-checkbox:first-child .checkmark-box,
.inline_checkbox-list > .label-checkbox:last-child .checkmark-box,
.label-checkbox .checkmark-box {
  background: #fff;
  border-color: var(--wizard-line);
}

.variation a.no_link:hover,
.variation a.no_link:focus-visible,
.panel_on-off-list:hover {
  background: #fff;
  border-color: rgba(21, 26, 42, .23);
  box-shadow: 0 8px 18px rgba(21, 26, 42, .06);
}

.variation.selected a.no_link,
.variation a.no_link.selected,
.variation input:checked + a.no_link,
.panel_size-label input[type="radio"]:checked ~ .selected,
.panel_size-label input[type="checkbox"]:checked ~ .selected {
  border-color: var(--wizard-accent);
  box-shadow: 0 0 0 1px var(--wizard-accent);
}

.panel_on-off-img .no_link {
  background: #eef0f4;
}

.panel_on-off-img input:checked + .no_link,
.panel_on-off-img .no_link.active {
  background: var(--wizard-ink);
}

input.form-input,
textarea.form-input,
select.form-input,
.widget_panel-form .date-dropdowns select,
.widget_panel-form .date-dropdowns select.day,
.widget_panel-form .date-dropdowns select.month,
.widget_panel-form .date-dropdowns select.year,
#tab-Momment #selectedtime {
  color: var(--wizard-ink);
  background: #fff;
  border-color: rgba(21, 26, 42, .16);
}

input.form-input:focus,
textarea.form-input:focus,
select.form-input:focus,
.widget_panel-form .date-dropdowns select:focus,
#tab-Momment #selectedtime:focus {
  border-color: var(--wizard-accent);
  outline: 2px solid rgba(194, 148, 69, .22);
}

.location-autocomplete-mount,
#tab-Momment .input_with-img {
  background: #f1f2f5;
  border-color: rgba(21, 26, 42, .13);
}

.location-autocomplete-mount:focus-within {
  background: var(--wizard-accent);
  box-shadow: 0 0 0 3px rgba(194, 148, 69, .16);
}

.location-autocomplete-mount gmp-place-autocomplete,
.location-autocomplete-mount gmp-place-autocomplete::part(input) {
  color: var(--wizard-ink);
  background: #fff;
}

.action_btn {
  border-top-color: var(--wizard-line);
}

/* Consumer feedback: all three moment inputs visibly refresh one personalised
   result while the orbit calculation remains scientifically date/time based. */
#tab-Momment .alignment-feedback {
  align-items: flex-start;
  display: flex;
  gap: 9px;
  margin-top: -5px;
  padding: 11px 13px;
  color: #5f5a53;
  background: #f7f4ee;
  border: 1px solid #e2dbcf;
  border-radius: 11px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.45;
}

#tab-Momment .alignment-feedback-mark {
  flex: 0 0 auto;
  color: var(--wizard-accent);
  font-size: 13px;
  line-height: 1.2;
}

#tab-Momment .alignment-feedback.is-updating .alignment-feedback-mark {
  animation: pd-feedback-spin .8s linear infinite;
}

#tab-Momment .alignment-feedback.is-ready {
  color: #2f4b36;
  background: #f3f7f2;
  border-color: #ccd9cd;
}

/* Clear 12-hour time controls replace the browser-dependent native picker. */
#tab-Momment .time-of-moment {
  margin-top: 0;
}

#tab-Momment .time-select-group {
  align-items: end;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(72px,1fr) auto minmax(72px,1fr) minmax(82px,.9fr);
  margin-top: 8px;
  padding: 9px;
  background: #f1f2f5;
  border: 1px solid rgba(21,26,42,.13);
  border-radius: 13px;
}

#tab-Momment .time-select-field {
  display: grid;
  gap: 5px;
  margin: 0;
}

#tab-Momment .time-select-field > span {
  padding-left: 2px;
  color: #77736d;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}

#tab-Momment .time-select-field select {
  width: 100%;
  min-height: 43px;
  padding: 9px 28px 9px 11px;
  color: var(--wizard-ink);
  background: #fff;
  border: 1px solid rgba(21,26,42,.16);
  border-radius: 9px;
  box-shadow: 0 1px 1px rgba(21,26,42,.03);
  font: 700 13px/1.2 "Manrope", "Segoe UI", sans-serif;
}

#tab-Momment .time-select-field select:focus {
  border-color: var(--wizard-accent);
  outline: 2px solid rgba(194,148,69,.2);
  outline-offset: 1px;
}

#tab-Momment .time-select-field select:disabled {
  color: #aaa6a0;
  background: #f8f7f5;
  cursor: not-allowed;
}

#tab-Momment .time-separator {
  align-self: end;
  padding-bottom: 11px;
  color: var(--wizard-ink);
  font-size: 19px;
  font-weight: 800;
}

#tab-Momment .time-preference-list {
  display: grid;
  gap: 7px;
  margin-top: 11px;
}

#tab-Momment .time-preference {
  align-items: flex-start;
  display: grid;
  gap: 10px;
  grid-template-columns: 18px 1fr;
  margin: 0;
  padding: 10px 11px;
  color: #393733;
  background: #fff;
  border: 1px solid #e2ddd5;
  border-radius: 10px;
  cursor: pointer;
}

#tab-Momment .time-preference input {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

#tab-Momment .time-checkmark {
  align-items: center;
  display: flex;
  height: 18px;
  justify-content: center;
  margin-top: 1px;
  width: 18px;
  background: #fff;
  border: 1.5px solid #aaa49b;
  border-radius: 5px;
}

#tab-Momment .time-preference input:checked + .time-checkmark {
  background: var(--wizard-ink);
  border-color: var(--wizard-ink);
}

#tab-Momment .time-preference input:checked + .time-checkmark::after {
  color: #fff;
  content: "✓";
  font-size: 11px;
  font-weight: 800;
}

#tab-Momment .time-preference input:focus-visible + .time-checkmark {
  outline: 2px solid rgba(194,148,69,.35);
  outline-offset: 2px;
}

#tab-Momment .time-preference strong,
#tab-Momment .time-preference small {
  display: block;
}

#tab-Momment .time-preference strong {
  font-size: 11px;
  line-height: 1.35;
}

#tab-Momment .time-preference small {
  margin-top: 2px;
  color: #817c76;
  font-size: 9px;
  font-weight: 500;
  line-height: 1.4;
}

#tab-Momment .time-preference.is-disabled {
  color: #aaa6a0;
  background: #f8f7f5;
  cursor: not-allowed;
}

@media (max-width: 480px) {
  #tab-Momment .time-select-group {
    gap: 6px;
    grid-template-columns: minmax(60px,1fr) auto minmax(64px,1fr) minmax(72px,.9fr);
    padding: 7px;
  }
  #tab-Momment .time-select-field select { min-height: 40px; padding-left: 8px; }
}

.poster_image .planet {
  transition: left .95s cubic-bezier(.22,.8,.28,1), top .95s cubic-bezier(.22,.8,.28,1), filter .25s ease;
}

.solar-system-container.alignment-refreshing .poster_image .planet {
  animation: pd-planet-adjust 1.45s cubic-bezier(.22,.72,.25,1) both;
  will-change: transform, filter;
}

.poster_image #mercury { --pd-drift-x: 1.15vmin; --pd-drift-y: -.55vmin; }
.poster_image #venus   { --pd-drift-x: -.95vmin; --pd-drift-y: .75vmin; }
.poster_image #earth   { --pd-drift-x: 1.05vmin; --pd-drift-y: .55vmin; }
.poster_image #mars    { --pd-drift-x: -.85vmin; --pd-drift-y: -.8vmin; }
.poster_image #jupiter { --pd-drift-x: 1.2vmin; --pd-drift-y: -.7vmin; }
.poster_image #saturn  { --pd-drift-x: -.95vmin; --pd-drift-y: .65vmin; }
.poster_image #uranus  { --pd-drift-x: .8vmin; --pd-drift-y: .8vmin; }
.poster_image #neptune { --pd-drift-x: -1vmin; --pd-drift-y: -.6vmin; }
.poster_image #pluto   { --pd-drift-x: .75vmin; --pd-drift-y: -.9vmin; }

.solar-system-container.alignment-refreshing .poster_image #venus { animation-delay: 35ms; }
.solar-system-container.alignment-refreshing .poster_image #earth { animation-delay: 70ms; }
.solar-system-container.alignment-refreshing .poster_image #mars { animation-delay: 105ms; }
.solar-system-container.alignment-refreshing .poster_image #jupiter { animation-delay: 140ms; }
.solar-system-container.alignment-refreshing .poster_image #saturn { animation-delay: 175ms; }
.solar-system-container.alignment-refreshing .poster_image #uranus { animation-delay: 210ms; }
.solar-system-container.alignment-refreshing .poster_image #neptune { animation-delay: 245ms; }
.solar-system-container.alignment-refreshing .poster_image #pluto { animation-delay: 280ms; }

@keyframes pd-feedback-spin {
  to { transform: rotate(360deg); }
}

@keyframes pd-planet-adjust {
  0% { transform: translate3d(0,0,0) scale(1); filter: none; }
  34% { transform: translate3d(var(--pd-drift-x),var(--pd-drift-y),0) scale(1.035); filter: brightness(1.14) drop-shadow(0 0 5px rgba(194,148,69,.5)); }
  68% { transform: translate3d(-.25vmin,.18vmin,0) scale(.99); filter: brightness(1.06); }
  100% { transform: translate3d(0,0,0) scale(1); filter: none; }
}

@media (prefers-reduced-motion: reduce) {
  .poster_image .planet { transition-duration: .01ms; }
  .solar-system-container.alignment-refreshing .poster_image .planet { animation: none; }
}

.action_btn .btn {
  color: #fff;
  background: var(--wizard-ink);
  border-color: var(--wizard-ink);
  box-shadow: 0 8px 18px rgba(21, 26, 42, .13);
}

.action_btn .btn:hover,
.action_btn .btn:focus-visible {
  color: #fff;
  background: #2d3345;
  border-color: #2d3345;
  box-shadow: 0 11px 22px rgba(21, 26, 42, .18);
}

.action_btn .btn.btn-default {
  color: var(--wizard-ink);
  background: #fff;
  border-color: var(--wizard-line);
  box-shadow: none;
}

/* Premium component rhythm: a small number of calm surfaces, clear hierarchy,
   and one gold accent rather than competing colours. */
.control_panel-section-tab {
  background: var(--wizard-paper);
}

.control_list-box {
  padding-right: 30px;
  padding-left: 30px;
  scrollbar-color: #cfd3dc transparent;
}

.widget_panel-heading {
  padding-top: 12px;
}

.widget_panel-heading .h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.035em;
}

.widget_panel-heading p {
  color: #565c6b;
  font-size: 13px;
  line-height: 1.55;
}

.title_md {
  color: #545a69;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}

.variation a.no_link {
  border-width: 1px;
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(21, 26, 42, .025);
}

.variation a.no_link img,
.variation a.no_link::after {
  border-radius: 15px;
}

.panel_on-off-list {
  min-height: 54px;
  padding: 8px 10px 8px 15px;
  border-radius: 12px;
}

.panel_on-off-img span {
  font-size: 12px;
  font-weight: 700;
}

.widget_panel-size .panel_size-label {
  border-width: 1px;
  border-radius: 12px;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.widget_panel-size .panel_size-label:hover {
  border-color: rgba(21, 26, 42, .25);
  box-shadow: 0 7px 16px rgba(21, 26, 42, .05);
  transform: translateY(-1px);
}

.panel_size-price {
  color: #fff !important;
  background: var(--wizard-ink);
  border-radius: 7px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .01em;
}

.action_btn {
  padding: 15px 30px 22px;
  box-shadow: 0 -10px 22px rgba(255, 255, 255, .94);
}

.action_btn .btn {
  min-height: 48px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
}

@media (max-width: 767px) {
  .control_list-box {
    padding-right: 18px;
    padding-left: 18px;
  }

  .action_btn {
    padding: 12px 18px 16px;
  }
}

/* The preview keeps its original viewport geometry so poster artwork never reflows. */
@media (min-width: 768px) {
  .preview_img-main {
    top: calc(var(--pd-customizer-header-height) + 16px) !important;
    height: 100% !important;
  }

  /* Bring the visual preview closer to the site header without changing the
     poster's own artwork or the dimensions used by the print generator. */
  .preview_img-main .solar-system-container {
    position: relative;
    top: -28px;
  }

  .control_panel { top: var(--pd-customizer-header-height) !important; }
  .control_panel-section-tab { height: calc(100vh - var(--pd-customizer-header-height)) !important; }
}

@media (max-width: 1100px) {
  .pd-customizer-navbar-inner { width: calc(100% - 38px); column-gap: 18px; }
  .pd-customizer-nav { gap: 22px; }
  .pd-customizer-brand-name { font-size: 24px; }
}

@media (max-width: 860px) {
  :root { --pd-customizer-header-height: 72px; }
  .pd-customizer-navbar-inner { width: calc(100% - 32px); grid-template-columns: auto 1fr auto; }
  .pd-customizer-nav { display: none; }
  .pd-customizer-actions { gap: 2px; }
  .pd-customizer-cta { display: none; }
  .pd-customizer-brand-name { font-size: 23px; }
  .pd-customizer-logo { transform: scale(.88); transform-origin: left center; }
}

@media (max-width: 767px) {
  .preview_img-main { top: calc(var(--pd-customizer-header-height) + 10px) !important; }
  .control_panel { top: auto !important; bottom: 0; }
}

@media (max-width: 560px) {
  :root { --pd-customizer-header-height: 68px; }
  .pd-customizer-navbar-inner { width: calc(100% - 26px); }
  .pd-customizer-brand { gap: 5px; }
  .pd-customizer-brand-name { font-size: 21px; }
  .pd-customizer-logo { width: 39px; transform: scale(.82); }
  .pd-customizer-icon { width: 34px; height: 34px; }
  .pd-customizer-actions .pd-customizer-icon:first-child { display: none; }
}
