/* ============================================================
   ED WooCommerce Visual Batch — v1.0.0
   1) Empty product gallery collapse
   2) Full-width WooCommerce canvas (shop/product/cart/checkout/account)
   3) "Select a package" section (injected after service-page heroes)
   ============================================================ */

/* ---------- 1) Hide the empty gallery slot (only when truly empty) --- */
.single-product .woocommerce-product-gallery--without-images {
    display: none !important;
}
/* Let the summary take the freed space when the gallery is hidden */
.single-product div.product > .woocommerce-product-gallery--without-images + div.summary,
.single-product div.product > .woocommerce-product-gallery.ed-vb-gallery-empty + div.summary {
    width: 100% !important;
    float: none !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
}

/* ---------- 2) Full-size canvas for WooCommerce pages ---------------- */
/* Keep header/footer; kill sidebar + container max-width on WC pages.   */
body.woocommerce-page .ast-container,
body.woocommerce .ast-container {
    max-width: 100%;
}
body.woocommerce-page #secondary,
body.woocommerce .widget-area,
body.woocommerce-page .widget-area {
    display: none !important;
}
body.woocommerce-page #primary,
body.woocommerce #primary {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
/* Astra content layout helpers that can re-introduce sidebars */
body.woocommerce-page .ast-woocommerce-container {
    max-width: 100%;
}

/* ---------- 3) "Select a package" — blends with the dark premium theme */
.ed-pkg-section {
    background: #0A0A0A;
    color: #fff;
    padding: 60px 0;
    font-family: Inter, -apple-system, "Segoe UI", Arial, sans-serif;
}
.ed-pkg-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}
.ed-pkg-head {
    text-align: center;
    margin-bottom: 32px;
}
.ed-pkg-head h2 {
    font-family: Sora, Inter, sans-serif;
    font-size: 30px;
    font-weight: 800;
    margin: 0 0 10px;
    color: #fff;
    letter-spacing: -0.01em;
}
.ed-pkg-head h2 span {
    color: #FED716;
}
.ed-pkg-head p {
    color: #c9c9be;
    margin: 0;
    font-size: 15px;
}
.ed-pkg-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}
.ed-pkg-card {
    background: #141414;
    border: 1px solid #2a2a26;
    border-radius: 12px;
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.ed-pkg-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(254, 215, 22, 0.12);
    border-color: rgba(254, 215, 22, 0.5);
}
.ed-pkg-card.ed-pkg-popular {
    border-color: #FED716;
}
.ed-pkg-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #FED716;
    color: #0A0A0A;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
    font-family: Sora, Inter, sans-serif;
}
.ed-pkg-name {
    font-family: Sora, Inter, sans-serif;
    font-size: 19px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #fff;
}
.ed-pkg-price {
    font-family: Sora, Inter, sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: #FED716;
    line-height: 1.1;
}
.ed-pkg-per {
    color: #b9b9ae;
    font-size: 13px;
    margin-top: 2px;
}
.ed-pkg-feats {
    list-style: none;
    padding: 0;
    margin: 18px 0 22px;
}
.ed-pkg-feats li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #d8d8cc;
    line-height: 1.5;
}
.ed-pkg-feats li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0;
    color: #FED716;
    font-weight: 800;
}
.ed-pkg-cta {
    margin-top: auto;
    display: block;
    text-align: center;
    background: #FED716;
    color: #0A0A0A !important;
    font-family: Sora, Inter, sans-serif;
    font-weight: 800;
    font-size: 15px;
    padding: 13px 18px;
    border-radius: 10px;
    text-decoration: none !important;
    transition: filter 0.15s ease;
}
.ed-pkg-cta:hover {
    filter: brightness(1.06);
    color: #0A0A0A !important;
}
@media (max-width: 640px) {
    .ed-pkg-section {
        padding: 44px 0;
    }
    .ed-pkg-head h2 {
        font-size: 24px;
    }
}
