/* ============================================================
   ORO FRANCO — Identidad Visual + UI/UX
   Fuentes, Paleta, Header, WooCommerce, Homepage
   ============================================================ */

/* Google Fonts se carga async desde el mu-plugin orofranco-performance.php */

/* ─── PALETA OFICIAL ──────────────────────────────────────── */

:root {
    --of-gold:         #D6B15B;
    --of-gold-light:   #e8cc8a;
    --of-gold-dark:    #b8943f;
    --of-bronze:       #997C54;
    --of-green:        #092924;
    --of-green-mid:    #0d3d2e;
    --of-green-deep:   #061a13;
    --of-cream:        #faf6ed;
    --of-cream-warm:   #f0ebe0;
    --of-cream-light:  #fffdf8;

    /* Sobreescribir variables de Blocksy */
    --theme-palette-color-1: #092924;
    --theme-palette-color-2: #0d3d2e;
    --theme-palette-color-3: #f0ebe0;
    --theme-palette-color-4: #D6B15B;
    --theme-palette-color-5: #997C54;
    --theme-palette-color-6: #061a13;
    --theme-palette-color-7: #faf6ed;
    --theme-palette-color-8: #fffdf8;

    --theme-text-color:                    #092924;
    --theme-link-initial-color:            #092924;
    --theme-link-hover-color:              #D6B15B;
    --theme-headings-color:                #092924;
    --theme-heading-1-color:               #092924;
    --theme-border-color:                  #f0ebe0;
    --theme-button-background-initial-color: #092924;
    --theme-button-background-hover-color:   #D6B15B;
    --theme-button-text-initial-color:       #f0ebe0;
    --theme-button-text-hover-color:         #092924;
    --theme-button-border-radius:            8px;
    --theme-selection-background-color:      #D6B15B;
    --theme-selection-text-color:            #092924;

    /* Tipografía */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-fine:    'Cormorant Garamond', Georgia, serif;
    --font-body:    'Jost', system-ui, sans-serif;
}

/* ─── BASE ────────────────────────────────────────────────── */

body {
    background-color: var(--of-cream-light) !important;
    font-family: var(--font-body) !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display) !important;
    color: var(--of-green) !important;
}

a { color: var(--of-green); transition: color .2s; }
a:hover { color: var(--of-gold); }

::selection { background: var(--of-gold); color: var(--of-green); }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--of-cream); }
::-webkit-scrollbar-thumb { background: var(--of-gold); border-radius: 3px; }

/* ─── HEADER ──────────────────────────────────────────────── */

.ct-header,
[data-header*="type-1"] .ct-header [data-row*="middle"] {
    background-color: var(--of-green) !important;
    background-image: none !important;
    border-bottom: 1px solid rgba(214,177,91,.15) !important;
    box-shadow: 0 2px 24px rgba(0,0,0,.25) !important;
}

[data-header*="type-1"] .ct-header [data-row*="middle"] {
    --height: 90px !important;
}

[data-header*="type-1"] .ct-header [data-id="logo"] .site-logo-container {
    --logo-max-height: 80px !important;
}

/* Nav links */
[data-header*="type-1"] .ct-header [data-id="menu"] > ul > li > a {
    color: var(--of-cream-warm) !important;
    --theme-link-initial-color: var(--of-cream-warm) !important;
    --theme-link-hover-color: var(--of-gold) !important;
    font-weight: 600 !important;
    font-size: 12px !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
}

[data-header*="type-1"] .ct-header [data-id="menu"] > ul > li > a:hover {
    color: var(--of-gold) !important;
}

/* Submenú */
[data-header*="type-1"] .ct-header [data-id="menu"] .sub-menu {
    background-color: var(--of-green-mid) !important;
    --dropdown-background-color: var(--of-green-mid) !important;
    border-top: 2px solid var(--of-gold) !important;
}

[data-header*="type-1"] .ct-header [data-id="menu"] .sub-menu .ct-menu-link {
    color: var(--of-cream-warm) !important;
    --theme-link-initial-color: var(--of-cream-warm) !important;
    --theme-link-hover-color: var(--of-gold) !important;
}

/* Sticky */
[data-header*="type-1"] [data-sticky*="yes"] {
    background-color: rgba(9,41,36,.97) !important;
    backdrop-filter: blur(10px);
}

/* Iconos header */
.ct-header .ct-icon,
.ct-header [class*="ct-"] svg {
    color: var(--of-cream-warm) !important;
    fill: var(--of-cream-warm) !important;
}

/* Contador carrito */
.cart-count,
.ct-cart-content .cart-count {
    background-color: var(--of-gold) !important;
    color: var(--of-green) !important;
    font-weight: 700 !important;
}

/* Mobile offcanvas */
#offcanvas .ct-panel-inner,
[data-header*="type-1"] #offcanvas .ct-panel-inner {
    background-color: var(--of-green) !important;
}

[data-header*="type-1"] [data-id="trigger"] {
    --theme-icon-color: var(--of-cream-warm) !important;
    --theme-icon-hover-color: var(--of-gold) !important;
}

[data-header*="type-1"] [data-id="mobile-menu"] {
    --theme-link-initial-color: var(--of-cream-warm) !important;
    --theme-link-hover-color: var(--of-gold) !important;
}

/* ─── BOTONES GLOBALES ────────────────────────────────────── */

.ct-button,
.wp-block-button__link,
.button:not(.search-submit),
button[type="submit"],
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    background-color: var(--of-green) !important;
    color: var(--of-cream-warm) !important;
    border-color: var(--of-green) !important;
    border-radius: 8px !important;
    font-family: var(--font-body) !important;
    font-weight: 600 !important;
    letter-spacing: .05em;
    transition: background-color .25s, color .25s, border-color .25s, transform .15s !important;
}

.ct-button:hover,
.wp-block-button__link:hover,
.button:not(.search-submit):hover,
button[type="submit"]:hover,
input[type="submit"]:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background-color: var(--of-gold) !important;
    color: var(--of-green) !important;
    border-color: var(--of-gold) !important;
    transform: translateY(-1px);
}

/* ─── FOOTER ──────────────────────────────────────────────── */

.ct-footer,
[data-footer*="type-1"] .ct-footer {
    background-color: var(--of-green-deep) !important;
}

[data-footer*="type-1"] .ct-footer [data-row*="bottom"] {
    background-color: var(--of-green) !important;
    border-top: 1px solid rgba(214,177,91,.15) !important;
}

.ct-footer,
.ct-footer p,
.ct-footer li,
.ct-footer span {
    color: rgba(240,235,224,.7) !important;
}

.ct-footer a { color: rgba(240,235,224,.7) !important; }
.ct-footer a:hover { color: var(--of-gold) !important; }

.ct-footer .widget-title,
.ct-footer h3, .ct-footer h4 {
    color: var(--of-gold) !important;
    font-size: 12px !important;
    letter-spacing: .12em;
    text-transform: uppercase;
}

[data-footer*="type-1"] [data-id="copyright"] {
    --theme-text-color: rgba(240,235,224,.6) !important;
}

[data-footer*="type-1"] [data-id="copyright"] a {
    color: var(--of-gold) !important;
}

/* ─── WOOCOMMERCE — SHOP GRID ─────────────────────────────── */

[data-products] .product,
.products li.product {
    background-color: #fff !important;
    border-radius: 14px !important;
    overflow: hidden;
    border: 1px solid rgba(214,177,91,.1) !important;
    box-shadow: 0 3px 12px rgba(9,41,36,.05) !important;
    transition: box-shadow .3s, transform .3s !important;
}

[data-products] .product:hover,
.products li.product:hover {
    box-shadow: 0 12px 32px rgba(9,41,36,.13) !important;
    transform: translateY(-4px);
}

/* Imagen zoom */
[data-products] .product figure img,
.products li.product figure img {
    transition: transform .5s cubic-bezier(.25,.46,.45,.94) !important;
}
[data-products] .product:hover figure img,
.products li.product:hover figure img {
    transform: scale(1.06);
}

/* Título */
[data-products] .woocommerce-loop-product__title,
.products .woocommerce-loop-product__title {
    font-family: var(--font-display) !important;
    color: var(--of-green) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    transition: color .2s;
}

[data-products] .product:hover .woocommerce-loop-product__title {
    color: var(--of-gold-dark) !important;
}

/* Precio */
[data-products] .product .price,
.products .product .price {
    color: var(--of-green) !important;
    font-weight: 700 !important;
    font-size: 17px !important;
}

[data-products] .product .price ins,
.products .product .price ins {
    text-decoration: none !important;
    color: var(--of-gold-dark) !important;
}

[data-products] .product .price del,
.products .product .price del {
    color: var(--of-bronze) !important;
    opacity: .65;
}

/* Botón añadir al carrito en card */
[data-products] .product .button,
[data-products] .product .add_to_cart_button,
.products .product .button,
.products .product .add_to_cart_button {
    background-color: var(--of-green) !important;
    color: var(--of-cream-warm) !important;
    border-color: var(--of-green) !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: .06em;
    width: 100%;
    text-align: center;
    transition: background-color .25s, color .25s !important;
}

[data-products] .product .button:hover,
[data-products] .product .add_to_cart_button:hover,
.products .product .button:hover {
    background-color: var(--of-gold) !important;
    color: var(--of-green) !important;
    border-color: var(--of-gold) !important;
}

/* Badges */
.onsale, .woocommerce span.onsale {
    background-color: var(--of-gold) !important;
    color: var(--of-green) !important;
    font-weight: 700 !important;
    border-radius: 6px !important;
}

.ct-woo-badge-new {
    --badge-background-color: var(--of-green-mid) !important;
    --badge-text-color: var(--of-cream-warm) !important;
}

/* Single product */
.entry-summary .entry-title {
    color: var(--of-green) !important;
    font-family: var(--font-display) !important;
}

.entry-summary .price {
    color: var(--of-gold-dark) !important;
    font-size: 26px !important;
    font-weight: 700 !important;
}

.entry-summary .price ins { text-decoration: none !important; }

.woocommerce-tabs .tabs a:hover,
.woocommerce-tabs .tabs .active a {
    color: var(--of-gold) !important;
    border-color: var(--of-gold) !important;
}

/* Star ratings */
.star-rating span::before,
.woocommerce .star-rating::before {
    color: var(--of-gold) !important;
}

/* Cart totals */
.woocommerce-mini-cart__total .amount,
.cart-subtotal .amount,
.order-total .amount {
    color: var(--of-gold-dark) !important;
    font-weight: 700 !important;
}

/* ─── FORMULARIOS ─────────────────────────────────────────── */

input[type="text"],
input[type="email"],
input[type="search"],
input[type="password"],
textarea,
select {
    border-radius: 6px !important;
    transition: border-color .2s, box-shadow .2s !important;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--of-gold) !important;
    box-shadow: 0 0 0 3px rgba(214,177,91,.15) !important;
    outline: none !important;
}

/* ─── HOMEPAGE SECTIONS ───────────────────────────────────── */

/* Animaciones */
@keyframes of-shimmer {
    0%   { background-position: -200% center; }
    100% { background-position:  200% center; }
}
@keyframes of-scroll {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50%       { transform: translateY(8px); opacity: .4; }
}
@keyframes of-rotate {
    to { transform: translate(-50%,-50%) rotate(360deg); }
}
@keyframes of-pulse {
    0%, 100% { transform: translate(-50%,-50%) scale(1);    opacity: .6; }
    50%      { transform: translate(-50%,-50%) scale(1.06); opacity: .2; }
}

.ofd-reveal, .ofd-fade-up {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s cubic-bezier(.25,.46,.45,.94),
                transform .7s cubic-bezier(.25,.46,.45,.94);
}
.ofd-reveal.is-visible,
.ofd-fade-up.is-visible { opacity: 1; transform: none; }
.ofd-reveal--delay-1, .ofd-fade-up--delay-1 { transition-delay: .1s; }
.ofd-reveal--delay-2, .ofd-fade-up--delay-2 { transition-delay: .22s; }
.ofd-reveal--delay-3, .ofd-fade-up--delay-3 { transition-delay: .34s; }
.ofd-reveal--delay-4, .ofd-fade-up--delay-4 { transition-delay: .46s; }
.ofd-reveal--delay-5, .ofd-fade-up--delay-5 { transition-delay: .58s; }

/* HERO */
.ofd-hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--of-green);
    overflow: hidden;
}

.ofd-hero::before {
    content: '';
    position: absolute;
    top: -15%;
    left: 50%;
    transform: translateX(-50%);
    width: 80vw; height: 80vw;
    max-width: 900px; max-height: 900px;
    background: radial-gradient(ellipse, rgba(214,177,91,.09) 0%, transparent 65%);
    pointer-events: none;
}

.ofd-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(214,177,91,.7) 50%, transparent 100%);
}

.ofd-hero__inner {
    position: relative; z-index: 1;
    display: flex; flex-direction: column;
    align-items: center; text-align: center;
    padding: 80px 32px;
    max-width: 860px; width: 100%;
}

/* HERO — modo banner (solo imagen) */
/* HERO BANNER — estilos gestionados por el mu-plugin orofranco-banner.php */

.ofd-hero__logo { margin-bottom: 36px; }
.ofd-hero__logo img { max-width: 260px; width: 100%; height: auto; }
.ofd-hero__logo-text {
    font-family: var(--font-display);
    font-size: 40px; color: var(--of-gold); letter-spacing: .06em;
}

.ofd-hero__ornament { margin-bottom: 28px; }
.ofd-ornament-line { width: 300px; max-width: 80vw; }

.ofd-hero__title {
    font-family: var(--font-display) !important;
    font-size: clamp(36px, 7vw, 70px) !important;
    font-weight: 400 !important;
    color: var(--of-cream-warm) !important;
    line-height: 1.15 !important;
    margin: 0 0 6px !important;
}

.ofd-hero__title .ofd-shimmer {
    display: block;
    background: linear-gradient(120deg,
        var(--of-gold-dark) 0%, var(--of-gold) 30%,
        var(--of-gold-light) 50%, var(--of-gold) 70%,
        var(--of-gold-dark) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: of-shimmer 4s linear infinite;
}

.ofd-hero__title em {
    display: block;
    font-family: var(--font-fine) !important;
    font-style: italic; font-weight: 300;
    font-size: .72em; color: var(--of-gold);
    letter-spacing: .1em; margin-top: 4px;
    -webkit-text-fill-color: var(--of-gold);
}

.ofd-hero__sub {
    font-family: var(--font-fine);
    font-size: clamp(16px, 2.5vw, 22px);
    font-style: italic; font-weight: 300;
    color: rgba(240,235,224,.75);
    margin: 22px 0 0; letter-spacing: .04em;
}

.ofd-hero__ctas {
    display: flex; align-items: center;
    gap: 16px; margin-top: 44px;
    flex-wrap: wrap; justify-content: center;
}

.ofd-hero__scroll-hint { margin-top: 60px; }
.ofd-hero__scroll-hint span {
    display: block; width: 1.5px; height: 44px;
    background: linear-gradient(to bottom, var(--of-gold), transparent);
    margin: 0 auto;
    animation: of-scroll 2s ease-in-out infinite;
}

/* Botones hero */
.ofd-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-body); font-size: 12px;
    font-weight: 600; letter-spacing: .1em;
    text-transform: uppercase; text-decoration: none;
    border-radius: 4px; border: 1.5px solid transparent;
    transition: all .3s ease; cursor: pointer;
}

.ofd-btn--gold {
    background-color: var(--of-gold);
    color: var(--of-green); border-color: var(--of-gold);
}
.ofd-btn--gold:hover {
    background-color: var(--of-gold-dark);
    border-color: var(--of-gold-dark);
    color: var(--of-green);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(214,177,91,.35);
}

.ofd-btn--outline {
    background: transparent;
    color: var(--of-cream-warm);
    border-color: rgba(214,177,91,.55);
}
.ofd-btn--outline:hover {
    background: rgba(214,177,91,.1);
    border-color: var(--of-gold);
    color: var(--of-gold);
    transform: translateY(-2px);
}

.ofd-btn--gold-outline {
    background: transparent;
    color: var(--of-green); border-color: var(--of-green);
}
.ofd-btn--gold-outline:hover {
    background: var(--of-green);
    color: var(--of-cream-warm);
    transform: translateY(-2px);
}

/* TRUST BAR */
.ofd-trust {
    background-color: var(--of-cream);
    border-bottom: 1px solid rgba(214,177,91,.18);
}
.ofd-trust__inner {
    max-width: 1340px; margin: 0 auto;
    padding: 40px 48px;
    display: flex; align-items: center;
    justify-content: center; flex-wrap: wrap;
}
.ofd-trust__item {
    display: flex; align-items: center; gap: 14px;
    padding: 18px 36px; flex: 1 1 200px; justify-content: center;
}
.ofd-trust__icon { width: 42px; height: 42px; flex-shrink: 0; }
.ofd-trust__icon svg { width: 100%; height: 100%; }
.ofd-trust__text { display: flex; flex-direction: column; gap: 3px; }
.ofd-trust__text strong {
    font-family: var(--font-body); font-size: 13px;
    font-weight: 600; color: var(--of-green); display: block;
}
.ofd-trust__text span { font-size: 11px; color: var(--of-bronze); letter-spacing: .03em; }
.ofd-trust__divider {
    width: 1px; height: 44px;
    background: rgba(214,177,91,.22); flex-shrink: 0;
}

/* SECCIÓN GENÉRICA */
.ofd-section-inner {
    max-width: 1340px; margin: 0 auto; padding: 90px 48px;
}
.ofd-section-header { text-align: center; margin-bottom: 56px; }
.ofd-section-eyebrow {
    font-family: var(--font-body); font-size: 11px; font-weight: 600;
    letter-spacing: .25em; text-transform: uppercase;
    color: var(--of-gold); margin: 0 0 14px;
}
.ofd-section-eyebrow--light { color: var(--of-gold-light); }
.ofd-section-title {
    font-family: var(--font-display) !important;
    font-size: clamp(30px, 4vw, 50px) !important;
    font-weight: 700 !important; color: var(--of-green) !important;
    margin: 0 0 18px !important; line-height: 1.2 !important;
}
.ofd-section-ornament { display: flex; justify-content: center; }
.ofd-section-ornament svg { width: 180px; height: 12px; }

/* CATEGORÍAS */
.ofd-categories { background-color: var(--of-cream-light); }
.ofd-categories__grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
    max-width: 900px; margin: 0 auto;
}
.ofd-cat-card {
    text-decoration: none; display: block;
    border-radius: 12px; overflow: hidden;
    background: #fff; border: 1px solid rgba(214,177,91,.1);
    transition: box-shadow .35s, transform .35s;
}
.ofd-cat-card:hover {
    box-shadow: 0 14px 36px rgba(9,41,36,.12);
    transform: translateY(-5px);
}
.ofd-cat-card__img {
    position: relative; aspect-ratio: 3/4;
    overflow: hidden; background: var(--of-cream);
}
.ofd-cat-card__img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .6s cubic-bezier(.25,.46,.45,.94);
}
.ofd-cat-card:hover .ofd-cat-card__img img { transform: scale(1.08); }
.ofd-cat-card__placeholder {
    width: 100%; height: 100%; display: flex;
    align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--of-cream) 0%, var(--of-cream-warm) 100%);
}
.ofd-cat-card__placeholder svg { width: 56px; height: 56px; opacity: .55; }
.ofd-cat-card__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, transparent 35%, rgba(9,41,36,.7) 100%);
    display: flex; align-items: flex-end; justify-content: center;
    padding-bottom: 18px; opacity: 0; transition: opacity .3s;
}
.ofd-cat-card:hover .ofd-cat-card__overlay { opacity: 1; }
.ofd-cat-card__cta {
    font-size: 11px; font-weight: 700; letter-spacing: .12em;
    text-transform: uppercase; color: var(--of-gold);
    padding: 7px 18px; border: 1px solid rgba(214,177,91,.6);
    border-radius: 4px; backdrop-filter: blur(4px);
}
.ofd-cat-card__info { padding: 14px 16px; text-align: center; }
.ofd-cat-card__name {
    font-family: var(--font-display); font-size: 14px;
    font-weight: 600; color: var(--of-green); margin: 0 0 4px;
    transition: color .2s;
}
.ofd-cat-card:hover .ofd-cat-card__name { color: var(--of-gold-dark); }
.ofd-cat-card__count { font-size: 11px; color: var(--of-bronze); letter-spacing: .05em; }

/* PRODUCTOS DESTACADOS */
.ofd-products { background-color: var(--of-cream); }
.ofd-products__grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
    margin-bottom: 48px;
}
.ofd-prod-card {
    background: #fff; border-radius: 14px; overflow: hidden;
    border: 1px solid rgba(214,177,91,.1);
    box-shadow: 0 3px 12px rgba(9,41,36,.04);
    transition: box-shadow .35s, transform .35s;
}
.ofd-prod-card:hover {
    box-shadow: 0 14px 36px rgba(9,41,36,.1);
    transform: translateY(-4px);
}
.ofd-prod-card__img-wrap {
    display: block; position: relative; aspect-ratio: 1/1;
    overflow: hidden; background: var(--of-cream);
}
.ofd-prod-card__img-wrap img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .5s cubic-bezier(.25,.46,.45,.94);
}
.ofd-prod-card:hover .ofd-prod-card__img-wrap img { transform: scale(1.06); }
.ofd-prod-card__badge {
    position: absolute; top: 10px; left: 10px;
    background: var(--of-gold); color: var(--of-green);
    font-size: 10px; font-weight: 700; letter-spacing: .07em;
    text-transform: uppercase; padding: 4px 9px; border-radius: 4px;
}
.ofd-prod-card__body {
    padding: 18px; display: flex; flex-direction: column; gap: 9px;
    flex: 1; /* ocupa el espacio restante para alinear elementos */
}
.ofd-prod-card { display: flex; flex-direction: column; } /* necesario para que flex: 1 funcione */
.ofd-prod-card__title {
    font-family: var(--font-display); font-size: 14px; font-weight: 600;
    margin: 0; line-height: 1.4;
    /* 1 sola línea con ellipsis */
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ofd-prod-card__title a { color: var(--of-green); text-decoration: none; transition: color .2s; }
.ofd-prod-card__title a:hover { color: var(--of-gold-dark); }
/* Precio y botón siempre al fondo */
.ofd-prod-card__price { margin-top: auto; }
.ofd-prod-card__btn   { margin-top: 8px; }
.ofd-prod-card__price { font-size: 16px; font-weight: 700; color: var(--of-green); }
.ofd-prod-card__price ins { text-decoration: none; color: var(--of-gold-dark); }
.ofd-prod-card__price del { color: var(--of-bronze); opacity: .65; font-size: .85em; }
.ofd-prod-card__btn {
    display: block; text-align: center; padding: 10px 14px;
    background: var(--of-green); color: var(--of-cream-warm);
    font-family: var(--font-body); font-size: 11px; font-weight: 700;
    letter-spacing: .07em; text-transform: uppercase;
    text-decoration: none; border-radius: 8px;
    border: 1.5px solid var(--of-green);
    transition: background .25s, color .25s, border-color .25s; cursor: pointer;
    margin-top: 2px;
}
.ofd-prod-card__btn:hover {
    background: var(--of-gold); color: var(--of-green); border-color: var(--of-gold);
}
.ofd-products__footer { display: flex; justify-content: center; }

/* BRAND STORY */
.ofd-story {
    background-color: var(--of-green); position: relative; overflow: hidden;
}
.ofd-story::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(214,177,91,.5) 50%, transparent 100%);
}
.ofd-story__inner {
    max-width: 1340px; margin: 0 auto; padding: 90px 48px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center;
}
.ofd-story__title {
    font-family: var(--font-display) !important;
    font-size: clamp(26px, 3.5vw, 44px) !important;
    font-weight: 400 !important; color: var(--of-cream-warm) !important;
    line-height: 1.25 !important; margin: 0 0 22px !important;
}
.ofd-story__title em { font-style: italic; color: var(--of-gold); }
.ofd-story__divider { width: 52px; height: 1px; background: var(--of-gold); margin-bottom: 24px; }
.ofd-story__body {
    font-family: var(--font-body); font-size: 15px; font-weight: 300;
    color: rgba(240,235,224,.75); line-height: 1.85; margin: 0 0 18px;
}
.ofd-story__body strong { color: var(--of-cream-warm); font-weight: 600; }
.ofd-story__badges { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.ofd-badge {
    display: flex; align-items: center; gap: 9px; padding: 11px 18px;
    border: 1px solid rgba(214,177,91,.28); border-radius: 8px;
    background: rgba(214,177,91,.06); transition: border-color .25s, background .25s;
}
.ofd-badge:hover { border-color: rgba(214,177,91,.55); background: rgba(214,177,91,.1); }
.ofd-badge svg { color: var(--of-gold); flex-shrink: 0; }
.ofd-badge__karat { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--of-gold); }
.ofd-badge__label { font-size: 11px; font-weight: 500; color: rgba(240,235,224,.7); letter-spacing: .05em; }

/* Geometric visual */
.ofd-story__visual { display: flex; align-items: center; justify-content: center; }
.ofd-geo { position: relative; width: 320px; height: 320px; flex-shrink: 0; }
.ofd-geo__ring {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    border-radius: 50%;
}
.ofd-geo__ring--1 { width: 310px; height: 310px; border: 1px dashed rgba(214,177,91,.2); animation: of-rotate 40s linear infinite; }
.ofd-geo__ring--2 { width: 238px; height: 238px; border: 1px solid rgba(214,177,91,.28); animation: of-pulse 4s ease-in-out infinite; }
.ofd-geo__ring--3 { width: 166px; height: 166px; border: 1px solid rgba(214,177,91,.4); }
.ofd-geo__diamond {
    position: absolute; top: 50%; left: 50%;
    width: 26px; height: 26px; border: 1px solid rgba(214,177,91,.5);
}
.ofd-geo__diamond--1 { transform: translate(-50%, calc(-50% - 118px)) rotate(45deg); }
.ofd-geo__diamond--2 { transform: translate(-50%, calc(-50% + 118px)) rotate(45deg); }
.ofd-geo__dot {
    position: absolute; top: 50%; left: 50%;
    border-radius: 50%; background: var(--of-gold); opacity: .55;
}
.ofd-geo__dot--1 { width: 8px; height: 8px; transform: translate(calc(-50% + 118px), -50%); }
.ofd-geo__dot--2 { width: 8px; height: 8px; transform: translate(calc(-50% - 118px), -50%); }
.ofd-geo__dot--3 { width: 5px; height: 5px; opacity: .3; transform: translate(-50%, calc(-50% - 84px)); }
.ofd-geo__dot--4 { width: 5px; height: 5px; opacity: .3; transform: translate(-50%, calc(-50% + 84px)); }
.ofd-geo__center { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 100px; height: 100px; }

/* WHATSAPP CTA */
@keyframes of-gold-bg {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.ofd-wa-cta {
    background: linear-gradient(135deg, var(--of-gold-dark), var(--of-gold), var(--of-gold-light), var(--of-gold));
    background-size: 300% 300%;
    animation: of-gold-bg 8s ease infinite;
    position: relative; overflow: hidden;
}
.ofd-wa-cta__inner {
    position: relative; z-index: 1;
    max-width: 680px; margin: 0 auto;
    padding: 90px 48px; text-align: center;
}
.ofd-wa-cta__ornament { margin-bottom: 14px; }
.ofd-wa-cta__ornament svg { width: 52px; height: 52px; }
.ofd-wa-cta__eyebrow {
    font-size: 11px; font-weight: 600; letter-spacing: .2em;
    text-transform: uppercase; color: rgba(9,41,36,.6); margin: 0 0 10px;
}
.ofd-wa-cta__title {
    font-family: var(--font-display) !important;
    font-size: clamp(26px, 4vw, 44px) !important;
    font-weight: 700 !important; color: var(--of-green) !important;
    margin: 0 0 14px !important; line-height: 1.2 !important;
}
.ofd-wa-cta__sub {
    font-size: 15px; font-weight: 300; color: rgba(9,41,36,.7);
    margin: 0 0 44px; line-height: 1.65;
}
.ofd-wa-cta__btn {
    display: inline-flex; align-items: center; gap: 11px;
    padding: 17px 40px; background-color: var(--of-green);
    color: var(--of-cream-warm); font-family: var(--font-body);
    font-size: 14px; font-weight: 600; letter-spacing: .05em;
    text-decoration: none; border-radius: 6px;
    box-shadow: 0 4px 20px rgba(9,41,36,.2);
    transition: background .3s, transform .2s, box-shadow .3s;
}
.ofd-wa-cta__btn:hover {
    background-color: var(--of-green-mid);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(9,41,36,.3);
    color: var(--of-gold);
}
.ofd-wa-cta__number { margin: 22px 0 0; font-size: 13px; color: rgba(9,41,36,.55); letter-spacing: .08em; }

.ofd-empty { text-align: center; color: var(--of-bronze); font-style: italic; padding: 44px 0; }

/* Suprimir page-title / hero-section de Blocksy en el homepage */
.home .hero-section,
.home .page-title-alignment-wrapper,
.home .ct-page-title-hero,
.home .entry-header { display: none !important; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .ofd-section-inner  { padding: 72px 28px; }
    .ofd-categories__grid { grid-template-columns: repeat(3,1fr); max-width: 100%; }
    .ofd-products__grid   { grid-template-columns: repeat(3,1fr); }
    .ofd-story__inner  { grid-template-columns: 1fr; gap: 52px; padding: 72px 28px; }
    .ofd-story__visual { order: -1; }
    .ofd-trust__divider { display: none; }
    .ofd-trust__inner { padding: 28px 24px; }
}

@media (max-width: 768px) {
    .ofd-hero__inner  { padding: 56px 20px; }
    .ofd-hero__logo img { max-width: 190px; }
    .ofd-hero__ctas   { flex-direction: column; width: 100%; max-width: 300px; }
    .ofd-btn          { width: 100%; justify-content: center; }
    .ofd-section-inner { padding: 56px 18px; }
    .ofd-categories__grid { grid-template-columns: repeat(3,1fr); gap: 12px; }
    .ofd-products__grid   { grid-template-columns: repeat(2,1fr); gap: 14px; }
    .ofd-story__inner { padding: 56px 18px; gap: 40px; }
    .ofd-story__badges { flex-direction: column; }
    .ofd-wa-cta__inner { padding: 64px 20px; }
    .ofd-wa-cta__btn  { width: 100%; justify-content: center; }
    .ofd-trust__item  { flex: 1 1 150px; padding: 12px 14px; }
}

@media (max-width: 480px) {
    .ofd-categories__grid { grid-template-columns: repeat(3,1fr); gap: 10px; }
    .ofd-products__grid   { grid-template-columns: repeat(2,1fr); gap: 10px; }
    .ofd-prod-card__body { padding: 12px; }
    .ofd-geo { width: 240px; height: 240px; }
    .ofd-geo__ring--1 { width: 224px; height: 224px; }
    .ofd-geo__ring--2 { width: 170px; height: 170px; }
    .ofd-geo__ring--3 { width: 116px; height: 116px; }
}

@media (prefers-reduced-motion: reduce) {
    .ofd-shimmer, .ofd-geo__ring--1, .ofd-geo__ring--2,
    .ofd-hero__scroll-hint span, .ofd-wa-cta { animation: none !important; }
    .ofd-reveal, .ofd-fade-up { opacity: 1; transform: none; transition: none; }
}
