
:root{
  --ham-bg:#F8F5EF;--ham-secondary:#EFE6DA;--ham-text:#1F211E;--ham-muted:#62635D;
  --ham-accent:#B65C3A;--ham-accent-hover:#99472D;--ham-dark:#20251F;--ham-border:#DED6CB;
  --ham-white:#FFFFFF;
}
.ham-core-product-page,.ham-core-booking-page{background:var(--ham-bg);color:var(--ham-text);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.ham-core-product-page h1,.ham-core-product-page h2,.ham-core-product-page h3,.ham-core-booking-page h1,.ham-core-booking-page h2{font-family:"Playfair Display",Georgia,serif;color:var(--ham-text);line-height:1.12}
.ham-core-wrap{width:min(1240px,calc(100% - 40px));margin:0 auto}
.ham-core-article-width{width:min(820px,calc(100% - 40px));margin:0 auto}
.ham-core-product-hero{padding:78px 0;background:linear-gradient(180deg,#fff 0%,var(--ham-bg) 100%)}
.ham-core-product-hero__grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(330px,.65fr);gap:58px;align-items:start}
.ham-core-breadcrumbs{display:flex;gap:9px;flex-wrap:wrap;color:var(--ham-muted);font-size:13px;margin-bottom:25px}
.ham-core-breadcrumbs a{color:inherit;text-decoration:none}
.ham-core-breadcrumbs a:hover{color:var(--ham-accent)}
.ham-core-eyebrow{display:inline-block;text-transform:uppercase;letter-spacing:.13em;font-size:11px;font-weight:700;color:var(--ham-accent);margin-bottom:14px}
.ham-core-product-copy h1,.ham-core-booking-shell h1{font-size:clamp(38px,5vw,66px);margin:0 0 22px}
.ham-core-lead-copy{font-size:18px;line-height:1.75;color:var(--ham-muted);max-width:760px}
.ham-core-booking-card{background:#fff;border:1px solid var(--ham-border);border-radius:18px;padding:26px;box-shadow:0 18px 55px rgba(31,33,30,.08);position:sticky;top:28px}
.ham-core-price-row{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;border-bottom:1px solid var(--ham-border);padding-bottom:18px;margin-bottom:18px}
.ham-core-price-row small{color:var(--ham-muted);text-transform:uppercase;letter-spacing:.08em}
.ham-core-price-row strong{font-family:"Playfair Display",Georgia,serif;font-size:32px}
.ham-core-start-form label,.ham-core-details-form label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:700;color:var(--ham-text);margin-bottom:14px}
.ham-core-start-form input,.ham-core-start-form select,.ham-core-details-form input,.ham-core-details-form select,.ham-core-details-form textarea{width:100%;border:1px solid var(--ham-border);border-radius:9px;background:#fff;color:var(--ham-text);padding:12px 13px;font:inherit;box-sizing:border-box}
.ham-core-form-pair,.ham-core-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.ham-core-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;border:0;border-radius:999px;background:var(--ham-accent);color:#fff!important;padding:13px 20px;text-decoration:none!important;font-weight:700;cursor:pointer;transition:.2s ease}
.ham-core-button:hover{background:var(--ham-accent-hover)}
.ham-core-start-form .ham-core-button{width:100%;margin-top:4px}
.ham-core-card-note,.ham-core-form-note{color:var(--ham-muted);font-size:12px;line-height:1.55;margin:12px 0 0}
.ham-core-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.ham-core-product-gallery{padding:0 0 68px}
.ham-core-gallery-grid{display:grid;grid-template-columns:2fr 1fr 1fr;grid-template-rows:240px 240px;gap:12px}
.ham-core-gallery-grid figure{margin:0;border-radius:14px;overflow:hidden;background:var(--ham-secondary)}
.ham-core-gallery-main{grid-row:1/3;grid-column:1/2}
.ham-core-gallery-grid img{width:100%;height:100%;object-fit:cover;display:block}
.ham-core-gallery-grid.is-single{grid-template-columns:1fr;grid-template-rows:520px}
.ham-core-product-content{padding:72px 0 92px;background:#fff}
.ham-core-product-content h2{font-size:34px;margin:54px 0 16px}
.ham-core-product-content h2:first-child{margin-top:0}
.ham-core-product-content h3{font-size:24px;margin:34px 0 10px}
.ham-core-product-content p,.ham-core-product-content li{font-size:17px;line-height:1.78;color:var(--ham-muted)}
.ham-core-content-figure{margin:38px 0;border-radius:15px;overflow:hidden}
.ham-core-content-image{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}
.ham-core-content-figure figcaption{font-size:12px;color:var(--ham-muted);padding-top:8px}
.ham-core-final-cta{background:var(--ham-dark);color:#fff;padding:64px 0}
.ham-core-final-cta h2{color:#fff;font-size:42px;margin:0 0 12px}
.ham-core-final-cta p{color:#d7d4cc;margin:0}
.ham-core-final-cta__inner{display:flex;align-items:center;justify-content:space-between;gap:32px}
.ham-core-button--light{background:#fff;color:var(--ham-dark)!important}
.ham-core-notice{padding:14px 16px;border-radius:10px;margin:18px 0}
.ham-core-notice p{margin:5px 0 0}
.ham-core-notice--success{background:#edf8ef;border:1px solid #b9dfc0}
.ham-core-notice--error{background:#fff0ef;border:1px solid #efc1bc}
.ham-core-booking-section{padding:72px 0 96px;min-height:65vh}
.ham-core-booking-shell{width:min(920px,calc(100% - 40px));margin:0 auto}
.ham-core-booking-shell>p{font-size:17px;line-height:1.7;color:var(--ham-muted)}
.ham-core-booking-summary{display:grid;grid-template-columns:2fr repeat(4,1fr);gap:1px;background:var(--ham-border);border:1px solid var(--ham-border);border-radius:12px;overflow:hidden;margin:30px 0}
.ham-core-booking-summary>div{background:#fff;padding:15px}
.ham-core-booking-summary small{display:block;color:var(--ham-muted);margin-bottom:5px}
.ham-core-booking-summary strong{display:block}
.ham-core-details-form{background:#fff;border:1px solid var(--ham-border);border-radius:16px;padding:28px}
.ham-core-full-field{grid-column:1/-1}
.ham-core-privacy{display:flex!important;flex-direction:row!important;align-items:flex-start;gap:10px!important;font-weight:400!important}
.ham-core-privacy input{width:auto!important;margin-top:4px}
.ham-core-home-hero{position:relative;min-height:620px;background-size:cover;background-position:center;overflow:hidden}
.ham-core-home-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ham-core-home-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(32,37,31,.82),rgba(32,37,31,.35))}
.ham-core-home-content{position:relative;z-index:2}
@media(max-width:900px){
  .ham-core-product-hero__grid{grid-template-columns:1fr}
  .ham-core-booking-card{position:static}
  .ham-core-gallery-grid{grid-template-columns:1fr 1fr;grid-template-rows:360px 220px}
  .ham-core-gallery-main{grid-column:1/-1;grid-row:auto}
  .ham-core-booking-summary{grid-template-columns:1fr 1fr}
}
@media(max-width:620px){
  .ham-core-wrap,.ham-core-article-width,.ham-core-booking-shell{width:min(100% - 28px,100%)}
  .ham-core-product-hero{padding:48px 0}
  .ham-core-product-copy h1,.ham-core-booking-shell h1{font-size:38px}
  .ham-core-form-pair,.ham-core-form-grid{grid-template-columns:1fr}
  .ham-core-gallery-grid{display:block}
  .ham-core-gallery-grid figure{height:260px;margin-bottom:10px}
  .ham-core-final-cta__inner{align-items:flex-start;flex-direction:column}
  .ham-core-booking-summary{grid-template-columns:1fr}
}


/* ===== Marrakech Core 0.2 Product Design ===== */
.ham-core-product-page .ham-core-product-hero{
  padding:46px 0 62px;background:linear-gradient(180deg,#fff 0%,#FBF9F5 100%);
  border-bottom:1px solid var(--ham-border);
}
.ham-core-v13-hero-grid{display:grid;grid-template-columns:minmax(0,7fr) minmax(320px,5fr);gap:54px;align-items:center}
.ham-core-product-badge{display:inline-flex;align-items:center;gap:8px;padding:7px 11px;border-radius:7px;background:rgba(182,92,58,.08);border:1px solid rgba(182,92,58,.22);color:var(--ham-accent);font-size:11px;font-weight:750;text-transform:uppercase;letter-spacing:.09em;margin-bottom:19px}
.ham-core-product-badge i{width:6px;height:6px;border-radius:50%;background:var(--ham-accent)}
.ham-core-v13-hero-grid h1{font-size:clamp(36px,4.2vw,56px);margin:0 0 19px;max-width:780px}
.ham-core-lead-copy p{margin:0}
.ham-core-hero-media{aspect-ratio:4/3;border:1px solid var(--ham-border);border-radius:18px;overflow:hidden;background:var(--ham-secondary);box-shadow:0 18px 55px rgba(31,33,30,.08)}
.ham-core-hero-media>img{width:100%;height:100%;object-fit:cover;display:block}
.ham-core-media-placeholder{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:28px;color:var(--ham-muted);background:
  radial-gradient(circle at 72% 18%,rgba(182,92,58,.12),transparent 30%),
  linear-gradient(135deg,#F4ECE2,#E8DED2)}
.ham-core-media-placeholder svg{width:74px;height:74px;fill:rgba(182,92,58,.55);margin-bottom:12px}
.ham-core-media-placeholder strong{color:var(--ham-text);font-family:"Playfair Display",Georgia,serif;font-size:18px}
.ham-core-media-placeholder span{font-size:11px;margin-top:5px}
.ham-core-quick-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:25px 0}
.ham-core-quick-facts>div{padding:13px 14px;border:1px solid var(--ham-border);border-radius:10px;background:#fff}
.ham-core-quick-facts small{display:block;color:var(--ham-muted);font-size:10px;text-transform:uppercase;letter-spacing:.08em;margin-bottom:4px}
.ham-core-quick-facts strong{display:block;font-size:13px}
.ham-core-hero-button{margin-top:1px}
.ham-core-booking-band{padding:42px 0;background:var(--ham-secondary);border-bottom:1px solid var(--ham-border)}
.ham-core-booking-card--wide{position:static;max-width:none;border-radius:16px;box-shadow:0 12px 40px rgba(31,33,30,.06)}
.ham-core-booking-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding-bottom:18px;border-bottom:1px solid var(--ham-border);margin-bottom:18px}
.ham-core-booking-heading h2{font-size:29px;margin:0}
.ham-core-booking-heading .ham-core-price-row{border:0;padding:0;margin:0;min-width:180px}
.ham-core-start-form--wide{display:grid;grid-template-columns:1.5fr .75fr .75fr auto;gap:12px;align-items:end}
.ham-core-start-form--wide label{margin:0}
.ham-core-start-form--wide .ham-core-button{width:auto;min-height:46px;margin:0;padding-left:24px;padding-right:24px}
.ham-core-product-gallery{padding:42px 0;background:#fff;border-bottom:1px solid var(--ham-border)}
.ham-core-gallery-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.ham-core-gallery-strip figure{margin:0;aspect-ratio:4/3;border-radius:13px;overflow:hidden;background:var(--ham-secondary)}
.ham-core-gallery-strip img{width:100%;height:100%;object-fit:cover;display:block}
.ham-core-product-content{padding:72px 0 98px}
.ham-core-product-content .ham-core-intro{font-family:"Playfair Display",Georgia,serif;font-size:23px;line-height:1.55;color:var(--ham-text);padding-bottom:34px;border-bottom:1px solid var(--ham-border)}
.ham-core-product-content h2{font-size:31px;margin:52px 0 14px}
.ham-core-product-content h2::before{content:"";display:block;width:38px;height:3px;border-radius:2px;background:var(--ham-accent);margin-bottom:13px}
.ham-core-product-content h3{font-size:22px;margin:30px 0 8px}
.ham-core-product-content ul{padding-left:0;margin:16px 0 26px;list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.ham-core-product-content ul li{position:relative;margin:0;padding:13px 14px 13px 38px;border:1px solid var(--ham-border);border-radius:10px;background:var(--ham-bg);font-size:14px;line-height:1.55;color:var(--ham-text)}
.ham-core-product-content ul li::before{content:"✓";position:absolute;left:14px;top:13px;color:var(--ham-accent);font-weight:800}
.ham-core-product-content h3 + p{padding:0 0 22px;border-bottom:1px solid rgba(222,214,203,.75)}
@media(max-width:900px){
  .ham-core-v13-hero-grid{grid-template-columns:1fr}
  .ham-core-hero-media{max-width:720px}
  .ham-core-start-form--wide{grid-template-columns:1fr 1fr}
  .ham-core-start-form--wide .ham-core-button{width:100%}
}
@media(max-width:620px){
  .ham-core-v13-hero-grid{gap:30px}
  .ham-core-quick-facts{grid-template-columns:1fr}
  .ham-core-booking-heading{align-items:flex-start;flex-direction:column}
  .ham-core-start-form--wide{grid-template-columns:1fr}
  .ham-core-gallery-strip{grid-template-columns:1fr}
  .ham-core-gallery-strip figure{aspect-ratio:16/10}
  .ham-core-product-content ul{grid-template-columns:1fr}
}
