/* Balmoral Chippy - Responsive Styles */
/* Mobile-first responsive design */

/* Preloader Responsive */
@media screen and (max-width: 768px) {
  .preloader-logo {
    width: 150px;
  }

  .preloader-spinner {
    width: 200px;
    height: 200px;
    border-width: 3px;
  }
}

/* Tablet and below (768px) */
@media screen and (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .logo img {
    height: 50px;
    max-width: 160px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .hero {
    min-height: 70vh;
  }

  .hero > .hero-content {
    padding: var(--spacing-xxl) var(--spacing-md);
    justify-content: center;
  }

  .hero-content {
    text-align: center;
  }

  .hero-content-wrapper {
    max-width: 100%;
    margin: 0 auto;
    padding: 1.5rem;
  }

  .hero-content-wrapper::before {
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }

  .hero h1 {
    font-size: 3rem;
    text-align: center;
  }

  .hero h1 .accent-line {
    margin-left: auto;
    margin-right: auto;
  }

  .hero p {
    font-size: 1.1rem;
    text-align: center;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .hero-cta .btn {
    width: 100%;
    max-width: 320px;
    padding: 1.25rem 2rem;
    font-size: 1rem;
  }

  .hero-cta-btn svg:first-child {
    display: none;
  }

  /* Navigation - Mobile */
  .mobile-menu-toggle {
    display: flex;
  }

  nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    background: var(--white);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, visibility 0.4s;
    z-index: 9999;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
  }

  nav .desktop-nav-wrapper {
    display: none !important;
  }

  .header-right-group {
    display: none !important;
  }

  nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .header-right-group {
    display: none !important;
  }

  .mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) var(--spacing-lg);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1;
    gap: var(--spacing-md);
  }

  .mobile-nav-logo {
    display: flex;
    align-items: center;
  }

  .mobile-nav-logo img {
    height: 45px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
  }

  .mobile-nav-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 48px;
    height: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    position: relative;
  }

  .mobile-nav-close span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-dark);
    transition: all var(--transition-base);
    transform-origin: center;
    position: absolute;
  }

  .mobile-nav-close span:nth-child(1) {
    transform: rotate(45deg);
  }

  .mobile-nav-close span:nth-child(2) {
    transform: rotate(-45deg);
  }

  .mobile-nav-close:hover span {
    background-color: var(--primary-color);
  }

  .mobile-nav-menu {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-xl) var(--spacing-md);
    gap: var(--spacing-xs);
  }

  .mobile-nav-menu li {
    width: 100%;
    max-width: 450px;
    opacity: 0;
    transform: translateY(-20px);
    animation: slideInDown 0.5s ease-out forwards;
  }

  .mobile-nav-menu.active li:nth-child(1) { animation-delay: 0.1s; }
  .mobile-nav-menu.active li:nth-child(2) { animation-delay: 0.15s; }
  .mobile-nav-menu.active li:nth-child(3) { animation-delay: 0.2s; }
  .mobile-nav-menu.active li:nth-child(4) { animation-delay: 0.25s; }
  .mobile-nav-menu.active li:nth-child(5) { animation-delay: 0.3s; }

  @keyframes slideInDown {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }


  .header-left {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    flex: 1;
  }

  .mobile-top-bar-tagline {
    display: block;
    flex: 1;
    text-align: center;
  }

  .mobile-top-bar-tagline p {
    font-size: 0.75rem;
    color: var(--text-light);
    letter-spacing: 0.3px;
    line-height: 1.3;
    margin: 0;
    text-align: center;
  }

  .mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md) var(--spacing-lg);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    gap: var(--spacing-md);
  }

  .mobile-nav-tagline-header {
    flex: 1;
    text-align: center;
  }

  .mobile-nav-tagline-header p {
    font-size: 0.75rem;
    color: var(--text-light);
    letter-spacing: 0.3px;
    line-height: 1.3;
    margin: 0;
    text-align: center;
  }

  .mobile-nav-menu a {
    display: block;
    padding: 1.25rem var(--spacing-lg);
    font-size: 1.1rem;
    letter-spacing: 1.5px;
    font-weight: 600;
    border-radius: 0;
    transition: all var(--transition-base);
    position: relative;
    background: transparent;
    min-height: 64px;
    color: var(--text-dark);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
  }

  .mobile-nav-menu li:last-child a {
    border-bottom: none;
  }



  .mobile-nav-menu a::after {
    display: none;
  }

  .mobile-nav-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid rgba(0, 0, 0, 0.1);
    transition: all var(--transition-base);
    text-decoration: none;
  }

  .social-link svg {
    width: 20px;
    height: 20px;
    fill: var(--text-dark);
    transition: all var(--transition-base);
  }

  .social-link:hover {
    border-color: var(--primary-color);
    background: rgba(196, 30, 58, 0.05);
    transform: translateY(-2px);
    text-decoration: none;
  }

  .social-link:hover svg {
    fill: var(--primary-color);
    transform: scale(1.1);
  }

  .mobile-nav-menu a:hover {
    background-color: transparent;
    color: var(--primary-color);
  }


  .mobile-nav-menu a.active {
    background-color: transparent;
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
  }

  .mobile-nav-menu a.active::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
  }


  .mobile-nav-footer {
    padding: var(--spacing-lg) var(--spacing-md);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    background: var(--white);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
  }

  .mobile-nav-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 1rem;
    background: rgba(44, 44, 44, 0.05);
    border-radius: 12px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all var(--transition-base);
    min-height: 56px;
  }

  .mobile-nav-phone:hover {
    background: rgba(44, 44, 44, 0.1);
    transform: translateY(-2px);
  }

  .phone-icon {
    font-size: 1.3rem;
  }

  .mobile-nav-order-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 56px;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
    position: relative;
    overflow: hidden;
  }

  .mobile-nav-order-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .mobile-nav-order-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1), height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .mobile-nav-order-btn:hover::before {
    left: 100%;
  }

  .mobile-nav-order-btn:hover::after {
    width: 300px;
    height: 300px;
  }

  .mobile-nav-order-btn:hover {
    background: var(--button-bg);
    color: var(--white);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
    text-decoration: none;
  }

  .mobile-nav-order-btn:active {
    transform: translateY(-2px) scale(1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  }

  /* Grid adjustments */
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  /* About section - stack on mobile */
  /* About section - stack on mobile */
  .section > .container > div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* Quick access bar - stack on mobile */
  .quick-access-content {
    flex-direction: column;
    gap: 1rem !important;
    padding: 0.75rem 0;
  }

  .quick-access-divider {
    display: none;
  }

  .quick-access-item {
    justify-content: center;
    text-align: center;
  }

  .quick-access-value {
    font-size: 0.8rem;
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: none;
  }

  .container {
    padding: 0 var(--spacing-sm);
  }

  .section {
    padding: var(--spacing-lg) var(--spacing-sm);
  }

  .btn {
    width: 100%;
    margin-bottom: var(--spacing-sm);
    min-height: 48px; /* Touch-friendly on mobile */
    font-size: 1rem; /* Prevent zoom on iOS */
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(196, 30, 58, 0.1);
  }
  
  /* Ensure all inputs are touch-friendly and prevent iOS zoom */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="password"],
  textarea,
  select {
    font-size: 16px !important; /* Prevents iOS zoom on focus */
    min-height: 48px;
    padding: 0.875rem 1rem;
    touch-action: manipulation;
  }
  
  /* Touch-friendly checkboxes and radio buttons */
  input[type="checkbox"],
  input[type="radio"] {
    min-width: 44px;
    min-height: 44px;
    touch-action: manipulation;
  }
  
  /* Better scrolling on mobile */
  * {
    -webkit-overflow-scrolling: touch;
  }
  
  /* Prevent text size adjustment on orientation change */
  html {
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }
  
  /* Prevent horizontal overflow */
  body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
  }
  
  /* Ensure images don't overflow */
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* Better table scrolling on mobile */
  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }
  
  /* Touch-friendly links */
  a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    touch-action: manipulation;
  }
  
  /* Better modal/overlay behavior on mobile */
  .modal,
  [class*="modal"],
  [class*="overlay"] {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

/* Small mobile (480px) */
@media screen and (max-width: 480px) {
  :root {
    --spacing-xxl: 2.5rem;
    --spacing-xl: 2rem;
  }

  .hero {
    min-height: 60vh;
  }

  .hero-subtitle {
    font-size: 0.75rem;
    letter-spacing: 2px;
    padding-left: 1.5rem;
  }

  .hero-subtitle::before {
    width: 1rem;
  }

  .hero h1 {
    font-size: 2.25rem;
    letter-spacing: -0.5px;
  }

  .hero h1 .accent-line {
    width: 60px;
    height: 3px;
  }

  .hero p {
    font-size: 1rem;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .logo img {
    height: 45px;
    max-width: 140px;
  }

  .mobile-nav-menu {
    padding: var(--spacing-lg) var(--spacing-sm);
  }

  .mobile-nav-menu a {
    font-size: 1rem;
    padding: 1.1rem var(--spacing-md);
  }

  .nav-icon {
    font-size: 1.3rem;
    width: 28px;
  }

  .mobile-nav-footer {
    padding: var(--spacing-md) var(--spacing-sm);
  }

  .card-content {
    padding: var(--spacing-sm);
  }
}

/* Desktop Navigation (1024px+) */
@media screen and (min-width: 1024px) {
  :root {
    --header-height: 80px;
  }

  .logo {
    height: 60px;
  }

  .logo img {
    height: 60px;
    max-width: 200px;
  }

  .mobile-menu-toggle {
    display: none;
  }

  .mobile-nav-header,
  .mobile-nav-footer,
  .mobile-nav-social,
  .mobile-nav-menu {
    display: none !important;
  }

  .desktop-nav-wrapper {
    display: flex !important;
  }

  .header-left {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    flex-shrink: 0;
    min-width: 200px;
  }

  .mobile-top-bar-tagline {
    display: none !important;
  }

  nav {
    display: flex !important;
    justify-content: center;
    align-items: center;
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: transparent;
    width: 100%;
    height: auto;
    overflow: visible;
  }

  .desktop-nav-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
    width: 100%;
    justify-content: center;
  }

  .desktop-nav-tagline {
    display: none;
  }

  .desktop-nav-tagline p {
    font-size: 0.7rem;
    color: var(--text-light);
    letter-spacing: 0.5px;
    margin: 0;
    white-space: nowrap;
    line-height: 1.4;
  }

  .desktop-nav-menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .header-right-group {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    flex-shrink: 0;
    min-width: 200px;
    justify-content: flex-end;
  }

  .desktop-nav-social {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin: 0;
  }

  .desktop-nav-social .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid rgba(0, 0, 0, 0.1);
    transition: all var(--transition-base);
    text-decoration: none;
  }

  .desktop-nav-social .social-link:hover {
    border-color: var(--primary-color);
    background: rgba(196, 30, 58, 0.05);
    transform: translateY(-2px);
    text-decoration: none;
  }

  .desktop-nav-social .social-link svg {
    width: 20px;
    height: 20px;
    fill: var(--text-dark);
    transition: all var(--transition-base);
  }

  .desktop-nav-social .social-link:hover svg {
    fill: var(--primary-color);
    transform: scale(1.1);
  }

  .header-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: var(--spacing-xl);
    padding: 0 var(--spacing-lg);
  }

  .desktop-nav-menu li {
    opacity: 1;
    transform: none;
    animation: none;
    width: auto;
    max-width: none;
  }

  .desktop-nav-menu a {
    color: var(--text-dark);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    padding: 0.625rem 1.5rem;
    display: block;
    position: relative;
    text-decoration: none;
    transition: all var(--transition-base);
    border-radius: 4px;
    white-space: nowrap;
  }

  .desktop-nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-base);
    border-radius: 2px;
  }

  .desktop-nav-menu a:hover {
    color: var(--primary-color);
    background: transparent;
  }

  .desktop-nav-menu a:hover::after {
    width: calc(100% - 2.5rem);
  }

  .desktop-nav-menu a.active {
    color: var(--primary-color);
    background: transparent;
  }

  .desktop-nav-menu a.active::after {
    width: calc(100% - 2.5rem);
  }

  .desktop-order-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-decoration: none !important;
    font-size: 0.875rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all var(--transition-base);
    white-space: nowrap;
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(196, 30, 58, 0.25);
  }

  .desktop-order-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .desktop-order-btn:hover::before {
    left: 100%;
  }

  .desktop-order-btn::after {
    content: '→';
    font-size: 1.1rem;
    line-height: 1;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    position: relative;
    z-index: 1;
  }

  .desktop-order-btn:hover {
    background: var(--button-bg);
    color: var(--white);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
    text-decoration: none !important;
  }

  .desktop-order-btn:hover::after {
    transform: translateX(6px);
  }

  .desktop-order-btn:active {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }
}

/* Large screens (1024px+) */
@media screen and (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Extra large screens (1440px+) */
@media screen and (min-width: 1440px) {
  :root {
    --max-width: 1400px;
  }
}

/* Print styles */
@media print {
  header,
  footer,
  .btn,
  nav {
    display: none;
  }

  .section {
    page-break-inside: avoid;
  }
}

/* Order Confirmation Responsive Styles */
@media screen and (max-width: 768px) {
  .receipt-modal {
    padding: 0.5rem;
    align-items: flex-start;
    padding-top: 0.5rem;
  }

  .receipt-modal-content {
    max-height: 98vh;
    max-width: 100%;
    border-radius: 12px;
  }

  .receipt-modal-header {
    padding: 1rem 1.25rem;
  }

  .receipt-modal-header h2 {
    font-size: 1.25rem;
  }

  .receipt-modal-body {
    padding: 1rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .order-confirmation-wrapper {
    padding: 0;
    max-width: 100%;
  }

  .order-confirmation-container {
    border-radius: 12px;
    border-width: 2px;
  }

  .order-confirmation-success-icon {
    padding: 1.5rem 1rem 1rem;
  }

  .order-confirmation-success-icon::after {
    bottom: -12px;
    border-left-width: 12px;
    border-right-width: 12px;
    border-top-width: 12px;
  }

  .success-icon-circle {
    width: 70px;
    height: 70px;
  }

  .success-icon-circle svg {
    width: 36px;
    height: 36px;
  }

  .order-confirmation-content {
    padding: 2rem 1rem 1rem;
  }

  .order-confirmation-main-title {
    font-size: 1.5rem;
    margin-bottom: 0.375rem;
  }

  .order-confirmation-subtitle {
    font-size: 0.9375rem;
    margin-bottom: 1rem;
  }

  .order-demo-badge {
    padding: 0.5rem 0.875rem;
    font-size: 0.75rem;
    margin-bottom: 1rem;
  }

  .order-number-card {
    padding: 1rem;
    margin-bottom: 1rem;
  }

  .order-number-display {
    font-size: 1.25rem;
    letter-spacing: 1px;
  }

  .order-status-message {
    padding: 0.75rem;
    font-size: 0.8125rem;
    margin-bottom: 1rem;
  }

  .order-email-info {
    font-size: 0.8125rem;
    padding: 0.625rem;
    margin-bottom: 1rem;
  }

  .order-production-card {
    padding: 1rem;
    margin-top: 1rem;
    margin-bottom: 0;
  }

  .order-production-heading {
    font-size: 0.9375rem;
    margin-bottom: 0.875rem;
  }

  .order-production-features {
    gap: 0.75rem;
  }

  .order-production-features li {
    font-size: 0.8125rem;
  }
}

@media screen and (max-width: 480px) {
  .receipt-modal {
    padding: 0.25rem;
    padding-top: 0.5rem;
  }

  .receipt-modal-content {
    max-height: 99vh;
    border-radius: 10px;
  }

  .receipt-modal-header {
    padding: 0.875rem 1rem;
  }

  .receipt-modal-header h2 {
    font-size: 1.125rem;
  }

  .receipt-modal-body {
    padding: 0.75rem;
  }

  .receipt-modal-footer {
    padding: 1rem;
  }

  .receipt-modal-footer .btn {
    min-width: auto;
    width: 100%;
  }

  .order-confirmation-wrapper {
    padding: 0;
    max-width: 100%;
  }

  .order-confirmation-container {
    border-radius: 10px;
    border-width: 2px;
  }

  .order-confirmation-success-icon {
    padding: 1.25rem 0.875rem 0.875rem;
  }

  .order-confirmation-success-icon::after {
    bottom: -10px;
    border-left-width: 10px;
    border-right-width: 10px;
    border-top-width: 10px;
  }

  .success-icon-circle {
    width: 60px;
    height: 60px;
  }

  .success-icon-circle svg {
    width: 30px;
    height: 30px;
  }

  .order-confirmation-content {
    padding: 1.75rem 0.875rem 0.875rem;
  }

  .order-confirmation-main-title {
    font-size: 1.375rem;
    margin-bottom: 0.25rem;
    line-height: 1.3;
  }

  .order-confirmation-subtitle {
    font-size: 0.875rem;
    margin-bottom: 0.875rem;
  }

  .order-demo-badge {
    padding: 0.4375rem 0.75rem;
    font-size: 0.6875rem;
    margin-bottom: 0.875rem;
    gap: 0.375rem;
  }

  .order-demo-badge svg {
    width: 12px;
    height: 12px;
  }

  .order-number-card {
    padding: 0.875rem;
    margin-bottom: 0.875rem;
    border-radius: 10px;
  }

  .order-number-label {
    font-size: 0.6875rem;
    margin-bottom: 0.375rem;
  }

  .order-number-display {
    font-size: 1.125rem;
    letter-spacing: 0.5px;
    word-break: break-all;
  }

  .order-status-message {
    padding: 0.625rem;
    font-size: 0.75rem;
    margin-bottom: 0.875rem;
    gap: 0.5rem;
    line-height: 1.5;
  }

  .order-status-message svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }

  .order-email-info {
    font-size: 0.75rem;
    padding: 0.5rem;
    margin-bottom: 0.875rem;
    gap: 0.4375rem;
    flex-wrap: wrap;
    text-align: center;
    line-height: 1.4;
  }

  .order-email-info svg {
    width: 14px;
    height: 14px;
  }

  .order-production-card {
    padding: 1rem;
    margin-top: 0.875rem;
    margin-bottom: 0;
    border-radius: 10px;
  }

  .order-production-heading {
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    gap: 0.5rem;
  }

  .order-production-heading svg {
    width: 16px;
    height: 16px;
  }

  .order-production-features {
    gap: 0.625rem;
  }

  .order-production-features li {
    font-size: 0.75rem;
    gap: 0.625rem;
    line-height: 1.5;
  }

  .order-production-features li svg {
    width: 12px;
    height: 12px;
    margin-top: 2px;
    flex-shrink: 0;
  }

  .order-close-btn {
    padding: 0.875rem;
    font-size: 0.9375rem;
    min-height: 44px;
    width: 100%;
  }

  /* Ensure the info box at bottom also fits */
  .order-confirmation-content > div[style*="margin-top: 1.5rem"] {
    margin-top: 0.875rem !important;
    padding: 0.75rem !important;
    font-size: 0.8125rem !important;
  }

  .order-confirmation-content > div[style*="margin-top: 1.5rem"] p {
    font-size: 0.75rem !important;
    line-height: 1.5 !important;
    margin: 0.375rem 0 0 0 !important;
  }

  .order-confirmation-content > div[style*="margin-top: 1.5rem"] p:first-child {
    font-size: 0.8125rem !important;
  }
}
