/* ========================================
   CHECKOUT PAGE STYLES - ORGANIZED
   ======================================== */

  html, body {
    overflow-x: hidden;
  }

/* ========================================
   GLOBAL STYLES
   ======================================== */

/* Main checkout container */
div.checkout {
  background-color: #fff;
}

div.checkout > .fb {
  background-color: #f5f5f5;
}

div.checkout .checkout-inbox,
div.checkout .order-summary-box {
  background-color: #fff;
}

/* div.checkout .order-summary-box {
  padding: 0;
} */

div.checkout .order-summary-box.complementary {
  padding: 0;
}

/* ========================================
   CHECKOUT GRID LAYOUT
   ======================================== */

.checkout-grid {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0 1.5rem;
  align-items: stretch;
}

/* ========================================
   STEP INDICATORS
   ======================================== */

.step {
  position: relative;
  top: 3rem;
  grid-column: 1;
  display: flex;
  align-items: top;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  margin: 0 auto;
  height: 100%;
  border: 1px solid;
  width: 2em;
  height: 2em;
  border-radius: 50%;
  line-height: 2em;
  text-align: center;
  background-color: #fff;
}

.step:hover {
  cursor: pointer;
}

.step-line {
  position: relative;
  top: 3rem;
  grid-column: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

.step-line::before {
  content: '';
  display: block;
  width: 2px;
  background: #ccc;
  height: calc(100% - 2rem);
  margin-top: 1rem;
}

.step-line.last-line::before {
  content: none;
}

.step-number-mobile {
  display: none;
}

/* ========================================
   CHECKOUT INBOX
   ======================================== */

.checkout-inbox {
  grid-column: 2;
  margin-bottom: 0;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: box-shadow 0.2s;
}

.checkout-inbox.collapsed .inbox-content {
  max-height: 0;
  padding: 0 1.2rem;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4,0,0.2,1), padding 0.2s;
}

.checkout-inbox.collapsed {
  box-shadow: none;
}

.checkout-inbox:not(.collapsed) {
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.inbox-header {
  padding: 1rem 1.2rem;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
}

.inbox-content {
  padding: 0 1.2rem 1rem 1.2rem;
  max-height: 1000px;
  transition: max-height 0.3s cubic-bezier(0.4,0,0.2,1), padding 0.2s;
}

/* ========================================
   FORM ELEMENTS
   ======================================== */

.form-group {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.3rem;
}

.form-group input,
.form-group select {
  width: 100%;
  height: 3rem;
  box-sizing: border-box;
  padding: 0.5rem 0.7rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1.3rem;
  font-family: inherit;
}

.form-row {
  display: flex;
  gap: 1rem;
}

.form-group.half {
  flex: 1;
  min-width: 0;
}

.form-group.half input {
  width: 100%;
}

/* Order message textarea */
.order-message-textarea {
  width: auto !important;
  min-height: 150px;
  resize: vertical;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: border-color 0.2s ease;
}

.order-message-textarea:focus {
  outline: none;
  border-color: #007cba;
  box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.2);
}

.order-message-textarea::placeholder {
  color: #999;
  font-style: italic;
}

/* ========================================
   CUSTOMER TYPE SELECTOR
   ======================================== */

.customer-type-box,
.customer-type-selector {
  margin-bottom: 2rem;
  padding: 1.2rem;
  border-radius: 4px;
}

.customer-tabs {
  display: flex;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #ddd;
}

.customer-tab {
  padding: 0.8rem 1.5rem;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-bottom: none;
  cursor: pointer;
  font-weight: 500;
  margin-right: 0.5rem;
  border-radius: 4px 4px 0 0;
  text-align: center;
  transition: background-color 0.2s, border-color 0.2s;
  user-select: none;
}

.customer-tab:hover {
  background: #f0f0f0;
}

.customer-tab.active {
  background: #fff;
  border-bottom: 1px solid #fff;
  margin-bottom: -1px;
}

.customer-content {
  display: none;
}

.customer-content.active {
  display: block;
}

/* Customer type messages */
.customer-type-message {
  margin-top: 1rem;
  padding: 0.8rem;
  border-radius: 4px;
  display: none;
}

.customer-type-message.success {
  background-color: #e7f5e9;
  color: #1e7e34;
  display: block;
}

.customer-type-message.error {
  background-color: #f8d7da;
  color: #721c24;
  display: block;
}

/* Billing info */
#billing_info {
  display: none;
}

/* ========================================
   CART LAYOUT - FLEXBOX BASED
   ======================================== */

/* Cart header with column titles */
.cart-header {
  display: grid;
  grid-template-columns: 3fr 0.8fr 0.8fr 0.8fr;
  gap: 1rem;
  padding: 1rem;
  background: linear-gradient(340deg, rgb(135, 133, 129) 0%, rgb(137, 132, 129) 100%);
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
}

.header-logo img {
  size: 40%;
}

.header-product {
  text-align: left;
  grid-row: 2;
}

.header-quantity {
  text-align: center;
  grid-row: 2;
}

.header-price,
.header-total {
  text-align: right;
  grid-row: 2;
}

/* Cart items container */
.cart-items-container {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: none;
  padding: 0;
  background: transparent;
}

/* Individual cart item */
.cart-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem;
  background: transparent;
  border: none;
  border-bottom: 1px solid #e9ecef;
  transition: all 0.2s ease;
  position: relative;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item:hover {
  background-color: #f8f9fa;
}

/* Desktop: Horizontal layout */
@media (min-width: 769px) {
  .cart-item {
    display: grid;
    grid-template-columns: 3fr 0.8fr 0.8fr 0.8fr;
    gap: 1rem;
    align-items: center;
  }

  /* Product info wrapper - contains both thumbnail and name side by side */
  .product-info {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .product-thumbnail {
    width: 75px;
    height: 75px;
    flex-shrink: 0;
  }

  .product-name {
    font-size: 1.1rem;
    font-weight: 500;
    flex: 1;
  }

  /* Other columns */
  .item-quantity {
    grid-column: 2;
    grid-row: 1;
  }

  .item-price {
    grid-column: 3;
    grid-row: 1;
  }

  .item-total {
    grid-column: 4;
    grid-row: 1;
  }

  /* Spec elements below the main row */
  .spec-toggle-container {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 0.5rem;
  }

  .specification-content {
    grid-column: 1 / -1;
    grid-row: 4;
  }
}

/* Product elements */
.product-thumbnail {
  flex-shrink: 0;
  width: 75px;
  height: 75px;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
}

.product-image-placeholder {
  width: 100%;
  height: 100%;
  background-color: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-text {
  font-size: 24px;
  color: #ccc;
}

.product-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.product-name {
  font-weight: 500;
  color: #333;
  line-height: 1.4;
  word-wrap: break-word;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

/* Specification toggle */
.spec-toggle-container {
  display: flex;
  align-items: center;
  margin-top: 4px;
}

.spec-toggle {
  background: none;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  padding: 6px 12px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #666;
  background-color: #f9f9f9;
  font-weight: 500;
}

.spec-toggle:hover {
  background-color: #f0f0f0;
  border-color: #ccc;
}

.spec-toggle::after {
  content: "▼";
  font-size: 10px;
  transition: transform 0.2s;
  color: #666;
}

.spec-toggle.expanded::after {
  transform: rotate(180deg);
}

/* Quantity section */
.item-quantity {
  display: flex;
  justify-content: center;
  align-items: center;
}

.quantity-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quantity-display {
  font-weight: 500;
  min-width: 1.5rem;
  text-align: center;
  line-height: 1.2;
  font-size: 1rem;
}

/* Remove item button */
.remove-item-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
  color: #898481;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin: 0;
}

.remove-item-btn:hover {
  background-color: #f8d7da;
  color: #721c24;
}

.icon-www-trash {
  font-size: 1rem;
  line-height: 1;
}

/* Price section */
.item-price {
  text-align: right;
  font-weight: 500;
  color: #333;
}

.discounted-price {
  color: #dc3545;
  font-weight: 600;
  display: block;
}

.original-price {
  color: #6c757d;
  font-size: 0.8rem;
  text-decoration: line-through;
  display: block;
  margin-top: 2px;
}

/* Total section */
.item-total {
  text-align: right;
  font-weight: 600;
  color: #333;
  font-size: 1.1rem;
}

/* ========================================
   SPECIFICATION CONTENT
   ======================================== */

.specification-content {
  grid-column: 1 / -1;
  background-color: #f8f9fa;
  border-radius: 8px;
  margin-top: 12px;
  padding: 1rem;
  border: 1px solid #e9ecef;
}

.specification-wrapper {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.specification-details {
  flex: 1;
  font-size: 13px;
  line-height: 1.5;
  color: #555;
  width: 100%;
}

.specification-details h4 {
  margin: 0 0 12px 0;
  font-size: 14px;
  color: #333;
  font-weight: 600;
}

.specification-details table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0;
}

/* Global dt/dd styling for specifications */
.specification-details dt {
  width: 40%;
  font-weight: 600;
  background: #f8f9fa;
  border-radius: 4px;
}

.specification-details dd {
  width: auto;
  float: none;
  margin-left: 0;
  margin-left: 1rem;
}

.product-images-section {
  flex: 0 0 300px;
  padding: 0;
  background-color: transparent;
  border: none;
}

.product-images-section h5 {
  margin: 0 0 12px 0;
  font-size: 14px;
  color: #333;
  font-weight: 600;
}

.product-images {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.product-image-item {
  width: 100%;
  max-width: 100%;
}

.product-image-item img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  border: 1px solid #ddd;
  object-fit: cover;
}

/* ========================================
   CART SUMMARY
   ======================================== */

.cart-summary {
  margin-top: 1.5rem;
  padding: 1rem;
  background: #f8f9fa;
  /* border-radius: 0 0 8px 8px;
  border: 1px solid #e9ecef; */
  border-top: 2px double #e9ecef;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
}

.summary-row:first-child {
  border-bottom: none;
  font-weight: 600;
  font-size: 1.1rem;
}

.summary-label {
  color: #495057;
}

.summary-value {
  color: #333;
  font-weight: 600;
}

/* Empty cart */
.empty-cart {
  text-align: center;
  padding: 2rem;
  color: #6c757d;
  font-style: italic;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

/* ========================================
   PRODUCTION TIME
   ======================================== */

/* Production Time Content */
.production-time-content {
  padding: 0;
}

/* Production Time Header */
.production-time-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 6px;
  border: 1px solid #e9ecef;
}

.production-time-title {
  color: #495057;
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  min-width: 120px;
  cursor: pointer;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
}

.production-time-title:hover {
  color: #28a745;
  border-bottom-color: #20c997;
}

.production-time-title .arrow {
  font-size: 10px;
  margin-left: 0.5rem;
  transition: transform 0.2s ease;
  color: #28a745;
}

.production-time-title.expanded .arrow {
  transform: rotate(180deg);
}

/* Production Options */
.production-options,
.production-options-compact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.production-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem;
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.production-option:hover {
  border-color: #28a745;
  box-shadow: 0 2px 4px rgba(40, 167, 69, 0.1);
}

.production-option.selected {
  border-color: #28a745;
  background: #f8fff9;
}

.production-option-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: #495057;
}

.production-option-price {
  font-weight: 600;
  color: #28a745;
  font-size: 0.9rem;
}

/* Production Time Info */
.production-time-info,
.production-time-info-compact,
.production-time-info-inline {
  background: white;
  padding: 0.8rem;
  border-radius: 6px;
  border: 1px solid #e9ecef;
  color: #495057;
  font-size: 0.9rem;
}

.production-time-info-inline {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
}

/* Production Time Details */
.production-time-details {
  padding: 1rem;
  background: white;
  border: 1px solid #e9ecef;
  border-top: none;
  border-radius: 0 0 6px 6px;
}

/* Production Time Row */
.production-time-row {
  border: none;
}

.production-time-row td {
  border: none;
  padding: 1rem;
}

/* Production Time Simple */
.production-time-simple {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  flex-wrap: wrap;
}

.production-time-label {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
}

.production-time-text {
  font-weight: 600;
  color: #495057;
  font-size: 1rem;
}

.production-time-display {
  font-weight: 400;
  font-style: italic;
  color: #6c757d;
  font-size: 0.9rem;
  width: 100%;
  order: 2;
}

/* Info Button */
.production-info-button {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: #495057;
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.production-info-button:hover {
  transform: scale(1.1);
  background: #28a745;
}

.info-icon {
  color: white;
  font-size: 10px;
  font-weight: bold;
}

/* Production Info Details */
.production-info-details {
  display: none;
  margin-top: 0.5rem;
  padding: 0.5rem;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  font-size: 0.8rem;
  color: #6c757d;
}

.production-info-details.expanded {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-start;
}

.production-info-details .info-content {
  display: flex;
  gap: 1rem;
  width: 100%;
  flex-wrap: wrap;
}

.production-info-details .info-section {
  flex: 1;
  min-width: 200px;
  padding: 0.75rem;
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.production-info-details .info-section h6 {
  margin: 0 0 0.5rem 0;
  color: #495057;
  font-size: 0.9rem;
  font-weight: 600;
}

.production-info-details .info-section p {
  margin: 0.25rem 0;
  font-size: 0.8rem;
  line-height: 1.4;
}

.production-info-details .info-section .info-note {
  font-style: italic;
  color: #6c757d;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid #e9ecef;
}

.production-info-details .info-section .original-price {
  text-decoration: line-through;
  color: #6c757d;
  margin-left: 0.25rem;
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
  .production-info-details .info-content {
    flex-direction: column;
  }

  .production-info-details .info-section {
    min-width: unset;
    width: 100%;
  }
}

/* Toggle Container */
.toggle-container {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 0.5rem;
}

/* ========================================
   TOGGLE SWITCH
   ======================================== */

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
}

.toggle-input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.3s;
  border-radius: 20px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.toggle-input:checked + .toggle-slider {
  background-color: #495057;
}

.toggle-input:checked + .toggle-slider:before {
  transform: translateX(20px);
}

/* ========================================
   PRODUCTION PRICE DISPLAY
   ======================================== */

.production-price-display {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-left: 1rem;
  padding: 0.25rem 0.5rem;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 4px;
}

.price-label {
  font-weight: 500;
  color: #495057;
  font-size: 0.85rem;
}

.price-amount {
  font-weight: 600;
  color: #495057;
  font-size: 0.9rem;
}

/* ========================================
   CHECKBOX STYLING
   ======================================== */

.legal-checkboxes {
  margin-top: 1.5rem;
  padding-top: 1rem;
  padding-bottom: 2rem;
  display: flex;
  justify-content: center;
}

.legal-checkboxes .checkbox-group label {
  text-align: center;
}

.checkbox-group {
  margin-bottom: 1.5rem;
  max-width: 640px;
}

.checkbox-group input[type="checkbox"] {
  margin: 0;
  transform: scale(1.3);
  float: left;
}

.checkbox-group label {
  clear: none !important;
  font-size: 1rem;
  line-height: 1.5;
  cursor: pointer;
  margin: 0;
  text-align: left;
  display: inline-block;
  max-width: calc(100% - 2rem);
}

.checkbox-group label a {
  color: #007cba;
  text-decoration: none;
  font-weight: 500;
}

.checkbox-group label a:hover {
  text-decoration: underline;
}

.checkbox-group .field-error-message {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #dc3545;
}

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

/* Custom checkbox styling */
.checkbox-label {
  display: flex !important;
  padding: 0.5rem !important;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: #495057;
  margin: 0.5rem 0;
}

.checkbox-group input[type="checkbox"],
.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkbox-group .checkmark,
.checkbox-label .checkmark {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: #fff;
  border: 2px solid #ddd;
  border-radius: 4px;
  position: relative;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.checkbox-group input[type="checkbox"]:checked + .checkmark::after,
.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #28a745;
  font-size: 40px;
  font-weight: bold;
}

#accept_terms_privacy + .checkmark {
  margin: auto;
}

.checkmark-text {
  display: block;
}

/* Same address checkbox styling */
.same-address-checkbox {
  background-color: #f8f9fa;
  padding: 0.75rem;
  border-radius: 4px;
  border: 1px solid #e9ecef;
  margin-top: 0.5rem;
}

.header-checkbox {
  margin: 0;
  padding: 0.5rem 0;
}

/* ========================================
   LEGAL LINKS
   ======================================== */

.checkout-legal-links {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #e0e0e0;
  text-align: center;
}

.checkout-legal-links a {
  color: #666;
  text-decoration: none;
  font-size: 0.9rem;
  margin: 0 1rem;
  transition: color 0.2s ease;
}

.checkout-legal-links a:hover {
  color: #333;
  text-decoration: underline;
}

.checkout-legal-links a:first-child {
  margin-left: 0;
}

.checkout-legal-links a:last-child {
  margin-right: 0;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.text-right {
  text-align: right;
}

.text-right.v-top {
  padding-top: 1.7rem;
}

.item-price {
  font-weight: bold;
}

/* ========================================
   MOBILE STYLES (max-width: 768px)
   ======================================== */

@media (max-width: 768px) {

  /* Show step indicators in top-left corner on mobile */
  .step {
    position: relative;
    top: 1rem;
    left: -50%;
    z-index: 10;
    border: 1px solid #ddd;
  }

  .step-line {
    display: none;
  }

  .step-line::before {
    margin-top: 0;
  }

  /* Adjust checkout grid for mobile - remove step column */
  .checkout-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .checkout-inbox {
    grid-column: 1;
  }

  /* Make each input on its own row on mobile */
  .form-row {
    flex-direction: column;
    gap: 0.75rem;
  }

  .form-group.half {
    flex: none;
    width: 100%;
  }

  /* Center legal checkboxes on mobile */
  .legal-checkboxes {
    justify-content: center;
  }

  .legal-checkboxes .checkbox-group label {
    text-align: center;
  }

  .legal-checkboxes .checkbox-group input[type="checkbox"] {
    float: none;
    margin: 1rem auto;
    display: block;
  }

  /* Mobile checkbox label styling */
  .header-checkbox {
    width: 100%;
    margin: 0.5rem 0;
  }

  /* Cart header on mobile - hide it since we use labels instead */
  .cart-header {
    display: none;
  }

  /* Cart items container mobile */
  .cart-items-container {
    padding: 0;
  }

  /* Cart item layout for mobile */
  .cart-item {
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.75rem;
  }

  /* Mobile product layout - title on own row */
  .product-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .product-name {
    order: 1;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-align: left;
    width: 100%;
  }

  .product-thumbnail {
    order: 2;
    width: 100%;
    height: 120px;
    align-self: center;
  }

  .spec-toggle-container {
    width: 100%;
    margin-top: 0.5rem;
    order: 3;
  }

  .spec-toggle {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    background-color: #f8f9fa;
    border: 2px solid #e9ecef;
  }

  .spec-toggle:hover {
    background-color: #e9ecef;
    border-color: #28a745;
  }

  /* Price and quantity row on mobile */
  .item-quantity,
  .item-price,
  .item-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
  }

  .item-quantity {
    order: 2;
  }

  .item-price {
    order: 4;
    text-align: left;
  }

  .item-total {
    order: 5;
    text-align: left;
    font-weight: 700;
    border-bottom: 2px solid #e9ecef;
  }

  /* Mobile labels */
  .item-quantity::before {
    content: "Quantity:";
    font-weight: 500;
    color: #666;
  }

  .item-price::before {
    content: "Price:";
    font-weight: 500;
    color: #666;
  }

  .item-total::before {
    content: "Total:";
    font-weight: 500;
    color: #666;
  }

  /* Specification responsive */
  .specification-content {
    order: 4;
    margin-top: 0.75rem;
  }

  .specification-wrapper {
    flex-direction: column;
    gap: 20px;
  }

  .product-images-section {
    flex: none;
    width: 100%;
  }

  .product-images {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }

  .product-image-item {
    flex: 0 0 calc(50% - 8px);
    max-width: calc(50% - 8px);
  }

  /* Cart summary mobile */
  .cart-summary {
    margin-top: 1rem;
    padding: 0.75rem;
  }

  .summary-row {
    padding: 0.75rem 0;
    font-size: 0.9rem;
  }

  .summary-row:first-child {
    font-size: 1rem;
  }

  /* Production time mobile layout */
  .production-time-simple {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
  }

  /* First row: Label + Arrow */
  .production-time-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  /* Second row: Toggle container on its own row */
  .toggle-container {
    order: 2;
  }

  /* Third row: Price display */
  .production-price-display {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    width: 100%;
  }

  /* Fourth row: Time display on its own row */
  .production-time-display {
    text-align: center;
    padding: 0.5rem;
    width: 100%;
  }
}

/* ========================================
   DESKTOP STYLES (min-width: 769px)
   ======================================== */

@media (min-width: 769px) {
  /* Desktop specific styles can be added here if needed */
}
