.section-title-dual {
    text-align: center;
    margin-bottom: 10px;
}

.section-title-eyebrow {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-style: italic;
    color: var(--culoare-accent);
    font-size: 1rem;
    margin-bottom: 6px;
}

.section-title-sm {
    font-size: 1.1rem;
    margin: 32px 0 12px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.products-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.products-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 900px) {
    .products-grid,
    .products-grid-2,
    .products-grid-3,
    .products-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .products-grid,
    .products-grid-2,
    .products-grid-3,
    .products-grid-4 {
        grid-template-columns: 1fr;
    }
}

.product-card {
    background: var(--culoare-fundal);
    border: 1px solid var(--culoare-border);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-card-image {
    position: relative;
    display: block;
}

.product-card-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.product-card-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.product-card-badge {
    background: var(--culoare-accent);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}

.product-card-photo-count {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 0.78rem;
    padding: 3px 9px;
    border-radius: 20px;
}

.product-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card-body h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
}

.product-card-body h3 a {
    color: var(--culoare-text);
}

.product-card-description {
    margin: 0 0 10px;
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--culoare-text-secundar);
}

.product-card-quantity {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
    margin-bottom: 10px;
    background: var(--culoare-fundal-alt);
    border: 1px solid var(--culoare-border);
    color: var(--culoare-text-secundar);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
}

.product-card-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.product-card-spec {
    font-size: 0.8rem;
    color: var(--culoare-text-secundar);
}

.product-card-spec strong {
    color: var(--culoare-text);
}

.product-card-spec-evidentiat {
    color: var(--culoare-accent);
    font-weight: 700;
}

.product-card-spec-evidentiat strong {
    color: var(--culoare-accent);
}

.product-card-price {
    font-size: 0.95rem;
    color: var(--culoare-text-secundar);
    margin-bottom: 14px;
}

.product-card-price strong {
    color: var(--culoare-accent);
    font-size: 1.2rem;
}

.product-card-actions {
    display: flex;
    gap: 10px;
}

.product-card-btn-primary,
.product-card-btn-secondary {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 9px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.88rem;
}

.product-card-btn-primary {
    background: var(--culoare-accent);
    color: #fff;
}

.product-card-btn-primary:hover {
    background: var(--culoare-accent-hover);
}

.product-card-btn-secondary {
    background: var(--culoare-fundal-alt);
    color: var(--culoare-text);
}

/* Pagina de detaliu produs (?produs=slug) */

.product-detail-back {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--culoare-text-secundar);
    font-size: 0.9rem;
}

.product-detail-cover {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.product-detail h1 {
    margin: 0 0 8px;
}

.product-detail-price {
    display: block;
    font-size: 1.1rem;
    color: var(--culoare-text-secundar);
    margin-bottom: 16px;
}

.product-detail-price strong {
    color: var(--culoare-accent);
    font-size: 1.4rem;
}

.product-detail-route-btn {
    display: inline-flex;
    max-width: 260px;
    margin-bottom: 16px;
}

.product-detail-description {
    line-height: 1.7;
    margin-bottom: 16px;
}

.product-photos-grid {
    column-count: 3;
    column-gap: 16px;
    margin-bottom: 20px;
}

@media (max-width: 900px) {
    .product-photos-grid {
        column-count: 2;
    }
}

@media (max-width: 560px) {
    .product-photos-grid {
        column-count: 1;
    }
}

.product-photo-item {
    display: block;
    break-inside: avoid;
    margin-bottom: 16px;
    border-radius: 8px;
    overflow: hidden;
    cursor: zoom-in;
}

.product-photo-item img {
    width: 100%;
    display: block;
}

.product-packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

@media (max-width: 700px) {
    .product-packages-grid {
        grid-template-columns: 1fr;
    }
}

.product-package-card {
    background: var(--culoare-fundal-alt);
    border-radius: 8px;
    padding: 16px;
    text-align: center;
}

.product-package-card h4 {
    margin: 0 0 8px;
    font-size: 0.95rem;
}

.product-package-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--culoare-accent);
}

.product-package-price span {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--culoare-text-secundar);
}

.product-rules-group-title {
    font-size: 0.95rem;
    margin: 18px 0 8px;
    color: var(--culoare-text-secundar);
}

.product-detail-rules {
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
}

.product-detail-rules li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--culoare-border);
    font-size: 0.92rem;
}

.product-detail-rule-evidentiat {
    background: rgba(255, 122, 26, 0.08);
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 6px;
}

.product-detail-rule-evidentiat span {
    font-weight: 700;
    color: var(--culoare-accent);
}

.reservation-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 480px;
    margin-top: 16px;
}

.reservation-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.88rem;
    color: var(--culoare-text-secundar);
}

.reservation-form input,
.reservation-form textarea {
    padding: 10px 12px;
    border: 1px solid var(--culoare-border);
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--culoare-text);
}

.reservation-form button[type="submit"] {
    background: var(--culoare-accent);
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
}

.reservation-form button[type="submit"]:hover {
    background: var(--culoare-accent-hover);
}

.reservation-status {
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 0.9rem;
}

.reservation-status-ok {
    background: rgba(34, 197, 94, 0.12);
    color: #15803d;
}

.reservation-status-error {
    background: rgba(239, 68, 68, 0.12);
    color: #b91c1c;
}

.product-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.product-lightbox.is-open {
    display: flex;
}

.product-lightbox img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 6px;
}

.product-lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.product-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
}

.product-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.25);
}

.product-lightbox-prev {
    left: 16px;
}

.product-lightbox-next {
    right: 16px;
}

@media (max-width: 560px) {
    .product-lightbox-nav {
        width: 40px;
        height: 40px;
    }
}

/* Calendar de disponibilitate pe formularul clasic de produs (fara traseu) - vezi
   calendar_disponibilitate_activ. Reutilizeaza .availability-cal-* din trasee.css pt grila/sloturile
   orare; aici doar durata + starile de selectie ale intervalului (checkin/checkout). */

.reservation-form-qty-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.reservation-form-qty-row .availability-quantity {
    flex: 1 1 140px;
}

.availability-duration {
    margin-top: -4px;
}

.availability-cal-day.is-checkin,
.availability-cal-day.is-checkout {
    background: var(--culoare-accent);
    border-color: var(--culoare-accent);
    color: #fff;
}

.availability-cal-day.is-in-range {
    background: rgba(0, 0, 0, 0.06);
    border-color: var(--culoare-border);
}
