/* ── SweetShop Wholesale – Public Styles (High specificity for Elementor) ── */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap');

/* ── CSS Variables ── */
body .ssw-wrap,
body .ssw-form-wrap,
body .ssw-order-wrap,
body .ssw-dashboard,
body .ssw-owner-dash,
body .ssw-gate-message,
body #ssw-login-wrap,
body #ssw-registration-wrap {
    --ssw-purple:       #BA00FF;
    --ssw-purple-dark:  #8800bb;
    --ssw-purple-light: #f7e5ff;
    --ssw-pink:         #FF43AF;
    --ssw-pink-light:   #FFA4DC;
    --ssw-pink-bg:      #fff5fb;
    --ssw-cyan:         #29DAE2;
    --ssw-orange:       #FFAB66;
    --ssw-lilac:        #F75CFF;
    --ssw-text:         #2d1a3d;
    --ssw-text-light:   #7a5a8a;
    --ssw-border:       #e8c8f5;
    --ssw-white:        #ffffff;
    --ssw-radius:       16px;
    --ssw-radius-sm:    10px;
    font-family: 'Nunito', sans-serif !important;
    color: #2d1a3d;
    box-sizing: border-box;
}

/* ── Page wrapper — centers and constrains content ── */
body .ssw-form-wrap,
body .ssw-order-wrap,
body .ssw-dashboard,
body .ssw-owner-dash {
    max-width: 960px;
    margin: 0 auto;
    padding: 32px 24px;
}

/* ── Headings ── */
body .ssw-form-wrap h2,
body .ssw-order-wrap h2,
body .ssw-dashboard h2,
body .ssw-owner-dash h2,
body #ssw-login-wrap h2,
body #ssw-registration-wrap h2 {
    font-family: 'Nunito', sans-serif !important;
    font-weight: 900 !important;
    color: #BA00FF !important;
    font-size: 26px !important;
    margin-bottom: 8px !important;
    line-height: 1.2 !important;
}

body .ssw-form-wrap h3,
body .ssw-order-wrap h3,
body .ssw-cart-panel h3,
body .ssw-products-panel h3 {
    font-family: 'Nunito', sans-serif !important;
    font-weight: 800 !important;
    color: #FF43AF !important;
    font-size: 18px !important;
    margin-bottom: 14px !important;
}

body .ssw-form-wrap h4,
body .ssw-cart-panel h4 {
    font-family: 'Nunito', sans-serif !important;
    font-weight: 800 !important;
    color: #BA00FF !important;
    font-size: 15px !important;
}

body .ssw-form-wrap p,
body .ssw-order-wrap p,
body .ssw-dashboard p {
    font-family: 'Nunito', sans-serif !important;
    font-weight: 600 !important;
    color: #2d1a3d !important;
}

/* ── Notices ── */
body .ssw-notice {
    padding: 14px 18px !important;
    border-radius: 10px !important;
    margin-bottom: 18px !important;
    font-family: 'Nunito', sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    display: block !important;
}
/* Allow inline style="display:none" (set by jQuery .hide()) to actually
   hide the notice. Without this, the !important above wins and notices
   stay visible permanently — e.g. the "minimum 3 dozen" banner showing
   even when the order is well above the minimum. */
body .ssw-notice[style*="display: none"],
body .ssw-notice[style*="display:none"] {
    display: none !important;
}
body .ssw-notice-success {
    background: #eafff3 !important;
    border-left: 5px solid #00c060 !important;
    color: #006630 !important;
}
body .ssw-notice-error {
    background: #fff0f7 !important;
    border-left: 5px solid #FF43AF !important;
    color: #a0004a !important;
}
body .ssw-notice-info {
    background: #f7e5ff !important;
    border-left: 5px solid #BA00FF !important;
    color: #8800bb !important;
}

/* ── Form container card ── */
body #ssw-login-wrap .ssw-form,
body #ssw-registration-wrap .ssw-form {
    background: #ffffff !important;
    border: 2px solid #e8c8f5 !important;
    border-radius: 16px !important;
    padding: 36px !important;
    box-shadow: 0 6px 32px rgba(186,0,255,.10) !important;
    max-width: 580px !important;
    margin: 0 auto !important;
}

/* ── Field labels ── */
body .ssw-field {
    margin-bottom: 22px !important;
}
body .ssw-field:last-of-type {
    margin-bottom: 0 !important;
}

/* Restore tight spacing inside horizontal field rows (handled by the row's gap) */
body .ssw-form-row .ssw-field {
    margin-bottom: 0 !important;
}

/* Give the login & registration submit button some breathing room
   above it so it doesn't hug the last input. */
body #ssw-login-form button[type="submit"],
body #ssw-registration-form button[type="submit"] {
    margin-top: 22px !important;
}

body .ssw-field label {
    display: block !important;
    font-family: 'Nunito', sans-serif !important;
    font-weight: 800 !important;
    font-size: 13px !important;
    color: #8800bb !important;
    margin-bottom: 7px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

body .ssw-optional {
    font-weight: 600 !important;
    color: #FFA4DC !important;
    font-size: 11px !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

/* ── Input fields — override Elementor completely ── */
body .ssw-field input[type="text"],
body .ssw-field input[type="email"],
body .ssw-field input[type="tel"],
body .ssw-field input[type="password"],
body .ssw-field input[type="number"],
body .ssw-field select,
body .ssw-field textarea,
body .ssw-order-wrap select,
body #ssw-delivery-address,
body #ssw-delivery-date,
body #ssw-order-notes {
    width: 100% !important;
    padding: 13px 16px !important;
    border: 2px solid #e8c8f5 !important;
    border-radius: 10px !important;
    font-family: 'Nunito', sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #2d1a3d !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
    outline: none !important;
    box-shadow: none !important;
    transition: border-color .2s, box-shadow .2s !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    height: auto !important;
    line-height: 1.4 !important;
}

body .ssw-field input[type="text"]:focus,
body .ssw-field input[type="email"]:focus,
body .ssw-field input[type="tel"]:focus,
body .ssw-field input[type="password"]:focus,
body .ssw-field select:focus,
body .ssw-field textarea:focus,
body #ssw-delivery-address:focus,
body #ssw-delivery-date:focus {
    border-color: #BA00FF !important;
    box-shadow: 0 0 0 3px rgba(186,0,255,.14) !important;
    outline: none !important;
}

body .ssw-field select,
body #ssw-delivery-address,
body #ssw-delivery-date {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23BA00FF' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    padding-right: 42px !important;
    cursor: pointer !important;
}

/* ── Buttons — the main fix ── */
body .ssw-btn,
body button.ssw-btn,
body a.ssw-btn,
body input.ssw-btn {
    display: inline-block !important;
    padding: 14px 32px !important;
    border-radius: 50px !important;
    font-family: 'Nunito', sans-serif !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    letter-spacing: 0.6px !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    text-decoration: none !important;
    line-height: 1 !important;
    transition: all .2s ease !important;
    box-sizing: border-box !important;
    vertical-align: middle !important;
}

body .ssw-btn--primary,
body button.ssw-btn--primary,
body a.ssw-btn--primary {
    background: #FF43AF !important;
    color: #ffffff !important;
    border: 2.5px solid #FF43AF !important;
    box-shadow: 0 4px 16px rgba(255,67,175,.35) !important;
}
body .ssw-btn--primary:hover:not(:disabled),
body button.ssw-btn--primary:hover,
body a.ssw-btn--primary:hover {
    background: #e0008f !important;
    border-color: #e0008f !important;
    color: #ffffff !important;
    box-shadow: 0 6px 22px rgba(255,67,175,.50) !important;
    transform: translateY(-2px) !important;
    text-decoration: none !important;
}

body .ssw-btn--secondary,
body button.ssw-btn--secondary,
body a.ssw-btn--secondary {
    background: transparent !important;
    color: #BA00FF !important;
    border: 2.5px solid #BA00FF !important;
    box-shadow: none !important;
}
body .ssw-btn--secondary:hover,
body a.ssw-btn--secondary:hover {
    background: #BA00FF !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

body .ssw-btn--full {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    margin-top: 20px !important;
}

body .ssw-btn--sm {
    padding: 9px 20px !important;
    font-size: 13px !important;
}

body .ssw-btn:disabled,
body button.ssw-btn:disabled {
    opacity: .5 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}

/* ── Field hints ── */
body .ssw-hint {
    font-family: 'Nunito', sans-serif !important;
    font-size: 13px !important;
    color: #7a5a8a !important;
    font-weight: 600 !important;
    margin: 5px 0 0 !important;
}

/* ── Radio group ── */
body .ssw-field--highlight {
    background: #f7e5ff !important;
    border: 2px solid #e8c8f5 !important;
    padding: 16px !important;
    border-radius: 10px !important;
}
body .ssw-radio-group { display: flex !important; flex-direction: column !important; gap: 10px !important; margin-top: 8px !important; }
body .ssw-radio-group label {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-family: 'Nunito', sans-serif !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    color: #2d1a3d !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    cursor: pointer !important;
}
body .ssw-radio-group input[type="radio"] {
    accent-color: #BA00FF !important;
    width: 17px !important; height: 17px !important;
    -webkit-appearance: auto !important;
    appearance: auto !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
}

/* ── Form grid rows ── */
body .ssw-form-row { display: flex !important; gap: 16px !important; }
body .ssw-form-row--two .ssw-field   { flex: 1 !important; min-width: 0 !important; }
body .ssw-form-row--three .ssw-field { flex: 1 !important; min-width: 0 !important; }
@media (max-width: 600px) {
    body .ssw-form-row { flex-direction: column !important; }
}

/* ── Address block ── */
body .ssw-address-block {
    background: #fff5fb !important;
    border: 2px solid #FFA4DC !important;
    border-radius: 12px !important;
    padding: 18px !important;
    margin-bottom: 14px !important;
}

body .ssw-btn--danger-sm {
    background: #fff0f7 !important;
    color: #FF43AF !important;
    border: 1.5px solid #FF43AF !important;
    border-radius: 50px !important;
    padding: 5px 14px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
}

/* ── Gate message ── */
body .ssw-gate-message {
    text-align: center !important;
    padding: 60px 24px !important;
    background: linear-gradient(135deg, #f7e5ff 0%, #fff5fb 100%) !important;
    border-radius: 16px !important;
    border: 2px solid #e8c8f5 !important;
}
body .ssw-gate-message h2 { font-size: 30px !important; }
body .ssw-gate-message p  { font-size: 16px !important; max-width: 540px !important; margin: 0 auto 20px !important; line-height: 1.7 !important; }
body .ssw-gate-message a  { color: #FF43AF !important; font-weight: 800 !important; }

/* ── Order layout ── */
body .ssw-order-wrap { max-width: 1100px !important; }
body .ssw-order-layout { display: flex !important; gap: 28px !important; align-items: flex-start !important; }
body .ssw-products-panel { flex: 1.5 !important; }
body .ssw-cart-panel {
    flex: 1 !important;
    position: sticky !important;
    top: 24px !important;
    background: linear-gradient(160deg, #f7e5ff 0%, #fff5fb 100%) !important;
    border: 2px solid #e8c8f5 !important;
    border-radius: 16px !important;
    padding: 22px !important;
    box-shadow: 0 4px 20px rgba(186,0,255,.10) !important;
}
@media (max-width: 768px) { body .ssw-order-layout { flex-direction: column !important; } }

/* ── Product cards ── */
body .ssw-product-card {
    border: 2px solid #e8c8f5 !important;
    border-radius: 14px !important;
    padding: 16px 18px !important;
    margin-bottom: 14px !important;
    background: #ffffff !important;
    transition: box-shadow .2s, border-color .2s !important;
}
body .ssw-product-card:hover {
    box-shadow: 0 4px 18px rgba(186,0,255,.13) !important;
    border-color: #F75CFF !important;
}
body .ssw-product-name {
    font-family: 'Nunito', sans-serif !important;
    font-weight: 900 !important;
    font-size: 17px !important;
    color: #BA00FF !important;
    margin-bottom: 4px !important;
}
body .ssw-product-desc { font-size: 13px !important; color: #7a5a8a !important; margin-bottom: 10px !important; font-weight: 600 !important; }

/* ── Variation groups (Dozen / Half Dozen) ── */
body .ssw-var-group { margin-top: 12px !important; border-top: 1px solid #f3e0ff !important; padding-top: 10px !important; }
body .ssw-var-group-header { display: flex !important; align-items: center !important; gap: 6px !important; margin-bottom: 8px !important; }
body .ssw-var-group-icon { font-size: 15px !important; line-height: 1 !important; }
body .ssw-var-group-label {
    font-family: 'Nunito', sans-serif !important;
    font-size: 12px !important; font-weight: 900 !important;
    text-transform: uppercase !important; letter-spacing: .06em !important;
    color: #BA00FF !important; background: #f8eeff !important;
    border: 1.5px solid #e0b8ff !important; border-radius: 20px !important; padding: 2px 10px !important;
}
body .ssw-var-size-grid { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)) !important; gap: 8px !important; justify-items: center !important; }
body .ssw-size-tile {
    background: #faf5ff !important; border: 1.5px solid #e8c8f5 !important; border-radius: 10px !important;
    padding: 8px 6px !important; display: flex !important; flex-direction: column !important;
    align-items: center !important; gap: 5px !important;
    transition: border-color .15s, box-shadow .15s !important;
}
body .ssw-size-tile-name { font-family: 'Nunito', sans-serif !important; font-size: 12px !important; font-weight: 800 !important; color: #2d1a3d !important; text-align: center !important; line-height: 1.2 !important; }
body .ssw-size-tile-price { font-size: 13px !important; font-weight: 900 !important; color: #FF43AF !important; }

body .ssw-qty-control { display: flex !important; align-items: center !important; gap: 8px !important; }
body .ssw-qty-btn {
    width: 32px !important; height: 32px !important;
    border: 2px solid #BA00FF !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    font-size: 20px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    color: #BA00FF !important;
    font-weight: 900 !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    transition: all .15s !important;
    padding: 0 !important;
    box-shadow: none !important;
}
body .ssw-qty-btn:hover {
    background: #BA00FF !important;
    color: #ffffff !important;
}
body .ssw-qty-input {
    width: 44px !important;
    text-align: center !important;
    border: 2px solid #e8c8f5 !important;
    border-radius: 8px !important;
    padding: 5px 0 !important;
    font-family: 'Nunito', sans-serif !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #BA00FF !important;
    background: #fff !important;
    box-shadow: none !important;
    -moz-appearance: textfield !important;
}
/* Hide spinner arrows — Chrome, Safari, Edge */
body .ssw-qty-input::-webkit-outer-spin-button,
body .ssw-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

/* ── Cart ── */
body .ssw-cart-empty {
    text-align: center !important;
    padding: 28px !important;
    color: #7a5a8a !important;
    font-weight: 700 !important;
    font-size: 14px !important;
}
body .ssw-cart-table { width: 100% !important; border-collapse: collapse !important; font-size: 13px !important; margin-bottom: 12px !important; font-family: 'Nunito', sans-serif !important; }
body .ssw-cart-table th {
    background: #BA00FF !important; color: #fff !important;
    padding: 9px 10px !important; text-align: left !important;
    font-weight: 800 !important; font-size: 12px !important;
    text-transform: uppercase !important; letter-spacing: 0.4px !important;
}
body .ssw-cart-table td { padding: 8px 10px !important; border-bottom: 1px solid #f3e0ff !important; font-weight: 600 !important; }

body .ssw-cart-totals { border-top: 2px solid #BA00FF !important; padding-top: 12px !important; }
body .ssw-cart-row { display: flex !important; justify-content: space-between !important; margin-bottom: 6px !important; font-size: 14px !important; font-weight: 700 !important; font-family: 'Nunito', sans-serif !important; }
body .ssw-cart-row--total { font-size: 19px !important; font-weight: 900 !important; color: #BA00FF !important; }
body .ssw-remove-item { background: none !important; border: none !important; color: #FFA4DC !important; cursor: pointer !important; font-size: 14px !important; font-weight: 900 !important; box-shadow: none !important; padding: 0 !important; }
body .ssw-remove-item:hover { color: #FF43AF !important; }

/* ── Tables ── */
body .ssw-table { width: 100% !important; border-collapse: collapse !important; font-size: 14px !important; font-family: 'Nunito', sans-serif !important; border-radius: 12px !important; overflow: hidden !important; }
body .ssw-table th { background: #BA00FF !important; color: #fff !important; padding: 12px 14px !important; text-align: left !important; font-weight: 800 !important; font-size: 13px !important; text-transform: uppercase !important; letter-spacing: 0.4px !important; }
body .ssw-table td { padding: 11px 14px !important; border-bottom: 1px solid #f3e0ff !important; font-weight: 600 !important; }
body .ssw-table tr:last-child td { border-bottom: none !important; }
body .ssw-table tr:nth-child(even) td { background: #fdf5ff !important; }

/* ── Status badges ── */
body .ssw-status { display: inline-block !important; padding: 4px 14px !important; border-radius: 50px !important; font-size: 12px !important; font-weight: 800 !important; font-family: 'Nunito', sans-serif !important; text-transform: uppercase !important; letter-spacing: 0.3px !important; }
body .ssw-status--pending   { background: #fff3e0 !important; color: #e65100 !important; border: 1.5px solid #ffcc80 !important; }
body .ssw-status--confirmed { background: #eafff3 !important; color: #006630 !important; border: 1.5px solid #a5d6a7 !important; }
body .ssw-status--delivered { background: #e3f2fd !important; color: #1565c0 !important; border: 1.5px solid #90caf9 !important; }
body .ssw-status--cancelled { background: #fff0f7 !important; color: #a0004a !important; border: 1.5px solid #FFA4DC !important; }

/* ── Dashboard header ── */
body .ssw-dashboard-header {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
    margin-bottom: 28px !important;
    flex-wrap: wrap !important;
    padding: 24px !important;
    background: linear-gradient(135deg, #f7e5ff 0%, #fff5fb 100%) !important;
    border-radius: 16px !important;
    border: 2px solid #e8c8f5 !important;
}
body .ssw-dashboard-header h2 { margin: 0 !important; font-size: 22px !important; }
body .ssw-company { color: #7a5a8a !important; font-size: 14px !important; margin: 0 !important; font-weight: 700 !important; }

/* ── Owner stats ── */
body .ssw-stats-grid { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(155px, 1fr)) !important; gap: 16px !important; margin: 20px 0 32px !important; }
body .ssw-stat-card { background: #fff !important; border: 2px solid #e8c8f5 !important; border-radius: 14px !important; padding: 22px 16px !important; text-align: center !important; box-shadow: 0 2px 12px rgba(186,0,255,.08) !important; transition: transform .2s !important; }
body .ssw-stat-card:hover { transform: translateY(-3px) !important; }
body .ssw-stat-card--warn { border-color: #FFAB66 !important; }
body .ssw-stat-value { display: block !important; font-size: 28px !important; font-weight: 900 !important; color: #BA00FF !important; font-family: 'Nunito', sans-serif !important; }
body .ssw-stat-card--warn .ssw-stat-value { color: #FFAB66 !important; }
body .ssw-stat-label { display: block !important; font-size: 11px !important; color: #7a5a8a !important; margin-top: 5px !important; font-weight: 800 !important; text-transform: uppercase !important; letter-spacing: 0.4px !important; }

/* ── Divider ── */
body .ssw-form-wrap hr,
body .ssw-order-wrap hr,
body .ssw-cart-panel hr {
    border: none !important;
    border-top: 2px solid #e8c8f5 !important;
    margin: 22px 0 !important;
}

/* ── Links ── */
body .ssw-form-wrap a:not(.ssw-btn),
body .ssw-order-wrap a:not(.ssw-btn),
body .ssw-dashboard a:not(.ssw-btn),
body #ssw-login-wrap a:not(.ssw-btn) {
    color: #FF43AF !important;
    font-weight: 700 !important;
}
body .ssw-form-wrap a:not(.ssw-btn):hover,
body #ssw-login-wrap a:not(.ssw-btn):hover { color: #BA00FF !important; }

/* ── Portal Nav Bar ────────────────────────────────────────────────────────── */
body .ssw-portal-nav {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 16px !important;
    margin: 0 0 32px !important;
    padding: 14px 20px !important;
    background: linear-gradient(135deg, #f7e5ff 0%, #fff5fb 100%) !important;
    border-radius: 50px !important;
    border: 2px solid #e8c8f5 !important;
    box-shadow: 0 2px 12px rgba(186,0,255,.08) !important;
}

body .ssw-nav-link,
body .ssw-nav-link:link,
body .ssw-nav-link:visited {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 13px 32px !important;
    border-radius: 50px !important;
    font-family: 'Nunito', sans-serif !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    text-decoration: none !important;
    color: #ffffff !important;
    border: 2.5px solid #BA00FF !important;
    background: #BA00FF !important;
    transition: all .2s ease !important;
    line-height: 1 !important;
    -webkit-font-smoothing: antialiased !important;
}

body .ssw-nav-link *,
body .ssw-nav-link span,
body .ssw-nav-link:hover *,
body .ssw-nav-link:hover span {
    color: #ffffff !important;
    font-weight: 900 !important;
}

body .ssw-nav-link:hover,
body .ssw-nav-link:focus {
    background: #9900dd !important;
    border-color: #9900dd !important;
    color: #ffffff !important;
    text-decoration: none !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(186,0,255,.40) !important;
}

body .ssw-nav-link.ssw-nav-active,
body .ssw-nav-link.ssw-nav-active:link,
body .ssw-nav-link.ssw-nav-active:visited {
    background: #FF43AF !important;
    color: #ffffff !important;
    border-color: #FF43AF !important;
    box-shadow: 0 4px 14px rgba(255,67,175,.35) !important;
}

body .ssw-nav-link.ssw-nav-active:hover,
body .ssw-nav-link.ssw-nav-active:focus {
    background: #e0008f !important;
    border-color: #e0008f !important;
    color: #ffffff !important;
}

@media (max-width: 480px) {
    body .ssw-portal-nav { flex-direction: column !important; gap: 10px !important; border-radius: 16px !important; }
    body .ssw-nav-link { width: 100% !important; text-align: center !important; }
}

/* ── Hide WordPress/Elementor page title on all SSW pages ── */
/* These are injected via wp_add_inline_style too, but kept here as backup */
.entry-title,
.page-title,
h1.entry-title,
h1.page-title,
.elementor-page-title,
.elementor-widget-theme-page-title,
header.entry-header,
.entry-header,
.page-header {
    display: none !important;
}

/* ── Product images on order form ────────────────────────────────────────── */
body .ssw-product-card-inner {
    display: flex !important;
    gap: 16px !important;
    align-items: flex-start !important;
}

body .ssw-product-img-wrap {
    flex-shrink: 0 !important;
    width: 90px !important;
    height: 90px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    border: 2px solid #e8c8f5 !important;
    background: #f7e5ff !important;
}

body .ssw-product-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 10px !important;
}

body .ssw-product-img-placeholder {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 36px !important;
    background: #f7e5ff !important;
}

body .ssw-product-card-body {
    flex: 1 !important;
    min-width: 0 !important;
}

@media (max-width: 480px) {
    body .ssw-product-card-inner { flex-direction: column !important; }
    body .ssw-product-img-wrap { width: 100% !important; height: 160px !important; }
}

/* ── Address management (dashboard) ──────────────────────────────────────── */
.ssw-addr-table th,
.ssw-addr-table td { vertical-align: middle !important; }

.ssw-btn--xs {
    padding: 4px 10px !important;
    font-size: 12px !important;
    border-radius: 6px !important;
    margin: 0 2px !important;
}

.ssw-btn--danger {
    background: #fff !important;
    color: #c0392b !important;
    border: 1px solid #c0392b !important;
}

.ssw-btn--danger:hover {
    background: #c0392b !important;
    color: #fff !important;
}

.ssw-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .3px;
}

.ssw-badge--green {
    background: #d4edda;
    color: #155724;
}

.ssw-notice-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 6px;
    padding: 10px 14px;
    margin-bottom: 12px;
}

.ssw-notice-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
    padding: 10px 14px;
    margin-bottom: 12px;
}
