/* ═══════════════════════════════════════════════
   Hacienda del Desamor — Club Card Style
   ═══════════════════════════════════════════════ */

/* ── Grid de productos WC ── */
.woocommerce ul.products,
.woocommerce-page ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    float: none !important;
    width: auto !important;
}

/* ── Card principal ── */
.hdd-club-card {
    background: #12111a;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.08);
    transition: transform .25s ease, box-shadow .25s ease;
    display: flex;
    flex-direction: column;
}
.hdd-club-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,.5);
}
.hdd-club-card.hdd-club-sold {
    opacity: .65;
    pointer-events: none;
}

/* ── Imagen ── */
.hdd-club-img {
    position: relative;
    height: 200px;
    background-size: cover;
    background-position: center top;
    background-color: #1e1c2a;
}
.hdd-club-img-empty {
    background: linear-gradient(135deg, #1e1c2a 0%, #2a1a2e 100%);
}
.hdd-club-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10,8,18,.1) 0%,
        rgba(10,8,18,.7) 100%
    );
}

/* ── Badges ── */
.hdd-club-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 20px;
}
.hdd-badge-urgente {
    background: rgba(255,60,60,.85);
    color: #fff;
}
.hdd-badge-agotado {
    background: rgba(80,80,80,.9);
    color: #ccc;
}

/* ── Cuerpo ── */
.hdd-club-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.hdd-club-titulo {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #f0ece4 !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    letter-spacing: -.01em;
}

.hdd-club-desc {
    font-size: 13px;
    color: rgba(240,236,228,.5);
    line-height: 1.55;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Meta (fecha/hora) ── */
.hdd-club-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 2px;
}
.hdd-club-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(240,236,228,.65);
}
.hdd-club-meta-icon {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
}
.hdd-club-meta-icon::before { content: ''; }
.hdd-icon-cal {
    background: rgba(139,92,246,.25);
    border: 1px solid rgba(139,92,246,.4);
}
.hdd-icon-cal::before  { content: '📅'; font-size: 13px; }
.hdd-icon-clock {
    background: rgba(20,184,166,.2);
    border: 1px solid rgba(20,184,166,.4);
}
.hdd-icon-clock::before { content: '🕙'; font-size: 13px; }

/* ── Footer precio + botón ── */
.hdd-club-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,.07);
}

.hdd-club-precio {
    font-size: 26px;
    font-weight: 800;
    color: #22d3ee;
    line-height: 1;
    letter-spacing: -.02em;
    font-family: system-ui, sans-serif;
}

.hdd-club-btn {
    display: inline-block;
    padding: 11px 26px;
    background: linear-gradient(135deg, #e040fb 0%, #f06292 100%);
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    transition: opacity .2s, transform .15s;
    white-space: nowrap;
    letter-spacing: .02em;
}
.hdd-club-btn:hover {
    opacity: .88;
    transform: scale(1.04);
}
.hdd-club-btn-out {
    background: rgba(255,255,255,.1) !important;
    color: rgba(255,255,255,.4) !important;
    cursor: default;
    transform: none !important;
}

/* ── Página single del producto ── */
.woocommerce div.product .woocommerce-product-gallery {
    border-radius: 12px;
    overflow: hidden;
}
.woocommerce div.product p.price,
.woocommerce div.product span.price {
    color: #22d3ee !important;
    font-size: 32px !important;
    font-weight: 800 !important;
}
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce .single_add_to_cart_button {
    background: linear-gradient(135deg, #e040fb 0%, #f06292 100%) !important;
    color: #fff !important;
    border-radius: 50px !important;
    border: none !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    padding: 14px 36px !important;
    letter-spacing: .02em !important;
    transition: opacity .2s !important;
}
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce .single_add_to_cart_button:hover {
    opacity: .88 !important;
    background: linear-gradient(135deg, #e040fb 0%, #f06292 100%) !important;
}

/* ── Fondo oscuro en páginas de tienda ── */
.woocommerce,
.woocommerce-page {
    background: transparent;
}
