/* Owner reference: 1240 × 386 card. Independent native layers retain uniform geometry. */
.wine-card.silver-oak-ornate{
  container-type:inline-size;position:relative;isolation:isolate;box-sizing:border-box;
  width:100%;aspect-ratio:1240 / 410;min-height:0;padding:0!important;
  border:1px solid #d3a159!important;border-radius:clamp(6px,1.65vw,20px);
  background:#100b07!important;box-shadow:inset 0 0 0 1px #64401a,0 2px 7px #0008!important;
  overflow:hidden;color:#fff4df;font-family:Georgia,'Times New Roman',serif;
}
.silver-oak-ornate .so-scene{position:absolute;inset:0;z-index:0;overflow:hidden;background:#0d0906}
.silver-oak-ornate .so-scene:before{content:"";position:absolute;left:25%;right:0;top:24%;bottom:0;background:url('../assets/wine-card/silver-oak-ornate-background.png') 90% center / 135% auto no-repeat;opacity:.72}
.silver-oak-ornate .so-scene:after{content:"";position:absolute;inset:24% 0 0 25%;background:linear-gradient(90deg,#0d0906 0%,#0d0906e6 30%,transparent 70%)}
/* This viewport clips the vintage-neutral display copy to its label-window artwork. */
.silver-oak-ornate .so-label-window{position:absolute;z-index:3;left:0;top:0;width:24%;height:100%;overflow:hidden}
.silver-oak-ornate .so-label-window img{position:absolute;left:-9.184%;top:-7.65%;width:435.374%;max-width:none;height:116.394%;display:block}
.silver-oak-ornate .so-header{position:absolute;z-index:2;left:23.6%;right:0;top:0;height:26%;display:grid;grid-template-columns:22% 32% 22% 24%;background:linear-gradient(180deg,#48091d,#310812 70%,#28090f);border:0;border-bottom:1px solid #ac8149;border-radius:0 6px 0 0;box-shadow:inset 0 1px 4px #b4864522;box-sizing:border-box}
.silver-oak-ornate .so-fact,.silver-oak-ornate .so-country{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.55cqw;min-width:0;padding:0}
.silver-oak-ornate .so-fact:after{content:"";position:absolute;right:0;top:12%;height:76%;width:.5px;background:#b49761}
.silver-oak-ornate .so-caption{color:#e2bd77;font:700 1.8cqw/1 Georgia,serif;letter-spacing:.28cqw;white-space:nowrap}
.silver-oak-ornate .so-value{color:#f8f0e3;font:700 3.6cqw/1.15 "Times New Roman",serif;font-variant-numeric:lining-nums tabular-nums;letter-spacing:.10cqw;white-space:nowrap}
.silver-oak-ornate .so-country{gap:.42cqw}
.silver-oak-ornate .so-country img{width:3.1cqw;height:3.1cqw;border-radius:50%;object-fit:cover}
.silver-oak-ornate .so-name{position:absolute;left:27%;top:32%;margin:0;padding:0;max-width:53%;white-space:nowrap;font:700 var(--so-name-size,4.8cqw)/1.12 Georgia,serif;letter-spacing:-.16cqw;color:#fff9ed;text-shadow:0 1px 2px #000}
.silver-oak-ornate .so-divider{position:absolute;left:25.3%;top:50.3%;width:79%;height:2.8%;color:#e0b565}
.silver-oak-ornate .so-divider svg{display:block;width:100%;height:100%;overflow:visible}
.silver-oak-ornate .so-tags{position:absolute;left:27%;top:57.8%;display:flex;flex-direction:column;align-items:flex-start;gap:1.02cqw;max-width:48%;margin:0;padding:0}
.silver-oak-ornate :is(.so-tags,.so-appellation-row) .tag{box-sizing:border-box;margin:0;padding:.65cqw 1.55cqw .6cqw;border-radius:5cqw;border:1px solid #c4955f!important;background:linear-gradient(180deg,#6b411ab3,#45260e99)!important;box-shadow:inset 0 1px 3px #eeb87422;white-space:nowrap;color:#f6ebd7!important;font:700 1.78cqw/1 Georgia,serif!important;letter-spacing:.30cqw}
.silver-oak-ornate .so-tags .grape{background:linear-gradient(180deg,#502130a6,#32151e99)!important;border-color:#aa3c64!important;box-shadow:inset 0 1px 3px #f477a322}
.silver-oak-ornate .so-price{position:absolute;right:3.6%;top:32%;margin:0;font:italic 700 4.7cqw/1 "Times New Roman",serif;font-variant-numeric:lining-nums tabular-nums;letter-spacing:-.12cqw;color:#ffe4a5;text-shadow:0 1px 1px #a36e2d,0 2px 4px #000}
.silver-oak-ornate .so-details{position:absolute!important;right:1.6%!important;bottom:3.6%!important;margin:0;font:italic 1.9cqw/1 Georgia,serif!important;letter-spacing:0;color:#d5b36e!important;display:flex;align-items:center;gap:1.2cqw}
.silver-oak-ornate .so-details>span{display:grid;place-items:center;width:3cqw;height:3cqw;border:1px solid #b58a4b;border-radius:50%;font:400 2.4cqw/1 Georgia,serif;background:#392109}
.silver-oak-ornate .so-extra{position:absolute;right:3%;top:51%;display:flex;gap:1cqw;font:400 1.8cqw/1 Georgia,serif;color:#e2bd77}
.silver-oak-ornate.is-eighty-six{box-shadow:inset 0 0 0 2px #a32a36,0 0 10px #a32a3666!important}
.silver-oak-ornate.is-stack-suggestion{padding-bottom:0!important}
.silver-oak-ornate.is-stack-suggestion .so-details{bottom:24px!important}
.silver-oak-ornate.is-stack-suggestion .stack-suggestion-mark{font-size:7px;padding:2px 5px;line-height:1}
/* Keep native status states legible within the reference's shorter card. */
.silver-oak-ornate.is-eighty-six{border-color:#b73545!important}
.silver-oak-ornate .eighty-six-card-mark{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:.6cqw}
.silver-oak-ornate .eighty-six-card-number{font-size:9cqw;line-height:1}
.silver-oak-ornate .eighty-six-card-alternative-hint{font-size:2cqw;line-height:1.1;max-width:90%;white-space:nowrap}
.silver-oak-ornate .eighty-six-card-alternative-arrow{width:12cqw;height:4cqw;flex:none}
.silver-oak-ornate.is-stack-suggestion .stack-suggestion-mark{min-height:0;height:2.6cqw;padding:0;font-size:1.3cqw;line-height:1;box-sizing:border-box}
.silver-oak-ornate.is-stack-suggestion .so-tags{top:60%}
.silver-oak-ornate.is-stack-suggestion .so-price{top:32%}
.silver-oak-ornate.is-stack-suggestion .so-details{bottom:3.3cqw!important}

/* Original country-badge asset and vignette, scaled to this header. */
.silver-oak-ornate .so-country .country-badge-vignette,.silver-oak-ornate .so-country .country-badge{width:3.5cqw!important;height:3.5cqw!important;min-width:0!important}
.silver-oak-ornate .so-applique{position:absolute;z-index:1;width:12%;height:15%;overflow:hidden;pointer-events:none}
.silver-oak-ornate .so-applique-left{left:0;top:43%}
.silver-oak-ornate .so-applique-right{right:0;top:43%;transform:rotate(180deg)}
.silver-oak-ornate .so-applique-top{left:44%;top:-3%;transform:rotate(90deg)}
.silver-oak-ornate .so-applique-bottom{left:44%;bottom:-3%;transform:rotate(-90deg)}
.silver-oak-ornate :is(.so-tags,.so-appellation-row) .tag{position:relative;border-color:transparent!important;letter-spacing:.30cqw}
.silver-oak-ornate :is(.so-tags,.so-appellation-row) .tag::before{content:"";position:absolute;inset:-1px;border-radius:inherit;padding:1px;pointer-events:none;background:linear-gradient(135deg,#dfc695 0%,#a96722 24%,#d6b276 47%,#865019 69%,#e9b46c 88%,#ddc69e);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude}
.silver-oak-ornate .so-tags .grape::before{background:linear-gradient(135deg,#d4a6b4 0%,#8d2947 24%,#c27a94 47%,#6c1231 69%,#cc6289 88%,#d4a6b4)}

/* Balance trailing letter spacing so the visible text is centered in each pill. */
.silver-oak-ornate :is(.so-tags,.so-appellation-row) .tag{display:flex;align-items:center;justify-content:center;padding-right:1.25cqw;text-align:center}

.silver-oak-ornate .so-label-window .so-clean-frame{left:-22%;top:-5.35%;width:144.2%;height:110.7%;max-width:none}
.silver-oak-ornate .so-original-label{position:absolute;inset:0;clip-path:polygon(11.4% 91.7%,11.4% 22%,15% 16%,23% 10%,36% 8.5%,50% 8.5%,64% 8.5%,78% 11%,87.8% 21%,87.8% 91.7%)}

.silver-oak-ornate .so-name-row{position:absolute;left:27%;right:3.6%;top:30%;display:flex;align-items:center;white-space:nowrap}
.silver-oak-ornate .so-name-row .so-name{position:static;max-width:none;flex-shrink:0}
.silver-oak-ornate .so-appellation-row{position:absolute;left:27%;top:48%;display:flex;align-items:center;white-space:nowrap}
.silver-oak-ornate .so-appellation-row>.tag{flex-shrink:0}

/* Shared caption row keeps all five header titles on one baseline. */
.silver-oak-ornate .so-fact,.silver-oak-ornate .so-country{justify-content:flex-start;padding-top:1.05cqw;gap:.55cqw}
.silver-oak-ornate .so-caption{flex:none}
.silver-oak-ornate .so-tags .grape{padding:1cqw 2.05cqw .95cqw 2.35cqw;font-size:2cqw!important}
/* Shade the parchment edge; the original label remains above the shading. */
.silver-oak-ornate .so-label-window:before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,#25100688,transparent 20%,transparent 79%,#25100699),linear-gradient(180deg,#25100666,transparent 20%,transparent 80%,#25100666)}
.silver-oak-ornate .so-original-label{z-index:2}
/* Match the title divider at the right edge of the label panel, rotated vertically. */
.silver-oak-ornate .so-label-window:after{content:"";position:absolute;z-index:4;right:0;top:2%;bottom:2%;width:.32cqw;pointer-events:none;background:#dbb16d;clip-path:polygon(50% 0,62% 2%,100% 26%,100% 74%,62% 98%,50% 100%,38% 98%,0 74%,0 26%,38% 2%)}
.silver-oak-ornate .so-label-window{width:25%}
.silver-oak-ornate .so-label-window .so-clean-frame,.silver-oak-ornate .so-label-window .so-original-label{position:absolute;left:-22%;top:-5.35%;width:144.2%;height:110.7%;max-width:none;clip-path:none;right:auto;bottom:auto}
.silver-oak-ornate .so-divider{left:25.3%;width:73%;height:.32cqw;top:60.3%;color:#dbb16d}

/* Price and restored cellar badge share one lower-right stack. */
.silver-oak-ornate .so-price-stack{position:absolute;right:3.6%;bottom:3.6%;display:flex;flex-direction:column;align-items:center;gap:.8cqw}
.silver-oak-ornate .so-price{position:static;font-size:5.2cqw}
.silver-oak-ornate .so-world-badge{min-height:0!important;padding:.55cqw 1.15cqw!important;border:1px solid #a97643!important;border-radius:5cqw!important;background:#2c1118cc!important;color:#ead8b8!important;font:800 1.45cqw/1 Georgia,serif!important;letter-spacing:.16cqw!important;box-shadow:inset 0 1px 2px #f0c37a22!important}
.silver-oak-ornate .so-name-row{right:auto;max-width:69.4%}
.silver-oak-ornate .so-tags{top:65%}

/* Enlarge the flag around its existing center; preserve the US caption and layout box. */
.silver-oak-ornate .so-country .country-badge-vignette{transform:scale(1.12);transform-origin:center}


.silver-oak-ornate .so-price-caption{display:block;margin:0 0 .65cqw;text-align:center;color:#e2bd77;font:italic 700 1.55cqw/1 Georgia,serif;letter-spacing:.22cqw;text-shadow:none}

/* Optical alignment for italic price lettering; shared warm-gold caption color. */
.silver-oak-ornate{--so-caption-gold:#d9b783}
.silver-oak-ornate .so-caption,.silver-oak-ornate .so-price-caption{color:var(--so-caption-gold)}
.silver-oak-ornate .so-price-caption{color:#dfad70}
.silver-oak-ornate .so-price-caption{transform:translateX(.85cqw)}
.silver-oak-ornate .so-fact:nth-child(3)>.so-caption,.silver-oak-ornate .so-fact:nth-child(3)>.so-value{transform:translateX(.35cqw)}
.silver-oak-ornate .so-details{left:27%!important;right:auto!important;bottom:3.6%!important}

/* Compact label surround and separate origin stack, owner revision 15. */
.silver-oak-ornate .so-label-window{width:23%}
.silver-oak-ornate .so-label-window .so-clean-frame,.silver-oak-ornate .so-label-window .so-original-label{left:-6.15cqw;width:36.05cqw}
.silver-oak-ornate .so-header{left:22.6%;grid-template-columns:30% 40% 30%}
.silver-oak-ornate .so-header .so-fact:last-child:after{display:none}
.silver-oak-ornate .so-name-row,.silver-oak-ornate .so-appellation-row,.silver-oak-ornate .so-tags{left:25%}
.silver-oak-ornate .so-details{left:25%!important}
.silver-oak-ornate .so-divider{left:23.3%;width:58%}
.silver-oak-ornate .so-origin-stack{position:absolute;right:3.6%;top:29%;display:flex;flex-direction:column;align-items:center;gap:1.05cqw}
.silver-oak-ornate .so-origin-stack .so-country{padding:0;gap:.8cqw}
.silver-oak-ornate .so-price-stack{bottom:5%;align-items:flex-end}

/* Owner revision 16: country in the upper-right; world below the price. */
.silver-oak-ornate .so-header{grid-template-columns:30% 40% 30%;padding-right:0}
.silver-oak-ornate .so-origin-stack{top:29%;right:3.6%;z-index:3}
.silver-oak-ornate .so-origin-stack .so-country{gap:.55cqw}
.silver-oak-ornate .so-price-stack{align-items:flex-end;text-align:right;gap:.8cqw}
/* Center the inner label between the stationary frame edges. */
.silver-oak-ornate .so-label-window .so-original-label{left:-6.60cqw}

/* Complete neutral label avoids exposing an underlying duplicate. */
.silver-oak-ornate .so-label-window .so-clean-frame{left:-5.35cqw}
.silver-oak-ornate .so-origin-stack,.silver-oak-ornate .so-price-stack{right:1.6%}

/* Match the horizontal divider’s visible central stroke. */
.silver-oak-ornate .so-label-window:after{width:.16cqw}

/* Give the appellation a little more separation from its divider. */
.silver-oak-ornate .so-appellation-row{top:47.3%}
.silver-oak-ornate .so-divider{top:61.3%}

/* Equal inset from the header edge and the right inner border. */
.silver-oak-ornate .so-origin-stack{top:calc(26% + 1.6cqw)}

/* Fit the complete decorative frame into its current label panel. */
.silver-oak-ornate .so-fitted-frame{position:absolute;inset:0;width:100%;height:100%;z-index:2}

/* Owner-supplied artwork; uniform fit only, no reconstructed frame or divider. */
.silver-oak-ornate .so-supplied-frame{position:absolute;inset:0;width:100%;height:100%;z-index:2}
.silver-oak-ornate .so-label-window::before,.silver-oak-ornate .so-label-window::after{content:none;display:none}

/* Literal cutout: no screenshot surround, and no independent x/y stretching. */
.silver-oak-ornate .so-label-window .so-supplied-cutout{position:static;display:block;width:100%;height:auto;max-width:100%;object-fit:contain}

/* Owner-requested uniform enlargement to the card height. */
.silver-oak-ornate .so-label-window{width:auto;aspect-ratio:264 / 352}
.silver-oak-ornate .so-label-window .so-supplied-cutout{width:auto;height:100%;max-width:none}

/* Owner refinement: slightly narrower, identical height and left position. */
.silver-oak-ornate .so-label-window .so-supplied-cutout{transform:scaleX(.94);transform-origin:left center}

/* Owner revision 28: preserve header boxes and enlarge only the rendered numbers. */
.silver-oak-ornate .so-value{transform:scale(1.07);transform-origin:center}
.silver-oak-ornate .so-fact:nth-child(3)>.so-value{transform:translateX(.35cqw) scale(1.07)}
.silver-oak-ornate .so-fact::after{width:1px;background:#cfad73}
.silver-oak-ornate .so-scene::before{opacity:.62}
.silver-oak-ornate .so-price-stack{display:contents}
.silver-oak-ornate .so-price{position:absolute;top:30%;right:1.6%;font-size:5.2cqw}
.silver-oak-ornate .so-world-badge{position:absolute;left:25%;bottom:3.6%;width:max-content}
.silver-oak-ornate .so-origin-stack{top:auto;bottom:1.4cqw;right:1.6%}
.silver-oak-ornate .so-divider{width:75.1%}
.silver-oak-ornate .so-details{left:auto!important;right:1.6%!important;top:55.6%;bottom:auto!important}
.silver-oak-ornate .so-tags{flex-direction:row;flex-wrap:wrap;max-width:73.4%}
.wine-card :is(.so-name,.wine-name){display:flex;flex-wrap:wrap;align-items:baseline;column-gap:.25em;row-gap:.05em}
.wine-card :is(.so-name,.wine-name)>.wine-name-secondary{font-size:.72em;font-style:italic;font-weight:500;letter-spacing:0;color:#d9b783;max-width:100%;white-space:normal;overflow-wrap:anywhere}
.wine-card :is(.so-name,.wine-name)>.wine-name-primary{max-width:100%;white-space:normal}
.silver-oak-ornate.is-stack-suggestion .so-price{top:30%}
.silver-oak-ornate.is-stack-suggestion .so-details{bottom:auto!important}

.wine-list-name .wine-name-secondary{display:inline-block;max-width:100%;font-size:.72em;font-style:italic;font-weight:500;color:#d9b783}

/* New World follows the price; both stay outside the title flow. */
.silver-oak-ornate .so-price-stack{display:flex;position:absolute;top:30%;right:1.6%;bottom:auto;flex-direction:column;align-items:flex-end;gap:.6cqw}
.silver-oak-ornate .so-price{position:static}
.silver-oak-ornate .so-world-badge{position:static;left:auto;bottom:auto;margin:0}

/* The cellar badge shares the first data row; the details hint returns to the footer. */
.silver-oak-ornate .so-tags{display:block;right:1.6%;width:auto}
.silver-oak-ornate .so-tags .so-world-badge{position:static;float:right;display:block;margin:0 0 .7cqw 1cqw}
.silver-oak-ornate .so-details{left:25%!important;right:auto!important;top:auto;bottom:3.6%!important}
.silver-oak-ornate .so-name-row{max-width:54%;align-items:flex-start}
.wine-card :is(.so-name,.wine-name)>.wine-name-secondary,.wine-list-name .wine-name-secondary{
  -webkit-text-stroke:.2px #efdbb3;paint-order:stroke fill;text-shadow:0 1px 2px #000b;
}
/* Inline pills wrap around the right-hand world badge; companion grapes start below the heading. */
.so-tags .wine-grape-heading,.so-tags .wine-grape-list,.so-tags .wine-grape-extra{font-size:0;line-height:0}
.so-tags .wine-grape-list.has-grape-heading{clear:both}
.so-tags .wine-grape-extra{clear:both}
.so-tags :is(.wine-grape-heading,.wine-grape-list,.wine-grape-extra)>.tag{display:inline-flex;vertical-align:top;margin:0 .65cqw .6cqw 0}
.so-tags::after{content:"";display:block;clear:both}
