/* ================================
   Out Of The Box Printer - Styles
   ================================ */

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #2c5f8a;
  --primary-dark: #1a3a5c;
  --primary-light: #3a7cbd;
  --accent: #e74c3c;
  --accent-dark: #c0392b;
  --green: #5cb85c;
  --text-dark: #333;
  --text-medium: #555;
  --text-light: #7d7d7d;
  --bg-light: #f8f9fa;
  --bg-white: #fff;
  --border: #ddd;
  --shadow: 0 2px 8px rgba(0,0,0,0.1);
  --shadow-lg: 0 4px 20px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-sm: 4px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background: var(--bg-white);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.btn-accent {
  background: var(--primary);
  color: #fff;
}

.btn-accent:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-full {
  width: 100%;
}

/* ================================
   Top Bar
   ================================ */
.top-bar {
  background: var(--primary-dark);
  color: #fff;
  font-size: 0.85rem;
  padding: 8px 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-bar-left .phone-link {
  color: #fff;
  font-weight: 600;
}

.top-bar-left .phone-link:hover {
  color: #f8d7da;
}

.top-bar-left .separator {
  opacity: 0.5;
}

.top-bar-left .address {
  opacity: 0.85;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-bar-right a {
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
}

.top-bar-right a:hover {
  color: #fff;
}

.top-bar-right .login-link,
.top-bar-right .cart-link {
  font-weight: 600;
  color: #fff;
}

/* ================================
   Header & Navigation
   ================================ */
.header {
  background: var(--bg-white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
}

.logo img {
  height: 55px;
  width: auto;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 0;
}

.nav-item > a {
  display: block;
  padding: 18px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  position: relative;
}

.nav-item > a:hover {
  color: var(--primary);
}

.nav-item > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.nav-item > a:hover::after {
  transform: scaleX(1);
}

/* Dropdowns */
.has-dropdown {
  position: relative;
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-white);
  min-width: 250px;
  box-shadow: var(--shadow-lg);
  border-radius: 0 0 var(--radius) var(--radius);
  border-top: 3px solid var(--primary);
  list-style: none;
  z-index: 100;
}

.has-dropdown:hover .dropdown {
  display: block;
  animation: fadeDown 0.2s ease;
}

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

.dropdown li a {
  display: block;
  padding: 10px 20px;
  font-size: 0.9rem;
  color: var(--text-medium);
  border-bottom: 1px solid #f0f0f0;
  transition: all var(--transition);
}

.dropdown li:last-child a {
  border-bottom: none;
}

.dropdown li a:hover {
  background: var(--bg-light);
  color: var(--primary);
  padding-left: 26px;
}

/* ================================
   Hero Carousel
   ================================ */
.hero-carousel {
  position: relative;
  overflow: hidden;
  height: 420px;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s ease;
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}

.slide-content {
  max-width: 700px;
  padding: 20px;
  animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.slide-content h1 {
  font-family: 'Roboto', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.slide-content p {
  font-size: 1.25rem;
  margin-bottom: 24px;
  opacity: 0.9;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  color: #fff;
  border: none;
  font-size: 2.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  backdrop-filter: blur(4px);
}

.carousel-btn:hover {
  background: rgba(255,255,255,0.4);
}

.carousel-btn.prev { left: 20px; }
.carousel-btn.next { right: 20px; }

.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background var(--transition);
}

.dot.active {
  background: #fff;
}

/* ================================
   Pickup Banner
   ================================ */
.pickup-banner {
  background: var(--green);
  color: #fff;
  text-align: center;
  padding: 14px 0;
  font-size: 1.05rem;
}

.pickup-banner strong {
  font-weight: 700;
}

/* ================================
   Products Section
   ================================ */
.products-section {
  padding: 60px 0;
  background: var(--bg-light);
}

.section-title {
  text-align: center;
  font-family: 'Roboto', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 40px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary);
  margin: 12px auto 0;
  border-radius: 2px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  display: block;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-image {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.product-icon svg {
  width: 80px;
  height: 80px;
}

.product-info {
  padding: 16px;
  text-align: center;
}

.product-info h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
}

/* ================================
   Design Services Section
   ================================ */
.design-services {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
}

.design-services-content {
  display: flex;
  align-items: center;
  gap: 60px;
}

.design-text {
  flex: 1;
}

.design-text h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.design-text .highlight {
  color: #f1c40f;
}

.design-price {
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.design-price strong {
  font-size: 2rem;
  color: #f1c40f;
}

.design-text p {
  margin-bottom: 20px;
  opacity: 0.9;
  line-height: 1.7;
}

.design-text .btn-accent {
  background: #f1c40f;
  color: var(--primary-dark);
}

.design-text .btn-accent:hover {
  background: #f39c12;
}

.design-graphic {
  flex: 0 0 300px;
}

.design-graphic svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2));
}

/* ================================
   Services Section
   ================================ */
.services-section {
  padding: 60px 0;
  background: var(--bg-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.service-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.service-icon {
  margin-bottom: 16px;
}

.service-icon svg {
  width: 48px;
  height: 48px;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ================================
   Contact Section
   ================================ */
.contact-section {
  padding: 60px 0;
  background: var(--bg-light);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.contact-info > p {
  color: var(--text-medium);
  margin-bottom: 24px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.contact-item a,
.contact-item span {
  color: var(--text-dark);
  font-size: 0.95rem;
}

.contact-item a:hover {
  color: var(--primary);
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-light);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.social-links a:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.social-links a:hover svg {
  fill: #fff;
  stroke: #fff;
}

/* Contact Form */
.contact-form {
  background: var(--bg-white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-medium);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color var(--transition);
  background: var(--bg-white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(44, 95, 138, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form .btn-primary {
  margin-top: 8px;
  padding: 14px;
  font-size: 1rem;
}

/* ================================
   Footer
   ================================ */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  padding: 48px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 32px;
}

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a,
.footer-col p,
.footer-col p a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-col ul li a:hover,
.footer-col p a:hover {
  color: #fff;
}

.footer-col p {
  margin-bottom: 8px;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  transition: background var(--transition);
}

.footer-social a:hover {
  background: rgba(255,255,255,0.25);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.footer-links a:hover {
  color: #fff;
}

/* ================================
   Responsive Design
   ================================ */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .design-services-content {
    flex-direction: column;
    text-align: center;
  }

  .design-graphic {
    flex: 0 0 auto;
    max-width: 280px;
  }
}

@media (max-width: 768px) {
  .top-bar-left .address {
    display: none;
  }

  .top-bar-right {
    gap: 12px;
  }

  .top-bar-right a:not(.login-link):not(.cart-link) {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }

  .main-nav.active {
    display: block;
  }

  .nav-list {
    flex-direction: column;
  }

  .nav-item > a {
    padding: 14px 20px;
    border-bottom: 1px solid #f0f0f0;
  }

  .nav-item > a::after {
    display: none;
  }

  .dropdown {
    position: static;
    box-shadow: none;
    border-top: none;
    border-radius: 0;
    background: var(--bg-light);
  }

  .has-dropdown:hover .dropdown {
    display: none;
  }

  .has-dropdown.open .dropdown {
    display: block;
  }

  .hero-carousel {
    height: 320px;
  }

  .slide-content h1 {
    font-size: 1.8rem;
  }

  .slide-content p {
    font-size: 1rem;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .product-image {
    height: 140px;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .section-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .product-image {
    height: 120px;
  }

  .product-icon svg {
    width: 60px;
    height: 60px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero-carousel {
    height: 280px;
  }

  .slide-content h1 {
    font-size: 1.5rem;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 1.8rem;
  }

  .contact-form {
    padding: 24px 16px;
  }
}

/* ================================
   Alerts / Flash Messages
   ================================ */
.alert {
  padding: 12px 0;
  font-size: 0.9rem;
}

.alert-success {
  background: #d4edda;
  color: #155724;
}

.alert-error {
  background: #f8d7da;
  color: #721c24;
}

/* ================================
   Auth Pages
   ================================ */
.auth-page {
  padding: 60px 0;
  background: var(--bg-light);
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 40px;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.auth-card h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 1.6rem;
  margin-bottom: 24px;
  text-align: center;
  color: var(--text-dark);
}

.auth-card .btn-primary {
  width: 100%;
  padding: 14px;
  margin-top: 8px;
}

.auth-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-light);
}

.auth-footer a {
  color: var(--primary);
  font-weight: 600;
}

.remember-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.remember-row label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.remember-row a {
  color: var(--primary);
}

/* ================================
   Page Hero Banner
   ================================ */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 40px 0;
  text-align: center;
}

.page-hero h1 {
  font-family: 'Roboto', sans-serif;
  font-size: 2rem;
  font-weight: 700;
}

.page-hero p {
  opacity: 0.9;
  margin-top: 8px;
}

/* ================================
   Breadcrumb
   ================================ */
.breadcrumb {
  padding: 12px 0;
  font-size: 0.85rem;
  color: var(--text-light);
}

.breadcrumb a {
  color: var(--primary);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* ================================
   Design Upload Zone
   ================================ */
.upload-area {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--bg-light);
}

.upload-area:hover,
.upload-area.drag-over {
  border-color: var(--primary);
  background: #e8f0fe;
}

.upload-area.uploading {
  opacity: 0.6;
  pointer-events: none;
}

.upload-input {
  display: none;
}

.upload-text {
  font-weight: 600;
  margin: 12px 0 4px;
  color: var(--text-dark);
}

.upload-subtext {
  color: var(--text-light);
  font-size: 0.9rem;
}

.upload-formats {
  color: var(--text-light);
  font-size: 0.8rem;
  margin-top: 8px;
}

.upload-preview {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px;
  background: var(--bg-light);
  border-radius: var(--radius);
  margin-top: 12px;
}

.preview-thumb {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.file-icon {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary);
}

.preview-info {
  flex: 1;
}

.preview-name {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
}

.preview-size {
  display: block;
  color: var(--text-light);
  font-size: 0.8rem;
}

.preview-remove {
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 4px;
}

.upload-label {
  margin: 16px 0 8px;
  font-weight: 600;
  font-size: 0.95rem;
}

.size-guide {
  margin-top: 16px;
  padding: 16px;
  background: #e8f0fe;
  border-radius: var(--radius);
  border: 1px solid #c8d8e8;
}

.size-guide h4 {
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: var(--primary);
}

.guide-specs {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.guide-item {
  font-size: 0.85rem;
}

.guide-note {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 4px;
}

/* ================================
   Status Badges
   ================================ */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.badge-placed { background: #e8f0fe; color: #2c5f8a; }
.badge-paid { background: #d4edda; color: #155724; }
.badge-in_production { background: #fff3cd; color: #856404; }
.badge-ready { background: #e8daef; color: #6c3483; }
.badge-completed { background: #d5f5e3; color: #1e8449; }
.badge-cancelled { background: #fadbd8; color: #c0392b; }

/* ================================
   Order Status Timeline
   ================================ */
.status-timeline {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  position: relative;
}

.status-timeline::before {
  content: '';
  position: absolute;
  top: 38px;
  left: 60px;
  right: 60px;
  height: 3px;
  background: var(--border);
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.timeline-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: #fff;
}

.timeline-step.completed .timeline-dot {
  background: var(--green);
}

.timeline-step.active .timeline-dot {
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(44, 95, 138, 0.2);
}

.timeline-label {
  font-size: 0.75rem;
  color: var(--text-light);
  text-align: center;
}

.timeline-step.completed .timeline-label,
.timeline-step.active .timeline-label {
  color: var(--text-dark);
  font-weight: 600;
}

/* ================================
   Quantity Breaks Table
   ================================ */
.qty-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin: 12px 0;
}

.qty-table th {
  background: var(--bg-light);
  padding: 8px 12px;
  text-align: left;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--text-medium);
  border-bottom: 2px solid var(--border);
}

.qty-table td {
  padding: 8px 12px;
  border-bottom: 1px solid #f0f0f0;
}

.qty-table tr:hover,
.qty-table tr.active-row {
  background: #e8f0fe;
}

.qty-table tr.active-row {
  font-weight: 600;
}

/* ================================
   Price Display
   ================================ */
.price-display {
  padding: 20px;
  background: #e8f0fe;
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  text-align: center;
  margin: 20px 0;
  transition: all 0.3s;
}

.price-display.price-updated {
  background: #d4edda;
  border-color: var(--green);
}

.price-amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  font-family: 'Roboto', sans-serif;
}

.unit-price {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 4px;
}

/* ================================
   Product Detail Page
   ================================ */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 40px 0;
}

.product-image-area {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  position: sticky;
  top: 100px;
  align-self: start;
}

.product-image-area svg {
  width: 200px;
  height: 200px;
}

.product-config {
  padding: 0;
}

.product-config h1 {
  font-family: 'Roboto', sans-serif;
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.product-config .product-desc {
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 1.7;
}

.config-section {
  margin-bottom: 20px;
}

.config-section label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.config-section select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--bg-white);
  cursor: pointer;
}

.config-section select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(44, 95, 138, 0.1);
}

.sides-options {
  display: flex;
  gap: 12px;
}

.side-option {
  flex: 1;
  position: relative;
}

.side-option input {
  position: absolute;
  opacity: 0;
}

.side-option label {
  display: block;
  padding: 12px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  font-weight: 500;
}

.side-option input:checked + label {
  border-color: var(--primary);
  background: #e8f0fe;
  color: var(--primary);
}

/* Button styles for outline and secondary */
.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 10px 24px;
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

/* ================================
   Cart Page
   ================================ */
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 12px;
}

.cart-item-info {
  flex: 1;
}

.cart-item-info h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.cart-item-info .item-specs {
  font-size: 0.85rem;
  color: var(--text-light);
}

.cart-item-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  padding: 0 20px;
}

.cart-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-top: 20px;
}

.cart-total {
  font-size: 1.4rem;
  font-weight: 700;
}

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

/* ================================
   Checkout Page
   ================================ */
.checkout-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  padding: 40px 0;
}

.order-summary-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  position: sticky;
  top: 100px;
  align-self: start;
}

.order-summary-card h3 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.summary-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.9rem;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  font-weight: 700;
  font-size: 1.1rem;
  border-top: 2px solid var(--text-dark);
  margin-top: 8px;
}

/* ================================
   Blog
   ================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  padding: 40px 0;
}

.blog-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.blog-card-image {
  height: 200px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-body {
  padding: 20px;
}

.blog-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.blog-card-body h3 a {
  color: var(--text-dark);
}

.blog-card-body h3 a:hover {
  color: var(--primary);
}

.blog-card-meta {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 8px;
}

.blog-card-body p {
  font-size: 0.9rem;
  color: var(--text-medium);
  line-height: 1.6;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 20px 0 40px;
}

.pagination a {
  padding: 8px 16px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.pagination a:hover {
  background: var(--primary-dark);
}

.pagination span {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ================================
   Responsive additions
   ================================ */
@media (max-width: 768px) {
  .product-detail {
    grid-template-columns: 1fr;
  }

  .product-image-area {
    position: static;
    min-height: 250px;
  }

  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .order-summary-card {
    position: static;
  }

  .cart-item {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .cart-summary {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .sides-options {
    flex-direction: column;
  }

  .status-timeline {
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }
}
