.sp-badge{font-size:12px;opacity:.8} .sp-subscribe-wrap{margin-top:10px}
/* Fix vertical alignment of Cycle & Delivery Date meta info */

.woocommerce td.product-name .wc-item-meta, .woocommerce td.product-name dl.variation {
    list-style: none outside;
    margin: 0px !important;
}


.woocommerce td.product-name .wc-item-meta {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.woocommerce td.product-name .wc-item-meta dt,
.woocommerce td.product-name .wc-item-meta dd {
  display: inline-block;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  vertical-align: middle;
  text-align: left;
}

.woocommerce td.product-name .wc-item-meta dt {
  font-weight: 600;
  color: #222;
  text-transform: none !important; /* removes full caps */
  line-height: 1.4;
  margin-bottom: 1px;
  display: flex;
  align-items: baseline;
}

/* Value (1/4, Oct 17, 2025) */
.woocommerce td.product-name .wc-item-meta dd {
  font-weight: 500;
  color: #333;
  margin: 0 0 0 0 !important;
  padding: 0;
  text-align: left;
  line-height: 1.5;
  display: flex;
  align-items: baseline; /* aligns label and value vertically */
}
/* Make sure capitalization is proper (first letter only) */
.woocommerce td.product-name .wc-item-meta dt::first-letter,
.woocommerce td.product-name .wc-item-meta dd::first-letter {
  text-transform: uppercase;
}
dl {
    /* margin: 0 0 0 25px; */
}

/* ✅ Responsive My Subscriptions Table */
@media (max-width: 768px) {
    .my_account_subscriptions {
        width: 100%;
        border: none;
        display: block;
    }

    .my_account_subscriptions thead {
        display: none; /* Hide table headers */
    }

    .my_account_subscriptions tbody,
    .my_account_subscriptions tr,
    .my_account_subscriptions td {
        display: block;
        width: 100%;
    }

    .my_account_subscriptions tr {
        margin-bottom: 18px;
        border: 1px solid #e5e5e5;
        border-radius: 10px;
        padding: 10px;
        background: #fff;
        box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    }

    .my_account_subscriptions td {
        padding: 6px 10px;
        font-size: 14px;
        text-align: left;
        border: none;
        border-bottom: 1px dashed #eee;
    }

    .my_account_subscriptions td:last-child {
        border-bottom: none;
    }

    .my_account_subscriptions td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #444;
        display: block;
        margin-bottom: 3px;
    }

    .my_account_subscriptions button {
        width: 48%;
        font-size: 13px;
        padding: 8px 5px;
        border-radius: 8px;
        margin-top: 6px;
    }

    .my_account_subscriptions td:last-child {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 5px;
    }

    .sp-history {
        font-size: 13px;
    }

    /* Subscription Start Date spacing */
    #sp-subscription-start-date {
    margin-bottom: 25px !important;
    }

    #sp-subscription-start-date input[type="date"] {
    border-radius: 4px;
    padding: 10px;
    }

}

/* ================================
   Align Pause & Cancel buttons in one row
   ================================ */
.my_account_subscriptions td:last-child {
    display: flex;
    justify-content: center; /* centers both buttons */
    align-items: center;
    gap: 10px; /* space between buttons */
    flex-wrap: nowrap; /* keep in same row */
}

.my_account_subscriptions td:last-child button,
.my_account_subscriptions td:last-child .button {
    flex: 0 0 auto;
    min-width: 120px;
    padding: 8px 12px;
    border-radius: 8px;
    text-align: center;
}

/* Optional: make them stack neatly on smaller screens */
@media (max-width: 480px) {
    .my_account_subscriptions td:last-child {
        flex-wrap: wrap;
        justify-content: center;
    }
    .my_account_subscriptions td:last-child button,
    .my_account_subscriptions td:last-child .button {
        width: 48%;
    }
}
