:root {
  --ink: #0b1d3a;
  --ink-soft: #4a5d7e;
  --surface: #f5f8fc;
  --surface-2: #ffffff;
  --line: #d1d9e7;
  --brand: #e62227; /* Logo Red */
  --brand-blue: #1c4596; /* Logo Navy */
  --brand-yellow: #fecb00; /* Logo Yellow */
  --shadow: 0 14px 35px rgba(28, 69, 150, 0.12);
}

* {
  box-sizing: border-box;
}


body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: linear-gradient(135deg, #e6f0ff 0%, #ffffff 50%, #f0f7ff 100%);
  overflow-x: hidden;
}

.layout {
  width: min(1080px, 92vw);
  margin: 0 auto;
  padding: 6rem 0 3.5rem; /* Increased top padding by another ~20px (total 40px move) */
  position: relative;
  z-index: 1;
}

/* Top Navigation */
.top-nav {
  width: 100%;
  padding: 0.8rem 0;
  border-bottom: 2px solid var(--brand-blue);
  background: #febb06;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.nav-container {
  width: min(1080px, 92vw);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.nav-logo {
  height: 180px; /* Even bigger */
  width: auto;
  display: block;
  position: absolute;
  top: -20px; /* Pull it slightly above the nav line */
  left: 0;
  filter: drop-shadow(0 3px 3px rgba(0,0,0,0.85)); /* Crisper, less blurry shadow */
  z-index: 1000; /* Ensure it stays above everything */
  pointer-events: none;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  width: 280px; /* Space for the bigger logo */
  height: 60px;
  position: relative;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--brand-blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.2s ease;
  padding: 0.4rem 0.2rem;
  border-bottom: 2px solid transparent;
}

.nav-link:hover {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

.hero {
  max-width: 760px;
  animation: rise-in 520ms ease both;
}

.eyebrow {
  margin: 0 0 0.5rem 0;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-blue);
  font-weight: 800;
}

h1 {
  margin: 0.5rem 0 0.9rem;
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  line-height: 1;
  font-weight: 900;
  font-style: italic; /* Mimicking logo slant */
}

/* Google Autocomplete Styling Fix */
.pac-container {
  z-index: 9999 !important;
  border-radius: 12px !important;
  margin-top: 4px !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
  border: none !important;
  font-family: inherit !important;
}

.pac-item {
  padding: 10px 14px !important;
  cursor: pointer !important;
}

.pac-item:hover {
  background-color: var(--surface) !important;
}

.lead {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.6;
}

.panel {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 1.5rem;
  align-items: start;
}

.requirements-wrapper {
  position: relative;
  margin-top: 4rem; /* Reduced space between hero and requirements */
}

.peeking-image {
  position: absolute;
  top: -280px; /* Adjusted peek height for 400px image */
  right: 0px; /* Shifted further right to avoid crowding text */
  height: 400px;
  width: auto;
  z-index: -1;
  pointer-events: none;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.1));
}

.requirements {
  padding: 1.25rem 1.5rem;
  background: white;
  border: 1px solid var(--line);
  border-left: 6px solid var(--brand-yellow);
  border-radius: 14px;
  box-shadow: var(--shadow);
  animation: rise-in 540ms ease both;
  position: relative; /* Ensure it stays on top of the image */
  z-index: 1;
}

.requirements h2 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--brand-blue);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.requirements ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: #33415a;
  display: grid;
  gap: 0.5rem;
}

.upload-form {
  background: color-mix(in srgb, var(--surface-2) 92%, #ffffff 8%);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 1.5rem;
  animation: rise-in 560ms ease both;
}

.sidebar {
  position: sticky;
  top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  animation: rise-in 620ms ease both;
}

.pricing-card,
.summary {
  background: white;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  font-size: 0.9rem;
}

.pricing-card h2,
.summary h2 {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--brand-blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 800;
  border-bottom: 2px solid #f0f4f9;
  padding-bottom: 0.75rem;
}

.row {
  display: grid;
  gap: 0.9rem;
  align-items: start;
  margin-bottom: 0.8rem;
}

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

.field {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  font-size: 0.92rem;
}

.field span {
  display: inline-block;
  font-weight: 800;
  color: var(--brand-blue);
  line-height: 1.2;
  margin: 0;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
}

.field input,
.field select,
.field textarea {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fdfdff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(28, 69, 150, 0.1);
  outline: none;
}

.form-divider {
  margin: 3rem 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--brand-blue);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
}

.form-divider::before,
.form-divider::after {
  content: "";
  height: 2px;
  background: var(--brand-blue);
  opacity: 0.15;
  flex: 1;
}

.artwork-items {
  display: grid;
  gap: 2rem;
}

.artwork-item {
  padding: 1.5rem;
  background: white;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.artwork-item:hover {
  border-color: var(--brand-blue);
}

/* Advanced options container styling */
.advanced-control {
  margin-top: 0.8rem;
  padding: 0.8rem;
  background: linear-gradient(180deg, rgba(254,203,0,0.10) 0%, rgba(254,203,0,0.04) 100%);
  border: 1px solid rgba(254,203,0,0.12);
  border-left: 4px solid rgba(254,203,0,0.22);
  border-radius: 12px;
}

.advanced-control .advanced-toggle {
  display: inline-block;
  font-weight: 800;
  color: var(--brand-blue);
}

.advanced-control .advanced-options {
  margin-top: 8px;
  padding-top: 6px;
}

/* Visual indicator for card errors inside Square card container */
#card-container.card-error {
  border: 2px solid rgba(230,34,39,0.22);
  box-shadow: 0 6px 18px rgba(230,34,39,0.08);
  border-radius: 10px;
}

.item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid #f0f4f9;
}

.item-head h2 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--brand-blue);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.remove-artwork {
  border: 1px solid #ffcfcf;
  border-radius: 999px;
  background: #fffafa;
  color: #c92a2a;
  padding: 0.4rem 1rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.remove-artwork:hover,
.remove-artwork:focus-visible {
  background: #c92a2a;
  color: white;
  border-color: #c92a2a;
}

.item-status {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.85rem;
  flex-basis: 100%;
}

.item-status.is-error {
  color: #b02c2c;
}

.item-status.is-success {
  color: #0b7f4a;
}

.field-help {
  color: #667b92;
  font-size: 0.82rem;
}

.required-mark {
  color: #cf2d2d;
}

input,
select,
textarea {
  border: 1px solid #c8d4e5;
  border-radius: 12px;
  padding: 0.5rem 0.75rem;
  font-size: 0.97rem;
  color: var(--ink);
  background: #fbfdff;
  background-repeat: no-repeat !important; /* Prevents icons like Google Maps errors or 1Password from tiling */
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(15, 127, 203, 0.14);
  outline: none;
}

.form-tools {
  grid-template-columns: minmax(120px, 0.7fr) minmax(180px, 1fr);
  align-items: start;
}

.field-upload {
  min-width: 0;
  margin-top: 0.85rem;
}

.drop-zone {
  border: 1.5px dashed #8db7df;
  border-radius: 14px;
  background: linear-gradient(165deg, #f0f7ff 0%, #f8fffb 100%);
  position: relative;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.drop-zone input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.drop-zone.is-over {
  border-color: var(--brand-yellow);
  background: rgba(254, 203, 0, 0.08);
}

.drop-copy {
  margin: 0;
  text-align: center;
  color: #476280;
}

.drop-copy small {
  display: block;
  margin-top: 0.25rem;
  color: #67819a;
}

.item-review-opt {
  margin-top: 1rem;
  padding: 0.8rem;
  background: #f8fbff;
  border: 1px solid #e1e9f4;
  border-radius: 10px;
}

.rush-order-box {
  margin: 2.5rem 0;
  padding: 1.5rem;
  background: #fffcf0;
  border: 1px solid #f9e6a0;
  border-left: 6px solid var(--brand-yellow);
  border-radius: 14px;
  box-shadow: 0 4px 15px rgba(214, 184, 0, 0.1);
}

.fulfillment-section {
  padding: 1.5rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-top: 1rem;
}

.checkbox-field {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 0.8rem;
  align-items: start;
  cursor: pointer;
}

.checkbox-field input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--brand);
  margin-top: 2px;
}

.checkbox-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: #1a1f2e;
  font-size: 0.92rem;
}

.checkbox-desc {
  margin: 0;
  font-size: 0.82rem;
  color: #667b92;
}

/* Tooltip Styles */
.info-trigger {
  position: relative;
  display: inline-flex;
  color: var(--brand) !important;
  cursor: help;
}

.info-tooltip {
  visibility: hidden;
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  background: #1a1f2e;
  color: #ffffff !important;
  text-align: center;
  padding: 0.7rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 400 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  line-height: 1.4;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.2s, visibility 0.2s;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.info-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #1a1f2e transparent transparent transparent;
}

.info-trigger:hover .info-tooltip {
  visibility: visible;
  opacity: 1;
}

.artwork-gallery {
  margin: 2rem 0;
  padding: 0.5rem 1rem 1.5rem;
  background: #fbfdff;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 1.25rem;
  padding-top: 0.5rem;
}

.gallery-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  animation: scale-up 300ms ease both;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #fff;
  border: 1px solid #e1e9f4;
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
  transition: transform 0.2s ease;
}

.gallery-item img:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.05);
}

.gallery-item span {
  font-size: 0.78rem;
  font-weight: 600;
  color: #5b6478;
  text-align: center;
  word-break: break-all;
}

@keyframes scale-up {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.actions {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.item-actions {
  margin-top: 1rem;
}

.fulfillment-section {
  margin-top: 0.8rem;
}

.field-label {
  display: block;
  font-weight: 700;
  color: #33415a;
  margin-bottom: 0.7rem;
  font-size: 0.92rem;
}

.radio-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.radio-option {
  cursor: pointer;
  position: relative;
}

.radio-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-box {
  padding: 0.9rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfdff;
  transition: all 150ms ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.radio-option input[type="radio"]:checked + .radio-box {
  border-color: var(--brand);
  background: linear-gradient(165deg, #f0f7ff 0%, #f8fffb 100%);
  box-shadow: 0 4px 12px rgba(15, 127, 203, 0.12);
}

.radio-option input[type="radio"]:focus-visible + .radio-box {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.radio-title {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 0.2rem;
}

.radio-desc {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-soft);
  line-height: 1.3;
}

.radio-price {
  display: block;
  font-size: 0.75rem;
  font-style: italic;
  color: var(--ink-soft);
  margin-top: 0.25rem;
  opacity: 0.8;
}

.btn-primary {
  border: 0;
  border-radius: 999px;
  padding: 0.74rem 1.15rem;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(120deg, var(--brand), var(--brand-blue));
  font-weight: 700;
  transition: transform 120ms ease, box-shadow 120ms ease;
  box-shadow: 0 9px 22px rgba(230, 34, 39, 0.28);
}

.btn-secondary {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  background: white;
  color: var(--brand-blue);
  font-weight: 700;
  cursor: pointer;
}

.btn-secondary:disabled {
  cursor: not-allowed;
  color: #7d8ca0;
  background: #f0f3f8;
  border-color: var(--line);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 13px 24px rgba(230, 34, 39, 0.32);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary:disabled {
  background: #b8c0c8;
  box-shadow: none;
  cursor: not-allowed;
}

.btn-primary:disabled {
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  background: linear-gradient(120deg, #9fb0c4, #b8c5d4);
}

.status {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.93rem;
}

.status.is-error {
  color: #b02c2c;
}

.status.is-success {
  color: #0b7f4a;
}

.price-list {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.5rem;
}

.price-item[hidden],
.estimate-row[hidden],
[hidden] {
  display: none !important;
}

.price-item,
.estimate-row {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.price-item span,
.estimate-row span {
  color: #556680;
  font-size: 0.82rem;
}

.price-item strong,
.estimate-row strong {
  font-size: 0.88rem;
  color: var(--ink);
}

.estimate-box {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fbfdff;
  border-top: 3px solid var(--brand-blue);
}

.estimate-box .total {
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px dashed #d5e3ef;
}

.estimate-box .total span {
  font-weight: 800;
  color: var(--brand-blue);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.estimate-box .total strong {
  color: var(--brand);
  font-size: 1.25rem;
  font-weight: 900;
}

.file-meta {
  margin: 0.8rem 0 0;
  color: var(--ink-soft);
}

.item-meta {
  display: grid;
  gap: 0.15rem;
}

/* Custom Footer (The Customization Station Style) */
.site-footer {
  background: #ffffff;
  border-top: 1px solid #e1e9f4;
  padding: 4rem 0 0;
  margin-top: 5rem;
  color: #33415a;
}

#hester-footer {
  padding-bottom: 3rem;
}

.hester-container {
  width: min(1080px, 92vw);
  margin: 0 auto;
}

.hester-flex-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
}

.hester-footer-widget .h4.widget-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--brand-blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  position: relative;
}

.hester-footer-widget .h4.widget-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--brand-yellow);
}

.hester-custom-list-widget-desc p {
  font-size: 0.9rem;
  color: #667b92;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.hester-custom-list-widget-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.hester-custom-list-widget-item svg {
  color: var(--brand-yellow);
  flex-shrink: 0;
}

.hester-custom-list-widget-item .hester-entry {
  font-size: 0.9rem;
  color: #33415a;
  line-height: 1.5;
  white-space: pre-line;
}

.menu-services-container ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.menu-services-container a {
  text-decoration: none;
  color: #667b92;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.menu-services-container a:hover {
  color: var(--brand-blue);
}

#hester-copyright {
  border-top: 1px solid #f0f4f9;
  padding: 2rem 0;
  background: #fbfdff;
}

#hester-copyright .hester-flex-row {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.copyright-text {
  font-size: 0.85rem;
  color: #94a3b8;
}

.copyright-text a {
  color: var(--brand-blue);
  font-weight: 700;
  text-decoration: none;
}

.social-icons {
  display: flex;
  justify-content: flex-end;
  gap: 1.5rem;
}

.social-icons a {
  color: #94a3b8;
  transition: color 0.2s, transform 0.2s;
}

.social-icons a:hover {
  color: var(--brand-blue);
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  #hester-copyright .hester-flex-row {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }
  .social-icons {
    justify-content: center;
  }
}

.glow {
  position: fixed;
  z-index: 0;
  border-radius: 999px;
  opacity: 0.15;
  filter: blur(80px);
  pointer-events: none;
}

.glow-a {
  width: 600px;
  height: 600px;
  top: -150px;
  right: -150px;
  background: var(--brand-blue);
}

.glow-b {
  width: 500px;
  height: 500px;
  bottom: -150px;
  left: -150px;
  background: #00a2ff;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 920px) {
  .panel {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .nav-logo {
    height: 100px;
    top: -10px;
  }
  .logo-link {
    width: 160px;
    height: 48px;
  }
  .layout {
    padding-top: 4.9rem; /* Increased top padding by another ~20px */
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .form-tools {
    grid-template-columns: 1fr;
  }

  .radio-group {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   PREMIUM UI ENHANCEMENTS (Remove this block to revert)
   ========================================================================== */

:root {
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.4);
}

/* Glassmorphism for the Summary Sidebar */
.pricing-card,
.summary {
  background: var(--glass-bg) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05) !important;
}

/* Tactile Button Refinements */
.btn-primary {
  position: relative;
  overflow: hidden;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:active {
  transform: scale(0.96) translateY(1px);
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity 0.2s;
}

.btn-primary:hover::after {
  opacity: 1;
}

/* Smooth Form Card Transitions */
.artwork-item {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), 
              box-shadow 0.3s ease, 
              border-color 0.3s ease;
}

.artwork-item:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(28, 69, 150, 0.08);
  border-color: var(--brand-blue);
}

/* Print Quality Meter Styles */
.quality-meter {
  margin-top: 0.8rem;
  margin-bottom: 1.5rem;
  padding: 0.6rem;
  background: #f8fbff;
  border-radius: 10px;
  border: 1px solid #e1e9f4;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.meter-bar {
  flex: 1;
  height: 6px;
  background: #e1e9f4;
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}

.meter-fill {
  position: absolute;
  left: 0; top: 0; height: 100%;
  width: 0%;
  border-radius: 3px;
  transition: width 0.6s cubic-bezier(0.17, 0.67, 0.83, 0.67), background-color 0.3s;
}

.meter-label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  min-width: 80px;
}

/* Interactive States */
.upload-form:has(.artwork-item:focus-within) .fulfillment-section,
.upload-form:has(.artwork-item:focus-within) .rush-order-box {
  opacity: 0.6;
  filter: grayscale(0.2);
  transition: opacity 0.4s ease;
}

.upload-form .fulfillment-section:hover,
.upload-form .rush-order-box:hover {
  opacity: 1;
  filter: none;
}

/* Choke Slider Enhancements */
.choke-control {
  margin-top: 1.25rem;
  padding: 1rem;
  background: #f8fbff;
  border: 1px solid #e1e9f4;
  border-radius: 12px;
}

.choke-header {
  display: flex !important;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem !important;
}

.slider-container {
  padding: 0;
}

.slider-container input[type="range"] {
  width: 100%;
  cursor: pointer;
  accent-color: var(--brand-blue);
  height: 6px;
  background: #e1e9f4;
  border-radius: 3px;
  appearance: none;
  border: none;
  padding: 0;
  margin: 0;
}

.slider-container input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  background: #e1e9f4;
  border-radius: 3px;
}

.slider-container input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  background: var(--brand-blue);
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  margin-top: -6px;
  transition: transform 0.1s ease;
}

.slider-container input[type="range"]:active::-webkit-slider-thumb {
  transform: scale(1.15);
}

.slider-labels {
  display: flex;
  justify-content: center;
  margin-top: 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #667b92;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* Square Payment Modal */
.modal-content {
  animation: modal-slide 0.3s ease-out;
}

@keyframes modal-slide {
  from { transform: translateY(-30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

#card-container {
  min-height: 100px;
  margin: 1rem 0;
  padding: 1rem;
  border: 1px solid #e1e9f4;
  border-radius: 12px;
  background: #fbfdff;
}

#card-container:empty::after {
  content: "Loading Square payments...";
  font-size: 0.85rem;
  color: #667b92;
}

.close-modal:hover {
  color: var(--brand) !important;
}

#submitButton span {
  font-style: normal;
  font-weight: 500;
  margin-left: 0.4rem;
  opacity: 0.9;
}
