/* Fixed public action hierarchy. Photography never changes action colours. */
body[data-photo-actions]{
 --pw-action-bg:#d93630;--pw-action-hover:#bf2823;
 --pw-action-soft:#e1f4f5;--pw-action-soft-hover:#c9e9eb;--pw-action-ink:#075863;
}
@media screen{
 html body[data-photo-actions][data-i18n-scopes] :is(
  .pw-button,.btn-search,.primary,.availability-search,.btn,.management-whatsapp,
  .cart-fab,.detail-cart-fab,[data-add-cart],[data-add-recommendation],#stayMobileAction,#applyStayDates,#applyCatalogParty,#retryCatalog,#searchAvailability
 ){
  background:var(--pw-action-bg);border-color:var(--pw-action-bg);color:#fff;
  transition:background-color .2s,border-color .2s,color .2s;
 }
 html body[data-photo-actions][data-i18n-scopes] :is(
  .pw-button,.btn-search,.primary,.availability-search,.btn,.management-whatsapp,
  .cart-fab,.detail-cart-fab,[data-add-cart],[data-add-recommendation],#stayMobileAction,#applyStayDates,#applyCatalogParty,#retryCatalog,#searchAvailability
 ):hover:not(:disabled):not([aria-disabled=true]){
  background:var(--pw-action-hover);border-color:var(--pw-action-hover);color:#fff;
 }
 html body[data-photo-actions][data-i18n-scopes] :is(
  .pw-button-outline,.pw-button-light,.pw-button-white,.secondary,.outline-button,
  .management-secondary,#shareProduct,#headingCart
 ){
  background:var(--pw-action-soft);border-color:var(--pw-action-bg);color:var(--pw-action-ink);
  transition:background-color .2s,border-color .2s,color .2s;
 }
 html body[data-photo-actions][data-i18n-scopes] :is(
  .pw-button-outline,.pw-button-light,.pw-button-white,.secondary,.outline-button,
  .management-secondary,#shareProduct,#headingCart
 ):hover:not(:disabled):not([aria-disabled=true]){
  background:var(--pw-action-soft-hover);border-color:var(--pw-action-ink);color:var(--pw-action-ink);
 }
 html body[data-photo-actions] :is(.pw-button,.btn-search,.primary,.secondary,.availability-search,.btn,.outline-button):disabled{
  opacity:.55;cursor:not-allowed;
 }
 html body[data-photo-actions] :is(.pw-button,.btn-search,.primary,.secondary,.availability-search,.btn,.outline-button):focus-visible{
  outline:3px solid var(--pw-action-ink);outline-offset:3px;box-shadow:0 0 0 3px #fff;
 }
 /* Catalog category selector: selected is the primary action; alternatives are secondary. */
 html body[data-photo-actions].explore-page .catalog-categories button{
  background:var(--pw-action-soft);border-color:var(--pw-action-bg);color:var(--pw-action-ink);
  transition:background-color .2s,border-color .2s,color .2s;
 }
 html body[data-photo-actions].explore-page .catalog-categories button:hover{
  background:var(--pw-action-soft-hover);border-color:var(--pw-action-ink);color:var(--pw-action-ink);
 }
 html body[data-photo-actions].explore-page .catalog-categories button[aria-pressed=true]{
  background:var(--pw-action-bg);border-color:var(--pw-action-bg);color:#fff;
  box-shadow:0 3px 8px #5a171733;
 }
 html body[data-photo-actions].explore-page .catalog-categories button[aria-pressed=true]:hover{
  background:var(--pw-action-hover);border-color:var(--pw-action-hover);color:#fff;
 }
 /* The two large catalog links follow the same left/right priority. */
 html body[data-photo-actions].explore-page .explore-hero-actions .catalog-help-link{
  background:var(--pw-action-bg);border-color:var(--pw-action-bg);color:#fff;
  border-radius:10px;padding:11px 18px;min-height:50px;
 }
 html body[data-photo-actions].explore-page .explore-hero-actions .catalog-help-link:hover{
  background:var(--pw-action-hover);border-color:var(--pw-action-hover);color:#fff;
 }
 html body[data-photo-actions].explore-page .explore-hero-actions .explore-advisor-link{
  background:var(--pw-action-soft);border:1px solid var(--pw-action-bg);color:var(--pw-action-ink);
  border-radius:10px;padding:11px 18px;min-height:50px;
 }
 html body[data-photo-actions].explore-page .explore-hero-actions .explore-advisor-link:hover{
  background:var(--pw-action-soft-hover);border-color:var(--pw-action-ink);color:var(--pw-action-ink);
  text-decoration:none;
 }
 html body[data-photo-actions].explore-page :is(.catalog-categories button,.explore-hero-actions a):focus-visible{
  outline:3px solid var(--pw-action-ink);outline-offset:3px;box-shadow:0 0 0 3px #fff;
 }
}
/* One account entry on desktop and mobile, using the existing access dialog. */
body[data-photo-actions] .pw-header .pw-account-entry{
 order:4;flex:0 1 180px;display:inline-flex;align-items:center;justify-content:center;
 min-height:44px;max-width:210px;margin:0;padding:10px 14px;border:1px solid var(--pw-action-bg);
 border-radius:10px;font-size:12px;line-height:1.3;text-align:center;white-space:normal;
}
@media(min-width:1351px){
 body[data-photo-actions] .pw-header .pw-navigation{justify-content:flex-start}
 body[data-photo-actions] .pw-header .pw-locale-control{margin-left:auto!important}
}
@media(max-width:1350px){
 body[data-photo-actions] .pw-header{height:auto}
 body[data-photo-actions] .pw-header .pw-navigation{
  display:grid;grid-template-columns:minmax(0,1fr) auto auto auto auto;gap:8px 10px;padding-block:10px;
 }
 body[data-photo-actions] .pw-header .pw-account-entry{grid-column:4;grid-row:1;width:auto;order:0}
 body[data-photo-actions] .pw-header .pw-nav{
  display:none;position:absolute;inset:100% 0 auto;padding:20px 24px;
  flex-direction:column;align-items:stretch;max-height:calc(100dvh - 125px);overflow:auto;
  background:var(--pw-sand);border-bottom:1px solid var(--pw-line);box-shadow:0 15px 20px #163e3510;
 }
 body[data-photo-actions] .pw-header .pw-nav.is-open{display:flex}
 body[data-photo-actions] .pw-header .pw-collaborate>div{position:static;box-shadow:none;margin-top:5px}
 body[data-photo-actions] .pw-header .pw-brand{grid-column:1;grid-row:1;order:0}
 body[data-photo-actions] .pw-header .pw-locale-control{grid-column:2;grid-row:1;order:0}
 body[data-photo-actions] .pw-header .pw-theme-toggle{grid-column:3;grid-row:1;order:0}
 body[data-photo-actions] .pw-header .pw-menu-toggle{display:block;grid-column:5;grid-row:1;order:0}
 body[data-photo-actions] .pw-header .pw-menu-toggle{margin:0}
}
@media(max-width:760px){
 body[data-photo-actions] .pw-header .pw-navigation{grid-template-columns:minmax(0,1fr) auto auto auto}
 body[data-photo-actions] .pw-header .pw-account-entry{grid-column:1/-1;grid-row:2;max-width:none;width:100%;order:4}
 body[data-photo-actions] .pw-header .pw-menu-toggle{grid-column:4}
}
@media(max-width:540px){
 body[data-photo-actions] .pw-header .pw-brand>span{display:none}
 body[data-photo-actions] .pw-header .pw-navigation{width:calc(100% - 32px);gap:8px}
}
@media(prefers-reduced-motion:reduce){
 body[data-photo-actions] :is(a,button){transition:none!important}
}
