:root{
    --boc-title-font: 'Cormorant Garamond', serif;
    --boc-body-font: "Karla", ui-sans-serif, system-ui, sans-serif;
}

.boc-rooms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}
@media (max-width: 900px) {
    .boc-rooms-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .boc-rooms-grid { grid-template-columns: 1fr; }
}
.boc-room-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,0.06);
    border: 1px solid #eee;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.boc-room-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0,0,0,0.12);
}
.boc-room-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}
.boc-room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.boc-room-card:hover .boc-room-image img { transform: scale(1.05); }
.boc-room-price-badge {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: rgba(53, 68, 51, 0.9);
    color: #fff;
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 8px 14px;
    border-radius: 3px;
}
.boc-room-content { padding: 20px 22px 24px; }
.boc-room-title {
    font-family: var(--boc-title-font, Georgia, 'Times New Roman', serif);
    font-size: 22px;
    font-weight: 400;
    margin: 0 0 10px;
    color: #2b2b2b;
}
.boc-room-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: #555;
    margin-bottom: 12px;
}
.boc-meta-item { display: inline-flex; align-items: center; gap: 5px; }
.boc-room-desc { font-size: 14px; color: #666; line-height: 1.5; margin-bottom: 14px; }
.boc-room-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #354433;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, gap 0.2s ease;
}
.boc-room-link:hover { border-bottom-color: #354433; gap: 10px; }
.boc-arrow { display: inline-block; transition: transform 0.2s ease; }
.boc-room-link:hover .boc-arrow { transform: translateX(3px); }

/* ---------------------------------------------------------------------
   Header override on single room pages, on themes WITHOUT
   'opal-custom-page-field' support (i.e. not Erios's own Header Builder).
   Scoped by body class .boc-header-override, added conditionally in PHP.
   --------------------------------------------------------------------- */
body.boc-header-override header,
body.boc-header-override .site-header,
body.boc-header-override #masthead,
body.boc-header-override #header,
body.boc-header-override .header,
body.boc-header-override .main-header {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 100 !important;
    background: transparent !important;
    box-shadow: none !important;
}
body.boc-header-override header a,
body.boc-header-override header a:visited,
body.boc-header-override .site-header a,
body.boc-header-override .site-header a:visited,
body.boc-header-override #masthead a,
body.boc-header-override #masthead a:visited,
body.boc-header-override #header a,
body.boc-header-override #header a:visited,
body.boc-header-override .header a,
body.boc-header-override .header a:visited,
body.boc-header-override .main-header a,
body.boc-header-override .main-header a:visited {
    color: #fff !important;
}
/* Submenu / dropdown links keep whatever color the theme normally gives
   them - only the top-level menu is forced white over the hero image. */
body.boc-header-override header .sub-menu a,
body.boc-header-override header .sub-menu a:visited,
body.boc-header-override header .dropdown-menu a,
body.boc-header-override header .dropdown-menu a:visited,
body.boc-header-override .site-header .sub-menu a,
body.boc-header-override .site-header .sub-menu a:visited,
body.boc-header-override .site-header .dropdown-menu a,
body.boc-header-override .site-header .dropdown-menu a:visited,
body.boc-header-override #masthead .sub-menu a,
body.boc-header-override #masthead .sub-menu a:visited,
body.boc-header-override #masthead .dropdown-menu a,
body.boc-header-override #masthead .dropdown-menu a:visited,
body.boc-header-override #header .sub-menu a,
body.boc-header-override #header .sub-menu a:visited,
body.boc-header-override #header .dropdown-menu a,
body.boc-header-override #header .dropdown-menu a:visited,
body.boc-header-override .header .sub-menu a,
body.boc-header-override .header .sub-menu a:visited,
body.boc-header-override .header .dropdown-menu a,
body.boc-header-override .header .dropdown-menu a:visited,
body.boc-header-override .main-header .sub-menu a,
body.boc-header-override .main-header .sub-menu a:visited,
body.boc-header-override .main-header .dropdown-menu a,
body.boc-header-override .main-header .dropdown-menu a:visited {
    color: unset !important;
}

/* ---------------------------------------------------------------------
   Erios "#page-title-bar" (breadcrumb/title strip): hidden per-page when
   the admin has NOT explicitly enabled "Show Breadcrumb Bar" in Theme
   Options. Scoped by body class .boc-hide-titlebar, added conditionally
   in PHP based on the accommodation post's own osf_enable_breadcrumb meta.
   --------------------------------------------------------------------- */
.boc-room-page.boc-hide-titlebar #page-title-bar { display: none; }

/* Hero */
.boc-hero {
    position: relative;
    min-height: 520px;
    background-size: cover;
    background-position: center;
    background-color: #3b3b33;
    display: flex;
    align-items: flex-end;
    color: #fff;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}
.boc-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(20,20,15,0.75) 0%, rgba(20,20,15,0.35) 45%, rgba(20,20,15,0.1) 100%);
}
.boc-hero-badge {
    position: absolute;
    right: 5%;
    bottom: 5%;
    max-width: 280px;
    height: auto;
    z-index: 2;
}
@media (max-width: 600px) {
    .boc-hero-badge { max-width: 120px; }
}
.boc-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 30px 30px 40px;
}
.boc-breadcrumb { font-size: 13px; opacity: 0.85; margin-bottom: 20px; }
.boc-breadcrumb a { color: #fff; text-decoration: none; }
.boc-breadcrumb a:hover { text-decoration: underline; }
.boc-breadcrumb span { margin: 0 6px; }
.boc-hero-title {
    font-family: var(--boc-title-font, Georgia, 'Times New Roman', serif);
    font-weight: 400;
    font-size: 46px;
    line-height: 1.15;
    margin: 0 0 10px;
    max-width: 600px;
    color: #fff !important;
}
.boc-hero-subtitle { font-size: 15px; opacity: 0.9; margin-bottom: 18px; max-width: 500px; color: #fff; }
.boc-hero-meta { display: flex; flex-wrap: wrap; gap: 22px; font-size: 15px; margin-bottom: 26px; color: #fff; }
.boc-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--boc-cta-bg, #d9b877);
    color: var(--boc-cta-text, #2b2b2b);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 14px 26px;
    border-radius: 4px;
    transition: background 0.2s ease, color 0.2s ease;
}
.boc-hero-cta:hover {
    background: var(--boc-cta-hover-bg, #c9a75f);
    color: var(--boc-cta-hover-text, #2b2b2b);
}
.boc-hero-cta i {
    font-size: 2em;
}
.boc-hero-cta .boc-icon-svg {
    width: 24px;
    height: 24px;
    font-size: 24px;
}
.boc-hero-cta img {
    width: 1.3em;
    height: 1.3em;
}

/* Layout */
.boc-single-wrap { max-width: 1200px; margin: 0 auto; padding: 0; }
.boc-single-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 50px;
    align-items: start;
    padding-top: 50px;
    padding-bottom: 40px;
}
@media (max-width: 900px) {
    .boc-single-layout { grid-template-columns: 1fr; }
}
.boc-section { margin-bottom: 46px; }
.boc-section-title {
    font-family: var(--boc-title-font, Georgia, 'Times New Roman', serif);
    font-weight: 400;
    font-size: 22px;
    color: #2b2b2b;
    margin-bottom: 20px;
}
.boc-title-accent { width: 40px; height: 2px; background: #c9a75f; margin-bottom: 20px; }
.boc-single-description { font-size: 15px; line-height: 1.85; color: #555; margin-bottom: 26px; }
.boc-quickfacts-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 22px 0;
    border-bottom: 1px solid #ececec;
    margin-bottom: 10px;
}
.boc-quickfacts-item {
    display: flex;
    align-items: center;
    gap: 14px;
}
.boc-quickfacts-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: var(--boc-qf-icon-bg, #f4f4f2);
    font-size: 20px;
    color: var(--boc-qf-icon-color, #354433);
    flex-shrink: 0;
}
.boc-quickfacts-label {
    display: block;
    font-size: 12px;
    color: var(--boc-qf-label-color, #888);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.boc-quickfacts-value {
    display: block;
    font-size: 15px;
    color: var(--boc-qf-value-color, #2b2b2b);
    font-weight: 600;
    max-width: 320px;
}

.boc-featured-info-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}
.boc-featured-info-card {
    flex: 1 1 200px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #faf9f7;
    border: 1px solid #ececec;
    border-radius: 10px;
    padding: 20px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.boc-featured-info-card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}
.boc-featured-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e6e6e6;
    font-size: 18px;
    color: #354433;
    margin-bottom: 4px;
}
.boc-featured-info-title {
    font-family: var(--boc-title-font, Georgia, 'Times New Roman', serif);
    font-size: 16px;
    font-weight: 400;
    color: #2b2b2b;
}
.boc-featured-info-content {
    font-size: 14px;
    color: #777;
    line-height: 1.5;
}

.boc-overview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 30px;
}
@media (max-width: 700px) {
    .boc-overview-grid { grid-template-columns: repeat(2, 1fr); }
}
.boc-overview-item { display: flex; align-items: flex-start; gap: 12px; }
.boc-overview-icon { font-size: 18px; margin-top: 2px; flex-shrink: 0; }
.boc-overview-item strong { display: block; font-size: 15px; color: #2b2b2b; font-weight: 600; }
.boc-overview-item span { display: block; font-size: 15px; color: #888; }

.boc-features-intro { font-size: 15px; color: #555; margin: 24px 0 12px; }
.boc-features-list { list-style: none; margin: 0; padding: 0; }
.boc-features-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 15px;
    color: #444;
    line-height: 1.5;
}
.boc-features-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #c9a75f;
}

/* Gallery carousel */
.boc-gallery-main {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    margin-bottom: 12px;
    background: #eee;
}
.boc-gallery-main-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.boc-gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2b2b2b;
}
.boc-gallery-prev { left: 14px; }
.boc-gallery-next { right: 14px; }
.boc-gallery-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.boc-gallery-thumb {
    width: 90px;
    height: 65px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}
.boc-gallery-thumb.is-active,
.boc-gallery-thumb:hover { opacity: 1; }
.boc-gallery-expand {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(255,255,255,0.9);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2b2b2b;
    transition: background 0.2s ease;
}
.boc-gallery-expand:hover { background: #fff; }

/* Lightbox (no title or caption shown) */
.boc-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10,10,10,0.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.boc-lightbox.is-open { display: flex; }
.boc-lightbox-img {
    max-width: 90vw;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 4px;
}
.boc-lightbox-close,
.boc-lightbox-prev,
.boc-lightbox-next {
    position: fixed;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}
.boc-lightbox-close:hover,
.boc-lightbox-prev:hover,
.boc-lightbox-next:hover { background: rgba(255,255,255,0.2); }
.boc-lightbox-close { top: 24px; right: 24px; width: 42px; height: 42px; border-radius: 50%; font-size: 22px; }
.boc-lightbox-prev,
.boc-lightbox-next { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; font-size: 24px; }
.boc-lightbox-prev { left: 24px; }
.boc-lightbox-next { right: 24px; }

/* Amenities */
.boc-single-full { padding-top: 10px; padding-bottom: 70px; }
.boc-amenities-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
@media (max-width: 1000px) {
    .boc-amenities-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 750px) {
    .boc-amenities-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 500px) {
    .boc-amenities-grid { grid-template-columns: repeat(2, 1fr); }
}
.boc-amenity-pill {
    border: 1px solid #e6e6e6;
    border-radius: 6px;
    padding: 14px 14px;
    font-size: 15px;
    color: #444;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.boc-amenity-icon { font-size: var(--boc-amenity-icon-size, 16px); }
.boc-icon-img { width: 1em; height: 1em; object-fit: contain; vertical-align: -0.15em; display: inline-block; }
.boc-amenity-icon .boc-icon-img { width: var(--boc-amenity-icon-size, 20px); height: var(--boc-amenity-icon-size, 20px); }
.boc-overview-icon .boc-icon-img { width: 20px; height: 20px; }
.boc-hero-meta .boc-icon-img { width: 16px; height: 16px; }
.boc-icon-svg { display: inline-block; width: 1em; height: 1em; vertical-align: -0.15em; color: inherit; }
.boc-icon-svg svg { width: 100%; height: 100%; display: block; fill: currentColor; }
.boc-amenity-icon .boc-icon-svg { width: var(--boc-amenity-icon-size, 20px); height: var(--boc-amenity-icon-size, 20px); }
.boc-overview-icon .boc-icon-svg { width: 20px; height: 20px; }
.boc-hero-meta .boc-icon-svg { width: 16px; height: 16px; }

/* Booking sidebar. The card itself is intentionally unstyled; only the
   iframe inside it gets a shadow. */
.boc-single-sidebar { position: sticky; top: 20px; }
.boc-booking-price { font-size: 15px; color: #555; margin-bottom: 18px; }
.boc-booking-price strong {
    font-size: 24px;
    color: #2b2b2b;
    font-family: var(--boc-title-font, Georgia, 'Times New Roman', serif);
    font-weight: 400;
}
.boc-booking-card .boc-booking-embed-wrap iframe {
    width: 100%;
    border: none;
    display: block;
    min-height: 420px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    border-radius: 50px;
}
.boc-booking-placeholder { font-size: 15px; color: #888; line-height: 1.6; }

/* Body font override (Rooms > Settings > Typography). Falls back to
   'inherit' when no custom body font is configured, i.e. no visual change
   from the theme's own default font. */
.boc-room-page,
.boc-room-card {
    font-family: var(--boc-body-font, inherit);
}

/* Fade-in animation for the hero content and each section */
.boc-hero-inner {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.boc-hero-inner.boc-visible { opacity: 1; transform: translateY(0); }
.boc-section {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.boc-section.boc-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
    .boc-hero-inner, .boc-section {
        opacity: 1;
        transform: none;
        transition: none;
    }
}