/* Ombra — PREVIEW look experiments (third pass 2026-11-06: owner brief item 10 «gold A/B» + the supplement «photorealistic jewelry
   buttons»).  Factory 1.5.4 site.yaml experiments: served under /ru/websites/examples/ombra/x/ on the noindex preview only, never in a production build.
   Every rule is keyed to the address fragment, so the site without one is the site as it is (C):
     #look-gold-a  A · photographic gold  — Reserve buttons + the wordmark line: a polished-gold surface texture (gold-tex.webp)
     #look-gold-b  B · rendered gold      — the same places: layered CSS gradients, highlights and a moving glint, no image
     #look-bar     a gold-bar MENU button — desktop: the hero «menu» action · phone: the action bar's Menu (the header menu stays)
     #look-ruby    a ruby Reserve button  — desktop: the hero «reserve» action · phone: the action bar's Reserve
   One object at a time: the gold bar and the ruby are alternatives, never on one page (owner 2026-11-06).
   The objects are the Factory operator's own renders (src/gold2.py, src/ruby.py, src/crop2.py — no photograph, no stamp, no number;
   the images are media-store originals named in site.yaml experiments.files);
   the labels stay real, localised text.  Images load only for the look that is open. */

.x-looks{display:none}
:root:has(.x-looks a:target) .x-looks{display:flex;position:fixed;z-index:90;left:50%;transform:translateX(-50%);bottom:calc(var(--bar) + 12px);flex-wrap:wrap;justify-content:center;align-items:center;gap:2px;padding:4px;width:max-content;max-width:calc(100vw - 16px);border-radius:22px;background:rgba(9,18,14,.88);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(215,174,98,.32);box-shadow:0 12px 30px -12px rgba(0,0,0,.7);scrollbar-width:none}
.x-looks span{padding:0 6px 0 10px;font:600 12px/1 var(--font-b);letter-spacing:.08em;text-transform:uppercase;color:rgba(232,224,204,.62)}
.x-looks a{display:inline-flex;align-items:center;min-height:40px;padding:0 11px;border-radius:999px;color:#E8E0CC;font:600 13px/1 var(--font-b);text-decoration:none;white-space:nowrap}
.x-looks a:target{background:#D7AE62;color:#1A1408}
@media (min-width:1024px){:root:has(.x-looks a:target) .x-looks{bottom:auto;top:calc(var(--head) + 14px)}}

:root{--x-menu:"Menu"}
:root:lang(ru){--x-menu:"Меню"}
:root:lang(sr){--x-menu:"Meni"}
:root:lang(de){--x-menu:"Menü"}
:root:lang(it){--x-menu:"Menu"}

/* ---------------------------------------------------------------- A · photographic gold */
:root:has(#look-gold-a:target) :is(.r-btn--accent,.r-bar__reserve){background:url(gold-tex.webp) 50% 0/cover #D9A94E;color:#2B1B03;border-color:#8A5D16;text-shadow:0 1px 0 rgba(255,236,180,.55);box-shadow:inset 0 1px 0 rgba(255,248,225,.75),inset 0 -2px 0 rgba(96,58,6,.45),inset 0 0 0 1px rgba(110,72,12,.35),0 8px 18px -10px rgba(0,0,0,.75)}
:root:has(#look-gold-a:target) .r-brand::before{height:2px;width:34px;background:url(gold-tex.webp) 30% 24%/520% auto #D9A94E;opacity:1}

/* ---------------------------------------------------------------- B · rendered metallic gold */
:root:has(#look-gold-b:target) :is(.r-btn--accent,.r-bar__reserve){background:linear-gradient(104deg,rgba(255,251,232,0) 36%,rgba(255,251,232,.62) 46%,rgba(255,251,232,0) 56%) -70% 0/230% 100% no-repeat,radial-gradient(130% 95% at 28% -8%,rgba(255,246,212,.92),rgba(255,246,212,0) 58%),linear-gradient(180deg,#F8E2A2 0%,#EBC46A 30%,#CF9A36 56%,#B9852A 70%,#E3B95E 88%,#F5D993 100%);color:#2B1B03;border-color:#8F6118;text-shadow:0 1px 0 rgba(255,240,196,.6);box-shadow:inset 0 1px 0 rgba(255,252,236,.9),inset 0 -2px 0 rgba(120,76,12,.5),inset 0 0 0 1px rgba(128,86,16,.35),0 8px 18px -10px rgba(0,0,0,.75)}
:root:has(#look-gold-b:target) .r-brand::before{height:2px;width:34px;background:linear-gradient(90deg,#9A6A1C,#F7E3A0 38%,#D2A044 62%,#F3D891 82%,#A8741F);opacity:1}

@media (hover:hover) and (pointer:fine){
:root:has(#look-gold-a:target) :is(.r-btn--accent,.r-bar__reserve):hover{background-position:50% 34%;box-shadow:inset 0 1px 0 rgba(255,250,232,.9),inset 0 -2px 0 rgba(96,58,6,.4),inset 0 0 0 1px rgba(110,72,12,.3),0 12px 24px -12px rgba(0,0,0,.8)}
:root:has(#look-gold-b:target) :is(.r-btn--accent,.r-bar__reserve):hover{background-position:170% 0,0 0,0 0}
}
:root:has(:is(#look-gold-a,#look-gold-b):target) :is(.r-btn--accent,.r-bar__reserve):active{transform:translateY(1px) scale(.985);box-shadow:inset 0 2px 3px rgba(80,48,4,.45),inset 0 0 0 1px rgba(110,72,12,.4)}
@media (prefers-reduced-motion:no-preference){:root:has(:is(#look-gold-a,#look-gold-b):target) :is(.r-btn--accent,.r-bar__reserve){transition:background-position .6s var(--ease),box-shadow .2s var(--ease),transform .14s var(--ease)}}

/* ---------------------------------------------------------------- the objects: a gold-bar MENU · a ruby RESERVE (alternatives) */
:root:has(#look-bar:target) :is(.r-hero .r-btn[data-action=menu],.r-bar__menu),
:root:has(#look-ruby:target) :is(.r-hero .r-btn[data-action=reserve],.r-bar__reserve){display:inline-flex;align-items:center;justify-content:center;gap:0;border:0!important;border-radius:12px;box-shadow:none!important;background-color:transparent!important;background-repeat:no-repeat!important;background-position:50% 50%!important;background-size:contain!important;-webkit-tap-highlight-color:transparent}
:root:has(#look-bar:target) :is(.r-hero .r-btn[data-action=menu],.r-bar__menu) svg,
:root:has(#look-ruby:target) :is(.r-hero .r-btn[data-action=reserve],.r-bar__reserve) svg,
:root:has(#look-ruby:target) .r-hero .r-btn[data-action=reserve]::after{display:none}

/* the gold bar: the real label is read by assistive technology; the bar shows the short engraved word */
:root:has(#look-bar:target) .r-hero .r-btn[data-action=menu]{background-image:url(bar.webp)!important;width:280px;height:83px;min-height:0;padding:0 0 24px;font-size:0;color:#4A2E05}
:root:has(#look-bar:target) .r-bar__menu{background-image:url(bar-m.webp)!important;min-height:56px!important;height:56px;padding:0 0 11px!important;font-size:0!important;color:#4A2E05}
:root:has(#look-bar:target) :is(.r-hero .r-btn[data-action=menu],.r-bar__menu)::before{content:var(--x-menu);content:var(--x-menu) / "";font:600 1.3125rem/1 var(--font-w);letter-spacing:.24em;padding-left:.24em;text-transform:uppercase;color:#4A2E05;text-shadow:0 1px 0 rgba(255,240,190,.75),0 -1px 0 rgba(80,48,0,.4)}
:root:has(#look-bar:target) .r-hero .r-btn[data-action=menu]::before{font-size:1.5rem}
:root:has(#look-bar:target) .r-bar a.r-bar__menu[data-action=menu]::before{font-size:1rem;letter-spacing:.14em;padding-left:.14em}   /* more specific than the :is() rule above */

/* the ruby: the button's own text, light on the stone's table */
:root:has(#look-ruby:target) .r-hero .r-btn[data-action=reserve]{background-image:url(ruby.webp)!important;width:300px;height:89px;min-height:0;padding:0 34px 17px;color:#FFF3EE;font:600 1.0625rem/1.15 var(--font-b);letter-spacing:.01em;text-shadow:0 1px 2px rgba(48,0,8,.9),0 0 14px rgba(70,0,12,.75)}
:root:has(#look-ruby:target) .r-bar__reserve{background-image:url(ruby-m.webp)!important;min-height:56px!important;height:56px;padding:0 16px 7px!important;color:#FFF3EE!important;font-size:.875rem!important;letter-spacing:0;text-shadow:0 1px 2px rgba(48,0,8,.95),0 0 10px rgba(70,0,12,.8)}
:root:has(:is(#look-bar,#look-ruby):target) .r-bar{padding-top:6px;padding-bottom:calc(6px + env(safe-area-inset-bottom))}
:root:has(:is(#look-bar,#look-ruby):target) .r-bar[data-n="4"]{grid-template-columns:1fr 1.2fr 44px 44px}

/* tactile: lift on hover, a short press on tap, a clear focus ring */
@media (hover:hover) and (pointer:fine){
:root:has(#look-bar:target) :is(.r-hero .r-btn[data-action=menu],.r-bar__menu):hover,
:root:has(#look-ruby:target) :is(.r-hero .r-btn[data-action=reserve],.r-bar__reserve):hover{transform:translateY(-2px);filter:brightness(1.07) saturate(1.04) drop-shadow(0 10px 12px rgba(0,0,0,.35))}
}
:root:has(#look-bar:target) :is(.r-hero .r-btn[data-action=menu],.r-bar__menu):active,
:root:has(#look-ruby:target) :is(.r-hero .r-btn[data-action=reserve],.r-bar__reserve):active{transform:translateY(1px) scale(.975);filter:brightness(.94)}
:root:has(#look-bar:target) :is(.r-hero .r-btn[data-action=menu],.r-bar__menu):focus-visible,
:root:has(#look-ruby:target) :is(.r-hero .r-btn[data-action=reserve],.r-bar__reserve):focus-visible{outline:2px solid #F3D58C;outline-offset:3px}
@media (prefers-reduced-motion:no-preference){
:root:has(#look-bar:target) :is(.r-hero .r-btn[data-action=menu],.r-bar__menu),
:root:has(#look-ruby:target) :is(.r-hero .r-btn[data-action=reserve],.r-bar__reserve){transition:transform .16s cubic-bezier(.2,.7,.2,1),filter .16s ease}
}
@media (prefers-reduced-motion:reduce){
:root:has(:is(#look-bar,#look-ruby):target) :is(.r-hero .r-btn,.r-bar a):is(:hover,:active){transform:none}
}
:root:has(:is(#look-bar,#look-ruby):target) .r-hero .actions{align-items:center}
