/** Shopify CDN: Minification failed

Line 607:1 Expected "}" to go with "{"

**/
/* HT Pricing Breakdown Component Styles */

/* ===== COMPONENT WRAPPER ===== */
.ht-pricing-breakdown-wrapper {
  /* Remove any orange background that might bleed from calculator */
  background-color: transparent !important;
  padding: var(--ht-spacing-xl) 0;
  font-family: var(--ht-font-family-primary);
  /* Ensure complete isolation from calculator price section */
  border-top: none !important;
  margin-top: 0 !important;
}

/* If there's a container element between calculator and breakdown, reset it */
.ht-pricing-breakdown-wrapper::before {
  display: none !important;
}

.ht-pricing-breakdown-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--ht-spacing-lg);
  /* Ensure no orange background inheritance */
  background: transparent;
}

/* ===== REMOVE ANY ORANGE BLEEDING ===== */
/* If the breakdown is directly after calculator price section */
.ht-calculator-price-section + .ht-pricing-breakdown-wrapper,
.ht-calculator-price-section ~ .ht-pricing-breakdown-wrapper {
  border-top: none !important;
  box-shadow: none !important;
}

/* ===== PLACEHOLDER STATE ===== */
.ht-breakdown-placeholder-content {
  background: #ffffff;
  border: 2px dashed var(--ht-border-gray);
  border-radius: var(--ht-border-radius);
  padding: var(--ht-spacing-xl);
  text-align: center;
  color: var(--ht-text-gray-light);
}

.ht-breakdown-placeholder-content h3 {
  margin: 0 0 var(--ht-spacing-sm) 0;
  font-size: 1.5rem;
  font-weight: var(--ht-font-semibold);
  color: var(--ht-text-gray-medium);
}

.ht-breakdown-placeholder-content p {
  margin: 0;
  font-size: 1.2rem;
  line-height: var(--ht-leading-normal);
}

/* ===== DETAILED PRICING BREAKDOWN ===== */
.ht-detailed-pricing-breakdown {
  background: #ffffff;
  font-size: 1.125rem;
  border: 1px solid var(--ht-border-gray);
  border-radius: var(--ht-border-radius);
  box-shadow: var(--ht-shadow-default);
  overflow: hidden;
  /* Ensure complete visual separation */
  margin-top: var(--ht-spacing-xl);
}

/* ===== HEADER SECTION ===== */
.ht-breakdown-header {
  background: var(--ht-bg-gray-light);
  padding: var(--ht-spacing-lg);
  border-bottom: 1px solid var(--ht-border-gray);
}

.ht-breakdown-header h3 {
  margin: 0 0 var(--ht-spacing-md) 0;
  font-size: 1.8rem;
  font-weight: var(--ht-font-bold);
  color: var(--ht-text-gray-dark);
  line-height: var(--ht-leading-tight);
  /* Remove emoji-related flex layout */
  display: block;
}

/* Remove the ::before pseudo-element for header */
.ht-breakdown-header h3::before {
  display: none;
}
/* Enhanced summary for optimization details */
.ht-breakdown-summary {
  margin: 0;
  font-size: 1.05rem;
  color: var(--ht-text-gray-medium);
  line-height: var(--ht-leading-normal);
}

.ht-breakdown-summary small {
  display: block;
  margin-top: 0.25rem;
  font-style: italic;
}
/* ===== BODY SECTION ===== */
.ht-breakdown-body {
  padding: var(--ht-spacing-lg);
}

/* ===== SECTION CONTAINERS ===== */
.ht-breakdown-section {
  margin-bottom: var(--ht-spacing-xl);
}

.ht-breakdown-section:last-child {
  margin-bottom: 0;
}

.ht-breakdown-section h4 {
  margin: 0 0 var(--ht-spacing-md) 0;
  font-size: 1.35rem;
  font-weight: var(--ht-font-semibold);
  color: var(--ht-text-gray-dark);
  padding-bottom: var(--ht-spacing-xs);
  border-bottom: 2px solid var(--ht-border-gray-light);
  line-height: var(--ht-leading-tight);
}

/* Final Totals section - no emoji, but orange styling */
.ht-breakdown-totals h4 {
  font-size: var(--ht-text-2xl);
  font-size: 1.8rem;
  color: var(--ht-brand-orange-focus);
  border-bottom: 2px solid var(--ht-brand-orange);
  /* Ensure no emoji space */
  display: block;
}

/* Remove all ::before emoji rules since they're now inline */
.ht-breakdown-section h4::before,
.ht-breakdown-totals h4::before {
  display: none;
}

/* ===== ROW STYLES ===== */
.ht-price-detail-row,
.ht-price-subtotal-row,
.ht-price-total-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: var(--ht-spacing-sm) 0;
  border-bottom: 1px solid #f1f5f9;
  gap: var(--ht-spacing-md);
}

.ht-price-detail-row:last-of-type,
.ht-price-subtotal-row:last-of-type {
  border-bottom: none;
}

/* Subtotal rows */
.ht-price-subtotal-row {
  background: var(--ht-bg-gray-light);
  margin: var(--ht-spacing-sm) calc(-1 * var(--ht-spacing-lg));
  padding: var(--ht-spacing-sm) var(--ht-spacing-lg);
  border-bottom: 1px solid var(--ht-border-gray);
  font-weight: var(--ht-font-semibold);
}

/* Total rows */
.ht-price-total-row {
  background: var(--ht-brand-orange-light);
  margin: var(--ht-spacing-md) calc(-1 * var(--ht-spacing-lg)) 0;
  padding: var(--ht-spacing-md) var(--ht-spacing-lg);
  border-bottom: none;
  border-top: 2px solid var(--ht-brand-orange);
  font-weight: var(--ht-font-bold);
}

/* ===== LABEL STYLES ===== */
.ht-price-detail-label,
.ht-price-subtotal-label,
.ht-price-total-label {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.ht-price-item-name {
  font-weight: var(--ht-font-medium);
  color: var(--ht-text-gray-dark);
  line-height: var(--ht-leading-tight);
  font-size: 1.2rem;
}

.ht-price-subtotal-label .ht-price-item-name {
  font-weight: var(--ht-font-semibold);
  color: var(--ht-text-gray-dark);
}

.ht-price-total-label .ht-price-item-name {
  font-weight: var(--ht-font-bold);
  color: var(--ht-brand-orange-focus);
  font-size: 1.35rem;
}

.ht-price-item-desc {
  font-size: 1.05rem;
  color: var(--ht-text-gray-light);
  line-height: var(--ht-leading-tight);
  font-weight: var(--ht-font-normal);
}

/* ===== PRICE VALUES ===== */
.ht-price-values {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.175rem;
  min-width: 100px;
}

.ht-price-net {
  font-family: var(--ht-font-family-mono);
  font-size: 1.05rem;
  font-weight: var(--ht-font-medium);
  color: var(--ht-text-gray-medium);
  line-height: var(--ht-leading-tight);
}

/* Keep these for potential future use even though not currently used */
.ht-price-vat {
  font-size: 0.9rem;
  font-weight: var(--ht-font-normal);
  color: var(--ht-text-gray-light);
  font-family: var(--ht-font-family-mono);
  line-height: var(--ht-leading-tight);
}

.ht-price-gross {
  font-size: 1.2rem;
  font-weight: var(--ht-font-semibold);
  color: var(--ht-text-gray-dark);
  font-family: var(--ht-font-family-mono);
  line-height: var(--ht-leading-tight);
}

/* Subtotal and Total price styling */
.ht-price-subtotal-row .ht-price-net {
  font-size: 1.05rem;
  font-weight: var(--ht-font-semibold);
  color: var(--ht-text-gray-dark);
}

.ht-price-subtotal-row .ht-price-gross {
  font-size: 1.35rem;
  font-weight: var(--ht-font-bold);
  color: var(--ht-text-gray-dark);
}

.ht-price-total-row .ht-price-net {
  font-size: 1.5rem;
  font-weight: var(--ht-font-bold);
  color: var(--ht-brand-orange-focus);
}

.ht-price-total-row .ht-price-gross {
  font-size: 1.5rem;
  font-weight: var(--ht-font-bold);
  color: var(--ht-brand-orange-focus);
}

/* Bold content in Final Totals section */
.ht-breakdown-totals .ht-price-detail-row,
.ht-breakdown-totals .ht-price-subtotal-row,
.ht-breakdown-totals .ht-price-total-row {
  font-weight: var(--ht-font-bold);
}

.ht-breakdown-totals .ht-price-item-name,
.ht-breakdown-totals .ht-price-net,
.ht-breakdown-totals .ht-price-vat,
.ht-breakdown-totals .ht-price-gross {
  font-weight: var(--ht-font-bold) !important;
}

/* ===== VAT SUMMARY SECTION ===== */
.ht-vat-summary {
  margin-top: var(--ht-spacing-lg);
  padding: var(--ht-spacing-md);
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--ht-border-radius-sm);
  display: flex;
  flex-direction: column;
  gap: var(--ht-spacing-xs);
}

.ht-vat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--ht-font-family-mono);
}

.ht-vat-row span:first-child {
  font-size: var(--ht-text-sm);
  color: var(--ht-text-gray-medium);
  font-weight: var(--ht-font-medium);
}

.ht-vat-row span:last-child {
  font-size: 1.05rem;
  font-weight: var(--ht-font-semibold);
  color: var(--ht-text-gray-dark);
}

.ht-vat-total {
  padding-top: var(--ht-spacing-xs);
  border-top: 1px solid #cbd5e1;
  margin-top: var(--ht-spacing-xs);
}

.ht-vat-total span {
  font-size: 1.2rem !important;
  color: var(--ht-brand-orange-focus) !important;
}

/* VAT summary in Final Totals section */
.ht-breakdown-totals .ht-vat-summary {
  background: var(--ht-brand-orange-light);
  border: 2px solid var(--ht-brand-orange);
}

.ht-breakdown-totals .ht-vat-row span {
  font-weight: var(--ht-font-bold) !important;
}

/* ===== ANIMATIONS ===== */
.ht-detailed-pricing-breakdown.updating {
  opacity: 0.7;
  transition: opacity 0.3s ease-in-out;
}

.ht-detailed-pricing-breakdown:not(.updating) {
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

/* Fade-in animation for new breakdown */
@keyframes fadeInBreakdown {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ht-detailed-pricing-breakdown {
  animation: fadeInBreakdown 0.4s ease-out;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .ht-pricing-breakdown-container {
    padding: 0 var(--ht-spacing-md);
  }
  
  .ht-breakdown-header,
  .ht-breakdown-body {
    padding: var(--ht-spacing-md);
  }
  
  .ht-breakdown-header h3 {
    font-size: var(--ht-text-xl);
  }
  
  .ht-breakdown-totals h4 {
    font-size: var(--ht-text-xl);
  }
  
  .ht-price-detail-row,
  .ht-price-subtotal-row,
  .ht-price-total-row {
    flex-direction: column;
    align-items: stretch;
    gap: var(--ht-spacing-xs);
  }
  
  .ht-price-values {
    align-items: flex-start;
    flex-direction: row;
    justify-content: space-between;
  }
  
  .ht-vat-summary {
    padding: var(--ht-spacing-sm);
  }
  
  /* Mobile-specific breakdown styling */
  .ht-detailed-pricing-breakdown {
    border-radius: 0;
    border-left: none;
    border-right: none;
    margin: 0 calc(-1 * var(--ht-spacing-md));
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .ht-pricing-breakdown-wrapper {
    background: white;
    padding: 0;
  }
  
  .ht-detailed-pricing-breakdown {
    box-shadow: none;
    border: 1px solid #000;
    page-break-inside: avoid;
  }
  
  .ht-breakdown-header {
    background: #f5f5f5 !important;
  }
  
  .ht-price-subtotal-row {
    background: #f9f9f9 !important;
  }
  
  .ht-price-total-row {
    background: #f0f0f0 !important;
  }
  
  .ht-breakdown-totals .ht-vat-summary {
    background: #f0f0f0 !important;
    border: 1px solid #000 !important;
  }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  .ht-detailed-pricing-breakdown {
    animation: none;
  }
  
  .ht-detailed-pricing-breakdown.updating {
    transition: none;
  }
}
/* ===== ENHANCED MATERIAL & PRINTING SPECS ===== */
.ht-material-specs, 
.ht-printing-specs {
  background: #f8fafc;
  border-left: 4px solid var(--ht-brand-orange);
  padding: var(--ht-spacing-sm);
  margin: var(--ht-spacing-xs) 0;
  border-radius: 0 var(--ht-border-radius-sm) var(--ht-border-radius-sm) 0;
  font-size: 1.05rem;
  line-height: var(--ht-leading-tight);
}

.ht-material-specs strong,
.ht-printing-specs strong {
  color: var(--ht-text-gray-dark);
  font-weight: var(--ht-font-semibold);
}

.ht-spec-details {
  font-size: 0.95rem;
  color: var(--ht-text-gray-medium);
  font-weight: var(--ht-font-normal);
  margin-top: 0.25rem;
  display: block;
}

.ht-optimization-info {
  background: #f0f9ff;
  border-left: 4px solid #0ea5e9;
  padding: var(--ht-spacing-sm);
  margin: var(--ht-spacing-sm) 0;
  border-radius: 0 var(--ht-border-radius-sm) var(--ht-border-radius-sm) 0;
  font-size: 1.05rem;
  line-height: var(--ht-leading-tight);
}

.ht-optimization-info strong {
  color: #0c4a6e;
  font-weight: var(--ht-font-semibold);
}

/* Mobile responsiveness for specs */
@media (max-width: 768px) {
  .ht-material-specs, 
  .ht-printing-specs,
  .ht-optimization-info {
    padding: var(--ht-spacing-xs);
    font-size: 1rem;
  }
  
  .ht-spec-details {
    font-size: 0.9rem;
  }
 
/* ===== SHEET OPTIMISATION BREAKDOWN (Force Smaller Text) ===== */
.ht-sheet-optimisation * {
  font-size: 0.95rem !important;
}

.ht-sheet-optimisation strong {
  font-size: 0.95rem !important;
}

.ht-optimisation-details {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.95rem !important; 
  line-height: 1.4;
  font-family: var(--ht-font-family-primary);
}

/* More specific selectors for the items */
.ht-sheet-optimisation .ht-optimisation-item {
  display: block;
  padding: 0.25rem 0;
  color: var(--ht-text-gray-medium);
  font-size: 0.95rem !important; 
  font-weight: var(--ht-font-normal);
}

.ht-sheet-optimisation .ht-optimisation-chosen {
  color: #059669;
  font-weight: var(--ht-font-medium);
  font-size: 0.95rem !important; 
}

.ht-sheet-optimisation .ht-optimisation-alternative {
  color: var(--ht-text-gray-light);
  font-size: 0.95rem !important; /* Force smaller */
}

.ht-sheet-optimisation .ht-optimisation-note {
  display: block;
  padding: 0.25rem 0;
  color: var(--ht-text-gray-medium);
  font-style: italic;
  font-size: 0.95rem !important; /* Force smaller */
  font-weight: var(--ht-font-normal);
}

.ht-sheet-optimisation .ht-optimisation-savings {
  display: block;
  padding: 0.25rem 0;
  color: #059669;
  font-weight: var(--ht-font-medium);
  font-size: 0.95rem !important; 
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .ht-sheet-optimisation {
    padding: var(--ht-spacing-xs);
    font-size: 1rem;
  }
  
  .ht-sheet-optimisation strong {
    font-size: 0.95rem; /* Even smaller on mobile */
  }
  
  .ht-optimisation-details,
  .ht-optimisation-item,
  .ht-optimisation-chosen,
  .ht-optimisation-alternative,
  .ht-optimisation-savings,
  .ht-optimisation-note {
    font-size: 0.9rem; /* Smaller on mobile */
  }


/* Mobile responsiveness */
@media (max-width: 768px) {
  .ht-sheet-optimisation {
    padding: var(--ht-spacing-xs);
    font-size: 1rem;
  }
  
  .ht-sheet-optimisation strong {
    font-size: 1.1rem;
  }
  
  .ht-optimisation-details,
  .ht-optimisation-item,
  .ht-optimisation-chosen,
  .ht-optimisation-alternative,
  .ht-optimisation-savings,
  .ht-optimisation-note {
    font-size: 1rem;
  }
}