.spwc-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:22px;margin:24px 0}.spwc-card{background:#fff;border:1px solid #e7e7e7;border-radius:16px;overflow:hidden;box-shadow:0 8px 25px rgba(0,0,0,.06)}.spwc-card-image{aspect-ratio:16/10;background:#f7f7f7;overflow:hidden}.spwc-card-image img{width:100%;height:100%;object-fit:cover;display:block}.spwc-card-body{padding:18px}.spwc-card h3{font-size:1.25rem;line-height:1.25;margin:0 0 10px}.spwc-meta{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}.spwc-meta span{font-size:.82rem;border:1px solid #d9eadc;background:#f5fbf6;border-radius:999px;padding:5px 9px}.spwc-genetics{margin:0 0 8px}.spwc-error,.spwc-empty{border:1px solid #f0c2c2;background:#fff7f7;border-radius:10px;padding:14px;margin:18px 0}.spwc-empty{border-color:#ddd;background:#fafafa}.spwc-search{display:flex;gap:10px;margin:20px 0}.spwc-search input{flex:1;min-width:180px;padding:12px;border:1px solid #ddd;border-radius:10px}.spwc-search button{padding:12px 18px;border:0;border-radius:10px;cursor:pointer}.spwc-content{margin-top:24px}.spwc-single .spwc-card{max-width:760px}
.spwc-facts{width:100%;border-collapse:collapse;margin:20px 0;background:#fff}.spwc-facts th,.spwc-facts td{border:1px solid #e6e6e6;padding:12px;text-align:left}.spwc-facts th{width:220px;background:#f8faf8;font-weight:600}.spwc-powered{font-size:.85rem;text-align:center;opacity:.75;margin:14px 0}.spwc-admin .nav-tab-wrapper{margin-top:18px}.strainpedia-imported-strain img{max-width:100%;height:auto;border-radius:14px}

/* Strainpedia/StrainAPI Professional Import Template v1.4 */
.strainapi-strain-profile{max-width:980px;margin:28px auto;padding:0;color:#172033;font-size:16px;line-height:1.7}.strainapi-hero-image{margin:0 0 24px;border-radius:24px;overflow:hidden;background:#f5f7f5;box-shadow:0 18px 45px rgba(15,23,42,.10)}.strainapi-hero-image img{display:block;width:100%;height:auto;max-height:520px;object-fit:cover}.strainapi-hero-card{background:linear-gradient(135deg,#f8fff9 0%,#ffffff 56%,#f3f8ff 100%);border:1px solid #dfeee2;border-radius:24px;padding:32px;margin:0 0 26px;box-shadow:0 16px 40px rgba(15,23,42,.07)}.strainapi-label{display:inline-flex;margin:0 0 10px;padding:6px 12px;border-radius:999px;background:#e9f8ed;color:#1d7b39;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.strainapi-hero-card h2{margin:0 0 12px;font-size:clamp(30px,4vw,52px);line-height:1.08;letter-spacing:-.035em;color:#101828}.strainapi-intro{max-width:820px;margin:0 0 18px;color:#4b5563;font-size:18px}.strainapi-badges{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.strainapi-badges span{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border-radius:999px;background:#fff;border:1px solid #dce7df;color:#253141;font-weight:700;font-size:13px;box-shadow:0 6px 16px rgba(15,23,42,.05)}.strainapi-quick-facts,.strainapi-section{background:#fff;border:1px solid #e6eaf0;border-radius:22px;padding:24px;margin:22px 0;box-shadow:0 12px 30px rgba(15,23,42,.05)}.strainapi-quick-facts h2,.strainapi-section h2{margin:0 0 16px;color:#111827;font-size:clamp(24px,3vw,34px);line-height:1.18;letter-spacing:-.02em}.strainapi-strain-profile .spwc-facts{margin:0;border-collapse:separate;border-spacing:0;width:100%;overflow:hidden;border:1px solid #e6eaf0;border-radius:16px;background:#fff}.strainapi-strain-profile .spwc-facts th,.strainapi-strain-profile .spwc-facts td{border:0;border-bottom:1px solid #e6eaf0;padding:15px 18px;vertical-align:top}.strainapi-strain-profile .spwc-facts tr:last-child th,.strainapi-strain-profile .spwc-facts tr:last-child td{border-bottom:0}.strainapi-strain-profile .spwc-facts th{width:240px;background:#f8fafc;color:#334155;font-weight:700}.strainapi-strain-profile .spwc-facts td{color:#111827;background:#fff}.strainapi-grow-list{margin:0;padding-left:22px}.strainapi-grow-list li{margin:8px 0}.strainapi-product-note{border-color:#d7eadc;background:#fbfffc}.spwc-imported-content>*:first-child{margin-top:0}.spwc-imported-content>*:last-child{margin-bottom:0}.strainpedia-imported-strain.spwc-template-basic{max-width:900px;margin:28px auto}.spwc-imported-image{margin:0 0 20px;border-radius:18px;overflow:hidden}.spwc-imported-image img{display:block;width:100%;height:auto}
@media (max-width:700px){.strainapi-hero-card,.strainapi-quick-facts,.strainapi-section{padding:20px;border-radius:18px}.strainapi-strain-profile .spwc-facts,.strainapi-strain-profile .spwc-facts tbody,.strainapi-strain-profile .spwc-facts tr,.strainapi-strain-profile .spwc-facts th,.strainapi-strain-profile .spwc-facts td{display:block;width:100%}.strainapi-strain-profile .spwc-facts th{border-bottom:0;padding-bottom:6px}.strainapi-strain-profile .spwc-facts td{padding-top:6px}}

/* Remote featured image support for WooCommerce product galleries and loops. */
.spwc-remote-featured-image {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}
.woocommerce-product-gallery__image .spwc-remote-featured-image,
.spwc-remote-product-gallery-image .spwc-remote-featured-image {
    display: block;
    width: 100%;
}


.spwc-single-remote-featured-image {
    margin: 0 0 28px;
    text-align: center;
}
.spwc-single-remote-featured-image img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    display: inline-block;
}
