/* ---------- Page shell ---------- */
body {
    background: linear-gradient(180deg, #f6f8f7 0%, #ffffff 100%);
}

.center {
    text-align: center;
}

.padding {
    margin-bottom: 2rem;
}

.subtitle {
    font-size: 1.2rem;
}

#book {
    padding: 3rem 0 5rem;
}

#book h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #203f39;
    margin-bottom: 0.5rem;
    text-align: center;
}

#book h1 {
    color: #203f39;
}

/* ---------- Category tabs ---------- */
.booking-tabs {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.booking-tabs button {
    padding: 0.65rem 1.6rem;
    border-radius: 999px;
    border: 1px solid rgba(32, 63, 57, 0.15);
    background: white;
    color: #203f39;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.booking-tabs button:hover {
    background: rgba(32, 63, 57, 0.06);
}

.booking-tabs button.active {
    background: #203f39;
    color: white;
    border-color: #203f39;
    box-shadow: 0 10px 20px rgba(32, 63, 57, 0.25);
}

/* ---------- Products grid ---------- */
.booking-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}


/* ---------- Product card ---------- */
.booking-card {
    background: white;
    border-radius: 18px;
    padding: 2rem 1.8rem;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.06),
        0 1px 0 rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.booking-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.1),
        0 1px 0 rgba(0, 0, 0, 0.04);
}

.booking-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #203f39;
    margin-bottom: 0.75rem;
}

/* Description from Bookeo (HTML-safe) */
.booking-card .desc {
    color: #4f5f5b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* ---------- Book button ---------- */
.booking-card a {
    margin-top: auto;
    align-self: flex-start;
    text-decoration: none;
    background: linear-gradient(135deg,
            #203f39,
            #2f5c52);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.booking-card a:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(32, 63, 57, 0.35);
}

/* ---------- Mobile polish ---------- */
@media (max-width: 600px) {
    #book {
        padding-top: 2rem;
    }

    .booking-card {
        padding: 1.6rem;
    }

    .booking-card h3 {
        font-size: 1.15rem;
    }
}


.view {
    display: none;
}

.view.active {
    display: block;
}

.back-btn {
    background: none;
    border: none;
    font-weight: 600;
    color: #203f39;
    cursor: pointer;
    margin-bottom: 1.5rem;
}


.category-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 3rem;
    max-width: 820px;
    margin: auto;
}


.category-card {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 1.75rem 2rem;
    border-radius: 16px;
    background: white;
    cursor: pointer;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.category-card:hover {
    background: #f6faf9;
    transform: translateX(6px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
}

.category-card h2 {
    color: #203f39;
    margin-bottom: .5rem;
}

.category-card p {
    text-align: right;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;

    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;

    font-size: 1rem;
    font-weight: 600;

    border-radius: 10px;
    border: none;

    cursor: pointer;

    transition: transform 0.51s ease;
}

.back-btn:hover {
    background-color: #d5e4e0;
    transform: translateY(-1px);
}

.back-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.back-btn:focus-visible {
    outline: 3px solid #4f46e5;
    outline-offset: 3px;
}

/* Loader wrapper */
.loader-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 40px 0;
}

/* Spinner */
.spinner {
    width: 42px;
    height: 42px;
    border: 4px solid #e5e7eb;
    border-top-color: #0f766e;
    /* your brand color */
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loader-text {
    font-size: 15px;
    color: #6b7280;
}

/* Skeleton cards */
.skeleton-list {
    width: 100%;
    max-width: 640px;
    display: grid;
    gap: 16px;
}

.skeleton-card {
    padding: 16px;
    border-radius: 12px;
    background: #f9fafb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.skeleton-title,
.skeleton-line {
    background: linear-gradient(90deg,
            #e5e7eb 25%,
            #f3f4f6 37%,
            #e5e7eb 63%);
    background-size: 400% 100%;
    animation: shimmer 1.4s ease infinite;
    border-radius: 6px;
}

.skeleton-title {
    height: 18px;
    width: 60%;
    margin-bottom: 12px;
}

.skeleton-line {
    height: 14px;
    margin-bottom: 8px;
}

.skeleton-line.short {
    width: 40%;
}

@keyframes shimmer {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: 0 0;
    }
}

.card-title {
  margin-bottom: 0.5rem;
}

.desc {
  color: #333;
  margin-bottom: 1rem;
}

.extras-note {
  color: #555;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.extras-icon {
  font-size: 1.2rem;
  line-height: 1;
}

.card-action {
  margin-top: auto;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
}

.btn-primary {
  background: #0f766e;
  color: #fff;
}

.btn-primary:hover {
  background: #115e59;
}

.btn-outline {
  border: 2px solid #0f766e;
  color: #0f766e;
}

.btn-outline:hover {
  background: #0f766e;
  color: #fff;
}
