/* Hide default WooCommerce single product wrapper */
.single-product div.product { display: block !important; }
.woocommerce-product-gallery, .entry-summary, .woocommerce-tabs { display: none !important; }
/* Tailwind fallbacks just in case */
.max-w-\[1280px\] { max-width: 1280px; }

/* ================================================================
   STAYCATION BOOKING MODAL (tour-style, scoped)
   ================================================================ */
.goto-stay-modal { position: fixed; inset: 0; z-index: 99999; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(0,0,0,0.55); backdrop-filter: blur(4px); }
.goto-stay-modal.is-open { display: flex; }
.goto-stay-modal-inner { background: #fff; border-radius: 20px; width: 100%; max-width: 520px; max-height: 92vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,0.3); animation: stayModalIn 0.25s cubic-bezier(0.16,1,0.3,1); }
@keyframes stayModalIn { from { opacity:0; transform: translateY(24px) scale(0.97);} to {opacity:1; transform:none;} }
.goto-stay-modal-head { background: linear-gradient(135deg, #14b8a6, #0d9488); padding: 18px 22px; display: flex; align-items: center; gap: 12px; color: #fff; border-radius: 20px 20px 0 0; }
.goto-stay-modal-head-icon { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.goto-stay-modal-head h3 { margin: 0; font-size: 16px; font-weight: 700; }
.goto-stay-modal-head p  { margin: 2px 0 0; font-size: 12px; opacity: 0.9; }
.goto-stay-modal-head > div:nth-child(2) { flex: 1; }
.goto-stay-modal-close { background: transparent; border: none; color: rgba(255,255,255,0.8); font-size: 18px; cursor: pointer; padding: 4px; }
.goto-stay-modal-close:hover { color: #fff; }
.goto-stay-modal-form { padding: 20px 22px 22px; }
.goto-stay-modal-summary { background: #f0fdfa; border: 1px solid #a7f3d0; border-radius: 12px; padding: 16px; margin-bottom: 18px; }
.goto-stay-modal-summary-title { font-size: 14px; font-weight: 700; color: #111827; margin: 0 0 12px; }
.goto-stay-modal-summary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; font-size: 12px; margin-bottom: 14px; }
.goto-stay-modal-summary-grid > div { display: flex; flex-direction: column; gap: 2px; }
.goto-stay-modal-summary-grid span { color: #6b7280; }
.goto-stay-modal-summary-grid strong { color: #111827; font-size: 13px; }
.goto-stay-modal-summary-total { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px solid #a7f3d0; font-size: 14px; font-weight: 600; color: #111827; }
.goto-stay-modal-summary-total strong { font-size: 20px; color: #0d9488; font-weight: 800; }
.goto-stay-modal-fields { display: flex; flex-direction: column; gap: 14px; }
.goto-stay-modal-fields label { display: block; font-size: 13px; font-weight: 600; color: #111827; margin-bottom: 6px; }
.goto-stay-modal-fields label small { font-size: 11px; font-weight: 400; color: #9ca3af; }
.goto-stay-modal-fields textarea { width: 100%; padding: 11px 14px; border: 1px solid #e5e7eb; border-radius: 10px; font-size: 14px; font-family: inherit; resize: vertical; min-height: 72px; background: #fff; }
.goto-stay-modal-fields textarea:focus { outline: none; border-color: #14b8a6; box-shadow: 0 0 0 3px rgba(20,184,166,0.15); }
.goto-stay-form-error { margin-top: 12px; padding: 12px 14px; background: #fef2f2; border: 1px solid #fecaca; border-radius: 10px; color: #b91c1c; font-size: 13px; display: flex; align-items: center; gap: 8px; }
.goto-stay-form-error.hidden { display: none; }
.goto-stay-submit-btn { width: 100%; margin-top: 16px; padding: 15px; background: linear-gradient(135deg, #14b8a6, #0d9488); color: #fff; border: none; border-radius: 12px; font-size: 15px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 4px 12px rgba(20,184,166,0.35); transition: transform 0.15s, box-shadow 0.15s; }
.goto-stay-submit-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(20,184,166,0.45); }
.goto-stay-submit-btn:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }
.goto-stay-modal-note { text-align: center; font-size: 12px; color: #6b7280; margin: 12px 0 0; }
.goto-stay-modal-note i { color: #10b981; }
@media (max-width: 640px) {
    .goto-stay-modal { padding: 0; align-items: flex-end; }
    .goto-stay-modal-inner { border-radius: 20px 20px 0 0; max-height: 92vh; }
    .goto-stay-modal-head { border-radius: 20px 20px 0 0; }
    .goto-stay-modal-summary-grid { grid-template-columns: 1fr 1fr; }
}

/* ================================================================
   RELATED STAYCATIONS ("You may also like")
   ================================================================ */
.goto-related-staycations {
    margin-top: 64px;
    padding-top: 40px;
    border-top: 1px solid #e5e7eb;
}
.goto-related-staycations-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}
.goto-related-staycations-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.goto-related-stay-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    transition: box-shadow 0.2s, transform 0.2s;
}
.goto-related-stay-card:hover {
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.goto-related-stay-img {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f3f4f6;
    position: relative;
}
.goto-related-stay-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.goto-related-stay-card:hover .goto-related-stay-img img {
    transform: scale(1.05);
}
.goto-related-stay-img--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0fdfa, #ccfbf1);
    color: #14b8a6;
    font-size: 40px;
}

.goto-related-stay-body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}
.goto-related-stay-loc {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #14b8a6;
    margin: 0;
}
.goto-related-stay-loc i {
    font-size: 10px;
    margin-right: 2px;
}
.goto-related-stay-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    color: #111827;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.goto-related-stay-meta {
    font-size: 12px;
    color: #6b7280;
}
.goto-related-stay-meta i {
    color: #9ca3af;
    font-size: 11px;
    margin-right: 3px;
}
.goto-related-stay-price {
    font-size: 15px;
    font-weight: 800;
    color: #0d9488;
    margin: 6px 0 0;
}
.goto-related-stay-per {
    font-size: 11px;
    font-weight: 500;
    color: #9ca3af;
}

/* Responsive */
@media (max-width: 1023px) {
    .goto-related-staycations-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .goto-related-staycations { margin-top: 40px; padding-top: 28px; }
    .goto-related-staycations-grid { grid-template-columns: 1fr; gap: 14px; }
}

/* ================================================================

/* ================================================================
   RELATED STAYCATIONS — Centered Header
   ================================================================ */
.goto-related-staycations-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0 auto 36px auto;
    max-width: 720px;
}

.goto-related-staycations-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 12px;
}

.goto-related-staycations-kicker-line {
    display: inline-block;
    height: 1px;
    width: 32px;
    background: linear-gradient(90deg, transparent, #14b8a6);
}
.goto-related-staycations-kicker-line:last-child {
    background: linear-gradient(90deg, #14b8a6, transparent);
}

.goto-related-staycations-kicker-text {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #0d9488;
    line-height: 1;
}

.goto-related-staycations-heading {
    font-size: 28px;
    font-weight: 800;
    color: #111827;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.4px;
    position: relative;
    display: inline-block;
    padding-bottom: 14px;
}

.goto-related-staycations-heading::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 56px;
    height: 3px;
    background: linear-gradient(90deg, #14b8a6, #0d9488);
    border-radius: 999px;
}

.goto-related-staycations-heading-accent {
    background: linear-gradient(135deg, #14b8a6, #0d9488);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive */
@media (max-width: 767px) {
    .goto-related-staycations-header { margin-bottom: 24px; }
    .goto-related-staycations-heading { font-size: 22px; padding-bottom: 10px; }
    .goto-related-staycations-heading::after { width: 44px; height: 2px; }
    .goto-related-staycations-kicker-text { font-size: 10px; letter-spacing: 0.18em; }
    .goto-related-staycations-kicker-line { width: 22px; }
}
/* ================================================================
   STAYCATION PRODUCT DESCRIPTION (custom "prose" replacement)
   Styled to match the theme's teal accent (#14b8a6 / #0d9488)
   ================================================================ */
.goto-stay-description {
    color: #4b5563;
    line-height: 1.75;
    font-size: 1rem;
    word-wrap: break-word;
}

.goto-stay-description > * + * { margin-top: 1rem; }
.goto-stay-description > :first-child { margin-top: 0; }
.goto-stay-description > :last-child { margin-bottom: 0; }

/* Headings */
.goto-stay-description h1,
.goto-stay-description h2,
.goto-stay-description h3,
.goto-stay-description h4,
.goto-stay-description h5,
.goto-stay-description h6 {
    color: #111827;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

.goto-stay-description h1 { font-size: 1.5rem; }
.goto-stay-description h2 {
    font-size: 1.375rem;
    margin-top: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #14b8a6;
    position: relative;
}
.goto-stay-description h2::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 1.1em;
    background: linear-gradient(180deg, #14b8a6, #0d9488);
    border-radius: 2px;
    margin-right: 0.6rem;
    vertical-align: middle;
    position: relative;
    top: -2px;
}
.goto-stay-description h3 {
    font-size: 1.125rem;
    margin-top: 1.75rem;
    color: #1f2937;
}
.goto-stay-description h4 {
    font-size: 1rem;
    margin-top: 1.25rem;
    color: #1f2937;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Paragraphs */
.goto-stay-description p {
    margin: 0.75rem 0;
}

/* Text */
.goto-stay-description strong { color: #111827; font-weight: 600; }
.goto-stay-description em     { font-style: italic; color: #6b7280; }
.goto-stay-description a {
    color: #0d9488;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}
.goto-stay-description a:hover { color: #0f766e; }

/* Lists */
.goto-stay-description ul,
.goto-stay-description ol {
    padding-left: 1.5rem;
    margin: 0.75rem 0;
}
.goto-stay-description ul { list-style: disc; }
.goto-stay-description ol { list-style: decimal; }
.goto-stay-description li {
    margin: 0.375rem 0;
    padding-left: 0.25rem;
    line-height: 1.65;
}
.goto-stay-description ul li::marker { color: #14b8a6; font-size: 1.1em; }
.goto-stay-description ol li::marker { color: #0d9488; font-weight: 600; }
.goto-stay-description li > ul,
.goto-stay-description li > ol { margin: 0.375rem 0; }

/* Blockquote */
.goto-stay-description blockquote {
    border-left: 4px solid #14b8a6;
    background: #f0fdfa;
    padding: 0.75rem 1rem;
    margin: 1rem 0;
    color: #134e4a;
    font-style: italic;
    border-radius: 0 8px 8px 0;
}

/* ============== TABLES (pricing / rooms) ============== */
.goto-stay-description table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 1.5rem 0;
    font-size: 0.9375rem;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    display: table; /* safety */
}

.goto-stay-description thead {
    background: linear-gradient(135deg, #f0fdfa, #ccfbf1);
}

.goto-stay-description thead th {
    padding: 0.875rem 1rem;
    text-align: left;
    font-weight: 700;
    color: #134e4a;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 2px solid #14b8a6;
    white-space: nowrap;
}

.goto-stay-description tbody td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid #e5e7eb;
    color: #374151;
    vertical-align: top;
    line-height: 1.5;
}

.goto-stay-description tbody tr:last-child td { border-bottom: none; }
.goto-stay-description tbody tr:nth-child(even) { background: #fafafa; }
.goto-stay-description tbody tr:hover { background: #f0fdfa; }

/* Center price columns */
.goto-stay-description thead th:not(:first-child),
.goto-stay-description tbody tr td:nth-child(2),
.goto-stay-description tbody tr td:nth-child(3) {
    text-align: center;
}

.goto-stay-description tbody tr td:nth-child(2),
.goto-stay-description tbody tr td:nth-child(3) {
    font-weight: 700;
    color: #0f766e;
}

/* Sub-labels inside headers (<small>) */
.goto-stay-description thead th small,
.goto-stay-description thead th br + small {
    display: block;
    margin-top: 2px;
    font-size: 0.6875rem;
    font-weight: 500;
    color: #0d9488;
    text-transform: none;
    letter-spacing: 0;
}

/* "Only 2 available" style <em> inside table cells */
.goto-stay-description tbody td em {
    display: inline-block;
    margin-top: 4px;
    font-size: 0.75rem;
    color: #dc2626;
    font-style: normal;
    font-weight: 500;
    background: #fef2f2;
    padding: 2px 6px;
    border-radius: 4px;
}

/* ============== RESPONSIVE ============== */
@media (max-width: 768px) {
    .goto-stay-description { font-size: 0.9375rem; }
    .goto-stay-description h2 { font-size: 1.1875rem; margin-top: 1.75rem; }
    .goto-stay-description h3 { font-size: 1.0625rem; margin-top: 1.5rem; }
    .goto-stay-description h4 { font-size: 0.9375rem; }
}

@media (max-width: 640px) {
    /* Table becomes horizontally scrollable */
    .goto-stay-description table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 8px;
    }
    .goto-stay-description thead th,
    .goto-stay-description tbody td {
        padding: 0.625rem 0.75rem;
        font-size: 0.8125rem;
    }
    .goto-stay-description thead th {
        font-size: 0.6875rem;
        letter-spacing: 0.04em;
    }
    .goto-stay-description ul,
    .goto-stay-description ol { padding-left: 1.25rem; }
    .goto-stay-description h2::before { width: 3px; margin-right: 0.5rem; }
}
