/* ============================================================
   ScopriGaeta Marketplace — Services Frontend CSS
   Extracted from class-frontend-services.php
   ============================================================ */

/* ── General Overrides ── */
.sg-pp-page { font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif !important; overflow-x: clip !important; width: 100% !important; }
.sg-pp-page * { box-sizing: border-box !important; }
.sg-pp-page h1,.sg-pp-page h2,.sg-pp-page h3,.sg-pp-page h4,.sg-pp-page p { margin: 0 !important; padding: 0 !important; }
.sg-pp-page a { text-decoration: none !important; }
.sg-pp-page ul,.sg-pp-page li { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.sg-pp-page section { max-width: none !important; width: 100% !important; }
.sg-pp-page img { max-width: 100% !important; height: auto !important; }
.sg-pp-page .sg-pp-hero-actions { position: relative !important; z-index: 10 !important; }
.sg-pp-page .sg-pp-hero-actions .sg-pp-btn { position: relative !important; z-index: 10 !important; display: inline-flex !important; align-items: center !important; }
.sg-pp-page .sg-pp-card-verified::before { display: none !important; }
.sg-pp-page .sg-pp-faq-item { background: #fff !important; display: block !important; width: 100% !important; padding: 0 !important; }
.sg-pp-page .sg-pp-faq-question { background: transparent !important; color: #1A1A2E !important; pointer-events: auto !important; cursor: pointer !important; width: 100% !important; display: flex !important; border: none !important; padding: 20px 24px !important; margin: 0 !important; }
.sg-pp-page .sg-pp-faq-answer { max-height: 0 !important; overflow: hidden !important; transition: max-height 0.5s cubic-bezier(0.4,0,0.2,1) !important; }
.sg-pp-page .sg-pp-faq-item.sg-pp-faq-open .sg-pp-faq-answer { max-height: 300px !important; }
.sg-pp-page .sg-pp-faq-item.sg-pp-faq-open .sg-pp-faq-icon { background: #B71C1C !important; }
.sg-pp-page .sg-pp-faq-item.sg-pp-faq-open .sg-pp-faq-icon svg { stroke: #fff !important; }
.sg-pp-page .sg-pp-faq-item.sg-pp-faq-open .sg-pp-faq-question { color: #B71C1C !important; }

/* ── Search Bar ── */
.sgm-search-wrap { max-width: 720px; margin: 0 auto 40px; padding: 0 20px; }
.sgm-search-bar { display: flex; align-items: center; gap: 10px; background: #fff; border: 2px solid #E5E7EB; border-radius: 16px; padding: 10px 18px; box-shadow: 0 4px 20px rgba(0,0,0,0.04); transition: border-color .3s, box-shadow .3s; }
.sgm-search-bar:focus-within { border-color: #B71C1C; box-shadow: 0 4px 24px rgba(183,28,28,0.1); }
.sgm-search-bar svg { flex-shrink: 0; color: #9CA3AF; }
.sgm-search-bar input { flex: 1; border: none; outline: none; font-size: 0.95rem; font-family: inherit; background: transparent; color: #0B1D35; }
.sgm-search-bar input::placeholder { color: #9CA3AF; }

/* ── Category Section ── */
.sgm-cat-section { max-width: 1300px; margin: 0 auto 48px; padding: 0 20px; }
.sgm-cat-section[data-visible="false"] { display: none; }
.sgm-cat-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 20px; gap: 12px; }
.sgm-cat-header-left { display: flex; align-items: center; gap: 14px; }
.sgm-cat-emoji { font-size: 1.8rem; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; border-radius: 14px; flex-shrink: 0; }
.sgm-cat-title { font-family: 'Playfair Display', serif !important; font-size: clamp(1.3rem,3vw,1.7rem) !important; font-weight: 600 !important; color: #0B1D35 !important; line-height: 1.2 !important; }
.sgm-cat-count { font-size: 0.78rem; color: #7C7C96; font-weight: 500; }
.sgm-cat-subtitle { font-size: 0.85rem; color: #7C7C96; margin-top: 2px !important; }
.sgm-cat-viewall { font-size: 0.85rem; font-weight: 600; color: #B71C1C; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.sgm-cat-viewall:hover { color: #D32F2F; }

/* ── Carousel (mobile) + Grid (desktop) ── */
.sgm-cat-carousel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; }
.sgm-cat-card { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 2px 20px rgba(0,0,0,0.06); border: 1px solid rgba(0,0,0,0.04); transition: transform .35s cubic-bezier(.2,.9,.3,1), box-shadow .35s ease; display: flex; flex-direction: column; opacity: 0; animation: sgmCardFadeIn .6s ease forwards; }
.sgm-cat-card:nth-child(1) { animation-delay: 0s; }
.sgm-cat-card:nth-child(2) { animation-delay: .1s; }
.sgm-cat-card:nth-child(3) { animation-delay: .2s; }
.sgm-cat-card:nth-child(4) { animation-delay: .25s; }
.sgm-cat-card:nth-child(5) { animation-delay: .3s; }
.sgm-cat-card:nth-child(6) { animation-delay: .35s; }
@keyframes sgmCardFadeIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.sgm-cat-card:hover { transform: translateY(-6px) scale(1.01); box-shadow: 0 16px 48px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.03); }
/* Image wrapper with gradient overlay */
.sgm-cat-card-imgwrap { position: relative; overflow: hidden; }
.sgm-cat-card-imgwrap::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.55) 100%); pointer-events: none; z-index: 1; }
.sgm-cat-card-img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; border-radius: 0 !important; transition: transform .5s cubic-bezier(.2,.9,.3,1); }
.sgm-cat-card:hover .sgm-cat-card-img { transform: scale(1.06); }
/* Badge over image with glassmorphism */
.sgm-cat-card-badge { position: absolute; bottom: 10px; left: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; border-radius: 100px; color: #fff; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.3px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
/* Partner avatar on card */
.sgm-cat-card-partner { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.sgm-cat-card-partner img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.1); }
.sgm-cat-card-partner span { font-size: 0.75rem; color: #7C7C96; font-weight: 500; }
.sgm-cat-card-body { padding: 16px 18px 10px; flex: 1; display: flex; flex-direction: column; }
.sgm-cat-card-name { font-size: 1.08rem !important; font-weight: 800 !important; color: #0B1D35 !important; margin-bottom: 6px !important; line-height: 1.3 !important; }
.sgm-cat-card-desc { font-size: 0.82rem; color: #6B7280; line-height: 1.55; margin-bottom: 10px !important; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sgm-cat-card-meta { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px !important; }
.sgm-cat-card-tag { font-size: 0.72rem; color: #4A4A6A; background: #F3F4F6; padding: 4px 10px; border-radius: 8px; display: inline-flex; align-items: center; gap: 4px; font-weight: 500; transition: background .2s; }
.sgm-cat-card:hover .sgm-cat-card-tag { background: #E8EBF0; }
.sgm-cat-card-price { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; color: #0B1D35; }
.sgm-cat-card-price small { font-size: 0.72rem; font-weight: 400; color: #9CA3AF; margin-left: 2px; }
.sgm-cat-card-footer { padding: 0 18px 16px; }
.sgm-cat-card-cta { display: flex; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 11px 16px; border-radius: 12px; font-size: 0.85rem; font-weight: 700; transition: all .25s ease; letter-spacing: 0.2px; }
.sgm-cat-card-cta:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,0.12); }
.sgm-cat-card-cta svg { transition: transform .25s ease; }
.sgm-cat-card-cta:hover svg { transform: translateX(3px); }

/* Category accent colors — emoji bg + CTA + hover glow */
.sgm-cat-section[data-cat="tour"] .sgm-cat-emoji { background: linear-gradient(135deg, #E0F2FE, #BAE6FD); }
.sgm-cat-section[data-cat="tour"] .sgm-cat-card-cta { background: linear-gradient(135deg, #0EA5E9, #0284C7); color: #fff; }
.sgm-cat-section[data-cat="tour"] .sgm-cat-card:hover { box-shadow: 0 16px 48px rgba(14,165,233,0.18), 0 0 0 1px rgba(14,165,233,0.08); }
.sgm-cat-section[data-cat="ristorante"] .sgm-cat-emoji { background: linear-gradient(135deg, #FEE2E2, #FECACA); }
.sgm-cat-section[data-cat="ristorante"] .sgm-cat-card-cta { background: linear-gradient(135deg, #EF4444, #DC2626); color: #fff; }
.sgm-cat-section[data-cat="ristorante"] .sgm-cat-card:hover { box-shadow: 0 16px 48px rgba(239,68,68,0.16), 0 0 0 1px rgba(239,68,68,0.06); }
.sgm-cat-section[data-cat="hotel"] .sgm-cat-emoji,.sgm-cat-section[data-cat="bb"] .sgm-cat-emoji { background: linear-gradient(135deg, #E0E7FF, #C7D2FE); }
.sgm-cat-section[data-cat="hotel"] .sgm-cat-card-cta,.sgm-cat-section[data-cat="bb"] .sgm-cat-card-cta { background: linear-gradient(135deg, #6366F1, #4F46E5); color: #fff; }
.sgm-cat-section[data-cat="hotel"] .sgm-cat-card:hover,.sgm-cat-section[data-cat="bb"] .sgm-cat-card:hover { box-shadow: 0 16px 48px rgba(99,102,241,0.16), 0 0 0 1px rgba(99,102,241,0.06); }
.sgm-cat-section[data-cat="stabilimento"] .sgm-cat-emoji,.sgm-cat-section[data-cat="spiaggia"] .sgm-cat-emoji { background: linear-gradient(135deg, #FEF3C7, #FDE68A); }
.sgm-cat-section[data-cat="stabilimento"] .sgm-cat-card-cta,.sgm-cat-section[data-cat="spiaggia"] .sgm-cat-card-cta { background: linear-gradient(135deg, #F59E0B, #D97706); color: #fff; }
.sgm-cat-section[data-cat="stabilimento"] .sgm-cat-card:hover,.sgm-cat-section[data-cat="spiaggia"] .sgm-cat-card:hover { box-shadow: 0 16px 48px rgba(245,158,11,0.16), 0 0 0 1px rgba(245,158,11,0.06); }
.sgm-cat-section[data-cat="shopping"] .sgm-cat-emoji { background: linear-gradient(135deg, #FCE7F3, #FBCFE8); }
.sgm-cat-section[data-cat="shopping"] .sgm-cat-card-cta { background: linear-gradient(135deg, #EC4899, #DB2777); color: #fff; }
.sgm-cat-section[data-cat="shopping"] .sgm-cat-card:hover { box-shadow: 0 16px 48px rgba(236,72,153,0.16), 0 0 0 1px rgba(236,72,153,0.06); }
.sgm-cat-section[data-cat="noleggio"] .sgm-cat-emoji { background: linear-gradient(135deg, #CCFBF1, #99F6E4); }
.sgm-cat-section[data-cat="noleggio"] .sgm-cat-card-cta { background: linear-gradient(135deg, #14B8A6, #0D9488); color: #fff; }
.sgm-cat-section[data-cat="noleggio"] .sgm-cat-card:hover { box-shadow: 0 16px 48px rgba(20,184,166,0.16), 0 0 0 1px rgba(20,184,166,0.06); }
.sgm-cat-section[data-cat="guida"] .sgm-cat-emoji { background: linear-gradient(135deg, #EDE9FE, #DDD6FE); }
.sgm-cat-section[data-cat="guida"] .sgm-cat-card-cta { background: linear-gradient(135deg, #8B5CF6, #7C3AED); color: #fff; }
.sgm-cat-section[data-cat="guida"] .sgm-cat-card:hover { box-shadow: 0 16px 48px rgba(139,92,246,0.16), 0 0 0 1px rgba(139,92,246,0.06); }
.sgm-cat-section[data-cat="esperienza"] .sgm-cat-emoji { background: linear-gradient(135deg, #D1FAE5, #A7F3D0); }
.sgm-cat-section[data-cat="esperienza"] .sgm-cat-card-cta { background: linear-gradient(135deg, #10B981, #059669); color: #fff; }
.sgm-cat-section[data-cat="esperienza"] .sgm-cat-card:hover { box-shadow: 0 16px 48px rgba(16,185,129,0.16), 0 0 0 1px rgba(16,185,129,0.06); }

/* ── Mobile Carousel ── */
@media (max-width: 768px) {
    .sgm-cat-carousel { 
        display: flex; 
        overflow-x: auto; 
        scroll-snap-type: x mandatory; 
        -webkit-overflow-scrolling: touch; 
        gap: 16px; 
        padding-bottom: 24px; 
        scrollbar-width: none; 
        margin-left: -20px; 
        margin-right: -20px; 
        padding-left: 20px; 
        padding-right: 20px; 
        width: calc(100% + 40px);
    }
    .sgm-cat-carousel::-webkit-scrollbar { display: none; }
    .sgm-cat-card { min-width: 78vw; max-width: 78vw; scroll-snap-align: center; flex-shrink: 0; animation: none; opacity: 1; }
    .sg-pp-page .sg-pp-editorial-inner { grid-template-columns: 1fr !important; gap: 40px !important; }
    .sg-pp-page .sg-pp-bento { grid-template-columns: 1fr !important; }
    .sg-pp-page .sg-pp-bento-card--tall { grid-row: auto !important; }
    .sg-pp-page .sg-pp-hero-title { font-size: clamp(2rem,8vw,3rem) !important; }
    .sg-pp-page .sg-pp-trust-bar { grid-template-columns: repeat(2,1fr) !important; }
    .sg-pp-page .sg-pp-cta-features { flex-direction: column !important; }
    .sgm-search-wrap { position: sticky; top: 0; z-index: 50; background: #FAFAF7; padding-top: 12px; padding-bottom: 12px; margin-bottom: 24px; width: 100%; }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .sgm-cat-carousel { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   Detail Page CSS
   ============================================================ */

.sgm-detail-wrap { max-width: 1200px; margin: 0 auto; padding: 40px 24px 80px; font-family: 'Montserrat', -apple-system, sans-serif; }
.sgm-detail-layout { display: grid; grid-template-columns: 1fr 380px; gap: 48px; }
.sgm-detail-back { display: inline-flex; align-items: center; gap: 8px; color: #7C7C96; font-size: 0.9rem; margin-bottom: 20px; text-decoration: none; transition: all .25s ease; padding: 6px 14px; border-radius: 8px; }
.sgm-detail-back:hover { color: #B71C1C; background: #FEF2F2; }
/* ── Hero Slideshow ── */
.sgm-hero-slider { position: relative; width: 100%; height: 460px; border-radius: 22px; overflow: hidden; margin-bottom: 32px; background: #f3f3f3; box-shadow: 0 8px 40px rgba(0,0,0,0.1); }
.sgm-hero-slider::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.35) 100%); pointer-events: none; z-index: 1; }
.sgm-hero-slider img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover !important; opacity: 0; transition: opacity 0.6s ease; border-radius: 0 !important; max-width: none !important; }
.sgm-hero-slider img.sgm-slide-active { opacity: 1; }
.sgm-hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; background: rgba(255,255,255,0.9); border: none; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(0,0,0,.12); transition: all .25s ease; backdrop-filter: blur(4px); }
.sgm-hero-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.12); box-shadow: 0 6px 24px rgba(0,0,0,.18); }
.sgm-hero-arrow--left { left: 16px; }
.sgm-hero-arrow--right { right: 16px; }
.sgm-hero-counter { position: absolute; bottom: 16px; right: 16px; z-index: 3; background: rgba(0,0,0,0.45); color: #fff; padding: 5px 14px; border-radius: 100px; font-size: 0.75rem; font-weight: 600; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.sgm-hero-dots { display: flex; gap: 8px; position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 3; }
.sgm-hero-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.45); border: 2px solid rgba(255,255,255,0.6); cursor: pointer; transition: all .25s ease; }
.sgm-hero-dot.active { background: #fff; border-color: #fff; transform: scale(1.3); box-shadow: 0 0 8px rgba(255,255,255,0.5); }
/* ── Detail elements ── */
.sgm-detail-badge { display: inline-flex; align-items: center; gap: 6px; padding: 7px 18px; border-radius: 100px; color: #fff; font-size: 0.78rem; font-weight: 700; margin-bottom: 14px; letter-spacing: 0.3px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.sgm-detail-title { font-family: 'Playfair Display',serif !important; font-size: clamp(1.8rem,3.5vw,2.4rem) !important; font-weight: 600 !important; color: #0B1D35 !important; line-height: 1.15 !important; margin-bottom: 20px !important; letter-spacing: -0.02em !important; }
.sgm-detail-partner { display: flex; align-items: center; gap: 14px; padding: 18px 22px; background: linear-gradient(135deg, #FAFAF7, #F5F5F0); border-radius: 14px; border: 1px solid #F0F0F0; border-left: 4px solid var(--svc-color, #B71C1C); margin-bottom: 28px; box-shadow: 0 2px 12px rgba(0,0,0,0.04); transition: box-shadow .25s ease; }
.sgm-detail-partner:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.sgm-detail-partner img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.sgm-detail-partner strong { display: block; font-size: 0.95rem; color: #0B1D35; }
.sgm-detail-partner span { font-size: 0.78rem; color: #10B981; font-weight: 600; }
/* ── Stats Grid — gradient bg ── */
.sgm-detail-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 32px; }
.sgm-detail-stat { background: linear-gradient(145deg, #fff, #FAFAF7); border: 1px solid #F0F0F0; border-radius: 16px; padding: 22px 16px; text-align: center; transition: all .3s ease; position: relative; overflow: hidden; }
.sgm-detail-stat::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--svc-color, #B71C1C); opacity: 0; transition: opacity .3s ease; }
.sgm-detail-stat:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.08); transform: translateY(-2px); }
.sgm-detail-stat:hover::before { opacity: 1; }
.sgm-detail-stat strong { display: block; font-size: 1.4rem; font-weight: 800; color: #0B1D35; margin-bottom: 4px; }
.sgm-detail-stat span { font-size: 0.72rem; color: #7C7C96; text-transform: uppercase; letter-spacing: 0.6px; font-weight: 600; }
@media (min-width: 640px) { .sgm-detail-stats { grid-template-columns: repeat(4, 1fr); } }
/* ── Sections — gradient border ── */
.sgm-detail-section { margin-bottom: 36px; }
.sgm-detail-section h2 { font-size: 1.15rem !important; font-weight: 700 !important; color: #0B1D35 !important; margin-bottom: 16px !important; padding-bottom: 12px !important; border-bottom: none !important; display: flex !important; align-items: center !important; gap: 10px !important; position: relative !important; }
.sgm-detail-section h2::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--svc-color, #B71C1C) 0%, transparent 80%); border-radius: 2px; }
.sgm-detail-section p { color: #4A4A6A !important; line-height: 1.75 !important; font-size: 0.95rem !important; }
/* ── Gallery grid + lightbox ── */
.sgm-detail-gallery { display: grid; grid-template-columns: repeat(auto-fill,minmax(140px,1fr)); gap: 12px; }
.sgm-detail-gallery img { width: 100% !important; aspect-ratio: 1; object-fit: cover !important; border-radius: 14px; transition: transform 0.35s cubic-bezier(.2,.9,.3,1), box-shadow 0.35s ease; cursor: pointer; max-width: none !important; }
.sgm-detail-gallery img:hover { transform: scale(1.05); box-shadow: 0 8px 28px rgba(0,0,0,0.15); }
.sgm-lightbox { display: none; position: fixed; inset: 0; z-index: 99999; background: rgba(0,0,0,0.94); align-items: center; justify-content: center; flex-direction: column; backdrop-filter: blur(8px); }
.sgm-lightbox.open { display: flex; }
.sgm-lightbox img { max-width: 90vw; max-height: 80vh; object-fit: contain; border-radius: 12px; box-shadow: 0 12px 60px rgba(0,0,0,0.5); }
.sgm-lightbox-close { position: absolute; top: 20px; right: 24px; background: rgba(255,255,255,0.12); border: none; color: #fff; font-size: 1.5rem; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; z-index: 10; transition: .25s; backdrop-filter: blur(4px); }
.sgm-lightbox-close:hover { background: rgba(255,255,255,0.25); transform: scale(1.1); }
.sgm-lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.12); border: none; color: #fff; font-size: 1.3rem; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; transition: .25s; backdrop-filter: blur(4px); }
.sgm-lightbox-nav:hover { background: rgba(255,255,255,0.25); transform: translateY(-50%) scale(1.1); }
.sgm-lightbox-prev { left: 20px; }
.sgm-lightbox-next { right: 20px; }
.sgm-lightbox-counter { color: rgba(255,255,255,0.7); font-size: 0.85rem; margin-top: 16px; font-weight: 500; }
/* ── Other sections ── */
.sgm-detail-amenities { display: flex; flex-wrap: wrap; gap: 8px; }
.sgm-detail-amenity { display: inline-flex; padding: 7px 16px; border-radius: 100px; background: linear-gradient(135deg, #F0FDF4, #DCFCE7); color: #166534; font-size: 0.82rem; font-weight: 600; border: 1px solid #BBF7D0; transition: all .2s ease; }
.sgm-detail-amenity:hover { transform: translateY(-1px); box-shadow: 0 2px 8px rgba(16,185,129,0.15); }
.sgm-detail-conditions { background: linear-gradient(135deg, #FFFBEB, #FEF3C7); border: 1px solid #FDE68A; border-radius: 14px; padding: 20px 24px; color: #92400E; font-size: 0.9rem; line-height: 1.65; }
/* ── Cuisine type badges ── */
.sgm-cuisine-badge { display: inline-flex; align-items: center; gap: 5px; padding: 7px 16px; border-radius: 100px; background: linear-gradient(135deg, #FEF2F2, #FEE2E2); color: #991B1B; font-size: 0.82rem; font-weight: 600; border: 1px solid #FECACA; transition: all .2s ease; }
.sgm-cuisine-badge:hover { transform: translateY(-1px); box-shadow: 0 2px 8px rgba(239,68,68,0.15); }
/* ── Check-in / Check-out card ── */
.sgm-checkin-card { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: #fff; border: 1px solid #F0F0F0; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
.sgm-checkin-item { display: flex; align-items: center; gap: 14px; padding: 22px 24px; transition: background .2s; }
.sgm-checkin-item:hover { background: #FAFAF7; }
.sgm-checkin-item:first-child { border-right: 1px solid #F0F0F0; }
.sgm-checkin-icon { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.sgm-checkin-item strong { display: block; font-size: 0.75rem; color: #7C7C96; text-transform: uppercase; letter-spacing: 0.6px; font-weight: 600; margin-bottom: 3px; }
.sgm-checkin-item span.sgm-checkin-time { display: block; font-size: 1.2rem; font-weight: 800; color: #0B1D35; }
@media (max-width: 500px) { .sgm-checkin-card { grid-template-columns: 1fr; } .sgm-checkin-item:first-child { border-right: none; border-bottom: 1px solid #F0F0F0; } }
/* ── Booking card — Glassmorphism ── */
.sgm-booking-card { background: linear-gradient(160deg, rgba(255,255,255,0.95), rgba(250,250,247,0.9)); border-radius: 20px; padding: 0; box-shadow: 0 12px 48px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.04); border: 1px solid rgba(255,255,255,0.8); position: sticky; top: 100px; overflow: hidden; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.sgm-booking-card-accent { height: 4px; background: linear-gradient(90deg, var(--svc-color, #B71C1C), transparent); }
.sgm-booking-card-inner { padding: 30px 28px 34px; }
.sgm-booking-price-label { font-size: 0.72rem; color: #7C7C96; text-transform: uppercase; letter-spacing: 0.6px; font-weight: 600; margin-bottom: 4px; }
.sgm-booking-price { font-family: 'Playfair Display',serif; font-size: 2.2rem; font-weight: 700; color: #0B1D35; margin-bottom: 22px; line-height: 1.2; }
.sgm-booking-price small { font-size: 0.9rem; font-weight: 400; color: #7C7C96; }
.sgm-booking-cta, button.sgm-booking-cta { display: block; width: 100%; padding: 16px; background: var(--svc-color, #B71C1C) !important; color: #fff !important; text-align: center; border: none !important; border-radius: 14px !important; font-size: 1.05rem; font-weight: 700; cursor: pointer; transition: all 0.3s cubic-bezier(.2,.9,.3,1); box-shadow: 0 6px 24px rgba(0,0,0,0.12); text-decoration: none !important; font-family: 'Montserrat', -apple-system, sans-serif; letter-spacing: 0.3px; -webkit-appearance: none !important; appearance: none !important; animation: sgmCtaPulse 2.5s ease-in-out infinite; }
@keyframes sgmCtaPulse { 0%, 100% { box-shadow: 0 6px 24px rgba(0,0,0,0.12); } 50% { box-shadow: 0 8px 32px rgba(0,0,0,0.18), 0 0 0 4px rgba(183,28,28,0.08); } }
.sgm-booking-cta:hover, button.sgm-booking-cta:hover { filter: brightness(1.1); color: #fff !important; transform: translateY(-3px); box-shadow: 0 12px 36px rgba(0,0,0,0.2); animation: none; }
.sgm-booking-note { text-align: center; font-size: 0.78rem; color: #7C7C96; margin: 14px 0 20px !important; }
.sgm-booking-info { display: flex; align-items: flex-start; gap: 10px; font-size: 0.85rem; color: #4A4A6A; padding: 12px 0; border-top: 1px solid #F0F0F0; }
.sgm-trust-badges { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; padding-top: 20px; border-top: 1px solid #F0F0F0; }
.sgm-trust-badge { display: flex; align-items: center; gap: 12px; font-size: 0.82rem; color: #4A4A6A; transition: transform .2s ease; }
.sgm-trust-badge:hover { transform: translateX(3px); }
.sgm-trust-icon { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; flex-shrink: 0; }
.sgm-trust-badge strong { display: block; font-size: 0.82rem; color: #0B1D35; }
.sgm-trust-badge span { font-size: 0.72rem; color: #7C7C96; }
@media (max-width: 900px) { 
    .sgm-detail-layout { grid-template-columns: 1fr; } 
    .sgm-booking-card { position: static; } 
    .sgm-hero-slider { height: 300px; display:flex; overflow-x:auto; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch; scrollbar-width:none; position: relative; } 
    .sgm-hero-slider::-webkit-scrollbar{display:none} 
    .sgm-hero-slider::after { content:''; position:absolute; top:0; right:0; width:40px; height:100%; background:linear-gradient(to left,rgba(0,0,0,0.08),transparent); z-index:2; pointer-events:none; } 
    .sgm-hero-slider img { position:relative !important; inset:auto !important; min-width:100%; flex-shrink:0; scroll-snap-align:start; opacity:1 !important; } 
    .sgm-hero-arrow{display:none !important} 
    .sgm-hero-counter{display:none !important} 
    .sgm-hero-dots{display:none !important} 
    .sgm-products-grid{display:grid !important; grid-template-columns:repeat(2,1fr); gap:12px; padding-bottom:8px;} 
    .sgm-product-card{min-width:auto; max-width:100%;} 
}
/* ── Shopping / Product Grid ── */
.sgm-coll-btn{border:1px solid #E5E7EB;background:#fff;padding:6px 14px;border-radius:100px;font-size:.78rem;cursor:pointer;transition:.2s}
.sgm-coll-btn:hover,.sgm-coll-active{background:#B71C1C;color:#fff;border-color:#B71C1C}
.sgm-products-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:20px}
.sgm-product-card{background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 4px 20px rgba(0,0,0,.05);border:1px solid rgba(0,0,0,.03);position:relative;transition:all .3s cubic-bezier(.2,.8,.2,1);display:flex;flex-direction:column}
.sgm-product-card:hover{transform:translateY(-4px);box-shadow:0 12px 28px rgba(0,0,0,.08)}
.sgm-product-card img{width:100%;aspect-ratio:4/5;object-fit:cover;background:#FAFAF7}
.sgm-product-noimg{width:100%;aspect-ratio:4/5;display:flex;align-items:center;justify-content:center;background:#F3F4F6;font-size:2rem}
.sgm-product-badge{position:absolute;top:10px;right:10px;background:rgba(11,29,53,.85);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);color:#fff;padding:4px 10px;border-radius:100px;font-size:.72rem;font-weight:600}
.sgm-product-info{padding:16px;display:flex;flex-direction:column;flex:1}
.sgm-product-info strong{display:block;font-size:.95rem;line-height:1.3;font-weight:700;color:#0B1D35;margin-bottom:6px}
.sgm-product-desc{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:.78rem;color:#7C7C96;margin-bottom:14px;line-height:1.5;flex:1}
.sgm-product-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:12px;border-top:1px solid #F0F0F0;margin-top:auto}
.sgm-product-price{font-family:'Playfair Display',serif;font-size:1.15rem;font-weight:700;color:#111827}
.sgm-wa-btn{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;background:#25D366;color:#fff;border-radius:100px;font-size:.78rem;text-decoration:none;font-weight:600;transition:all .25s ease;box-shadow:0 4px 12px rgba(37,211,102,.2)}
.sgm-wa-btn:hover{background:#22c35e;transform:scale(1.03);box-shadow:0 6px 16px rgba(37,211,102,.3)}
.sgm-wa-btn svg{width:14px;height:14px;fill:currentColor}

/* ── Hotel / Rooms Grid ── */
.sgm-rooms-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px}
.sgm-room-card{background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 2px 12px rgba(0,0,0,.07);transition:transform .2s}
.sgm-room-card:hover{transform:translateY(-3px)}
.sgm-room-card img{width:100%;height:180px;object-fit:cover}
.sgm-room-noimg{width:100%;height:180px;display:flex;align-items:center;justify-content:center;background:#F3F4F6;font-size:2.5rem}
.sgm-room-info{padding:14px 16px}
.sgm-room-info strong{display:block;font-size:.95rem;color:#0B1D35;margin-bottom:4px}
.sgm-room-desc{display:block;font-size:.78rem;color:#7C7C96;margin-bottom:8px;line-height:1.4}
.sgm-room-meta{display:flex;gap:12px;font-size:.75rem;color:#6B7280;margin-bottom:10px}
.sgm-room-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px}
.sgm-room-price{font-family:'Playfair Display',serif;font-size:1.1rem;font-weight:700;color:#B71C1C}
.sgm-room-price small{font-size:.7rem;font-weight:400;color:#9CA3AF}

/* ── Beach Zones / Areas Grid ── */
.sgm-zones-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px}
.sgm-zone-card{background:linear-gradient(145deg, #fff, #FAFAF7);border-radius:16px;padding:20px;box-shadow:0 2px 12px rgba(0,0,0,.04);border:1px solid #F0F0F0;transition:transform .25s ease, box-shadow .25s ease;display:flex;flex-direction:column;justify-content:space-between}
.sgm-zone-card:hover{transform:translateY(-3px);box-shadow:0 8px 24px rgba(0,0,0,.08)}
.sgm-zone-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;border-bottom:1px solid #F0F0F0;padding-bottom:10px}
.sgm-zone-title{font-size:1.05rem;font-weight:700;color:#0B1D35;margin:0}
.sgm-zone-type{font-size:0.75rem;padding:4px 10px;border-radius:100px;font-weight:600;background:#E0F2FE;color:#0284C7;text-transform:capitalize}
.sgm-zone-type[data-type="prato"]{background:#D1FAE5;color:#059669}
.sgm-zone-meta{font-size:0.8rem;color:#7C7C96;display:flex;align-items:center;gap:12px;margin-bottom:14px}
.sgm-zone-prices{display:grid;grid-template-columns:1fr 1fr;gap:10px;background:#FAFAF7;padding:12px;border-radius:12px}
.sgm-zone-price-box{display:flex;flex-direction:column}
.sgm-zone-price-box span{font-size:0.72rem;color:#7C7C96;text-transform:uppercase;letter-spacing:0.5px;font-weight:600}
.sgm-zone-price-box strong{font-family:'Playfair Display',serif;font-size:1.3rem;font-weight:700;color:#B71C1C}
@media (max-width: 600px) { .sgm-zones-grid{grid-template-columns:1fr;} }

/* ── Inline Booking Form ── */
.sgm-booking-form { display: flex; flex-direction: column; gap: 14px; margin-bottom: 16px; }
.sgm-form-field { display: flex; flex-direction: column; gap: 5px; }
.sgm-form-field label { font-size: 0.78rem; font-weight: 600; color: #4A4A6A; letter-spacing: 0.2px; }
.sgm-form-field input,
.sgm-form-field select,
.sgm-form-field textarea {
    width: 100%; padding: 11px 14px; border: 1.5px solid #E5E7EB; border-radius: 12px;
    font-size: 0.9rem; font-family: 'Montserrat', -apple-system, sans-serif; color: #0B1D35;
    background: #fff; transition: all .25s ease; outline: none; -webkit-appearance: none;
}
.sgm-form-field input:focus,
.sgm-form-field select:focus,
.sgm-form-field textarea:focus {
    border-color: var(--svc-color, #B71C1C); box-shadow: 0 0 0 3px rgba(183,28,28,0.08);
}
.sgm-form-field input::placeholder,
.sgm-form-field textarea::placeholder { color: #C4C4C4; }
.sgm-form-field textarea { resize: vertical; min-height: 56px; }
.sgm-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sgm-form-static { padding: 11px 14px; background: #F9FAFB; border: 1.5px solid #E5E7EB; border-radius: 12px; font-size: 0.9rem; color: #7C7C96; font-weight: 600; }

/* Booking result feedback */
.sgm-booking-result { border-radius: 14px; padding: 18px 20px; margin-top: 8px; font-size: 0.88rem; line-height: 1.5; text-align: center; animation: sgmSlideIn .4s ease; }
.sgm-booking-result.sgm-result-success { background: linear-gradient(135deg, #ECFDF5, #D1FAE5); border: 1px solid #6EE7B7; color: #065F46; }
.sgm-booking-result.sgm-result-error { background: linear-gradient(135deg, #FEF2F2, #FEE2E2); border: 1px solid #FCA5A5; color: #991B1B; }
@keyframes sgmSlideIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* CTA loading state */
.sgm-booking-cta[disabled] { opacity: 0.7; cursor: not-allowed; animation: none !important; }
.sgm-cta-loading { display: inline-flex; align-items: center; gap: 8px; }
.sgm-cta-loading::after { content: ''; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff; border-radius: 50%; animation: sgmSpin .6s linear infinite; }
@keyframes sgmSpin { to { transform: rotate(360deg); } }