.navbar {
    background: rgba(0, 0, 0, 0.252);
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tour-customize {
    --tour-customize-sticky-top: 112px;
    --tour-addon-card-side-column: 250px;
    background: #f6f8fc;
    padding: 120px 0 64px;
}

.tour-customize__inner {
    width: 90%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: start;
}

.tour-customize__header {
    margin-bottom: 20px;
}

.tour-customize__title {
    margin: 0;
    color: var(--dark-blue);
    font-size: 32px;
    line-height: 1.2;
}

.tour-customize__description {
    margin: 10px 0 0;
    color: #5f6b83;
    font-size: 15px;
}

.tour-customize__cards {
    display: grid;
    gap: 30px;
}

/* ======= ADDONS LIST ======= */
.tour-addon-card {
  display: grid;
  grid-template-areas: "image content pricing";
  grid-template-columns: 200px 1fr 250px;
  border: 1px solid var(--light-gray);
  box-shadow: 0 0 7px 0px #0000002b;
  margin: 30px 0px;
  border-radius: 12px;
  height: 150px;
}

.tour-addon-card__image-wrapper {
  grid-area: image;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.tour-addon-card__image-wrapper img {
  width: 100%;
  height: 100%;
}

.tour-addon-card__content {
  grid-area: content;
  margin: 30px 0px 30px 24px;
  padding-right: 10px;
  border-right: 2px solid var(--light-gray);
  overflow-y: auto;
}

.tour-addon-card__content h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
}

.tour-addon-card__content p {
  font-size: 14px;
  color: #374151;
  line-height: 1.5;
  margin: 0;
}

.tour-addon-card__pricing {
grid-area: pricing;
align-self: center;
margin-left: 10px;
overflow-y: auto;
max-height: 100%;
padding: 16px 16px 16px 0px;
}

.tour-addon-card__price {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tour-addon-card__price p{
  font-size: 12px;
}


.price__value, .price__symbol {
  font-weight: 700;
  color: var(--dark-blue);
}

.price__abb {
  font-size: 10px;
  color: #374151;
}

.tour-addon-card__action {
    justify-self: start;
    border: none;
    border-radius: 8px;
    background: var(--yellow);
    color: var(--dark-blue);
    font-weight: 700;
    padding: 8px 14px;
    cursor: pointer;
    margin: 0 0 0 4px;
}

.tour-addon-card__action.is-active {
    background: #d9e8ff;
}

.tour-addon-card__action.is-active:hover {
    background: #fee2e2;
    color: #dc2626;
}

.tour-addon-card__selector {
    display: inline-flex;
    align-items: center;
    margin: 0 0 0 4px;
}

.tour-addon-card__qty-btn {
    width: 20px;
    border-radius: 8px;
    border: 1px solid #d6ddeb;
    background: #fff;
    color: var(--dark-blue);
    font-size: 18px;
    cursor: pointer;
}

.tour-addon-card__qty-value {
    min-width: 24px;
    text-align: center;
    font-weight: 700;
    color: var(--dark-blue);
}

.tour-customize__summary {
    position: sticky;
    top: var(--tour-customize-sticky-top);
}

.tour-customize-summary {
    background: #fff;
    border: 1px solid #dce3f1;
    border-radius: 14px;
    box-shadow: 0 16px 30px rgba(27, 42, 74, 0.1);
    overflow: hidden;
}

/* Header */
.tour-customize-summary__header {
    padding: 14px 18px;
    border-bottom: 1px solid #edf2fb;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #1b2a4a;
}

/* Info section */
.tour-customize-summary__info-section {
    padding: 0 18px;
}

.tour-customize-summary__info-row {
    padding: 12px 0;
    border-bottom: 1px solid #edf2fb;
}

.tour-customize-summary__info-row:last-child {
    border-bottom: none;
}

.tour-customize-summary__info-display {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tour-customize-summary__row-icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    background: #fef9e7;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d97706;
}

.tour-customize-summary__row-body {
    flex: 1;
    min-width: 0;
}

.tour-customize-summary__row-label {
    display: block;
    font-size: 11px;
    color: #8090ac;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.tour-customize-summary__row-value {
    display: block;
    font-size: 13px;
    color: #1b2a4a;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tour-customize-summary__row-edit {
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: #b0bdda;
    padding: 5px;
    border-radius: 6px;
    line-height: 0;
    transition: color 0.15s, background 0.15s;
}

.tour-customize-summary__row-edit:hover {
    color: #1b2a4a;
    background: #f0f4ff;
}

.tour-customize-summary__info-editor {
    margin-top: 8px;
}

.tour-customize-summary__row-input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #c9d5ea;
    border-radius: 8px;
    font-size: 13px;
    color: #1b2a4a;
    background: #f7f9fe;
    box-sizing: border-box;
    outline: none;
    font-family: inherit;
}

.tour-customize-summary__row-input:focus {
    border-color: #4a7bd4;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(74, 123, 212, 0.1);
}

/* Divider */
.tour-customize-summary__divider {
    border: none;
    border-top: 1px solid #edf2fb;
    margin: 0;
}

/* Travelers */
.tour-customize-summary__travelers {
    padding: 14px 18px;
}

.tour-customize-summary__travelers-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.tour-customize-summary__section-label {
    font-size: 14px;
    font-weight: 700;
    color: #1b2a4a;
}

.tour-customize-summary__traveler-rows {
    display: grid;
    gap: 8px;
    padding-left: 44px;
}

.tour-customize-summary__traveler-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #4b5873;
}

.tour-customize-summary__counter {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tour-customize-summary__counter-btn {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: 1px solid #d6ddeb;
    background: #fff;
    color: #33435f;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background 0.15s, border-color 0.15s;
}

.tour-customize-summary__counter-btn:hover {
    background: #f0f4ff;
    border-color: #b0bdda;
}

.tour-customize-summary__counter-val {
    min-width: 20px;
    text-align: center;
    font-weight: 700;
    color: #1b2a4a;
    font-size: 14px;
}

/* Price section */
.tour-customize-summary__price-section {
    padding: 14px 18px;
}

.tour-customize-summary__price-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #5d6880;
    margin-bottom: 4px;
}

.tour-customize-summary__price-amount {
    font-size: 26px;
    font-weight: 800;
    color: #1b2a4a;
    line-height: 1.2;
    margin-bottom: 10px;
}

.tour-customize-summary__price-amount small {
    font-size: 12px;
    font-weight: 600;
    color: #7b86a1;
    margin-left: 3px;
    vertical-align: middle;
}

.tour-customize-summary__breakdown {
    display: grid;
    gap: 6px;
    border-top: 1px solid #edf2fb;
}

.tour-customize-summary__breakdown-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    font-size: 13px;
    color: #5d6880;
    padding: 14px 22px;
}

.tour-customize-summary__breakdown-row > span:last-child {
    font-weight: 600;
    color: #33435f;
    text-align: right;
}

.tour-customize-summary__breakdown-row small {
    font-size: 10px;
    color: #7b86a1;
    font-weight: 400;
    margin-left: 2px;
}

/* No payment banner */
.tour-customize-summary__no-payment {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #fefce8;
    border: 1px solid #fde68a;
    border-radius: 10px;
    padding: 12px;
    margin: 0 18px 14px;
}

.tour-customize-summary__no-payment svg {
    flex-shrink: 0;
    color: #d97706;
    margin-top: 1px;
}

.tour-customize-summary__no-payment strong {
    display: block;
    font-size: 13px;
    color: #92400e;
    font-weight: 700;
}

.tour-customize-summary__no-payment p {
    margin: 2px 0 0;
    font-size: 12px;
    color: #b45309;
}

/* Actions */
.tour-customize-summary__actions {
    padding: 18px 14px;
    display: grid;
    gap: 8px;
}

.tour-customize-summary__btn {
    width: 100%;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    padding: 13px 14px;
    cursor: pointer;
    border: none;
    font-family: inherit;
    transition: opacity 0.15s, transform 0.1s;
}

.tour-customize-summary__btn:active {
    transform: scale(0.98);
}

.tour-customize-summary__btn--secondary {
    border: 1px solid #cfd8ea;
    background: #fff;
    color: #33435f;
    padding: 10px 14px;
    font-size: 13px;
}

.tour-customize-summary__btn--primary {
    background: #f5c800;
    color: #1b2a4a;
    font-size: 15px;
    letter-spacing: 0.3px;
}

.tour-customize-summary__btn--primary:hover {
    background: #eab308;
}

/* Security block */
.tour-customize-summary__security {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 18px;
    border-top: 1px solid #edf2fb;
}

.tour-customize-summary__security svg {
    flex-shrink: 0;
    color: #9ba8bf;
    margin-top: 1px;
}

.tour-customize-summary__security strong {
    display: block;
    font-size: 13px;
    color: #33435f;
    font-weight: 600;
}

.tour-customize-summary__security p {
    margin: 2px 0 0;
    font-size: 12px;
    color: #7b86a1;
}

/* Add-ons section */
.tour-customize-summary__addons-section {
    padding: 14px 18px;
}

.tour-customize-summary__addons {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
    padding-left: 44px;
    display: grid;
    gap: 6px;
}

.tour-customize-summary__addon {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    font-size: 13px;
    color: #4b5873;
}

.tour-customize-summary__addon>span{
    max-width: 60%;
}

.tour-customize-summary__addon strong {
    font-weight: 600;
    color: #33435f;
    white-space: nowrap;
}

.tour-customize-summary__empty {
    font-size: 13px;
    color: #9ba8bf;
    font-style: italic;
}

@media (max-width: 1200px) and (min-width: 981px) {
  .tour-addon-card {
    grid-template-columns: 160px 1fr 200px;
    height: 120px;
  }

  .tour-addon-card__content h3 {
    font-size: 12px;
  }

  .tour-addon-card__content p {
    font-size: 10px;
  }

  .tour-addon-card__price p {
    font-size: 10px;
  }

  .price__value, .price__symbol {
    font-weight: 600;
    color: var(--dark-blue);
    font-size: 12px;
  }

  .price__abb {
    font-size: 8px;
    color: #374151;
  }
}

@media (max-width: 980px) {
  .tour-customize__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .tour-customize__summary {
    position: static;
    top: auto;
  }

  .addon-item {
    grid-template-columns: 200px 1fr 220px
  }
}

@media (max-width: 768px) {
  .tour-addon-card {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "image content"
      "image pricing";
  }

  .tour-addon-card__content {
    margin: 10px 5px 10px 10px;
    padding-right: 5px;
    border-right: none;
  }

  .tour-addon-card__pricing {
    margin: 0px 16px;
    padding: 0px;
  }
}

@media (max-width: 640px) {
  .tour-customize {
    padding: 24px 0 48px;
  }

  .tour-customize__title {
    font-size: 27px;
  }
}

@media (max-width: 520px){
  .tour-addon-card {
    grid-template-columns: 1fr;
    grid-template-areas:
        "image"
        "content"
        "pricing";
    height: auto;
  }

  .tour-addon-card__content {
    margin: 20px 24px;
  }

  .tour-addon-card__pricing {
    margin: 0px 24px;
    padding: 16px 0px;
  }
}
