/*
Theme Name: Floristería Alex
Description: Tienda de Floristería Alex en Seseña Nuevo.
Version: 1.4.4
Text Domain: floristeria-alex
*/

@font-face { font-family: 'Instrument Sans'; src: url('assets/instrument-sans.woff2') format('woff2'); font-weight: 400 700; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('assets/instrument-serif.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('assets/instrument-serif-italic.woff2') format('woff2'); font-style: italic; font-display: swap; }

:root {
    --ivory: #fbf8f1;
    --ink: #213c32;
    --soft-ink: #4c554c;
    --wine: #763c46;
    --line: #e1d9cd;
    --tint: #efeadf;
    --serif: 'Instrument Serif', Georgia, serif;
    --sans: 'Instrument Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 16px/1.55 var(--sans); }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
button, input { font: inherit; }
figure, h1, h2, h3 { margin: 0; }
::selection { color: var(--ivory); background: var(--wine); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.alex-shell { width: min(calc(100% - 96px), 1320px); margin-inline: auto; }
.alex-icon { flex-shrink: 0; width: 21px; height: 21px; }
.skip-link { position: absolute; z-index: 10; top: 8px; left: 8px; transform: translateY(-160%); background: white; color: var(--ink); padding: 10px 14px; }
.skip-link:focus { transform: translateY(0); }

.alex-top { padding: 7px 12px; text-align: center; background: var(--wine); color: #fff9f0; font-size: .78rem; font-weight: 600; }
.alex-top a { text-decoration: none; }
.alex-top a:hover { text-decoration: underline; }
.alex-header { border-bottom: 1px solid var(--line); }
.alex-header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 83px; }
.alex-wordmark { display: inline-flex; flex-direction: column; justify-self: start; align-items: center; align-self: center; text-decoration: none; line-height: 1; padding: 4px 0 7px; }
.alex-wordmark-kicker { font-weight: 650; letter-spacing: .24em; font-size: .56rem; }
.alex-wordmark-name { font: 2.9rem/.85 var(--serif); letter-spacing: -.035em; }
.alex-nav { display: flex; align-items: center; gap: clamp(22px, 4vw, 56px); }
.alex-nav a, .alex-cart-link { font-size: .9rem; font-weight: 600; text-decoration: none; padding-block: 10px; }
.alex-nav a:hover, .alex-cart-link:hover { color: var(--wine); }
.alex-cart-link { justify-self: end; display: flex; align-items: center; gap: 8px; }
.alex-cart-count { display: grid; place-items: center; border-radius: 50%; width: 23px; height: 23px; background: var(--tint); font-size: .74rem; }

.alex-hero { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); align-items: center; padding-block: 30px; gap: clamp(26px, 4.2vw, 65px); }
.alex-hero-copy { padding: 25px 0 30px clamp(0px, 2.4vw, 34px); }
.alex-kicker { font-size: .68rem; font-weight: 700; letter-spacing: .2em; margin: 0 0 20px; }
.alex-hero h1, .alex-product h1, .alex-content h1, .alex-collection h2, .alex-delivery h2 { font-family: var(--serif); font-weight: 400; line-height: .92; letter-spacing: -.034em; text-wrap: balance; }
.alex-hero h1 { font-size: clamp(5rem, 8vw, 8rem); text-wrap: initial; }
.alex-hero h1 em { display: block; font-weight: 400; color: var(--wine); }
.alex-lead { max-width: 34ch; margin: 26px 0 29px; color: var(--soft-ink); font-size: clamp(1rem, 1.4vw, 1.12rem); }
.alex-button, .woocommerce button.button.alt, .woocommerce a.button.alt { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; gap: 20px; padding: 11px 20px; border: 1px solid var(--ink); border-radius: 0; color: var(--ivory); background: var(--ink); text-decoration: none; font-size: .89rem; font-weight: 650; line-height: 1.25; transition: background-color .18s ease, border-color .18s ease; }
.alex-button:hover, .woocommerce button.button.alt:hover, .woocommerce a.button.alt:hover { background: var(--wine); border-color: var(--wine); }
.alex-hero-image { aspect-ratio: 1.25; overflow: hidden; background: var(--tint); }
.alex-hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 50%; }
.alex-hero-image picture { display: block; height: 100%; }

.alex-service { border-block: 1px solid var(--line); background: var(--tint); }
.alex-service-inner { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 14px 22px; font-size: .88rem; font-weight: 600; }
.alex-service-inner span, .alex-service-inner a { display: inline-flex; align-items: center; gap: 8px; }
.alex-service-inner a { text-decoration-thickness: 1px; text-underline-offset: 4px; }
.alex-service-inner a:hover { color: var(--wine); }

.alex-collection { padding-block: 64px 64px; scroll-margin-top: 22px; }
.alex-collection h2, .alex-delivery h2 { font-size: clamp(3.3rem, 5.7vw, 5.5rem); }
.alex-collection-heading { margin-bottom: 25px; }
.alex-collection-heading p { margin: 12px 0 0; color: var(--soft-ink); }
.alex-upcoming { border-top: 1px solid var(--line); padding-block: 38px 68px; }
.alex-upcoming h2 { font: 400 clamp(2.8rem, 4vw, 4.3rem)/1 var(--serif); }
.alex-upcoming .alex-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; }
.alex-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2.4vw, 35px); }
.alex-card a { display: block; text-decoration: none; }
.alex-card-image { aspect-ratio: 4 / 4.1; overflow: hidden; background: #f5f0e6; }
.alex-card-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 49%; mix-blend-mode: multiply; transition: transform .25s ease; }
.alex-card-plantas .alex-card-image img, .alex-card-regalos .alex-card-image img { object-fit: contain; }
.alex-card-image img[src$="-estudio.webp"], .alex-card-image img[src$="/rosa-eterna-catalogo.webp"] { object-fit: cover; mix-blend-mode: normal; }
.alex-card a:hover img { transform: scale(1.045); }
.alex-card-body { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-block: 15px 11px; border-bottom: 1px solid var(--line); }
.alex-card :is(h3, h4) { margin: 0; font: 400 clamp(1.55rem, 2.65vw, 2.35rem)/1 var(--serif); letter-spacing: -.01em; }
.alex-card-price { margin-top: 6px; font-weight: 650; font-size: .92rem; }
.alex-card-status { display: block; margin-bottom: 7px; color: var(--wine); font-size: .79rem; font-weight: 650; }
.alex-card-description { margin: 7px 0 0; color: var(--soft-ink); font-size: .91rem; }
.alex-card-arrow { display: grid; flex-shrink: 0; width: 38px; height: 38px; place-items: center; border: 1px solid var(--line); border-radius: 50%; }
.alex-card a:hover .alex-card-arrow { color: var(--ivory); background: var(--ink); border-color: var(--ink); }

.alex-delivery { background: var(--ink); color: var(--ivory); }
.alex-delivery-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(25px, 7vw, 100px); align-items: center; padding-block: 72px; }
.alex-delivery h2 { max-width: 11ch; }
.alex-delivery h2 + p { margin: 20px 0 0; color: #e5e3d6; }
.alex-zones { margin: 0; }
.alex-zones div { display: flex; justify-content: space-between; gap: 18px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.alex-zones dd { margin: 0; white-space: nowrap; font-weight: 650; }
.alex-delivery .alex-zones div { border-color: #ffffff40; padding-block: 11px; }
.alex-footer { background: var(--tint); border-top: 1px solid var(--line); }
.alex-footer-inner { display: flex; justify-content: space-between; gap: 30px; padding-block: 39px 30px; }
.alex-footer p { margin: 10px 0 0; color: var(--soft-ink); font-size: .88rem; }
.alex-footer nav { display: flex; flex-wrap: wrap; align-content: center; gap: 12px 23px; font-size: .88rem; }
.alex-footer-note { border-top: 1px solid var(--line); padding-block: 13px; color: var(--soft-ink); font-size: .78rem; }

.alex-product { padding-block: 28px 75px; }
.alex-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; margin-bottom: 25px; color: var(--soft-ink); font-size: .8rem; }
.alex-breadcrumb a { text-underline-offset: 3px; }
.alex-product-layout { display: grid; grid-template-columns: minmax(0, 1.11fr) minmax(0, .89fr); align-items: start; gap: clamp(32px, 6vw, 92px); }
.alex-product-image { display: grid; place-items: center; min-width: 0; aspect-ratio: 1 / 1.05; background: #f5f0e6; overflow: hidden; }
.alex-product-image img { width: 100%; height: 100%; min-height: 0; object-fit: contain; padding: 14px; mix-blend-mode: multiply; }
.alex-product-image-studio img { object-fit: cover; padding: 0; mix-blend-mode: normal; }
.alex-product-image:has(figcaption) { position: relative; }
.alex-product-image figcaption { position: absolute; inset: auto 0 0; padding: 7px 12px; background: var(--ivory); color: var(--soft-ink); font-size: .76rem; }
.alex-product-summary { padding-top: clamp(6px, 3vw, 38px); }
.alex-product h1 { font-size: clamp(3.2rem, 5.6vw, 5.5rem); text-wrap: initial; }
.alex-product-price { margin-top: 14px; font-weight: 650; font-size: 1.3rem; }
.alex-product-description { color: var(--soft-ink); max-width: 48ch; }
.alex-product-description p { margin-block: 14px 22px; }
.alex-product-service { padding: 10px 12px; margin: 0 0 12px; background: var(--tint); font-size: .88rem; }
.alex-product-summary form.cart { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: stretch; gap: 9px; margin-bottom: 26px; }
.alex-product-summary form.cart .quantity { margin: 0; }
.alex-product-summary .quantity input { width: 65px; min-height: 52px; border: 1px solid var(--line); background: transparent; color: var(--ink); }
.alex-product-summary form.cart button { width: 100%; }
.alex-product-details details { border-top: 1px solid var(--line); }
.alex-product-details details:last-child { border-bottom: 1px solid var(--line); }
.alex-product-details summary { min-height: 49px; display: flex; align-items: center; gap: 9px; font-weight: 650; font-size: .91rem; list-style: none; cursor: pointer; }
.alex-product-details summary::-webkit-details-marker { display: none; }
.alex-product-details summary .alex-icon:last-child { margin-left: auto; }
.alex-product-details details[open] summary .alex-icon:last-child { transform: rotate(180deg); }
.alex-product-details details .alex-zones { padding-bottom: 10px; font-size: .88rem; }
.alex-product-details details .alex-zones div:last-child { border-bottom: none; }
.alex-product-details details > p { margin: 0 0 14px; color: var(--soft-ink); font-size: .88rem; }
.alex-back { display: inline-flex; align-items: center; gap: 8px; margin-top: 35px; font-weight: 600; font-size: .88rem; text-underline-offset: 4px; }
.alex-catalogue-tools { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 15px; }
.alex-category-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.alex-category-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); background: var(--tint); text-decoration: none; font-size: .88rem; font-weight: 650; }
.alex-category-nav a:hover { background: var(--ink); color: var(--ivory); }
.alex-category-nav a[hidden] { display: none; }
.alex-search { width: min(100%, 310px); }
.alex-budget { width: min(100%, 205px); }
.alex-search label, .alex-budget label, .alex-delivery-estimate label { display: block; margin-bottom: 4px; font-size: .84rem; font-weight: 650; }
.alex-search input, .alex-budget select, .alex-delivery-estimate select { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 0; background: #fff; color: var(--ink); font: inherit; }
.alex-search-status { color: var(--soft-ink); }
.alex-category { margin-top: clamp(24px, 4vw, 56px); }
.alex-category > h3, .alex-recommendations > h2 { margin-bottom: 16px; font: 400 clamp(2.35rem, 4.25vw, 3.8rem)/1 var(--serif); scroll-margin-top: 42px; }
.alex-recommendations { clear: both; margin-top: clamp(38px, 6vw, 72px); padding-top: 28px; border-top: 1px solid var(--line); }
.alex-delivery-estimate { margin-bottom: 16px; }
.alex-delivery-estimate output { display: block; margin-top: 7px; color: var(--ink); font-size: .88rem; }
.alex-delivery-estimate output:empty { margin-top: 0; }
.alex-faq { padding-block: clamp(40px, 6vw, 76px); }
.alex-faq h2 { margin-bottom: 22px; font: 400 clamp(2.6rem, 5vw, 4.5rem)/1 var(--serif); }
.alex-faq .alex-product-details { max-width: 760px; }

.alex-content { padding-block: 45px 80px; min-height: 42vh; }
.alex-content h1 { font-size: clamp(3.5rem, 6vw, 6rem); margin-bottom: 22px; text-align: left; }
.alex-preview-notice { background: var(--tint); padding: 12px 16px; margin-bottom: 25px; }
.woocommerce .woocommerce-message, .woocommerce .woocommerce-info { color: var(--ink); background: var(--tint); border-top-color: var(--ink); }
.woocommerce .woocommerce-message::before, .woocommerce .woocommerce-info::before { color: var(--ink); }
.woocommerce button.button, .woocommerce a.button { font-family: var(--sans); }
.woocommerce table.shop_table { border-color: var(--line); border-radius: 0; }
.woocommerce .woocommerce-cart-form .button { border-radius: 0; }
.woocommerce .woocommerce-cart-form .qty { border: 1px solid var(--line); background: transparent; color: var(--ink); padding: 4px; }
.woocommerce .cart_totals h2 { font: 400 2.8rem/.95 var(--serif); margin: 16px 0; }
.alex-content form.checkout { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr); grid-template-rows: auto 1fr; gap: 16px clamp(24px, 5vw, 76px); align-items: start; }
.alex-content form.checkout #customer_details { grid-column: 1; grid-row: 1 / span 2; }
.alex-content form.checkout #customer_details > div { float: none; width: 100%; }
.alex-content form.checkout h3 { font: 400 2.25rem/1 var(--serif); margin: 0 0 14px; }
.alex-content form.checkout #order_review_heading { grid-column: 2; grid-row: 1; margin: 0; }
.alex-content form.checkout #order_review { grid-column: 2; grid-row: 2; min-width: 0; }
.alex-checkout-hint { margin: 0 0 16px; color: var(--soft-ink); }
.alex-content .woocommerce form .form-row { padding: 0; margin-bottom: 12px; }
.alex-content .woocommerce form .form-row label { font-size: .9rem; line-height: 1.4; margin-bottom: 5px; }
.alex-content form.checkout input.input-text, .alex-content form.checkout textarea, .alex-content form.checkout select { width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: 0; background: white; padding: 9px 11px; color: var(--ink); font: inherit; }
.alex-content form.checkout textarea { min-height: 90px; resize: vertical; }
.alex-content form.checkout .woocommerce-additional-fields { margin-top: 23px; }
.alex-content form.checkout #payment { background: var(--tint); border-radius: 0; }
.alex-content form.checkout #payment .payment_box { background: var(--ivory); color: var(--ink); border-radius: 0; }
.alex-content form.checkout #payment .payment_box::before { border-bottom-color: var(--ivory); }
.alex-content form.checkout #payment #place_order { width: 100%; }
.alex-content .woocommerce-order-overview { padding-left: 0; }

@media (max-width: 850px) {
    .alex-shell { width: calc(100% - 48px); }
    .alex-hero { gap: 25px; }
    .alex-hero-copy { padding-left: 0; }
    .alex-hero h1 { font-size: clamp(4.2rem, 9vw, 6.4rem); }
    .alex-product-layout { gap: 27px; }
    .alex-card-arrow { width: 31px; height: 31px; }
    .alex-card-arrow .alex-icon { width: 17px; height: 17px; }
}

@media (max-width: 640px) {
    .alex-shell { width: calc(100% - 36px); }
    .alex-header-inner { grid-template-columns: auto 1fr auto; gap: 9px; min-height: 66px; }
    .alex-wordmark-kicker { font-size: .46rem; }
    .alex-wordmark-name { font-size: 2.45rem; }
    .alex-nav { justify-content: center; gap: clamp(8px, 3vw, 21px); }
    .alex-nav a, .alex-cart-link { font-size: .78rem; }
    .alex-cart-label { display: none; }
    .alex-cart-link { gap: 4px; }
    .alex-cart-count { width: 19px; height: 19px; font-size: .68rem; }
    .alex-hero { grid-template-columns: 1fr; gap: 17px; padding-block: 0 17px; }
    .alex-hero-copy { padding: 28px 0 0; }
    .alex-kicker { margin-bottom: 13px; }
    .alex-hero h1 { font-size: clamp(3.5rem, 12.6vw, 5rem); }
    .alex-hero h1 em { display: inline; }
    .alex-lead { margin: 14px 0 17px; }
    .alex-hero-image { aspect-ratio: 1.25; }
    .alex-service-inner { align-items: flex-start; flex-direction: column; justify-content: center; gap: 5px; padding-block: 9px; font-size: .78rem; }
    .alex-service-inner .alex-icon { width: 17px; height: 17px; }
    .alex-collection { padding-block: 46px 48px; }
    .alex-collection-heading { margin-bottom: 19px; }
    .alex-upcoming { padding-block: 26px 40px; }
    .alex-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 12px; }
    .alex-card :is(h3, h4) { font-size: 1.52rem; }
    .alex-card-body { align-items: flex-start; padding-top: 10px; }
    .alex-card-arrow { display: none; }
    .alex-delivery-inner { grid-template-columns: 1fr; padding-block: 43px; }
    .alex-footer-inner { flex-direction: column; gap: 17px; padding-block: 24px; }
    .alex-product { padding-block: 15px 45px; }
    .alex-breadcrumb { margin-bottom: 14px; font-size: .76rem; }
    .alex-product-layout { grid-template-columns: 1fr; gap: 19px; }
    .alex-product-image { aspect-ratio: 1.16; }
    .alex-product-image img { padding: 8px; }
    .alex-product-summary { padding-top: 0; }
    .alex-product h1 { font-size: clamp(3rem, 10vw, 4.2rem); }
    .alex-product-price { margin-top: 8px; }
    .alex-product-summary form.cart { margin-bottom: 15px; }
    .alex-content form.checkout { display: block; }
    .alex-content form.checkout #order_review_heading { margin: 24px 0 12px; }
    .alex-content .woocommerce-order-overview { display: grid; gap: 8px; }
    .alex-content .woocommerce-order-overview li { margin-right: 0; border-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
