/* Lyx Products – front end. Colours come from the YOOtheme style where possible. */
.lyxprd{position:relative}
.lyxprd-toggle{display:flex;justify-content:flex-end;gap:4px;margin-bottom:12px}
.lyxprd-toggle button{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border:1px solid #e3e6ea;border-radius:6px;background:#fff;color:#6b7280;cursor:pointer;padding:0}
.lyxprd-toggle button[aria-pressed="true"]{border-color:currentColor;color:#f07d00}
.lyxprd-card{display:flex;flex-direction:column;height:100%;border-radius:8px;overflow:hidden}
.lyxprd-card__media{display:block;position:relative;padding:16px 16px 0;text-align:center}
.lyxprd-card__media img,.lyxprd-card__img{display:block;width:auto!important;height:auto!important;max-width:100%;max-height:200px;object-fit:contain;margin:0 auto}
.lyxprd-card__media .onsale{position:absolute;top:12px;left:12px}
.lyxprd-card__body{flex:1 1 auto}
.lyxprd-card__price{margin:0;line-height:1.25}
.lyxprd-card__price .lyxp-from,.lyxprd-card__price .lyxp-unit,.lyxprd-card__price .lyxp-before-note{font-family:inherit;font-size:.62em;font-weight:500;text-transform:none;margin-top:.2em}
.lyxprd-card__price .lyxp-from .woocommerce-Price-amount,.lyxprd-card__price .lyxp-unit .woocommerce-Price-amount{font-size:inherit;font-weight:700}
.lyxprd-card__price del{opacity:.6;font-weight:600;font-size:.85em}
.lyxprd-card__price ins{text-decoration:none}
.lyxprd-card__title{margin:.4em 0 .3em}
.lyxprd-card__stock .stock{margin:0 0 .5em;font-size:.78rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em}
.lyxprd-card__stock .in-stock{color:#1f6f80}
.lyxprd-card__excerpt{font-size:.92rem}
.lyxprd-card__excerpt p{margin:0 0 .5em}
.lyxprd-card__footer{border-top:0;padding-top:0}
.lyxprd-card__footer .added_to_cart{display:block;text-align:center;margin-top:.4em;font-size:.85rem}
/* key data chips on cards */
.lyxprd-chips{list-style:none;margin:.4em 0 .7em;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.lyxprd-chip{font-family:inherit;display:inline-flex;align-items:center;gap:5px;padding:3px 9px 3px 6px;border-radius:999px;background:#f4f6f8;font-size:.8rem;line-height:1.4;color:#374151}
.lyxprd-chip .lyxprd-icon{width:16px;height:16px;color:#f07d00;flex:none}
/* full list on the product page */
.lyxprd-specs{margin:1.2em 0;max-width:520px}
.lyxprd-specs__title{font-weight:700;margin-bottom:.5em}
.lyxprd-specs dl{margin:0}
.lyxprd-spec{display:flex;justify-content:space-between;gap:16px;padding:.45em 0;border-bottom:1px solid #e9ecef}
.lyxprd-spec dt{display:flex;align-items:center;gap:8px;font-weight:500;color:#4b5563}
.lyxprd-spec dd{margin:0;font-weight:700;text-align:right}
.lyxprd-spec .lyxprd-icon{width:20px;height:20px;color:#f07d00;flex:none}
/* list view */
.lyxprd[data-view="list"] .lyxprd-card{display:grid;grid-template-columns:180px 1fr 220px;align-items:center}
.lyxprd[data-view="list"] .lyxprd-card__media{padding:12px}
.lyxprd[data-view="list"] .lyxprd-card__media img{max-height:140px}
.lyxprd[data-view="list"] .lyxprd-card__footer{padding:16px}
@media (max-width:639px){.lyxprd[data-view="list"] .lyxprd-card{grid-template-columns:110px 1fr}.lyxprd[data-view="list"] .lyxprd-card__footer{grid-column:1/-1;padding-top:0}.lyxprd[data-view="list"] .lyxprd-card__excerpt{display:none}}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
