* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-primary: #0a1628;
  --color-white: #ffffff;
  --color-accent: #b8860b;
  --color-bg: #f8f9fa;
  --transition: cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: "Roboto", sans-serif;
  background: var(--color-white);
  color: var(--color-primary);
  overflow-x: hidden;
}

/* Top bar */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(10, 22, 40, 0.1);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
}

.back-button {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  color: var(--color-primary);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 400;
  transition: all 0.3s ease;
  padding: 10px 20px;
  border: 1px solid transparent;
}

.back-button::before {
  content: "←";
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.back-button:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.back-button:hover::before {
  transform: translateX(-5px);
}

.top-logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.top-logo img {
  width: 40px;
  height: 40px;
}

.top-logo-text {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--color-primary);
}

.logo-accent {
  color: var(--color-accent);
}

.option-card.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(248, 249, 250, 0.5);
    pointer-events: none;
}

.option-card.included {
    border-color: rgba(184, 134, 11, 0.3);
    background: rgba(184, 134, 11, 0.05);
    cursor: not-allowed;
    pointer-events: none;
}

.option-card.included::before {
    height: 100%;
    background: rgba(184, 134, 11, 0.5);
}

.option-card.included .option-price {
    color: rgba(184, 134, 11, 0.7);
}

.included-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--color-accent);
    color: var(--color-white);
    font-size: 0.65rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 500;
    margin-left: 10px;
}

.unavailable-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(10, 22, 40, 0.2);
    color: rgba(10, 22, 40, 0.5);
    font-size: 0.65rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 500;
    margin-left: 10px;
}

/* Main container */
.main-container {
  margin-top: 80px;
  display: grid;
  grid-template-columns: 1fr 480px;
  min-height: calc(100vh - 80px);
}

/* Left side - Configuration */
.config-side {
  padding: 80px 5% 80px 8%;
  background: var(--color-white);
  overflow-y: auto;
}

.config-header {
  margin-bottom: 60px;
}

.config-breadcrumb {
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(10, 22, 40, 0.5);
  margin-bottom: 20px;
  font-weight: 300;
}

.config-title {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 15px;
  line-height: 1.1;
}

.config-subtitle {
  font-size: 1rem;
  color: rgba(10, 22, 40, 0.6);
  font-weight: 300;
  line-height: 1.7;
}

/* Configuration sections */
.config-section {
  margin-bottom: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(10, 22, 40, 0.08);
}

.config-section:last-child {
  border-bottom: none;
}

.section-label {
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 25px;
  font-weight: 500;
}

.section-title {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 30px;
}

/* Options grid */
.options-grid {
  display: grid;
  gap: 15px;
}

.option-card {
  border: 1px solid rgba(10, 22, 40, 0.15);
  padding: 25px 30px;
  cursor: pointer;
  transition: all 0.4s var(--transition);
  position: relative;
  background: var(--color-white);
}

.option-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 0;
  background: var(--color-accent);
  transition: height 0.4s var(--transition);
}

.option-card:hover {
  border-color: rgba(10, 22, 40, 0.25);
  transform: translateX(5px);
}

.option-card.selected {
  border-color: var(--color-accent);
  background: rgba(184, 134, 11, 0.02);
}

.option-card.selected::before {
  height: 100%;
}

.option-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.option-name {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.option-price {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-accent);
}

.option-description {
  font-size: 0.85rem;
  color: rgba(10, 22, 40, 0.6);
  font-weight: 300;
  line-height: 1.6;
}

/* Quantity selector */
.quantity-selector {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 25px 30px;
  border: 1px solid rgba(10, 22, 40, 0.15);
  margin-bottom: 15px;
}

.quantity-label {
  flex: 1;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}

.qty-btn {
  width: 35px;
  height: 35px;
  border: 1px solid rgba(10, 22, 40, 0.2);
  background: transparent;
  color: var(--color-primary);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.qty-value {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  min-width: 40px;
  text-align: center;
}

/* Right side - Summary */
.summary-side {
  background: var(--color-primary);
  padding: 80px 50px;
  position: sticky;
  top: 80px;
  height: calc(100vh - 80px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.summary-header {
  margin-bottom: 50px;
}

.summary-title {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 15px;
}

.summary-subtitle {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 300;
}

/* Summary items */
.summary-items {
  flex: 1;
  margin-bottom: 40px;
}

.summary-item {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.item-name {
  font-size: 0.9rem;
  color: var(--color-white);
  font-weight: 400;
  letter-spacing: 0.5px;
}

.item-price {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-accent);
}

.item-description {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 300;
}

/* Summary totals */
.summary-totals {
  border-top: 2px solid rgba(255, 255, 255, 0.2);
  padding-top: 30px;
  margin-bottom: 40px;
}

.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.total-label {
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
}

.total-value {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-white);
}

.total-row.final {
  margin-top: 25px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.total-row.final .total-label {
  font-size: 0.9rem;
  color: var(--color-white);
  font-weight: 500;
}

.total-row.final .total-value {
  font-size: 2.5rem;
  color: var(--color-accent);
}

/* CTA buttons */
.summary-cta {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.btn {
  padding: 18px 0;
  text-align: center;
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.4s ease;
  cursor: pointer;
  border: none;
  font-family: "Roboto", sans-serif;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-primary);
  border: 1px solid var(--color-accent);
}

.btn-primary:hover {
  background: transparent;
  color: var(--color-accent);
}

.btn-secondary {
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  border-color: var(--color-white);
  background: rgba(255, 255, 255, 0.05);
}

.summary-note {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
  font-weight: 300;
}

/* Responsive */
@media (max-width: 1200px) {
  .main-container {
    grid-template-columns: 1fr 400px;
  }

  .summary-side {
    padding: 60px 40px;
  }
}

@media (max-width: 968px) {
  .top-bar {
    height: 70px;
    padding: 0 4%;
  }

  .main-container {
    grid-template-columns: 1fr;
    margin-top: 70px;
  }

  .config-side {
    padding: 60px 5%;
  }

  .config-title {
    font-size: 2.5rem;
  }

  .summary-side {
    position: relative;
    top: 0;
    height: auto;
    padding: 60px 5%;
  }
}

@media (max-width: 768px) {
  .top-bar {
    height: 60px;
  }

  .back-button {
    font-size: 0.7rem;
    gap: 10px;
    padding: 8px 15px;
  }

  .top-logo-text {
    font-size: 1rem;
    letter-spacing: 2px;
  }

  .top-logo img {
    width: 35px;
    height: 35px;
  }

  .main-container {
    margin-top: 60px;
  }

  .config-side {
    padding: 40px 5%;
  }

  .config-header {
    margin-bottom: 40px;
  }

  .config-title {
    font-size: 2rem;
  }

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

  .config-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
  }

  .option-card {
    padding: 20px 25px;
  }

  .quantity-selector {
    padding: 20px 25px;
  }

  .summary-side {
    padding: 50px 5%;
  }

  .summary-title {
    font-size: 1.7rem;
  }

  .total-row.final .total-value {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .config-title {
    font-size: 1.7rem;
  }

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

  .option-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .quantity-selector {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .quantity-controls {
    width: 100%;
    justify-content: space-between;
  }
}
