/* ══════════════════════════════════════════════════════════════════════
   OneCard shop cards — portrait tilt cards στο Woo loop (v1.6)
   Light/pastel εκδοχή του interactive product card: glass header,
   price pill, 3D tilt layers (τα transforms οδηγούνται από shop-tilt.js).
   ══════════════════════════════════════════════════════════════════════ */

li.oc-shop-li {
    list-style: none;
    display: flex;
}

.oc-shop-card {
    display: block;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent;
}

.oc-shop-card-inner {
    position: relative;
    aspect-ratio: 9 / 12;
    border-radius: 28px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    transform-style: preserve-3d;
    will-change: transform;
    box-shadow: 0 18px 44px -18px rgba(16, 16, 20, 0.22);
}
/* Χωρίς JS (touch / reduced motion): απαλό lift στο hover */
.oc-shop-card:hover .oc-shop-card-inner:not([style]) {
    transform: translateY(-4px);
    transition: transform 0.3s ease;
}

/* Pastel variants (portrait palette) */
.oc-shop-card--blue  .oc-shop-card-inner { background: linear-gradient(165deg, #eef4fb 0%, #dfeafa 100%); }
.oc-shop-card--peach .oc-shop-card-inner { background: linear-gradient(165deg, #fdf3ea 0%, #fbe6d4 100%); }
.oc-shop-card--slate .oc-shop-card-inner { background: linear-gradient(165deg, #eef0f4 0%, #dde2ea 100%); }

/* Glass header */
.oc-shop-card-head {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.55);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 13px 15px;
    transform: translateZ(40px);
    box-shadow: 0 8px 20px -12px rgba(16, 16, 20, 0.18);
}
.oc-shop-card-head-text h3 {
    font-family: var(--oc-font-display, inherit);
    font-size: 18px;
    font-weight: 700;
    color: var(--oc-ink, #101014);
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.01em;
}
.oc-shop-card-head-text p {
    font-size: 11.5px;
    color: var(--oc-ink-soft, #4b4b57);
    margin: 3px 0 0;
    line-height: 1.4;
}
.oc-shop-card-brand {
    font-family: var(--oc-font-display, inherit);
    font-size: 13px;
    font-weight: 800;
    color: var(--oc-ink, #101014);
    white-space: nowrap;
    line-height: 1.5;
}
.oc-shop-card-brand span { color: var(--oc-accent, #FE575A); }

/* Price pill */
.oc-shop-card-price {
    position: relative;
    z-index: 2;
    align-self: flex-start;
    margin-top: 12px;
    background: rgba(16, 16, 20, 0.8);
    color: #fff;
    border-radius: 999px;
    padding: 7px 15px;
    font-family: var(--oc-font-display, inherit);
    font-size: 14px;
    font-weight: 700;
    transform: translateZ(30px);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}
.oc-shop-card-price .amount,
.oc-shop-card-price .woocommerce-Price-currencySymbol { color: inherit !important; }
.oc-shop-card-price del { display: none; }
.oc-shop-card-price ins { text-decoration: none; }

/* Product image — γεμίζει το panel, multiply για να «χάνεται» το λευκό φόντο */
.oc-shop-card-img {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 96px 26px 72px;
    z-index: 1;
}
.oc-shop-card-img img {
    max-width: 100%;
    max-height: 100%;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    mix-blend-mode: multiply;
    transform: translateZ(-12px) scale(1.04);
    filter: drop-shadow(0 22px 26px rgba(16, 16, 20, 0.16));
}

/* Footer: διαθεσιμότητα + CTA */
.oc-shop-card-foot {
    position: relative;
    z-index: 2;
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    transform: translateZ(30px);
}
.oc-shop-card-stock {
    font-family: var(--oc-font-display, inherit);
    font-size: 11.5px;
    font-weight: 700;
    color: #15803d;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.7);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border-radius: 999px;
    padding: 7px 12px;
    white-space: nowrap;
}
.oc-shop-card-stock::before {
    content: '';
    display: inline-block;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #22c55e;
    margin-right: 6px;
    vertical-align: 1px;
}
.oc-shop-card-cta {
    font-family: var(--oc-font-display, inherit);
    font-size: 12.5px;
    font-weight: 700;
    color: #fff;
    background: var(--oc-accent, #FE575A);
    border-radius: 999px;
    padding: 9px 16px;
    white-space: nowrap;
    box-shadow: 0 10px 22px -10px rgba(254, 87, 90, 0.55);
    transition: transform 0.2s ease;
}
.oc-shop-card:hover .oc-shop-card-cta { transform: translateY(-1px); }

/* Responsive */
@media (max-width: 767px) {
    .oc-shop-card-inner { padding: 14px; border-radius: 22px; }
    .oc-shop-card-head { padding: 10px 12px; border-radius: 13px; }
    .oc-shop-card-head-text h3 { font-size: 15px; }
    .oc-shop-card-head-text p { font-size: 10.5px; }
    .oc-shop-card-brand { font-size: 11px; }
    .oc-shop-card-img { padding: 78px 16px 58px; }
    .oc-shop-card-price { font-size: 12.5px; padding: 6px 12px; margin-top: 10px; }
    .oc-shop-card-stock { display: none; }
    .oc-shop-card-cta { font-size: 11.5px; padding: 8px 13px; }
}
