/* Una pastelería alegre: letras redondeadas, colores frutales y detalles de confitería. */
body{font-weight:500}.announcement{background:#a52358;color:#fff6da;font-size:11px;font-weight:700;letter-spacing:.07em}.announcement span{color:var(--yellow)}.header{border-color:#e8bdca}.brand{font-family:var(--script);font-weight:400;letter-spacing:-.035em;color:var(--wine);font-size:26px;gap:10px}.brand small{font-size:8px;font-weight:800;letter-spacing:.14em;color:var(--ink);margin-top:11px}.brand-icon{width:44px;height:44px;stroke-width:1.8}.desktop-nav{font-weight:800}.header-cta{background:var(--yellow);border-color:#ecc249;color:#642a42;border-radius:50px;font-weight:800;box-shadow:0 3px 0 #d5a936}.header-cta:hover{background:#ffe17f;color:#642a42}.button{border-radius:100px;font-size:13px;font-weight:800;box-shadow:0 4px 0 #76133c;gap:18px}.button:hover{background:#8b1948}.button.header-cta{box-shadow:0 3px 0 #d5a936}.text-link{font-weight:800}.eyebrow{font-weight:900;letter-spacing:.12em;color:#94234e;font-size:11px}h1,h2,h3{font-weight:700}h1,h2{letter-spacing:-.025em}h1{font-weight:800;font-size:clamp(60px,5.8vw,84px);line-height:1.02;margin-top:25px}h1 em,h2 em{font-family:var(--script);font-style:normal;font-weight:400;font-size:.82em;letter-spacing:-.045em;line-height:1.32;display:inline-block;padding-bottom:.12em}h1 em:after{height:14px;background:var(--yellow);bottom:9px;border-radius:50%;transform:rotate(-3deg)}h2{font-size:clamp(42px,4.3vw,63px);line-height:1.05}.hero{position:relative;gap:6%;padding-block:65px 76px}.hero-description{font-size:16px;line-height:1.8;max-width:390px;margin-top:23px}.hero-copy .eyebrow{font-size:10px;font-weight:900;letter-spacing:.1em}.tiny-line{background:#ee7e9d;width:27px;height:3px;border-radius:3px}.hero-actions{margin-top:29px;gap:23px}.hero-actions .text-link{font-size:11px}.hero-location{font-size:11px;font-weight:700}.hero-frame{border:7px solid #fff9eb;border-radius:47% 47% 24px 24px;box-shadow:12px 12px 0 #ffb7cf;outline:2px solid #ed8db2;transform:rotate(2deg)}.hero-visual{isolation:isolate}.hero-visual:before{content:'';position:absolute;inset:40px -18px -24px 21px;background:#ffdb68;border-radius:48% 48% 32px 32px;z-index:-1;transform:rotate(-4deg)}.hero-seal{background:var(--yellow);border:6px solid var(--cream);outline:2px dotted #ed8db2;width:145px;height:145px;bottom:30px;left:-57px;font-size:12px;font-weight:800;color:#71233f;gap:7px;box-shadow:3px 5px 0 #a5235820}.hero-seal[data-border-style="original"]{outline:2px dashed #a52358}
.hero-seal em{font-family:var(--script);font-size:15px;font-weight:400;line-height:1.4}.hero-seal .icon{color:#a52358;width:17px;height:17px}.hero-spark{color:#a52358;fill:var(--pink);width:65px;height:65px;right:-15px;top:19px;stroke-width:1.8}.handwritten{font-family:var(--script);font-style:normal;font-size:16px;right:19px;top:-35px;transform:rotate(5deg)}.photo-caption{font-size:10px;font-weight:700;bottom:-46px}.ribbon{background:var(--pink);color:#742542;border-top:2px solid #ec8fb2;border-bottom:2px solid #ec8fb2;padding-block:20px}.ribbon-inner span:nth-child(odd){font-family:var(--serif);font-weight:700;font-size:21px;font-style:normal}.ribbon-inner span:nth-child(even){color:#a52358;font-size:22px}.section-heading>p{font-size:14px;line-height:1.9;max-width:350px}.section-heading .eyebrow{margin-bottom:19px}.gallery-toolbar{margin-top:29px}.filters{flex-wrap:wrap;gap:9px}.filter{font-size:12px;border:1.5px solid #e2a1b7;font-weight:800;padding:8px 21px;min-height:39px;background:#fffdf7}.filter.active{box-shadow:0 3px 0 #76133c}.filter:not(.active):hover{background:#ffdaea}.gallery-hint{font-size:10px;max-width:175px;line-height:1.5;text-align:right}.gallery{gap:25px;align-items:start}.creation,.creation:nth-child(2){padding:12px 12px 18px;background:var(--paper);border:1.5px solid #e7acc1;border-radius:23px;box-shadow:5px 5px 0 #ffccdb}.creation:nth-child(3n+2){border-color:#d7be64;box-shadow:5px 5px 0 #ffe187}.creation:nth-child(3n){border-color:#b9cd7c;box-shadow:5px 5px 0 #dceaa7}.creation:only-child{padding:12px 12px 18px}.photo-button{border-radius:15px;height:280px}.photo-tag{background:#fff5d8;color:#7e214d;letter-spacing:.07em;font-size:8px;padding:7px 9px;border-radius:6px;font-weight:900}.photo-expand{background:#fff9eb;color:var(--wine);border:1px solid #e89ab6;font-weight:900;top:12px;right:12px}.creation-caption{margin-top:13px;padding-inline:4px;gap:7px}.creation-caption h3{font-size:25px;font-weight:700;line-height:1.15;letter-spacing:-.01em}.creation-caption a{flex-shrink:0;background:#ffd56c;border-color:#efc34c;color:#78254b}.creation>p{padding-inline:4px;font-size:12px;line-height:1.7;margin-top:7px}.catalog-photo img{height:auto;min-height:100%;width:100%;object-fit:initial;object-position:initial;transform-origin:center top}.gallery-more{margin:37px auto 0;display:flex;width:max-content;background:#dceda7;color:#4f5425;border-color:#b3c96e;box-shadow:0 4px 0 #a5b85f}.gallery-more:hover{background:#e5f4bd}.gallery-footer{margin-top:32px}.gallery-footer p,.gallery-footer .text-link{font-size:12px}.idea-section{background:#ffdf76;border-color:#ecc75b;position:relative}.idea-intro h2{font-size:clamp(42px,3.9vw,56px)}.idea-intro>p:not(.eyebrow),.steps p{color:#694d39;font-size:14px}.little-note span{font-family:var(--script);font-style:normal;font-size:15px;color:#982048}.little-note svg{stroke:#ae3a55}.steps li{border-color:#cfa341;gap:24px}.step-number{background:#fff5cc;border:1px solid #d3ab4e;color:#9c2b54;border-radius:50%;width:47px;height:47px;display:grid;place-items:center;font-family:var(--serif);font-size:25px;font-style:normal;font-weight:700;flex-shrink:0}.steps h3{font-size:18px;font-family:var(--serif);font-weight:700;line-height:1.3;margin-bottom:6px}.steps p{font-size:13px;line-height:1.8}.consultation-copy>p:not(.eyebrow){font-size:14px;line-height:1.85}.phone-link{font-family:var(--serif);font-size:29px;font-weight:600}.inquiry-form{background:#ffe7ef;border:2px solid #e8a5bd;border-radius:26px;box-shadow:8px 8px 0 #eec5d0;padding:34px}.form-heading{font-family:var(--serif);font-size:31px;font-weight:700;letter-spacing:0;padding-bottom:23px}.form-heading .icon{width:34px;height:34px;stroke-width:1.7}.field label{font-weight:800;font-size:12px}.field label span{font-size:10px;font-weight:500}input,select,textarea{background:#fffcf5;border-color:#e8adbf;border-radius:9px;font-size:14px;padding:12px}.form-submit{font-size:13px}.form-note{color:#765261;font-size:11px;line-height:1.8}.visit-section{background:#e5efbd;border-color:#cedd99}.visit-detail p,.hours p{color:#5f6446;font-size:13px}.visit-detail h3,.hours h3{font-size:13px;font-weight:900}.hours strong{color:#484c31;font-weight:800}.hours small{font-size:10px;color:#5f6446}.visit-copy h2{font-size:clamp(43px,4vw,58px)}.map-wrap{border:4px solid #fff8e8;outline:1px solid #b5c97d;border-radius:45% 45% 25px 25px;box-shadow:8px 8px 0 #c7da8c}.map-caption{border-radius:13px;border:1px solid #d3dba7}.map-caption strong{font-size:13px}.map-caption small{font-size:11px}.visit-actions .button{font-size:12px}.visit-actions .text-link{font-size:12px}.faq h2{font-size:49px}.faq-list summary{font-size:15px;font-weight:800}.faq-list details{border-color:#e7bccb}.faq-list details p{font-size:14px}.footer{background:#8d1c4a;color:#fff4dc;border-top:7px solid #ffca60}.footer .eyebrow{color:#ffe0a3;font-size:10px}.footer-brand{font-family:var(--script);font-weight:400;font-size:45px;letter-spacing:-.04em}.footer-brand span{color:#ffd665}.footer-top>div>p:last-child,.footer-bottom{color:#ffe2e8;font-size:12px}.footer-contact{font-family:var(--serif);font-size:28px;font-weight:600}.footer-contact em{font-family:var(--script);font-weight:400;font-size:24px;color:#ffd86c;font-style:normal}.footer-bottom{font-size:10px}.footer a:hover{color:#ffd76b}.floating-wa{background:#a52358;border:2px solid #fff9e9;outline:1px solid #c8648b;font-weight:800;font-size:12px;box-shadow:0 4px 0 #76133c}.floating-wa:hover{background:#8b1948}.lightbox{border:5px solid #fff8e9;border-radius:19px;background:var(--cream)}.lightbox::backdrop{background:#421b32e8}.lightbox-caption h2{font-family:var(--serif);font-size:31px;letter-spacing:0;text-align:center;overflow-wrap:anywhere}.lightbox-caption p{font-size:13px;line-height:1.8}.lightbox-image-frame>img{max-height:70dvh;max-width:100%;display:block;margin:auto;object-fit:contain}.lightbox-image-frame.is-cropped{aspect-ratio:1.63;overflow:hidden;width:min(760px,calc(100vw - 46px));max-height:66dvh}.lightbox-image-frame.is-cropped>img{width:100%;height:auto;max-height:none;object-fit:initial}.lightbox-close{color:#a52358;border:1px solid #e7a9c1;background:#ffedb5}.lightbox-caption{max-width:none}
.lightbox-caption p{max-width:710px}.photo-button .local-photo{object-position:center 45%}
.catalog-photo{height:auto;aspect-ratio:1.6;max-height:none}.catalog-photo img{position:absolute;top:0;left:0;width:100%;height:auto;min-height:0;max-height:none}.lightbox-image-frame.is-cropped{position:relative}.lightbox-image-frame.is-cropped>img{position:absolute;top:0;left:0}
@media(min-width:1500px){.photo-button:not(.catalog-photo){height:310px}.hero-frame{height:565px}}
@media(max-width:1150px){.gallery-hint{display:none}.filters{gap:7px}.filter{padding-inline:18px}.photo-button{height:250px}.creation-caption h3{font-size:22px}.brand{font-size:23px}.hero-copy .eyebrow{font-size:8px}.hero-seal{width:125px;height:125px;font-size:10px;left:-40px}.hero-seal em{font-size:13px}.form-grid{column-gap:12px}.inquiry-form{padding:28px}.form-heading{font-size:27px}}
@media(max-width:900px){.brand{font-size:21px}.brand small{font-size:6px;letter-spacing:.12em}.brand-icon{width:34px}.desktop-nav{font-size:11px;gap:15px}.header-cta{font-size:11px;gap:7px}.hero{padding-block:48px 66px;gap:6%}h1{font-size:61px}.hero-description{font-size:14px}.hero-actions .button{font-size:12px;gap:10px}.hero-actions .text-link{font-size:10px}.hero-seal{width:113px;height:113px;font-size:9px;bottom:25px;left:-28px;gap:4px}.hero-seal em{font-size:12px}.hero-spark{width:47px;height:47px;right:-10px}.handwritten{font-size:12px;right:9px;top:-29px}.photo-caption{font-size:9px;bottom:-43px}.ribbon-inner span:nth-child(odd){font-size:18px}.photo-button{height:230px}.creation{padding:9px 9px 15px}.creation:nth-child(2){padding:9px 9px 15px}.creation-caption h3{font-size:20px}.creation>p{font-size:11px}.photo-tag{font-size:7px;left:10px}.creation-caption a{width:28px;height:28px}.section-heading>p{font-size:13px}.idea-intro h2{font-size:43px}.little-note span{font-size:13px}.steps h3{font-size:17px}.steps p,.idea-intro>p:not(.eyebrow){font-size:12px}.step-number{width:39px;height:39px;font-size:22px}.steps li{gap:16px}.consultation h2{font-size:50px}.inquiry-form{padding:22px}.form-heading{font-size:24px}.form-grid{column-gap:10px}.field label{font-size:10px}.field label span{font-size:9px}input,select,textarea{font-size:12px;padding-inline:9px}.form-submit{font-size:11px;gap:8px}.form-note{font-size:10px}.phone-link{font-size:26px}.visit-copy h2{font-size:47px}.visit-detail p,.hours p{font-size:12px}.hours small{font-size:9px}.visit-actions .button,.visit-actions .text-link{font-size:11px}.faq h2{font-size:45px}.faq-list summary{font-size:13px}.faq-list details p{font-size:12px}.footer-brand{font-size:36px}.footer .eyebrow{font-size:8px}.footer-top>div>p:last-child{font-size:10px}.footer-contact{font-size:23px}.footer-contact em{font-size:21px}.footer-bottom{font-size:9px}}
@media(max-width:680px){.announcement{font-size:8px;letter-spacing:.03em;padding:9px 10px}.header{padding-block:20px 14px;row-gap:15px}.brand{font-size:22px;gap:8px}.brand-icon{width:34px;height:34px}.brand small{font-size:6px;margin-top:9px}.header-cta{font-size:11px;min-height:36px;padding:8px 12px}.desktop-nav{font-size:12px;font-weight:800}.hero{padding-block:34px 63px;gap:45px}.hero-copy .eyebrow{font-size:8px;letter-spacing:.07em}h1{font-size:clamp(51px,13.6vw,71px);line-height:1.02;margin-top:22px}h1 em{font-size:.81em;letter-spacing:-.045em;line-height:1.4}h1 em:after{height:11px;bottom:8px}.hero-description{font-size:15px;line-height:1.8;margin-top:18px;max-width:340px}.hero-actions{display:flex;gap:18px}.hero-actions .button{font-size:12px;min-height:48px;padding-inline:19px}.hero-actions .text-link{font-size:10px}.hero-location{font-size:10px;margin-top:24px}.hero-visual{margin-top:14px;width:83%;padding-right:4px}.hero-frame{height:400px;box-shadow:9px 9px 0 #ffb7cf;border-width:5px;border-radius:47% 47% 20px 20px}.hero-visual:before{inset:34px -14px -21px 15px;border-radius:48% 48% 22px 22px}.hero-seal{width:115px;height:115px;left:-33px;bottom:20px;gap:4px;font-size:10px;border-width:5px}.hero-seal em{font-size:12px}.hero-spark{width:47px;height:47px;right:-22px;top:8px}.handwritten{font-size:12px;right:4px;top:-31px}.photo-caption{font-size:9px;bottom:-43px;right:0}.ribbon{padding-block:17px}.ribbon-inner span:nth-child(odd){font-size:16px}.ribbon-inner span:nth-child(even){font-size:16px}.section{padding-block:57px}h2{font-size:44px}.section-heading .eyebrow{font-size:9px;margin-bottom:13px}.section-heading>p{font-size:14px;line-height:1.8;max-width:340px;margin-top:16px}.gallery-toolbar{display:block;margin-top:22px;margin-bottom:23px}.filters{gap:7px;flex-wrap:nowrap;overflow-x:auto;padding:0 0 7px;scrollbar-width:thin}.filter{flex-shrink:0;font-size:11px;padding:8px 16px;min-height:37px}.gallery{gap:25px}.creation,.creation:nth-child(2),.creation:only-child{padding:11px 11px 17px;border-radius:23px;box-shadow:4px 4px 0 #ffccdb}.creation:nth-child(3n+2){box-shadow:4px 4px 0 #ffe187}.creation:nth-child(3n){box-shadow:4px 4px 0 #dceaa7}.photo-button{height:300px;max-height:90vw;border-radius:14px}.creation-caption{margin-top:14px}.creation-caption h3{font-size:27px}.creation-caption a{width:32px;height:32px}.creation>p{font-size:13px;line-height:1.7}.photo-tag{font-size:8px;padding:6px 9px;bottom:13px;left:12px}.gallery-more{font-size:12px;margin-top:30px}.gallery-footer{gap:11px;margin-top:27px}.gallery-footer p,.gallery-footer .text-link{font-size:11px}.idea-section{padding-block:49px}.idea-intro h2{font-size:43px}.idea-intro .eyebrow{font-size:9px}.idea-intro>p:not(.eyebrow){font-size:14px;line-height:1.8}.little-note span{font-size:13px}.steps h3{font-size:20px}.steps p{font-size:13px;line-height:1.8}.step-number{width:43px;height:43px;font-size:25px}.steps li{gap:18px}.consultation h2{font-size:48px}.consultation-copy .eyebrow{font-size:9px}.consultation-copy>p:not(.eyebrow){font-size:14px;max-width:340px}.phone-link{font-size:28px}.inquiry-form{padding:26px 21px;border-radius:24px;box-shadow:6px 6px 0 #eec5d0}.form-heading{font-size:29px;gap:9px}.form-heading .icon{width:30px;height:30px}.field label{font-size:12px}.field label span{font-size:10px}input,select,textarea{font-size:16px;padding:12px}.form-submit{font-size:13px;gap:10px;padding-inline:16px}.form-note{font-size:11px;line-height:1.7}.visit-section{padding-block:49px}.visit-copy h2{font-size:46px}.visit-copy>.eyebrow{font-size:9px}.visit-detail h3,.hours h3{font-size:13px}.visit-detail p,.hours p{font-size:13px}.hours small{font-size:10px}.hours{margin-left:30px;max-width:305px}.visit-actions .button,.visit-actions .text-link{font-size:12px}.map-wrap{height:390px;border-radius:45% 45% 22px 22px;box-shadow:6px 6px 0 #c7da8c}.map-caption{padding:14px 12px;gap:9px}.map-caption strong{font-size:13px}.map-caption small{font-size:10px}.faq h2{font-size:44px}.faq .eyebrow{font-size:9px}.faq-list summary{font-size:14px;gap:15px}.faq-list details p{font-size:13px;line-height:1.8}.footer{padding-top:39px}.footer-brand{font-size:35px;gap:16px}.footer-brand span{font-size:22px}.footer .eyebrow{font-size:8px;letter-spacing:.12em}.footer-top>div>p:last-child{font-size:11px;line-height:1.8}.footer-contact{font-size:27px;padding-right:67px}.footer-contact em{font-size:23px}.footer-bottom{font-size:10px;line-height:1.9}.footer-bottom>div{gap:20px;flex-wrap:wrap}.floating-wa{font-size:11px;padding:11px 15px}.lightbox-caption{padding:18px}.lightbox-caption h2{font-size:27px}.lightbox-caption p{font-size:12px}.lightbox{border-width:4px;max-width:calc(100% - 24px)}.lightbox-image-frame.is-cropped{width:calc(100vw - 32px);aspect-ratio:1.6}}

/* Keep historical catalog prices outside the visible photo area at every viewport. */
.photo-button.catalog-photo{height:auto;aspect-ratio:1.6;max-height:none}
.photo-button.enhanced-catalog{height:auto;aspect-ratio:1.6;max-height:none}.enhanced-catalog img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.photo-button img.display-enhanced,#lightbox-image.display-enhanced{filter:brightness(1.14) saturate(1.2) contrast(1.04)}

/* Logo original aportado por el negocio. Se conserva su proporción y transparencia. */
.header{min-height:174px}.brand-with-logo{min-width:145px;justify-content:flex-start}.brand-with-logo .business-logo{display:block;width:108px;height:auto;max-height:148px;object-fit:contain}.footer-brand-with-logo{display:block;width:max-content;line-height:1}.business-logo-footer{display:block;width:156px;height:auto;object-fit:contain}.footer-top{align-items:center}
@media(max-width:900px){.header{min-height:158px}.brand-with-logo{min-width:100px}.brand-with-logo .business-logo{width:94px;max-height:128px}.business-logo-footer{width:143px}}
@media(max-width:680px){.header{padding-block:14px 13px;min-height:0;row-gap:12px}.brand-with-logo{min-width:0}.brand-with-logo .business-logo{width:91px;max-height:124px}.business-logo-footer{width:143px}.footer-contact{margin-top:26px}}

/* Contacto flotante con la paleta de WhatsApp. */
.floating-wa{background:#25d366;color:#043d35;border:2px solid #fff;outline:1px solid #128c7e;box-shadow:0 4px 0 #128c7e}.floating-wa .icon{color:#fff}.floating-wa:hover{background:#20c960;color:#043d35;box-shadow:0 4px 0 #075e54}

/* WhatsApp green is reserved for the floating contact and the form submit. */
form[action^="https://wa.me/"] .form-submit{background:#25d366;color:#043d35;border-color:#128c7e;box-shadow:0 4px 0 #128c7e}
form[action^="https://wa.me/"] .form-submit:hover{background:#20c960;color:#043d35;border-color:#075e54;box-shadow:0 4px 0 #075e54}
form[action^="https://wa.me/"] .form-submit .icon{color:#fff}
.footer-message{font-family:var(--serif);font-size:28px;line-height:1.4;font-weight:600;letter-spacing:-.025em}.footer-message em{font-family:var(--script);font-size:.86em;font-weight:400;color:#ffd86c;font-style:normal}
@media(max-width:680px){.footer-message{font-size:26px;margin-top:26px}}

/* Accesos de contacto juntos al desplazarse por la página. */
.floating-contact{position:fixed;z-index:10;right:max(23px,env(safe-area-inset-right));bottom:calc(22px + env(safe-area-inset-bottom));display:flex;align-items:stretch;gap:10px}
.floating-contact .floating-wa{position:static;white-space:nowrap}
.floating-call{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:13px 17px;border:2px solid #fff;border-radius:100px;outline:1px solid #a52358;background:#a52358;color:#fff;box-shadow:0 4px 0 #74193e;font-size:12px;font-weight:800;white-space:nowrap}
.floating-call .icon{width:22px;height:22px}
.floating-call:hover{background:#861a46;box-shadow:0 4px 0 #601233;color:#fff}
.floating-contact a:focus-visible{outline:3px solid #2c2330;outline-offset:4px}
@media(max-width:680px){.floating-contact{right:max(16px,env(safe-area-inset-right));bottom:calc(17px + env(safe-area-inset-bottom));gap:9px}.floating-call{padding:11px 15px;font-size:11px}}

/* Los dos accesos a WhatsApp comparten el mismo ancho. */
.floating-wa,form[action^="https://wa.me/"] .form-submit{width:144px;flex-shrink:0;justify-content:center;white-space:nowrap}
form[action^="https://wa.me/"] .form-submit{display:flex;margin-inline:auto;padding-inline:15px;gap:9px}
form[action^="https://wa.me/"] .form-submit .icon{width:22px;height:22px;flex-shrink:0;margin-left:0}
@media(max-width:680px){.floating-wa,form[action^="https://wa.me/"] .form-submit{width:136px}}

/* Fotografías del catálogo. */
.photo-button.facebook-photo{background:var(--paper)}

/* Tarjetas uniformes con fotografías que llenan el marco y textos alineados. */
.gallery{--gallery-photo-height:310px;--gallery-title-size:25px;--gallery-copy-size:12px;align-items:stretch}
.gallery .creation{display:flex;flex-direction:column;min-width:0}
.gallery .creation .photo-button{height:var(--gallery-photo-height);min-height:var(--gallery-photo-height);max-height:none;aspect-ratio:auto;flex-shrink:0;background:var(--paper)}
.gallery .creation .photo-button:not(.catalog-photo) img{position:static;display:block;width:100%;height:100%;min-height:0;object-fit:cover}
.gallery .creation .photo-button img{transition:transform .45s ease}
.gallery .creation .photo-button:hover img,.gallery .creation .photo-button:focus-visible img{transform:scale(1.06)}
.gallery .creation-caption{align-items:flex-start}
.gallery .creation-caption h3{font-size:var(--gallery-title-size);line-height:1.15}
.gallery .creation>p{font-size:var(--gallery-copy-size);line-height:1.7;overflow-wrap:anywhere}
.gallery .creation-caption h3{overflow-wrap:anywhere}
@supports(grid-template-rows:subgrid){
  #photo-gallery>.creation{display:grid;grid-template-rows:subgrid;grid-row:span 3;row-gap:0}
}
.gallery .catalog-photo{display:block}
.catalog-photo-frame{display:block;position:absolute;top:50%;left:50%;overflow:hidden;width:max(100%,calc(var(--gallery-photo-height) * 1.6));aspect-ratio:1.6;transform:translate(-50%,-50%)}
@media(max-width:900px){.gallery{--gallery-photo-height:250px;--gallery-title-size:20px;--gallery-copy-size:11px}}
@media(max-width:680px){.gallery{--gallery-photo-height:clamp(240px,75vw,300px);--gallery-title-size:27px;--gallery-copy-size:13px}}

.gallery img.photo-focus-lower{object-position:center 80%}
.gallery img.photo-focus-upper{object-position:center 30%}

/* Toma del propio collage de pines, sin el rótulo gráfico. */
.pines-photo-frame{display:block;position:absolute;top:50%;left:50%;width:max(100%,calc(var(--gallery-photo-height) * .921161826));aspect-ratio:222 / 241;overflow:hidden;transform:translate(-50%,-50%);transition:transform .45s ease}
.gallery .creation .photo-button.pines-detail img{position:absolute;display:block;max-width:none;width:381.981982%;height:auto;min-height:0;max-height:none;left:-260.36036%;top:-19.917012%;transform:none;object-fit:initial}
.gallery .creation .photo-button.pines-detail:hover .pines-photo-frame,.gallery .creation .photo-button.pines-detail:focus-visible .pines-photo-frame{transform:translate(-50%,-50%) scale(1.06)}
.gallery .creation .photo-button.photo-fit:not(.catalog-photo) img{object-fit:contain;object-position:center;transform:none}
.gallery .creation .photo-button.pines-detail.photo-fit .pines-photo-frame{width:min(100%,calc(var(--gallery-photo-height) * .921161826))}
.gallery .creation .photo-button.pines-detail.photo-fit:is(:hover,:focus-visible) .pines-photo-frame{transform:translate(-50%,-50%)}
.lightbox-image-frame.is-pines-detail{position:relative;overflow:hidden;width:min(500px,calc(100vw - 40px),calc((100dvh - 180px) * .921161826));aspect-ratio:222 / 241;max-height:none}
.lightbox-image-frame.is-pines-detail>img{position:absolute;width:381.981982%;height:auto;min-height:0;max-width:none;max-height:none;margin:0;left:-260.36036%;top:-19.917012%;object-fit:initial}

/* Optional photo reference in the inquiry form. */
.reference-help,.reference-formats,.reference-status{font-size:12px;line-height:1.65;color:var(--muted)}
.reference-help{margin-bottom:12px}.reference-formats{margin-top:7px;font-size:11px}.reference-status{margin-top:9px;overflow-wrap:anywhere}.reference-status:empty{display:none}.reference-status.is-error{color:#a2193e;font-weight:800}
.reference-field .reference-input{width:100%;max-width:100%;min-width:0;padding:10px;border:1.5px dashed #d794ac;border-radius:14px;background:#fff8ee;font-size:12px;cursor:pointer}
.reference-input::file-selector-button{border:0;border-radius:50px;background:#ffe19c;color:#70223f;font:inherit;font-weight:800;padding:10px 13px;margin-right:10px;cursor:pointer}
.reference-input:hover::file-selector-button{background:#ffd56c}
.reference-preview{display:flex;align-items:center;gap:14px;min-width:0;margin-top:14px;padding:12px;border:1px solid #e7acc1;border-radius:16px;background:#fff9ef}
.reference-preview img{width:88px;height:88px;object-fit:contain;border-radius:10px;background:white;flex-shrink:0}.reference-preview-info{min-width:0;display:grid;gap:8px}.reference-preview-info>span{font-size:12px;overflow-wrap:anywhere;line-height:1.5}
.reference-remove{justify-self:start;min-height:38px;padding:5px 10px;border:1px solid #d794ac;border-radius:50px;background:#fff;color:var(--wine);font-size:12px;font-weight:800}.reference-remove:hover{background:var(--pale)}
.inquiry-form button:disabled,.reference-input:disabled{cursor:wait;opacity:.65}
@media(max-width:680px){.reference-help,.reference-status{font-size:13px}.reference-field .reference-input{font-size:13px}.reference-preview img{width:80px;height:80px}}
.gallery-mobile-pages[hidden]{display:none}
.gallery-mobile-quote{display:none}
.inquiry-preferences{min-width:0;padding:0;border:0;margin:0}
.inquiry-preferences legend{padding:0;margin:0 0 8px;font-size:14px;font-weight:800;color:var(--wine)}
#order-date-note,
.inquiry-preferences .form-note{margin-top:8px;text-align:left}
@media(max-width:680px){
  .gallery-mobile-quote{display:inline-flex;align-items:center;min-height:44px;margin:0 0 10px}
  .gallery-mobile-pages{display:grid;justify-items:center;gap:14px;margin:24px 0 4px}
  .gallery-page-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:12px 8px;width:min(360px,100%);max-width:100%;color:var(--wine);font-size:14px;font-weight:700}
  .gallery-page-buttons button{min-height:44px;padding:8px 11px;white-space:nowrap;font-size:12px}
  .gallery-page-buttons #gallery-last{grid-column:1/-1;justify-self:center;min-width:144px}
  .gallery-page-shortcuts{grid-column:1/-1;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:4px}
  .gallery-page-shortcuts button{min-width:44px;padding:8px 4px;font-size:14px}
  .gallery-page-shortcuts button[aria-current="page"],.gallery-page-shortcuts button[aria-current="page"]:hover{background:var(--wine);color:#fff}
  .gallery-page-jump{grid-column:1/-1;display:flex;justify-content:center;align-items:center;gap:8px;margin:0}
  .gallery-page-jump label,.gallery-page-jump span{white-space:nowrap}
  .gallery-page-jump input{box-sizing:border-box;width:64px;min-width:0;min-height:44px;margin:0;padding:8px 4px;border:1px solid var(--wine);border-radius:10px;background:#fff;color:var(--wine);font:inherit;font-size:16px;text-align:center;appearance:textfield;-moz-appearance:textfield}
  .gallery-page-jump input::-webkit-inner-spin-button,.gallery-page-jump input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
  .gallery-page-jump button{min-width:48px;background:var(--wine);color:#fff;font-size:16px}
  .gallery-page-buttons .gallery-page-jump button:hover{background:var(--wine);color:#fff}
  .gallery-page-buttons :is(button,input):disabled{opacity:.5;cursor:default}
  .gallery-mobile-pages>.text-link{min-height:44px;display:inline-flex;align-items:center}
}

/* Alineación de títulos y descripciones en las tarjetas de fotos. */
#photo-gallery .creation-caption h3{width:100%;text-align:center}
#photo-gallery[data-title-alignment="left"] .creation-caption h3{text-align:left}
#photo-gallery .creation>p{text-align:justify;hyphens:auto}
#photo-gallery[data-description-alignment="left"] .creation>p{text-align:left;hyphens:manual}
@media(max-width:680px){
  #photo-gallery:not([data-description-alignment="justify"]) .creation>p{text-align:left;hyphens:manual}
}

.gallery-search{max-width:36rem;margin-top:1.5rem}
.gallery-search label{display:block;margin-bottom:.4rem;font-weight:700;color:var(--ink)}
.gallery-search-controls{display:flex;flex-wrap:wrap;gap:.5rem}
.gallery-search-controls input{flex:1 1 14rem;min-width:0;min-height:44px;padding:.5rem .85rem;border:1px solid var(--line);border-radius:1rem;background:var(--paper);color:var(--ink);font:inherit;font-size:1rem}
#public-gallery-query::-webkit-search-cancel-button{display:none}
.gallery-search-clear{min-height:44px;padding:0 .5rem;border:0;background:transparent;color:var(--ink);font:inherit;font-weight:700;text-decoration:underline;text-underline-offset:.2em;cursor:pointer}
.gallery-search-clear:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.gallery-search:not([hidden]) + .gallery-toolbar{margin-top:1rem}
.gallery-search-empty,#gallery-status:not(.sr-only){margin-block:.75rem;color:var(--muted)}

/* El desplegable conserva la posición del control opcional. */

a.hero-location {
  width: fit-content;
}

a.hero-location span {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* Familiar zoom-in icon, inside the existing photo enlargement badge. */
.photo-expand svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}

.floating-contact .floating-wa-mobile-label { display: none; }

@media (max-width: 680px) {
  .floating-contact { gap: 7px; }

  .floating-contact a {
    width: auto;
    min-height: 44px;
    gap: 5px;
    padding: 8px 10px;
    font-size: 11px;
  }

  .floating-contact a .icon { width: 18px; height: 18px; }
  .floating-contact .floating-wa-desktop-label { display: none; }
  .floating-contact .floating-wa-mobile-label { display: inline; }

  html { scroll-padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
}
