/* Keep the homepage sections aligned to the same inner column. */
.tt-home .tc-shopping-home{width:100%!important;max-width:none!important;padding-left:0!important;padding-right:0!important;box-sizing:border-box}
.tt-home .tc-shopping-home>h2{margin-bottom:28px!important}
.tt-home .tt-casa-row h2{display:flex;align-items:baseline;gap:.2em;font-size:clamp(38px,5.3vw,76px)}
.tt-home .tt-casa-row h2 span{margin-left:0;flex-shrink:0}
.tt-home .tc-exhibition-link,.tt-home a[href*="/exposicion/"]:last-child{text-decoration:underline!important;text-underline-offset:6px}
/* Reset WordPress flow margins on children participating in a grid. */
.tc-gift-page .gift-grid,.tc-gift-page .gift-steps{align-items:stretch}
.tc-gift-page .gift-grid>.gift-card,.tc-gift-page .gift-steps>.gift-step{margin-block-start:0!important;height:auto;min-width:0}
.tc-gift-page .gift-card{display:flex;flex-direction:column}
.tc-gift-page .gift-card>figure{margin:0;aspect-ratio:4/3;overflow:hidden}
.tc-gift-page .gift-card>figure img{width:100%;height:100%;object-fit:cover}
.tc-gift-page .gift-card-copy{display:flex;flex-direction:column;flex:1}
.tc-gift-page .gift-card-copy>p:last-child{margin-top:auto;padding-top:20px}
.tc-gift-page .gift-cta{display:grid!important;grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:32px;align-items:center}
.tc-gift-page .gift-cta>*{margin-block-start:0!important;min-width:0}
.tc-gift-page .gift-cta .wp-block-button__link{white-space:normal;overflow-wrap:anywhere}
body:has(.tt-print-library) .entry-content.is-layout-constrained>.tt-print-library,body:has(.tt-print-library) main h1,body:has(.tt-print-library) .entry-content>p:first-child{box-sizing:border-box;max-width:1200px!important;width:calc(100% - 64px)!important;margin-left:auto!important;margin-right:auto!important}
.tc-contact address a{color:inherit;text-decoration:underline;text-underline-offset:4px}
.tc-search-suggestion{grid-column:1/-1;font-size:15px;line-height:1.5}
@media(max-width:760px){
 .wp-site-blocks>header.wp-block-template-part,body.admin-bar .wp-site-blocks>header.wp-block-template-part{position:relative!important;top:auto!important}
 .tc-gift-page .gift-cta{grid-template-columns:1fr;gap:24px}
 body:has(.tt-print-library) .entry-content.is-layout-constrained>.tt-print-library,body:has(.tt-print-library) main h1,body:has(.tt-print-library) .entry-content>p:first-child{width:calc(100% - 32px)!important}
}

body:has(.tt-print-library) .entry-content>.wp-block-group:has(>.tt-print-library){width:100%!important;max-width:1280px!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box}body:has(.tt-print-library) .entry-content>.wp-block-group>.tt-print-library{width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important}
/* Match the portrait format used by the Patricia collection reference. */
.tc-collections-grid>.tc-collection-card img{aspect-ratio:4/5}

.wc-block-cart .wc-block-components-product-details{display:grid!important;gap:10px!important;margin:16px 0!important;line-height:1.5!important}
.wc-block-cart .wc-block-components-product-details>span{display:grid!important;grid-template-columns:minmax(100px,1fr) minmax(0,2fr);gap:4px 12px;border-bottom:1px solid #eee;padding-bottom:7px}
.wc-block-cart .wc-block-components-product-details__name{font-weight:600}
.wc-block-cart .wc-block-components-product-details__value{overflow-wrap:anywhere}
.wc-block-cart .wc-block-components-product-details>span>[aria-hidden=true]{display:none!important}
@media(max-width:600px){.wc-block-cart .wc-block-components-product-details>span{grid-template-columns:1fr;gap:2px}.wc-block-cart .wc-block-components-product-details{font-size:12px!important}}

/* Pointer clicks must not inherit WordPress' generic focus ring.
   Keyboard and text-entry focus retain their existing visible indicators. */
body .wp-site-blocks :focus:not(:focus-visible) { outline: none !important; }
body .wp-site-blocks :is(a, button, [role="button"], input[type="button"], input[type="submit"], input[type="checkbox"], input[type="radio"]):focus:not(:focus-visible) { box-shadow: none !important; }
