/* All changes are restricted to the opening screen. */
.catalog-app dialog.opening-offers{width:min(1120px,98vw);max-height:98dvh;background:#020b12;color:#fff;border-color:#d2b26a;box-shadow:0 0 30px #020715aa}
.opening-offers .opening-offers-inner{height:96dvh;background:#020b12;text-align:left;padding:20px 20px 0}
.opening-offers header.opening-offers-brand{flex-direction:row;flex-wrap:wrap;padding-right:48px;gap:12px;align-items:center;justify-content:flex-start}
.opening-offers-brand img{width:54px;height:54px}.opening-offers-brand strong{font-size:30px}.opening-offers-brand>span{width:100%}
.opening-shopping-tools{display:flex;gap:8px;margin-left:auto}.opening-shopping-tools button,.opening-search button,.opening-catalog-links button{border:1px solid #c7a45d;border-radius:10px;background:#071018;color:#f7d98e;padding:10px;min-height:44px}
.opening-search{display:flex;gap:8px;margin:18px 0}.opening-search input{min-width:0;flex:1;background:#051236;color:#fff;border:1px solid #a99569;border-radius:10px;padding:12px;font-size:16px}
.opening-reference-art{position:relative;aspect-ratio:792/293;overflow:hidden;border:1px solid #d2b26a;border-radius:12px}.opening-reference-art>img{position:absolute;max-width:none!important;width:129.3%!important;height:auto!important;left:-2.53%;top:-33.45%}
.catalog-app .opening-reference-art>button{position:absolute;left:54%;top:77%;width:33%;height:15%;min-height:0;border:0;border-radius:8px;padding:0;font-size:clamp(10px,1.5vw,18px);font-weight:800;background:linear-gradient(110deg,#ffe594,#e3b142)!important;color:#030c22!important}
.opening-benefits{display:flex;justify-content:space-around;flex-wrap:wrap;gap:12px;border:1px solid #b69a60;padding:16px;margin-top:16px;border-radius:10px;font-size:15px}
.opening-offers #opening-offers-title{font-size:32px;color:#edcf7d;margin-top:25px}.opening-offers-subtitle{display:none}
.opening-offers .opening-offer-card{background:#040b10}.opening-offers .opening-offer-stage{background:#fff;border-radius:10px;height:210px}.opening-offers .opening-offer-stage img{filter:none}.opening-offers .opening-offer-info h2{font:700 18px/1.25 sans-serif;color:#fff}.opening-offers .opening-offer-price{font-size:28px}
.opening-catalog-links h2{font:700 28px Georgia,serif;color:#edcf7d}.opening-catalog-links [data-opening-categories]{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.opening-catalog-links [data-category]{padding:0;overflow:hidden;display:flex;flex-direction:column}.opening-catalog-links [data-category] img{width:100%;height:120px;object-fit:contain;background:#fff}.opening-catalog-links [data-category] span{padding:10px;font-size:16px}.opening-catalog-links .opening-all{width:100%;background:linear-gradient(110deg,#ffe594,#e3b142);color:#030c22;font-weight:800;margin:20px 0}
.opening-offers .f7-company{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:28px 0;border-top:1px solid #b69a60;padding-top:20px;font-size:15px;line-height:1.6}.f7-company address{font-style:normal}.f7-company a{display:block;color:#fff;overflow-wrap:anywhere;padding:6px 0}.f7-company h2,.f7-company h3{color:#edcf7d}.f7-company .f7-whatsapp{background:#126b3c;padding:10px;border-radius:8px;margin:8px 0}.f7-iban{overflow-wrap:anywhere}
@media(max-width:600px){.opening-offers .opening-offers-inner{padding:12px 10px 0}.opening-offers-brand strong{font-size:22px}.opening-shopping-tools{margin-left:0;font-size:14px}.opening-offers .opening-offers-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;overflow:visible}.opening-offers .opening-offer-card{padding:8px;min-width:0}.opening-offers .opening-offer-stage{height:140px;margin:8px 0}.opening-offers .opening-offer-info h2{font-size:16px;overflow-wrap:anywhere}.opening-offers .opening-offer-price{font-size:24px}.opening-offers .opening-offer-add{font-size:16px;padding:10px}.opening-catalog-links [data-opening-categories]{grid-template-columns:repeat(2,minmax(0,1fr))}.opening-offers .f7-company{grid-template-columns:1fr}}

body.catalog-app dialog.opening-offers .opening-reference-art>button{background:linear-gradient(110deg,#ffe594,#e3b142)!important;color:#030c22!important}

/* Home: align category tiles and make the purchase action easy to reach. */
.opening-catalog-links [data-category]{height:100%;justify-content:flex-start}
.opening-catalog-links [data-category] img{display:block;flex:none;object-position:center}
.opening-catalog-links [data-category] span{display:flex;align-items:center;justify-content:center;min-height:3.2em;text-align:center;line-height:1.25}
.opening-offers .opening-offer-info{min-height:0}
.opening-offers .opening-offer-add{width:100%;margin-top:auto;min-height:48px}
.opening-offers .opening-offer-stage img{object-position:center}
.opening-catalog-links button:focus-visible,.opening-offers button:focus-visible,.opening-search input:focus-visible{outline:3px solid #ffe595;outline-offset:3px}

/* Prevent reflow while scrolling; keep the gold light outside card content. */
@property --f7-card-angle{syntax:"<angle>";initial-value:0deg;inherits:false}
.catalog-app .product{position:relative;content-visibility:visible}
.catalog-app .product::after{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;border:2px solid transparent;border-radius:inherit;background:conic-gradient(from var(--f7-card-angle),#926715 0deg,#d2a64b 80deg,#fff2ac 110deg,#ffcf57 130deg,#926715 165deg,#926715 360deg) border-box;mask:linear-gradient(#020715 0 0) padding-box,linear-gradient(#020715 0 0);mask-composite:exclude;-webkit-mask:linear-gradient(#020715 0 0) padding-box,linear-gradient(#020715 0 0);-webkit-mask-composite:xor;animation:f7-card-light 4s linear infinite}
@keyframes f7-card-light{to{--f7-card-angle:360deg}}
@media(prefers-reduced-motion:reduce){.catalog-app .product::after{animation:none}}
.opening-offers-main{overflow-anchor:none}

/* Golden highlight travels around the Prestige card without covering its button. */
.opening-reference-art::after{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;border:3px solid transparent;border-radius:inherit;background:conic-gradient(from var(--f7-card-angle),#9a711d 0deg,#d9ac49 80deg,#fffbd0 100deg,#ffde73 112deg,#9a711d 145deg,#9a711d 360deg) border-box;mask:linear-gradient(#020715 0 0) padding-box,linear-gradient(#020715 0 0);mask-composite:exclude;-webkit-mask:linear-gradient(#020715 0 0) padding-box,linear-gradient(#020715 0 0);-webkit-mask-composite:xor;animation:f7-card-light 4s linear infinite}
@media(prefers-reduced-motion:reduce){.opening-reference-art::after{animation:none}}
.f7-card-labels{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.f7-card-labels>span{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:5px 12px;border-radius:7px;background:#fff;color:#143575}.f7-visa{font:italic 900 22px Arial,sans-serif;letter-spacing:-1px}.f7-mastercard{gap:6px;color:#06153e!important;font:700 11px Arial,sans-serif}.f7-mc-circles{display:inline-flex}.f7-mc-circles i{width:23px;height:23px;border-radius:50%;background:#eb001b}.f7-mc-circles i+i{margin-left:-9px;background:#f79e1b;opacity:.92}

/* Explicit moving highlight: SVG path animation works without typed CSS properties. */
.opening-reference-art::after{animation:none}
.f7-prestige-light{position:absolute;inset:0;width:100%;height:100%;z-index:3;overflow:visible;pointer-events:none}.f7-prestige-light rect{fill:none;stroke:#ffe9a0;stroke-width:5;stroke-linecap:round;stroke-dasharray:4 96;filter:drop-shadow(0 0 5px #ffe78b);animation:f7-prestige-spark 4s linear infinite}
@keyframes f7-prestige-spark{to{stroke-dashoffset:-100}}
.opening-update{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:12px 0}.catalog-app .opening-update-button{border:1px solid #e8c56f;border-radius:10px;background:#061338;color:#f9df9b;font-weight:700;padding:10px 14px;min-height:44px}.opening-update-status{margin:0;font-size:13px;color:#e9d9a7}
@media(prefers-reduced-motion:reduce){.f7-prestige-light rect{animation:none}}

/* Prestige finish: brushed gold, a slow champagne reflection and sapphire glint. */
.f7-prestige-light,.prestige-orbit-light{display:none!important}
.opening-reference-art::after,.p7-reference-banner.p7-home-btn::before,.p7-reference-banner.p7-banner::before{content:"";position:absolute;inset:0;z-index:4;pointer-events:none;padding:0;border:3px solid transparent;border-radius:inherit;background:linear-gradient(115deg,#0e308f 0%,#b8934d 18%,#e2c88b 31%,#fff5d8 39%,#bf9a50 46%,#8d6d36 61%,#dec58b 77%,#a68140 100%) border-box;background-size:240% 100%;-webkit-mask:linear-gradient(#020715 0 0) padding-box,linear-gradient(#020715 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#020715 0 0) padding-box,linear-gradient(#020715 0 0);mask-composite:exclude;filter:none;animation:prestige-satin-reflection 14s ease-in-out infinite alternate}
.opening-reference-art::before,.p7-reference-banner.p7-home-btn::after,.p7-reference-banner.p7-banner::after{content:"";position:absolute;top:1px;right:8%;width:clamp(9px,1.2vw,14px);height:clamp(9px,1.2vw,14px);z-index:5;pointer-events:none;background:radial-gradient(ellipse at center,#fff 0%,#d8edff 12%,#8fbde5 28%,#4776a4 44%,transparent 70%);clip-path:polygon(50% 0,59% 38%,100% 50%,59% 60%,50% 100%,41% 60%,0 50%,41% 38%);transform:translateY(-35%);opacity:.65;animation:prestige-sapphire-glint 7s ease-in-out infinite}
@keyframes prestige-satin-reflection{from{background-position:0% 50%}to{background-position:100% 50%}}
@keyframes prestige-sapphire-glint{0%,100%{opacity:.3}50%{opacity:.95}}
@media(prefers-reduced-motion:reduce){.opening-reference-art::after,.opening-reference-art::before,.p7-reference-banner.p7-home-btn::before,.p7-reference-banner.p7-home-btn::after,.p7-reference-banner.p7-banner::before,.p7-reference-banner.p7-banner::after{animation:none}}
