:root {
    --color-bg: #ffffff;
    --color-bg-soft: #f5f5f3;
    --color-panel: #ffffff;
    --color-line: rgba(17, 17, 17, 0.12);
    --color-line-strong: rgba(17, 17, 17, 0.2);
    --color-text: #111111;
    --color-muted: #666666;
    --color-dark: #000000;
    --color-white: #ffffff;
    --color-accent: #c51f1a;
    --color-accent-soft: rgba(197, 31, 26, 0.08);
    --color-success: #067647;
    --color-error: #b42318;
    --container: 1240px;
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 16px 40px rgba(0, 0, 0, 0.06);
    --header-height: 84px;
  }
  
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    margin: 0;
    font-family: "Inter", sans-serif;
    color: var(--color-text);
    background: linear-gradient(180deg, #f7f7f5 0%, #ffffff 24%, #ffffff 100%);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }
  
  img {
    display: block;
    max-width: 100%;
  }
  
  a {
    color: inherit;
    text-decoration: none;
  }
  
  button,
  input,
  select,
  textarea {
    font: inherit;
  }
  
  button {
    cursor: pointer;
  }
  
  .site-wrap {
    min-height: 100vh;
  }
  
  .container {
    width: min(100% - 40px, var(--container));
    margin: 0 auto;
  }
  
  /* =========================
     Hero
  ========================= */
  .cart-hero {
    padding: 92px 0 42px;
  }
  
  .cart-hero__eyebrow {
    margin: 0 0 12px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    color: var(--color-accent);
  }
  
  .cart-hero__title,
  .cart-hero h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1.04;
    letter-spacing: -0.04em;
    font-weight: 800;
    max-width: 820px;
  }
  
  .cart-hero__lead {
    margin: 18px 0 0;
    max-width: 700px;
    font-size: 1rem;
    color: var(--color-muted);
  }
  
  /* =========================
     Layout
  ========================= */
  .cart-section {
    padding: 20px 0 96px;
  }
  
  .cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 28px;
    align-items: start;
  }
  
  .cart-main {
    display: grid;
    gap: 24px;
  }
  
  .cart-card,
  .summary-card {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(12px);
  }
  
  .cart-card {
    padding: 30px;
  }
  
  .summary-card {
    padding: 28px;
    position: sticky;
    top: calc(var(--header-height) + 20px);
  }
  
  .cart-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-line);
  }
  
  .summary-card__label,
  .empty-cart__label {
    margin: 0 0 8px;
    font-size: 0.74rem;
    letter-spacing: 0.22em;
    font-weight: 700;
    color: var(--color-accent);
  }
  
  .cart-card__head h2,
  .summary-card h2 {
    margin: 0;
    font-size: 1.55rem;
    line-height: 1.15;
  }
  
  .text-button {
    flex-shrink: 0;
    background: transparent;
    border: 1px solid var(--color-line);
    color: var(--color-text);
    border-radius: 999px;
    padding: 12px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: 0.25s ease;
  }
  
  .text-button:hover {
    border-color: var(--color-line-strong);
    background: #fafafa;
  }
  
  /* =========================
     Cart list
  ========================= */
  .cart-list {
    display: grid;
  }
  
  .cart-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    padding: 26px 0;
    border-bottom: 1px solid var(--color-line);
  }
  
  .cart-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }
  
  .cart-item__body {
    min-width: 0;
  }
  
  .cart-item__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
  }
  
  .cart-item__series {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 999px;
    background: #f5f5f3;
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    font-weight: 700;
    color: var(--color-muted);
  }
  
  .cart-item__title {
    margin: 12px 0 0;
    font-size: 1.55rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
  }
  
  .cart-item__price-wrap {
    text-align: right;
    flex-shrink: 0;
  }
  
  .cart-item__duration {
    margin: 0 0 4px;
    font-size: 12px;
    color: var(--color-muted);
  }
  
  .cart-item__price {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
    white-space: nowrap;
  }
  
  .cart-item__summary {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
  }
  
  .cart-item__summary span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid var(--color-line);
    color: var(--color-text);
    background: #fff;
    font-size: 0.88rem;
    font-weight: 600;
  }
  
  .cart-item__toggle-row {
    margin-top: 22px;
  }
  
  .cart-toggle-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid rgba(17, 17, 17, 0.14);
    border-radius: 999px;
    background: #fff;
    color: #111;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  }
  
  .cart-toggle-button:hover {
    background: #111;
    color: #fff;
    border-color: #111;
  }
  
  .cart-item__panel {
    display: none;
    margin-top: 16px;
    padding-top: 18px;
    border-top: 1px solid rgba(17, 17, 17, 0.08);
  }
  
  .cart-item__panel.is-open {
    display: block;
  }
  
  .cart-item__booking {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  
  .cart-item__customer {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
  }
  
  .cart-item__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  
  .cart-item__field--full {
    grid-column: 1 / -1;
  }
  
  .cart-item__field label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: rgba(17, 17, 17, 0.68);
  }
  
  .cart-select,
  .cart-input,
  .cart-textarea {
    width: 100%;
    border: 1px solid rgba(17, 17, 17, 0.12);
    border-radius: 14px;
    background: #fff;
    color: #111;
    font-size: 14px;
    outline: none;
  }
  
  .cart-select,
  .cart-input {
    min-height: 48px;
    padding: 0 14px;
  }
  
  .cart-textarea {
    min-height: 120px;
    padding: 14px;
    resize: vertical;
  }
  
  .cart-select:focus,
  .cart-input:focus,
  .cart-textarea:focus {
    border-color: #111;
  }
  
  .cart-select:disabled {
    background: #f5f5f3;
    color: rgba(17, 17, 17, 0.44);
    cursor: not-allowed;
  }
  
  .required {
    font-size: 11px;
    color: #b42318;
  }
  
  .field-note {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    color: rgba(17, 17, 17, 0.52);
  }
  
  .cart-item__actions {
    display: flex;
    align-items: flex-start;
  }
  
  .remove-button {
    border: 1px solid var(--color-line);
    background: transparent;
    color: var(--color-text);
    border-radius: 999px;
    padding: 12px 16px;
    font-size: 0.88rem;
    font-weight: 600;
    transition: 0.25s ease;
  }
  
  .remove-button:hover {
    background: #fafafa;
    border-color: var(--color-line-strong);
  }
  
  /* =========================
     Empty
  ========================= */
  .empty-cart {
    padding: 54px 12px 22px;
    text-align: center;
  }
  
  .empty-cart p {
    margin: 14px auto 0;
    max-width: 560px;
    color: var(--color-muted);
  }
  
  .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    margin-top: 20px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid var(--color-line);
    background: transparent;
    color: var(--color-text);
    font-weight: 700;
    transition: 0.25s ease;
  }
  
  .btn-secondary:hover {
    background: #fafafa;
    border-color: var(--color-line-strong);
  }
  
  /* =========================
     Form message
  ========================= */
  .form-message {
    margin: 18px 0 0;
    font-size: 13px;
    line-height: 1.7;
    color: var(--color-muted);
  }
  
  .form-message.is-error {
    color: var(--color-error);
  }
  
  .form-message.is-success {
    color: var(--color-success);
  }
  
  /* =========================
     Summary
  ========================= */
  .summary-list {
    margin: 18px 0 0;
    padding: 0;
  }
  
  .summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--color-line);
    font-size: 0.98rem;
  }
  
  .summary-row--total dt,
  .summary-row--total dd {
    font-weight: 800;
  }
  
  .summary-note {
    margin-top: 20px;
    padding: 18px 18px 16px;
    border-radius: 20px;
    background: #f7f7f5;
  }
  
  .summary-note p {
    margin: 0 0 8px;
    color: var(--color-muted);
    font-size: 0.86rem;
  }
  
  .summary-note p:last-child {
    margin-bottom: 0;
  }
  
  .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 56px;
    margin-top: 20px;
    border-radius: 999px;
    padding: 14px 22px;
    font-weight: 700;
    text-align: center;
    transition: 0.25s ease;
    background: var(--color-dark);
    color: var(--color-white);
    border: 1px solid var(--color-dark);
  }
  
  .btn-primary:hover {
    transform: translateY(-1px);
  }
  
  .btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
  }
  
  /* =========================
     Responsive
  ========================= */
  @media (max-width: 1080px) {
    .cart-layout {
      grid-template-columns: 1fr;
    }
  
    .summary-card {
      position: static;
    }
  }
  
  @media (max-width: 767px) {
    :root {
      --header-height: 72px;
    }
  
    body {
      background: #ffffff;
    }
  
    .container {
      width: min(100% - 24px, var(--container));
    }
  
    .site-header .container.nav {
      grid-template-columns: 44px 1fr 44px;
    }
  
    .brand {
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      font-size: 0.98rem;
      letter-spacing: 0.18em;
    }
  
    .menu-toggle {
      justify-self: start;
      z-index: 3;
    }
  
    .header-cart {
      justify-self: end;
    }
  
    .cart-hero {
      padding: 52px 0 26px;
    }
  
    .cart-hero__eyebrow {
      font-size: 0.72rem;
    }
  
    .cart-hero__title,
    .cart-hero h1 {
      font-size: 2.2rem;
    }
  
    .cart-hero__lead {
      font-size: 0.95rem;
    }
  
    .cart-section {
      padding: 10px 0 72px;
    }
  
    .cart-card,
    .summary-card {
      border-radius: 22px;
    }
  
    .cart-card {
      padding: 22px 18px;
    }
  
    .summary-card {
      padding: 22px 18px;
    }
  
    .cart-card__head {
      flex-direction: column;
      align-items: stretch;
      gap: 14px;
      padding-bottom: 18px;
    }
  
    .cart-card__head h2,
    .summary-card h2 {
      font-size: 1.34rem;
    }
  
    .text-button {
      width: 100%;
    }
  
    .cart-item {
      grid-template-columns: 1fr;
      gap: 16px;
      padding: 22px 0;
    }
  
    .cart-item__top {
      flex-direction: column;
      gap: 10px;
    }
  
    .cart-item__title {
      font-size: 1.3rem;
    }
  
    .cart-item__price-wrap {
      text-align: left;
    }
  
    .cart-item__booking,
    .cart-item__customer {
      grid-template-columns: 1fr;
    }
  
    .cart-item__actions {
      justify-content: flex-start;
    }
  
    .remove-button {
      width: 100%;
    }
  }
  
  /* =========================
     Legacy / optional utility
  ========================= */
  .line-notice {
    background: #06c755;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }
  
  .line-notice__inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 14px;
    padding-bottom: 14px;
  }
  
  .line-notice__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  
  .line-notice__text strong {
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.4;
  }
  
  .line-notice__text span {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
  }
  
  .line-notice__actions {
    flex-shrink: 0;
  }
  
  .line-notice__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 18px;
    border-radius: 999px;
    background: #ffffff;
    color: #06c755;
    font-size: 0.9rem;
    font-weight: 800;
    border: 1px solid #ffffff;
    transition: 0.25s ease;
    white-space: nowrap;
  }
  
  .line-notice__btn:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.94);
  }
  
  @media (max-width: 767px) {
    .line-notice__inner {
      flex-direction: column;
      align-items: stretch;
      gap: 12px;
      min-height: auto;
      padding-top: 14px;
      padding-bottom: 14px;
    }
  
    .line-notice__text strong {
      font-size: 0.92rem;
    }
  
    .line-notice__text span {
      font-size: 0.84rem;
      line-height: 1.55;
    }
  
    .line-notice__btn {
      width: 100%;
    }
  }
  .flatpickr-calendar {
    border-radius: 18px;
    border: 1px solid rgba(17, 17, 17, 0.12);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  }
  
  .flatpickr-day.selected,
  .flatpickr-day.startRange,
  .flatpickr-day.endRange {
    background: #111;
    border-color: #111;
  }
  
  .flatpickr-day.today {
    border-color: rgba(17, 17, 17, 0.35);
  }
  .flatpickr-input[readonly] {
    cursor: pointer;
    background: #fff;
  }