/* ==========================================
   Browse by Property Type (Digicells Hotel Booking)
   Additive module — does not override any existing
   .dghb-* classes from style.css.
   ========================================== */

.dghb-pt-wrap {
    width: 100%;
    max-width: 100%;
    padding: 20px 0;
    box-sizing: border-box;
}

.dghb-pt-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 20px;
    color: inherit;
}

.dghb-pt-carousel {
    /* Slick injects its own wrapper markup inside this element */
}

.dghb-pt-item {
    display: block !important; /* override slick's inline display for <a> slides */
    text-decoration: none;
    padding: 0 8px;
    box-sizing: border-box;
}

.dghb-pt-image {
    display: block;
    width: 100%;
    height: 220px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    background-color: #ddd;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dghb-pt-item:hover .dghb-pt-image {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

/* Name below the thumbnail — pulled directly from Elementor's
   global "Text" typography (same variables Elementor itself
   writes into <head>), so it always matches your site's
   Text global font, size, weight and line-height. */
.dghb-pt-name {
    display: block;
    margin-top: 12px;
    font-family: var(--e-global-typography-text-font-family, inherit);
    font-size: var(--e-global-typography-text-font-size, 1rem);
    font-weight: var(--e-global-typography-text-font-weight, 700);
    line-height: var(--e-global-typography-text-line-height, 1.4);
    color: var(--e-global-color-text, #1a1a1a);
}

/* ---------- Slick arrow overrides, scoped only to this carousel ---------- */
.dghb-pt-carousel .slick-prev,
.dghb-pt-carousel .slick-next {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    z-index: 5;
}

.dghb-pt-carousel .slick-prev:hover,
.dghb-pt-carousel .slick-next:hover {
    background: #fff;
}

.dghb-pt-carousel .slick-prev:before,
.dghb-pt-carousel .slick-next:before {
    color: #333;
    font-size: 18px;
    opacity: 1;
}

.dghb-pt-carousel .slick-prev {
    left: -8px;
}

.dghb-pt-carousel .slick-next {
    right: -8px;
}

.dghb-pt-carousel .slick-disabled {
    opacity: 0.35;
}

/* ---------- Category listing results page ---------- */
.dghb-category-listing-wrap {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.dghb-category-listing-heading {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 20px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .dghb-pt-image { height: 190px; }
}

@media (max-width: 640px) {
    .dghb-pt-title { font-size: 1.4rem; }
    .dghb-pt-image { height: 160px; }
    .dghb-pt-carousel .slick-prev,
    .dghb-pt-carousel .slick-next { width: 32px; height: 32px; }
}
