/* Espuma product sheets: presentation only; all content stays in native blocks. */
body.single-arom_producto {
    background: #fbfcf8;
}
body.single-arom_producto .site-content {
    background: radial-gradient(ellipse at 94% 0, #f5e5ed88, transparent 44%);
}
body.single-arom_producto .site-content > .ast-container {
    max-width: 1450px;
    padding: 58px clamp(24px, 5vw, 72px) 40px;
}
body.single-arom_producto #primary {
    padding: 0;
}
body.single-arom_producto .ast-article-single:has(.arom-product-sheet) {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: block;
}
.arom-product-sheet {
    --ap-ink: #0f3d1f;
    --ap-muted: #506653;
    --ap-rose: #ad4479;
    --ap-mint: #eaf2e7;
    --ap-line: #dce7dc;
    font-family: InstrumentSans, Arial, sans-serif;
    color: var(--ap-ink);
}
.arom-product-sheet .ap-main {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: clamp(32px, 5vw, 76px);
    align-items: start;
    margin: 0;
}
.arom-product-sheet .ap-main > .wp-block-column {
    width: 100%;
    min-width: 0;
    margin: 0;
}
.arom-product-sheet .ap-photos {
    position: relative;
    isolation: isolate;
    border-radius: 36px;
    padding: 24px;
    overflow: hidden;
    background: linear-gradient(145deg, #f0f6e9, #e1efdf 72%, #f8eaf1);
    border: 1px solid #dce9d8;
}
.arom-product-sheet .ap-photos::before {
    content: '';
    position: absolute;
    z-index: -1;
    width: 96%;
    aspect-ratio: 1;
    left: -10%;
    top: 12%;
    border-radius: 50%;
    background: linear-gradient(145deg, #ffffffa6, #b4d6b34a);
    border: 1px solid #ffffffbb;
    box-shadow: inset 12px 18px 30px #ffffff77, 0 28px 60px #215b2b0a;
}
.arom-product-sheet .ap-photos::after {
    content: '';
    position: absolute;
    z-index: -1;
    top: 32px;
    right: 26px;
    width: clamp(68px, 9vw, 132px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 28% 23%, #fff 0 3%, #ffffff77 5%, #ffffff00 22%), linear-gradient(145deg, #ffffff88, #e7b7d133);
    border: 1px solid #ffffffdf;
    box-shadow: inset -7px -10px 20px #c781a336, inset 4px 4px 8px #fff9;
    animation: ap-foam-drift 1.8s ease-out both;
}
.arom-product-sheet .ap-photos .arom-product-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    padding: 0;
    margin: 0;
    background: transparent;
    border-radius: 0;
    overflow: visible;
}
.arom-product-sheet .ap-photos .arom-product-gallery > figure.wp-block-image:not(#individual-image) {
    width: 100%;
    margin: 0;
    align-self: stretch;
    border-radius: 18px;
    background: #ffffff75;
    overflow: hidden;
}
.arom-product-sheet .ap-photos .arom-product-gallery > figure.wp-block-image:not(#individual-image):first-child {
    grid-column: 1 / -1;
    background: transparent;
}
.arom-product-sheet .ap-photos .arom-product-gallery > figure.wp-block-image img {
    width: 100%;
    height: 116px;
    max-width: 100%;
    object-fit: contain;
    padding: 12px;
    border-radius: 0;
}
.arom-product-sheet .ap-photos .arom-product-gallery > figure.wp-block-image:first-child img {
    height: clamp(390px, 39vw, 530px);
    padding: 20px;
    filter: drop-shadow(0 24px 17px #164c2929);
    transition: transform .35s ease;
}
.arom-product-sheet .ap-photos .arom-product-gallery > figure.wp-block-image:first-child:hover img {
    transform: translateY(-5px);
}
.arom-product-sheet .ap-photos .ap-photo-pending {
    min-height: 430px;
    display: grid;
    place-content: center;
    padding: 40px 18px;
    margin: 0;
    background: transparent;
    color: #3f6549;
    font: 600 18px/1.6 InstrumentSans, Arial, sans-serif;
}
.arom-product-sheet .ap-summary {
    padding: 18px 0 0;
}
.arom-product-sheet .ap-title {
    font: 750 clamp(34px, 3.65vw, 54px)/1.08 Unbounded, Arial, sans-serif;
    letter-spacing: -.055em;
    color: var(--ap-ink);
    margin: 0 0 26px;
    overflow-wrap: anywhere;
    text-wrap: balance;
}
.arom-product-sheet .ap-description-text,
.arom-product-sheet .ap-short-description {
    font: 400 18px/1.7 InstrumentSans, Arial, sans-serif;
    color: var(--ap-muted);
    max-width: 57ch;
    margin: 0 0 28px;
}
.arom-product-sheet .ap-description-text:empty {
    display: none;
}
.arom-product-sheet .ap-field {
    grid-template-columns: minmax(108px, 34%) minmax(0, 1fr);
    align-items: baseline;
    gap: 18px;
    padding: 16px 0;
    margin: 0;
    border-bottom: 1px solid var(--ap-line);
}
.arom-product-sheet .ap-label {
    font: 600 11px/1.5 InstrumentSans, Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--ap-muted);
    margin: 0;
}
.arom-product-sheet .ap-value {
    font: 600 16px/1.5 InstrumentSans, Arial, sans-serif;
    color: var(--ap-ink);
    margin: 0;
}
.arom-product-sheet :is(.ap-code, .ap-ean) .ap-value {
    font-variant-numeric: tabular-nums;
    letter-spacing: .035em;
}
.arom-product-sheet :is(.ap-brand, .ap-category) .ap-value a {
    display: inline-block;
    padding: 7px 13px;
    border-radius: 99px;
    background: #e7efe4;
    color: #245d32;
    text-decoration: none;
    font: 600 14px/1.35 InstrumentSans, Arial, sans-serif;
    transition: background .2s;
}
.arom-product-sheet .ap-brand .ap-value a {
    background: #f4e3ec;
    color: #8d3262;
}
.arom-product-sheet :is(.ap-brand, .ap-category) .ap-value a:hover {
    background: #d5e6d0;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.arom-product-sheet .ap-documents {
    margin: 30px 0 0;
}
.arom-product-sheet .ap-documents .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 58px;
    padding: 17px 26px;
    border: 0;
    border-radius: 99px;
    background: var(--ap-rose);
    box-shadow: 0 12px 26px #ad447926;
    color: #fff;
    font: 650 15px/1.5 InstrumentSans, Arial, sans-serif;
    transition: background .2s, transform .2s;
}
.arom-product-sheet .ap-documents .wp-block-button__link::after {
    content: '↗';
    font-size: 23px;
    line-height: 1;
}
.arom-product-sheet .ap-documents .wp-block-button__link:hover {
    background: #91325f;
    transform: translateY(-2px);
}
.arom-product-sheet .ap-description {
    max-width: 900px;
    margin: 56px auto 0;
    padding: 32px 0;
    border-block: 1px solid var(--ap-line);
    font-size: 18px;
    line-height: 1.75;
    color: var(--ap-muted);
}
.arom-product-sheet .ap-related {
    margin-top: 76px;
    padding-top: 48px;
    border-color: var(--ap-line);
}
.arom-product-sheet .ap-related .wp-block-heading {
    color: var(--ap-ink);
    font: 700 clamp(26px, 3vw, 38px)/1.2 Unbounded, Arial, sans-serif;
    letter-spacing: -.05em;
    margin-bottom: 32px;
}
.arom-product-sheet .ap-related-card {
    background: #fff;
    border: 1px solid var(--ap-line);
    border-radius: 26px;
    padding: 16px 16px 24px;
    overflow: hidden;
    transition: transform .25s, box-shadow .25s;
}
.arom-product-sheet .ap-related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px #0f3d1f0a;
}
.arom-product-sheet .ap-related-card figure {
    height: 230px;
    padding: 22px;
    background: radial-gradient(ellipse at center, #dae7d7 0 48%, #f0f5ec 49%);
    border-radius: 16px;
    margin-bottom: 22px;
}
.arom-product-sheet .ap-related-card h3 {
    font: 650 18px/1.35 InstrumentSans, Arial, sans-serif;
    margin: 0 6px 10px;
}
.arom-product-sheet .ap-related-card p {
    margin-inline: 6px;
}
.arom-product-sheet :is(a, button):focus-visible {
    outline: 3px solid var(--ap-rose);
    outline-offset: 5px;
}
body.single-arom_producto .post-navigation {
    margin: 42px 0 0;
    padding: 24px 0 0;
    border-top: 1px solid #dce7dc;
    font: 500 14px/1.5 InstrumentSans, Arial, sans-serif;
}
body.single-arom_producto .post-navigation a {
    color: #245d32;
    text-underline-offset: 4px;
}
.editor-styles-wrapper .arom-product-sheet .ap-description-text:empty {
    display: block;
    min-height: 32px;
}
.editor-styles-wrapper .arom-product-sheet .ap-photos::after {
    animation: none;
}
@keyframes ap-foam-drift {
    from { transform: translateY(12px); opacity: .4; }
    to { transform: translateY(0); opacity: 1; }
}
@media (max-width: 900px) {
    .arom-product-sheet .ap-main { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .arom-product-sheet .ap-summary { padding: 0; }
    .arom-product-sheet .ap-photos .arom-product-gallery > figure.wp-block-image:first-child img { height: 400px; }
    .arom-product-sheet .ap-title { font-size: clamp(30px, 4.8vw, 44px); max-width: 24ch; }
}
@media (max-width: 540px) {
    body.single-arom_producto .site-content > .ast-container { padding: 28px 20px 32px; }
    .arom-product-sheet .ap-main { gap: 28px; }
    .arom-product-sheet .ap-photos { padding: 16px; border-radius: 28px; }
    .arom-product-sheet .ap-photos .arom-product-gallery > figure.wp-block-image:first-child img { height: 300px; padding: 14px; }
    .arom-product-sheet .ap-photos .arom-product-gallery > figure.wp-block-image img { height: 90px; padding: 8px; }
    .arom-product-sheet .ap-photos .ap-photo-pending { min-height: 300px; }
    .arom-product-sheet .ap-title { font-size: clamp(27px, 7.5vw, 36px); margin-bottom: 22px; }
    .arom-product-sheet .ap-description-text, .arom-product-sheet .ap-short-description { font-size: 16px; line-height: 1.7; }
    .arom-product-sheet .ap-field { grid-template-columns: minmax(90px, 34%) minmax(0, 1fr); gap: 12px; padding-block: 15px; }
    .arom-product-sheet .ap-label { font-size: 10px; letter-spacing: .07em; }
    .arom-product-sheet .ap-value { font-size: 15px; }
    .arom-product-sheet .ap-documents .wp-block-button, .arom-product-sheet .ap-documents .wp-block-button__link { width: 100%; }
    .arom-product-sheet .ap-documents .wp-block-button__link { padding: 16px 18px; font-size: 14px; gap: 12px; }
    .arom-product-sheet .ap-related { margin-top: 48px; padding-top: 32px; }
    .arom-product-sheet .ap-related-grid { gap: 12px; }
    .arom-product-sheet .ap-related-card { padding: 10px 10px 18px; border-radius: 20px; }
    .arom-product-sheet .ap-related-card figure { height: 160px; padding: 12px; margin-bottom: 16px; }
    .arom-product-sheet .ap-related-card h3 { font-size: 15px; margin-inline: 2px; }
    .arom-product-sheet .ap-related-card p { font-size: 12px; margin-inline: 2px; }
}
@media (prefers-reduced-motion: reduce) {
    .arom-product-sheet .ap-photos::after { animation: none; }
    .arom-product-sheet .ap-photos img, .arom-product-sheet .ap-documents a, .arom-product-sheet .ap-related-card { transition: none; }
    .arom-product-sheet .ap-photos .arom-product-gallery > figure.wp-block-image:first-child:hover img,
    .arom-product-sheet .ap-documents .wp-block-button__link:hover,
    .arom-product-sheet .ap-related-card:hover { transform: none; }
}
