/* Afra Dorandesh • V6.13 • 2027 motion and package details. CSS-only UI update. */
:root {--afra27-ink:#103052;--afra27-red:#c92345;--afra27-blue:#14517e;--afra27-line:#d9e7f3;--afra27-shadow:0 22px 70px rgba(19,60,101,.11)}

/* Home navigation — isolated from the owner dashboard. */
#header.site-header{background:rgba(250,252,255,.91)!important;border-bottom:1px solid rgba(174,197,217,.5)!important;box-shadow:0 10px 35px rgba(12,46,82,.07)!important;backdrop-filter:blur(22px) saturate(150%)!important}
#header.site-header::after{height:2px;background:linear-gradient(90deg,transparent,#c92345 27%,#2776aa 73%,transparent)!important;opacity:.7}
#header .afra-header-inner{height:80px!important;min-height:80px!important;gap:17px!important}
#header .afra-main-nav{display:flex!important;flex-direction:row!important;align-items:center!important;gap:3px!important;border:1px solid rgba(198,218,233,.78)!important;border-radius:18px!important;background:rgba(239,246,252,.72)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.92)!important;padding:5px!important;position:static!important;max-height:none!important;min-width:0!important}
#header .afra-main-nav>a{display:inline-flex!important;height:42px!important;position:relative!important;overflow:hidden!important;padding:0 12px!important;border-radius:13px!important;white-space:nowrap!important;font-size:12px!important;font-weight:850!important;color:#315777!important;transition:background .26s ease,color .26s ease,transform .26s cubic-bezier(.2,.8,.2,1),box-shadow .26s ease!important}
#header .afra-main-nav>a::before{content:"";display:block!important;position:absolute!important;inset:auto 17px 6px!important;height:2px!important;transform:scaleX(0)!important;transform-origin:right;background:linear-gradient(90deg,#cb2947,#226da0)!important;border-radius:3px;transition:transform .24s ease!important}
#header .afra-main-nav>a:hover{transform:translateY(-2px)!important;background:rgba(255,255,255,.82)!important;color:#a51d3b!important;box-shadow:0 9px 22px rgba(22,78,128,.08)!important}
#header .afra-main-nav>a:hover::before,#header .afra-main-nav>a.active::before,#header .afra-main-nav>a[aria-current="page"]::before{transform:scaleX(1)!important}
#header .afra-main-nav>a.active,#header .afra-main-nav>a[aria-current="page"]{color:#c52442!important;background:#fff!important;box-shadow:0 3px 13px rgba(25,75,115,.06)!important}
#header .afra-head-actions{gap:8px!important}
#header .afra-head-actions .head-customer,#header .afra-head-actions .head-portal{height:43px!important;min-height:43px!important;border-radius:13px!important;padding:0 14px!important;transition:transform .24s ease,box-shadow .24s ease!important}
#header .afra-head-actions .head-portal{background:linear-gradient(115deg,#15466e,#246ca1)!important;box-shadow:0 9px 24px rgba(16,72,118,.20)!important}
#header .afra-head-actions .head-customer{background:rgba(255,255,255,.85)!important;border-color:#cee0ee!important}
#header .afra-head-actions .head-customer:hover,#header .afra-head-actions .head-portal:hover,#header .afra-theme-toggle:hover{transform:translateY(-3px)!important}
#header .afra-header-brand:hover .brand-mark{transform:rotate(-3deg) scale(1.04)}
#header .brand-mark{transition:transform .3s ease!important}

/* Inner travel pages: shared polished, accessible top bar. */
body[data-travel-page]{background:radial-gradient(circle at 90% -1%,rgba(210,230,248,.6),transparent 38%),radial-gradient(circle at 0 45%,rgba(243,227,233,.38),transparent 40%),#f4f7fc;min-width:280px;overflow-x:hidden;color:#153856}
body[data-travel-page] .tp-container{width:min(1260px,calc(100% - 48px))}
body[data-travel-page] .tp-topbar{position:sticky;top:0;z-index:100;background:rgba(250,252,255,.90);border-color:rgba(198,214,229,.75);box-shadow:0 13px 38px rgba(11,46,81,.08);backdrop-filter:blur(20px) saturate(150%)}
body[data-travel-page] .tp-topbar::after{content:"";height:2px;position:absolute;bottom:0;left:0;right:0;background:linear-gradient(90deg,transparent,#c92345 28%,#2474a7 75%,transparent);opacity:.65}
body[data-travel-page] .tp-head{display:flex;flex-wrap:nowrap!important;gap:16px;min-height:80px;padding:9px 0;align-items:center;justify-content:space-between;position:relative}
body[data-travel-page] .tp-brand{width:auto;min-width:188px;flex:0 0 auto;justify-content:start;gap:9px;display:flex;align-items:center}
body[data-travel-page] .tp-brand-symbol{display:grid;place-items:center;width:51px;height:51px;border:1px solid #d9e5ef;border-radius:15px;background:#fff;padding:4px;flex-shrink:0;box-shadow:0 5px 15px rgba(25,66,104,.06)}
body[data-travel-page] .tp-brand-symbol img{width:100%;height:100%;object-fit:contain;border-radius:10px}
body[data-travel-page] .tp-brand strong{color:#153c63;font-size:17px;line-height:1.55;font-weight:900;max-width:185px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body[data-travel-page] .tp-brand small{font:800 8px/1.5 Arial,sans-serif;letter-spacing:.9px;color:#8398ad;white-space:nowrap}
body[data-travel-page] .tp-nav{display:flex;gap:2px;align-items:center;flex-wrap:nowrap;justify-content:center;min-width:0;margin-inline:auto;background:rgba(240,246,252,.76);border:1px solid #dce8f2;border-radius:17px;padding:5px;box-shadow:inset 0 1px 0 #fff}
body[data-travel-page] .tp-nav>a{height:40px;padding:0 12px;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;font-size:12px;font-weight:850;border-radius:12px;color:#385e80;position:relative;transition:background .25s,color .25s,transform .25s,box-shadow .25s}
body[data-travel-page] .tp-nav>a::after{content:"";height:2px;left:15px;right:15px;bottom:6px;position:absolute;background:linear-gradient(90deg,#ca2644,#236f9f);border-radius:4px;transform:scaleX(0);transition:transform .26s}
body[data-travel-page] .tp-nav>a:hover,body[data-travel-page] .tp-nav>a.current{background:#fff;color:#c42140;box-shadow:0 7px 18px rgba(20,67,112,.07);transform:translateY(-2px)}
body[data-travel-page] .tp-nav>a:hover::after,body[data-travel-page] .tp-nav>a.current::after{transform:scaleX(1)}
body[data-travel-page] .tp-head-actions{display:flex;gap:8px;align-items:center;flex:0 0 auto}
body[data-travel-page] .tp-customer-link,body[data-travel-page] .tp-head-action{display:inline-flex;gap:6px;min-height:43px;align-items:center;justify-content:center;padding:8px 13px;border-radius:13px;white-space:nowrap;font-size:12px;font-weight:850;transition:transform .23s,box-shadow .23s,background .23s}
body[data-travel-page] .tp-customer-link{background:#fff;border:1px solid #d3e4f1;color:#275a83}
body[data-travel-page] .tp-head-action{background:linear-gradient(120deg,#164b79,#226a9d);color:white;box-shadow:0 8px 20px rgba(17,72,119,.18);border:1px solid rgba(15,63,106,.12)}
body[data-travel-page] .tp-customer-link:hover,body[data-travel-page] .tp-head-action:hover{transform:translateY(-3px);box-shadow:0 15px 29px rgba(17,72,119,.16)}
body[data-travel-page] .tp-mobile-links,body[data-travel-page] .tp-menu-toggle{display:none}
body[data-travel-page] .tp-breadcrumb{min-height:70px;align-items:center;padding:14px 0;flex-wrap:wrap}

/* Product details: one clear visual column and one sticky booking column, no collision with homepage styles. */
body[data-travel-page="package"] #pageContent{min-height:60vh}
.tpd-titleblock{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:5px 0 23px;animation:afra27-rise .65s both}
.tpd-heading-copy{min-width:0}.tpd-eyebrow{color:#bb2642;font-size:12px;font-weight:850;display:inline-flex;align-items:center;gap:7px;background:#fff0f4;border:1px solid #f2d9e1;border-radius:999px;padding:6px 13px;margin-bottom:13px}
.tpd-heading-copy h1{font-size:clamp(27px,3vw,42px);color:#123b5e;line-height:1.45;font-weight:900;letter-spacing:-.7px;overflow-wrap:anywhere;margin:0 0 8px}
.tpd-destination{color:#607b95;font-size:14px;font-weight:650;margin:0}
.tpd-return{display:inline-flex;gap:9px;align-items:center;justify-content:center;min-height:46px;padding:9px 15px;border:1px solid #d4e5f2;border-radius:14px;background:#fff;color:#245d89;font-size:12px;font-weight:850;white-space:nowrap;transition:transform .25s,box-shadow .25s}
.tpd-return:hover{transform:translateY(-3px);box-shadow:0 12px 27px rgba(19,62,101,.12)}
.tpd-grid{display:grid;grid-template-columns:minmax(0,1.27fr) minmax(320px,.73fr);gap:24px;align-items:start;direction:rtl}
.tpd-grid>*{min-width:0}
.tpd-main{display:grid;gap:20px;min-width:0}
.tpd-photo{aspect-ratio:16/10;min-height:350px;margin:0;position:relative;overflow:hidden;border-radius:27px;background:linear-gradient(135deg,#cddfeb,#a8c5de);border:1px solid rgba(197,216,234,.9);box-shadow:0 25px 55px rgba(18,54,92,.13);isolation:isolate;animation:afra27-rise .72s .08s both}
.tpd-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;display:block;transition:transform .7s cubic-bezier(.2,.75,.2,1),filter .4s}
.tpd-photo::after{content:"";position:absolute;inset:40% 0 0;background:linear-gradient(180deg,transparent,rgba(10,32,58,.70));z-index:0;pointer-events:none}
.tpd-photo:hover img{transform:scale(1.035);filter:saturate(1.07)}
.tpd-photo figcaption{position:absolute;z-index:1;bottom:17px;right:18px;left:18px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;color:white;font-size:12px;font-weight:800}
.tpd-photo figcaption span:first-child{padding:10px 14px;border:1px solid rgba(255,255,255,.25);border-radius:999px;background:rgba(14,40,73,.64);backdrop-filter:blur(12px)}
.tpd-photo figcaption span:last-child{color:rgba(255,255,255,.86)}
.tpd-section{background:rgba(255,255,255,.95);border:1px solid #dce8f1;box-shadow:0 15px 38px rgba(19,57,93,.06);border-radius:25px;padding:24px 27px;min-width:0;animation:afra27-rise .65s .12s both}
.tpd-section-heading{display:flex;align-items:center;gap:13px;margin-bottom:14px}
.tpd-section-symbol{width:43px;height:43px;border-radius:14px;background:#eaf3fb;color:#22659b;display:grid;place-items:center;font-size:20px;font-weight:900;flex-shrink:0}
.tpd-section-heading>div>span{font-size:11px;color:#9b6273;font-weight:750}
.tpd-section-heading h2{font-size:21px;font-weight:900;margin:0;line-height:1.6;color:#153c60}
.tpd-description>p{color:#58738d;font-size:14px;line-height:2.2;white-space:pre-wrap;overflow-wrap:anywhere;margin:0}
.tpd-included-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.tpd-included-list li{display:flex;align-items:start;gap:10px;padding:13px 14px;border:1px solid #e0edf4;border-radius:14px;background:#f7fbff;font-size:13px;font-weight:650;line-height:1.9;overflow-wrap:anywhere}
.tpd-included-list li>span:first-child{display:grid;place-items:center;flex:0 0 23px;width:23px;height:23px;border-radius:50%;background:#dbf6ee;color:#0e966b;font-weight:900}
.tpd-muted{color:#667f97;font-size:13px;margin:0}
.tpd-note{display:flex;align-items:start;gap:11px;border-radius:19px;padding:17px 21px;background:#eef5fb;border:1px solid #d8e7f2;color:#56728e;font-size:12px;line-height:2}
.tpd-note>span{font-size:20px;color:#22669c;line-height:1.5}.tpd-note p{margin:0}
.tpd-side{position:sticky;top:103px;display:grid;gap:14px;min-width:0;animation:afra27-rise .7s .14s both}
.tpd-purchase{padding:28px 25px;border-radius:27px;background:linear-gradient(160deg,#fff 15%,#f7fbff 90%);border:1px solid #d7e6f1;box-shadow:0 25px 60px rgba(17,57,97,.11)}
.tpd-booking-label{display:inline-flex;align-items:center;gap:8px;border:1px solid #d9e7ef;background:#f2f8fc;padding:5px 11px;border-radius:999px;color:#28618b;font-size:11px;font-weight:850}
.tpd-live-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#21a77c;box-shadow:0 0 0 4px rgba(33,167,124,.13)}
.tpd-purchase h2{margin:14px 0 4px;font-size:24px;line-height:1.45;color:#173958;font-weight:900;overflow-wrap:anywhere}
.tpd-side-destination{margin:0 0 20px;font-size:13px;color:#607c95}
.tpd-price{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:4px;background:linear-gradient(130deg,#f2f8fd,#fff4f6);border:1px solid #e7e4ea;border-radius:20px;padding:20px;margin-bottom:16px;min-width:0}
.tpd-price>span:first-child{color:#6a7e91;font-size:12px;font-weight:750}.tpd-price del{color:#889bb0;font-size:14px}
.tpd-price strong{font-size:clamp(26px,2.7vw,37px);line-height:1.3;font-weight:900;color:#be2340;white-space:normal;overflow-wrap:anywhere;max-width:100%;font-variant-numeric:tabular-nums;text-align:right}
.tpd-sale{color:#b32041;border:1px solid #f4c9d3;background:#ffe9ef;font-size:11px;font-weight:900;border-radius:999px;padding:4px 10px}
.tpd-action{display:flex;align-items:center;justify-content:center;gap:9px;text-align:center;min-height:51px;border-radius:14px;font-size:13px;font-weight:850;margin-bottom:10px;padding:11px 14px;transition:transform .24s,box-shadow .24s,background .24s}
.tpd-action:hover{transform:translateY(-3px)}
.tpd-action-primary{color:#fff;background:linear-gradient(115deg,#d62d4c,#b71d36);box-shadow:0 12px 25px rgba(192,31,61,.21)}
.tpd-action-primary:hover{box-shadow:0 18px 33px rgba(192,31,61,.28)}
.tpd-action-outline{color:#225b88;background:#fff;border:1px solid #d3e4f1}
.tpd-action-outline:hover{box-shadow:0 12px 25px rgba(19,60,99,.10)}
.tpd-side-bottom{border-top:1px solid #dfebf4;padding-top:14px;margin-top:18px;display:flex;align-items:flex-start;gap:8px;font-size:11px;color:#66829a;line-height:1.9}
.tpd-side-bottom>span:first-child{color:#13a67b;font-weight:900}
.tpd-more{display:flex;align-items:center;justify-content:space-between;padding:15px 18px;border-radius:17px;border:1px solid #d9e7f2;background:rgba(255,255,255,.87);color:#235880;font-weight:750;font-size:12px;transition:transform .2s}
.tpd-more:hover{transform:translateY(-2px)}

@keyframes afra27-rise{from{opacity:.88;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(max-width:1370px){
 #header .afra-header-inner{gap:11px!important}
 #header .afra-main-nav>a{font-size:11px!important;padding:0 9px!important}
 #header .afra-head-actions .head-customer,#header .afra-head-actions .head-portal{padding:0 10px!important}
 body[data-travel-page] .tp-head{gap:10px}
 body[data-travel-page] .tp-nav>a{padding:0 9px;font-size:11px}
}
@media(max-width:1120px){
 #header .afra-main-nav{display:none!important;position:absolute!important;top:calc(100% - 1px)!important;right:16px!important;left:16px!important;width:auto!important;max-height:min(76vh,650px)!important;overflow:auto!important;flex-direction:column!important;align-items:stretch!important;gap:5px!important;padding:12px!important;border-radius:0 0 21px 21px!important;background:rgba(255,255,255,.98)!important;box-shadow:0 25px 55px rgba(14,48,82,.17)!important}
 #header .afra-main-nav.open{display:flex!important;animation:afra27-rise .23s both}
 #header .afra-main-nav>a{font-size:14px!important;justify-content:flex-start!important;min-height:44px!important;padding:10px 16px!important}
 #header .nav-toggle{display:grid!important;place-items:center!important;background:#e9f3fc!important;color:#194e78!important;border:1px solid #c9deee!important;border-radius:13px!important;width:43px!important;height:43px!important}
 #header .afra-header-inner{min-height:75px!important;height:75px!important}
}
@media(max-width:920px){
 body[data-travel-page] .tp-head{min-height:70px;padding:10px 0;flex-wrap:nowrap!important}
 body[data-travel-page] .tp-nav{display:none;position:absolute;inset:calc(100% - 1px) 0 auto 0;z-index:10;width:100%;margin:0;max-height:min(74vh,600px);overflow:auto;flex-direction:column;align-items:stretch;gap:5px;padding:12px;background:rgba(255,255,255,.98);border:1px solid #d5e3ef;border-radius:0 0 22px 22px;box-shadow:0 28px 50px rgba(17,55,91,.19)}
 body[data-travel-page] .tp-nav.open{display:flex;animation:afra27-rise .24s both}
 body[data-travel-page] .tp-nav>a{width:100%;min-height:45px;height:auto;padding:12px 15px;font-size:13px;justify-content:flex-start}
 body[data-travel-page] .tp-mobile-links{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:10px;border-top:1px solid #e5eef4;padding-top:12px}
 body[data-travel-page] .tp-mobile-links a{display:flex;align-items:center;justify-content:center;padding:11px 8px;border-radius:12px;background:#f2f8fd;color:#235a85;font-weight:800;font-size:12px}
 body[data-travel-page] .tp-mobile-links a:last-child{background:#174f7c;color:#fff}
 body[data-travel-page] .tp-menu-toggle{display:flex;width:42px;height:42px;flex:0 0 42px;flex-direction:column;gap:5px;align-items:center;justify-content:center;background:#edf5fb;border:1px solid #cde0f0;border-radius:13px;cursor:pointer}
 body[data-travel-page] .tp-menu-toggle span{display:block;width:17px;height:2px;border-radius:3px;background:#245a80;transition:transform .22s,opacity .22s}
 body[data-travel-page] .tp-menu-toggle[aria-expanded="true"] span:first-child{transform:translateY(7px) rotate(45deg)}
 body[data-travel-page] .tp-menu-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
 body[data-travel-page] .tp-menu-toggle[aria-expanded="true"] span:last-child{transform:translateY(-7px) rotate(-45deg)}
 body[data-travel-page] .tp-customer-link{display:none}
 .tpd-grid{grid-template-columns:minmax(0,1fr) 300px;gap:18px}
 .tpd-purchase{padding:22px}
 .tpd-included-list{grid-template-columns:1fr}
}
@media(max-width:720px){
 body[data-travel-page] .tp-container{width:calc(100% - 28px)}
 body[data-travel-page] .tp-head{gap:10px}
 body[data-travel-page] .tp-brand{min-width:0;flex:1}
 body[data-travel-page] .tp-brand strong{font-size:14px;max-width:155px}
 body[data-travel-page] .tp-brand small{font-size:7px;max-width:160px;overflow:hidden;text-overflow:ellipsis}
 body[data-travel-page] .tp-brand-symbol{width:43px;height:43px;flex:0 0 43px}
 body[data-travel-page] .tp-head-action{display:none}
 body[data-travel-page] .tp-nav .tp-mobile-links{grid-template-columns:1fr 1fr}
 .tpd-titleblock{align-items:flex-start;flex-direction:column;gap:13px;margin-bottom:18px}
 .tpd-heading-copy h1{font-size:clamp(25px,7vw,35px)}
 .tpd-grid{grid-template-columns:1fr;gap:18px}
 .tpd-side{position:static;order:1}
 .tpd-main{order:0;gap:16px}
 .tpd-photo{min-height:0;aspect-ratio:16/10;border-radius:21px}
 .tpd-section{padding:19px;border-radius:21px}
 .tpd-section-heading h2{font-size:19px}
 .tpd-included-list{grid-template-columns:1fr}
 .tpd-price strong{font-size:29px}
 .tpd-purchase{border-radius:23px;padding:20px}
 .tpd-photo figcaption span:last-child{display:none}
}
@media(max-width:380px){.tpd-photo{aspect-ratio:4/3}.tpd-heading-copy h1{font-size:24px}}
@media(prefers-reduced-motion:reduce){
 .tpd-titleblock,.tpd-photo,.tpd-section,.tpd-side,#header .afra-main-nav.open,body[data-travel-page] .tp-nav.open{animation:none!important}
 #header .afra-main-nav>a,body[data-travel-page] .tp-nav>a,.tpd-photo img,.tpd-action,.tpd-return,.tpd-more{transition:none!important}
}

/* Consistent night palette */
html[data-theme="dark"] #header.site-header{background:rgba(11,29,49,.94)!important;border-bottom-color:rgba(97,149,197,.24)!important}
html[data-theme="dark"] #header .afra-main-nav{background:rgba(17,43,69,.90)!important;border-color:rgba(91,132,170,.36)!important;box-shadow:none!important}
html[data-theme="dark"] #header .afra-main-nav>a{color:#d1e2f3!important}
html[data-theme="dark"] #header .afra-main-nav>a:hover,html[data-theme="dark"] #header .afra-main-nav>a.active,html[data-theme="dark"] #header .afra-main-nav>a[aria-current="page"]{background:rgba(105,50,72,.5)!important;color:#ffe4e9!important}
@media(max-width:1120px){html[data-theme="dark"] #header .afra-main-nav{background:rgba(17,43,69,.98)!important}}
