/* Princess Farida gallery: existing brand, touch-friendly controls. */
.pf-gallery .banner-header { background-image:url('/photos/ship3.jpg'); }
.pf-gallery .banner-header .caption { margin-top:0!important; }
.pf-gallery .banner-header h1 { font-size:clamp(34px,4vw,48px); }
.pf-gallery .gallery-section { padding:32px 0 42px; }
.pf-gallery .gallery-section > .container { width:100%; max-width:1240px; padding:0 28px; }
.pf-gallery .gallery-tabs { display:flex; justify-content:center; gap:8px; padding:6px; margin:0 auto 28px; width:fit-content; max-width:100%; background:#fff; border:1px solid #ded5c5; border-radius:8px; box-shadow:0 3px 14px #3e4c3b08; }
.pf-gallery .gallery-tabs .tab-div { display:flex; align-items:center; justify-content:center; gap:9px; min-height:46px; padding:10px 24px; margin:0; border:1px solid transparent; border-radius:5px; background:transparent; color:#48523f; font:500 16px/1.4 'Barlow',sans-serif; cursor:pointer; }
.pf-gallery .gallery-tabs .tab-div:after { display:none; }
.pf-gallery .gallery-tabs .tab-div:hover { background:#f5f1e9; border-color:#ded5c5; }
.pf-gallery .gallery-tabs .tab-div.active { background:#3e4c3b; color:#fff; border-color:#3e4c3b; box-shadow:0 2px 5px #3e4c3b20; }
.pf-gallery .gallery-tabs i { font-size:16px; }
.pf-gallery #imagesGallery, .pf-gallery #videosGallery { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; margin:0; }
.pf-gallery #imagesGallery > div, .pf-gallery #videosGallery > div { width:100%; max-width:none; padding:0; }
.pf-gallery .gallery-section .item { margin:0; padding:0; }
.pf-gallery #imagesGallery .position-re, .pf-gallery #videosGallery .position-re { position:relative; border-radius:7px; overflow:hidden; border:1px solid #d8cfbf; box-shadow:0 4px 14px #2633230c; background:#fff; }
.pf-gallery #imagesGallery .item img, .pf-gallery #videosGallery .item img { display:block; width:100%; height:auto; aspect-ratio:4/3; object-fit:cover; transition:transform .25s ease; }
.pf-gallery #videosGallery .item img { aspect-ratio:16/10; }
.pf-gallery .gallery-section .position-re:hover img { filter:none; -webkit-filter:none; transform:scale(1.025); }
.pf-gallery .gallery-section .title-overlay { position:static; transform:none; display:block; padding:0; border:0; border-radius:0; background:#fff; opacity:1; text-align:left; }
.pf-gallery .title-overlay > a:not(.gallery-open) { display:none; }
.pf-gallery .gallery-open { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:17px 18px; min-height:64px; }
.pf-gallery .gallery-open:before { content:''; position:absolute; inset:0; z-index:2; }
.pf-gallery .gallery-open:after { content:'↗'; color:#aa8453; font:24px/1 'Barlow',sans-serif; }
.pf-gallery .gallery-open h3 { font-family:'Gilda Display',serif; font-size:22px!important; line-height:1.3; color:#3e4c3b!important; margin:0!important; }
.pf-gallery .gallery-section .video-gallery-polygon { top:14px; right:14px; bottom:auto; left:auto; width:38px; height:38px; display:flex; align-items:center; justify-content:center; border:1px solid #ffffff80; background:#3e4c3bc9; border-radius:50%; color:#fff; pointer-events:none; }
.pf-gallery #photo-gallery { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; margin:0; scroll-margin-top:24px; }
.pf-gallery #photo-gallery > div { width:100%; max-width:none; padding:0; }
.pf-gallery #photo-gallery .position-re { padding:8px; background:white; border:1px solid #ded5c5; border-radius:6px; }
.pf-gallery #photo-gallery img { width:100%; height:260px!important; object-fit:contain; background:#fff; }
.pf-gallery .pagination { margin-top:24px; gap:12px; flex-wrap:wrap; }
.pf-gallery .pagination button { min-height:44px; padding:10px 20px; font:500 15px/1.4 'Barlow',sans-serif; border:1px solid #aa8453; background:#aa8453; }
.pf-gallery .pagination button:disabled { opacity:.4; cursor:default; box-shadow:none; }
.pf-gallery .pagination span { font:14px 'Barlow',sans-serif; color:#3e4c3b; }
.pf-gallery .gallery-section :focus-visible { outline:2px solid #aa8453; outline-offset:4px; }
.pf-gallery .position-re:focus-within { outline:2px solid #aa8453; outline-offset:3px; }
@media(max-width:1199px) { .pf-gallery #imagesGallery,.pf-gallery #videosGallery { grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; } .pf-gallery #photo-gallery { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:767px) {

 .pf-gallery .gallery-section { padding:22px 0 30px; }
 .pf-gallery .gallery-section > .container { padding:0 18px; }
 .pf-gallery .gallery-tabs { width:100%; gap:4px; padding:5px; margin-bottom:20px; }
 .pf-gallery .gallery-tabs .tab-div { flex:1; padding:10px 6px; font-size:14px; gap:5px; }
 .pf-gallery .gallery-tabs i { font-size:14px; }
 .pf-gallery .gallery-open { padding:14px; min-height:58px; }
 .pf-gallery .gallery-open h3 { font-size:21px!important; }
 .pf-gallery #photo-gallery { gap:10px; }
 .pf-gallery #photo-gallery img { height:210px!important; }
}
@media(max-width:575px) { .pf-gallery #imagesGallery,.pf-gallery #videosGallery { grid-template-columns:minmax(0,1fr); gap:18px; } }
@media(max-width:359px) { .pf-gallery .gallery-tabs i { display:none; } .pf-gallery .gallery-tabs .tab-div { font-size:13px; } }
@media(prefers-reduced-motion:reduce) { .pf-gallery .gallery-section .item img { transition:none; } }

.pf-gallery #videosGallery > h4 { grid-column:1/-1; font-size:28px!important; margin:8px 0 0!important; padding:0 0 10px; }
@media(max-width:767px) { .pf-gallery .fixed-enquiry-button { display:none!important; } }

.pf-gallery #videosGallery > .gallery-section-heading { grid-column:1/-1; padding:16px 0 14px; margin:4px 0 0; border-bottom:1px solid #d9ccb4; }
.pf-gallery .gallery-section-heading span { display:block; font:500 11px/1.5 'Barlow',sans-serif; text-transform:uppercase; letter-spacing:.16em; color:#917048; margin-bottom:7px; }
.pf-gallery .gallery-section-heading h2 { font:400 32px/1.25 'Gilda Display',serif; color:#3e4c3b; margin:0; }
@media(max-width:767px) { .pf-gallery .gallery-section-heading h2 { font-size:27px; } }

.pf-gallery .gallery-image-link { display:block; position:relative; cursor:pointer; }
.pf-gallery .gallery-open:before { display:none; }

/* Reservation panel, visible on every device. */
.pf-gallery .gallery-reservation { background:#f8f5ef; padding:36px 28px 48px; }
.pf-gallery .gallery-reservation .background { padding:0!important; background:#3e4c3b!important; border:1px solid #d8c9ae; border-radius:10px; overflow:hidden; }
.pf-gallery .gallery-reservation .background:before { display:none; }
.pf-gallery .gallery-reservation .container { width:100%; max-width:1200px; padding:30px; }
.pf-gallery .gallery-reservation .container > .row { display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); gap:32px; align-items:center; margin:0; }
.pf-gallery .gallery-reservation .container > .row > div { width:100%; max-width:none; padding:0; margin:0!important; }
.pf-gallery .reservation-eyebrow { display:block; color:#dfc39b; text-transform:uppercase; font:12px/1.5 'Barlow',sans-serif; letter-spacing:.14em; margin:16px 0; }
.pf-gallery .gallery-reservation h2 { color:#fff; font:38px/1.2 'Gilda Display',serif; margin:0 0 18px; }
.pf-gallery .reservation-intro { color:#e6e9e2; font:16px/1.7 'Barlow',sans-serif; margin-bottom:26px; }
.pf-gallery .gallery-reservation .booking-box { padding:24px; margin:0; background:#fffdf9; border:1px solid #e5dac8; border-radius:7px; box-shadow:0 8px 24px #17201920; }
.pf-gallery .gallery-reservation .head-box { padding:0 0 18px; margin:0 0 18px; border-bottom:1px solid #e7dece; }
.pf-gallery .gallery-reservation .head-box h6 { color:#987348; font-size:11px; letter-spacing:.14em; margin-bottom:7px; }
.pf-gallery .gallery-reservation .head-box h4 { font:27px/1.25 'Gilda Display',serif; margin:0; }
.pf-gallery .gallery-reservation .booking-inner { padding:0; }
.pf-gallery #form1 > .row { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin:0; }
.pf-gallery #form1 > .row > div { padding:0; width:100%; max-width:none; }
.pf-gallery #form1 > .row > div:nth-of-type(n+7) { grid-column:1/-1; }
.pf-gallery #form1 .input1_wrapper,.pf-gallery #form1 .select1_wrapper { margin:0; }
.pf-gallery #form1 label { display:block; font:13px/1.4 'Barlow',sans-serif; color:#3e4c3b; margin:0 0 6px; }
.pf-gallery #form1 input:not([type=hidden]),.pf-gallery #form1 textarea { border:1px solid #d9d2c5; border-radius:4px; background:#fff; font:16px/1.4 'Barlow',sans-serif; margin:0; padding:12px 32px 12px 12px; height:46px; }
.pf-gallery #form1 textarea { height:94px!important; width:100%; }
.pf-gallery #form1 .select2-selection { height:46px; border:1px solid #d9d2c5; border-radius:4px; background:#fff; }
.pf-gallery #form1 .select2-selection__rendered { line-height:44px; padding-left:12px; font-size:16px; }
.pf-gallery #form1 .btn-form1-submit { margin:0!important; min-height:46px; border-radius:4px; font:500 15px 'Barlow',sans-serif; background:#aa8453; }
@media(max-width:991px) { .pf-gallery .gallery-reservation .container > .row { grid-template-columns:minmax(0,1fr); } }
@media(max-width:767px) {
 .pf-gallery .gallery-reservation { padding:24px 18px 30px; }
 .pf-gallery .gallery-reservation .container { padding:20px 16px; }
 .pf-gallery .gallery-reservation h2 { font-size:31px; }
 .pf-gallery .gallery-reservation .booking-box { padding:18px 14px; }
 .pf-gallery .gallery-reservation .head-box h4 { font-size:25px; }
 .pf-gallery #form1 > .row > div:nth-of-type(-n+4) { grid-column:1/-1; }
 .pf-gallery .fixed-enquiry-button { display:flex!important; left:10px; right:86px; bottom:calc(14px + env(safe-area-inset-bottom)); gap:6px; width:auto; z-index:1030; }
 .pf-gallery .fixed-enquiry-button .theme-btn { display:flex!important; align-items:center; justify-content:center; flex:1; min-width:0; height:46px; padding:8px 5px; font:500 13px/1.2 'Barlow',sans-serif; white-space:normal; margin:0!important; border-radius:5px; box-shadow:0 3px 12px #17201925; }
 .pf-gallery .fixed-enquiry-button .theme-btn:first-child { background:#3e4c3b!important; border-color:#3e4c3b!important; }
 .pf-gallery.modal-open .fixed-enquiry-button,.pf-gallery.fancybox-active .fixed-enquiry-button { display:none!important; }
 .pf-gallery .footer-bottom { padding-bottom:86px; }
}

.pf-gallery .gallery-reservation .head-box h4 { border:0; padding:0; }
.pf-gallery .gallery-reservation .reservations { margin-bottom:0!important; }

.pf-gallery #form1 .select2-container { width:100%!important; }
.pf-gallery #form1 .select2-selection--single { padding:0!important; }
.pf-gallery #form1 .select2-selection__rendered { padding:0 28px 0 12px!important; line-height:44px!important; }
.pf-gallery #form1 .select2-selection__arrow { height:44px!important; }

.pf-gallery #form1 .select2-selection--single { display:block!important; width:100%!important; }
.pf-gallery #form1 .select2-selection__rendered { display:block!important; border:0!important; background:transparent!important; }

/* Entire select surface opens its menu, including blank space and arrow. */
.pf-gallery #form1 .select2-container, .pf-gallery #form2 .select2-container { width:100%!important; }
.pf-gallery #form1 .select2-container .selection, .pf-gallery #form2 .select2-container .selection { display:block; width:100%; }
.pf-gallery #form1 .select2-selection--single, .pf-gallery #form2 .select2-selection--single { display:block; width:100%; cursor:pointer; }
.pf-gallery #form1 .input1_inner:after, .pf-gallery #form1 .input2_inner:after, .pf-gallery #form1 .input3_inner:after, .pf-gallery #form1 .input4_inner:after, .pf-gallery #form1 .input5_inner:after,
.pf-gallery #form2 .input1_inner:after, .pf-gallery #form2 .input2_inner:after, .pf-gallery #form2 .input3_inner:after, .pf-gallery #form2 .input4_inner:after, .pf-gallery #form2 .input5_inner:after { pointer-events:none; }
@media(max-width:767px) { .pf-gallery .reservation-form-column { display:none!important; } }

/* Normalize Select2 boxes and align icons to the actual input height. */
.pf-gallery #form1 .select2-container, .pf-gallery #form2 .select2-container { display:block; margin:0!important; padding:0!important; background:transparent; }
.pf-gallery #form1 .select2-container .selection, .pf-gallery #form2 .select2-container .selection { display:block; margin:0; padding:0; }
.pf-gallery #form1 .select1_inner, .pf-gallery #form2 .select1_inner { line-height:normal; }
.pf-gallery #form1 .select2-selection--single { height:46px!important; min-height:46px; }
.pf-gallery #form2 .select2-selection--single { height:62px!important; min-height:62px; padding:0!important; }
.pf-gallery #form2 .select2-selection__rendered { display:block; padding:0 44px 0 20px!important; line-height:62px!important; }
.pf-gallery #form1 .select1_inner:after, .pf-gallery #form2 .select1_inner:after,
.pf-gallery #form1 .input1_inner:after, .pf-gallery #form1 .input2_inner:after, .pf-gallery #form1 .input3_inner:after, .pf-gallery #form1 .input4_inner:after,
.pf-gallery #form2 .input1_inner:after, .pf-gallery #form2 .input2_inner:after, .pf-gallery #form2 .input3_inner:after, .pf-gallery #form2 .input4_inner:after { top:50%!important; transform:translateY(-50%); line-height:1; margin:0; pointer-events:none; }
.pf-gallery #form1 .input5_inner:after, .pf-gallery #form2 .input5_inner:after { top:15px!important; transform:none; line-height:1; }

.pf-gallery #form1 .select2-container { height:46px; line-height:0; }
.pf-gallery #form2 .select2-container { height:62px; line-height:0; }

.pf-gallery #form2 .select2-selection--single { background:#fff; }
.pf-gallery #form2 .select1_wrapper { margin-bottom:15px; }

/* Keep booking actions separate from the bottom-right chat launcher. */
@media(max-width:767px) {
 .pf-gallery .fixed-enquiry-button { left:12px; right:auto; width:154px; flex-direction:column; gap:7px; bottom:calc(16px + env(safe-area-inset-bottom)); }
 .pf-gallery .fixed-enquiry-button .theme-btn { width:100%; flex:none; min-height:44px; height:44px; padding:10px 12px; font-size:14px; border:1px solid #ffffff40; }
}
