/* ==========================================================================
   Speedy Dumpsters — Public CSS
   All plugin-specific styles. Scoped to .speedy-* classes to avoid
   conflicts with the active WordPress theme.
   ========================================================================== */

/* ---- Widget ------------------------------------------------------------ */
.speedy-widget-wrap {
    font-family: 'Inter', sans-serif;
}
.speedy-widget-card {
    background: #fff;
    border-radius: 20px;
    border: 1.5px solid rgba(0,0,0,0.07);
    box-shadow: 0 4px 24px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
    padding: 1.5rem;
    max-width: 380px;
}
.speedy-widget-label {
    display: block;
    font-size: 17px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}
.speedy-zip-input-wrap { position: relative; margin-bottom: 14px; }
.speedy-zip-input,
.speedy-zip-input-wrap input[type="text"] {
    width: 100% !important;
    border: 1.5px solid #d1d5db !important;
    border-radius: 12px !important;
    padding: 16px 50px 16px 18px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #111827 !important;
    background: #fff !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05) !important;
    transition: all 0.2s ease !important;
    outline: none !important;
    box-sizing: border-box !important;
    font-family: 'Inter', sans-serif !important;
}
.speedy-zip-input::placeholder { color: #9ca3af; font-weight: 400; }
.speedy-zip-input:hover,
.speedy-zip-input-wrap input[type="text"]:hover {
    border-color: #9ca3af !important;
    background: #fff !important;
}
.speedy-zip-input:focus,
.speedy-zip-input-wrap input[type="text"]:focus {
    border-color: #A81D33 !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px rgba(168,29,51,0.08), 0 1px 3px rgba(0,0,0,0.05) !important;
}
.speedy-zip-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #9ca3af;
    pointer-events: none;
}
.speedy-widget-error {
    display: none;
    background: #fdf2f4;
    border: 1.5px solid #fca5a5;
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 12px;
    color: #b91c1c;
    font-size: 14px;
    font-weight: 600;
}
.speedy-widget-footer {
    text-align: center;
    font-size: 12.5px;
    font-weight: 500;
    color: #9ca3af;
    margin-top: 12px;
    letter-spacing: 0.01em;
}

/* ---- Shared CTA Button ------------------------------------------------- */
.speedy-cta-btn,
.speedy-flow-wrap button,
.speedy-flow-wrap button[type="button"],
.speedy-flow-wrap button[type="submit"] {
    width: 100% !important;
    background: linear-gradient(135deg, #A81D33 0%, #801124 100%) !important;
    color: #fff !important;
    font-weight: 800 !important;
    font-size: 15px !important;
    letter-spacing: 0.04em !important;
    padding: 13px 20px !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    border: none !important;
    cursor: pointer !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 6px 20px rgba(168,29,51,0.30), 0 2px 6px rgba(168,29,51,0.18) !important;
    transition: all 0.22s cubic-bezier(.4,0,.2,1) !important;
    font-family: 'Inter', sans-serif !important;
    text-align: center !important;
    white-space: nowrap !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    user-select: none !important;
}
.speedy-cta-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.13) 0%, transparent 55%);
    pointer-events: none;
}
.speedy-cta-btn:hover,
.speedy-flow-wrap button:hover,
.speedy-flow-wrap button[type="button"]:hover,
.speedy-flow-wrap button[type="submit"]:hover {
    background: linear-gradient(135deg, #801124 0%, #801124 100%) !important;
    box-shadow: 0 10px 28px rgba(168,29,51,0.38), 0 3px 8px rgba(168,29,51,0.22) !important;
    transform: translateY(-1px);
}
.speedy-cta-btn:active { transform: translateY(0); }
.speedy-cta-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.speedy-cta-btn-lg {
    font-size: 17px !important;
    padding: 16px 24px !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 24px rgba(168,29,51,0.32), 0 2px 6px rgba(168,29,51,0.2) !important;
}
.speedy-step1-cta,
.speedy-flow-wrap button.speedy-step1-cta {
    font-size: 17px !important;
    padding: 16px 24px !important;
    border-radius: 12px !important;
    gap: 12px !important;
}
@media (min-width: 768px) {
    .speedy-step1-cta,
    .speedy-flow-wrap button.speedy-step1-cta {
        font-size: 19px !important;
        padding: 20px 24px !important;
    }
}

/* ---- Booking Flow Container -------------------------------------------- */
.speedy-flow-wrap {
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    width: 100%;
}
.speedy-step { display: none; }
.speedy-step.active { display: block; }

/* ---- Step 1: First Screen ---------------------------------------------- */
.speedy-fs-layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
@media (min-width: 768px) {
    .speedy-fs-layout { flex-direction: row; }
}
.speedy-fs-left {
    background: linear-gradient(160deg, #f4f6f8 0%, #eef0f3 100%);
    width: 100%;
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid rgba(229,231,235,0.8);
    padding: 2rem;
}
@media (min-width: 768px) {
    .speedy-fs-left {
        width: 45%;
        border-bottom: none;
        border-right: 1px solid rgba(229,231,235,0.8);
        padding: 3rem 5rem;
    }
}
.speedy-fs-left-inner {
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
}
.speedy-fs-heading {
    font-size: clamp(32px, 4vw, 50px);
    font-weight: 900;
    color: #000;
    line-height: 1.08;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}
.speedy-fs-heading span {
    background: linear-gradient(135deg, #A81D33, #801124);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.speedy-feature-list { list-style: none; padding: 0; margin: 0 0 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
.speedy-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 12px;
    backdrop-filter: blur(6px);
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    font-size: 15px;
    font-weight: 600;
    color: #111827;
}
.speedy-trust-badge {
    background: rgba(255,255,255,0.8);
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 14px;
    padding: 1rem 1.25rem;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    display: inline-flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 2rem;
}

.speedy-fs-right {
    width: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
    padding: 2rem;
}
@media (min-width: 768px) {
    .speedy-fs-right { width: 55%; padding: 3rem 5rem; }
}
.speedy-fs-right-inner {
    max-width: 550px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
}

/* Size selection grid */
.speedy-size-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 2.5rem;
}
@media (max-width: 500px) {
    .speedy-size-grid { grid-template-columns: repeat(2, 1fr); }
}
.speedy-size-card {
    border: 1.5px solid #e5e7eb;
    border-radius: 14px;
    transition: all 0.2s cubic-bezier(.4,0,.2,1);
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 16px;
    padding-bottom: 20px;
    color: #374151;
    position: relative;
    user-select: none;
}
.speedy-size-card:hover {
    border-color: #b0b5bc;
    box-shadow: 0 6px 18px rgba(0,0,0,0.10);
    transform: translateY(-2px);
}
.speedy-size-card.active {
    border: 2px solid #A81D33;
    background: linear-gradient(145deg, #fdf2f4 0%, #fff 100%);
    box-shadow: 0 8px 24px rgba(168,29,51,0.16), 0 2px 6px rgba(168,29,51,0.1);
    color: #A81D33;
}
.speedy-size-num {
    font-size: 26px;
    font-weight: 900;
    line-height: 1;
    color: inherit;
}
.speedy-size-unit {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #9ca3af;
    margin: 4px 0 10px;
}
.speedy-size-card.active .speedy-size-unit { color: #A81D33; opacity: 0.7; }
.speedy-size-card-price {
    font-size: 22px;
    font-weight: 900;
    color: #A81D33;
    margin: 8px 0 2px;
    letter-spacing: -0.02em;
}
.speedy-size-card-tons {
    font-size: 11px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.speedy-price-total {
    font-size: clamp(36px, 5vw, 48px);
    font-weight: 900;
    color: #000;
    letter-spacing: -0.03em;
    line-height: 1;
}
.speedy-size-card-popular {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #A81D33 0%, #801124 100%);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    text-align: center;
    padding: 5px 4px;
    border-radius: 0 0 12px 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.speedy-size-dumpster-icon { width: 40px; height: 28px; }

/* Secure badge */
.speedy-secure-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(22,163,74,0.06);
    border: 1px solid rgba(22,163,74,0.15);
    border-radius: 50px;
    padding: 7px 16px;
    font-size: 13px;
    color: #374151;
    font-weight: 500;
    margin-top: 1.5rem;
}

/* Zip label */
.speedy-zip-label {
    font-size: 13px;
    font-weight: 800;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 10px;
}

/* ---- Step 2: Loading --------------------------------------------------- */
.speedy-loading-wrap {
    min-height: 100vh;
    background: linear-gradient(160deg, #f8f9fa 0%, #f0f2f5 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    font-family: 'Inter', sans-serif;
}
.speedy-loading-inner {
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.speedy-map-ring {
    border-radius: 9999px;
    overflow: hidden;
    box-shadow: 0 0 0 6px rgba(168,29,51,0.08), 0 0 0 12px rgba(168,29,51,0.04), 0 12px 40px rgba(0,0,0,0.12);
    border: 3px solid rgba(255,255,255,0.9);
    width: 200px;
    height: 200px;
    margin-bottom: 2rem;
    flex-shrink: 0;
}
.speedy-map-ring img { width: 100%; height: 100%; object-fit: cover; }
.speedy-loading-heading {
    font-size: clamp(22px, 4vw, 31px);
    font-weight: 900;
    color: #111827;
    line-height: 1.3;
    margin-bottom: 2.25rem;
    letter-spacing: -0.02em;
}
.speedy-checklist { list-style: none; padding: 0; margin: 0 0 3rem; display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 280px; }
.speedy-check-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 10px;
    backdrop-filter: blur(6px);
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    opacity: 0;
}
.speedy-check-item.show {
    animation: speedy-fade-in 0.4s ease-out forwards;
}
@keyframes speedy-fade-in {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.speedy-progress-track {
    background: #e9ecef;
    border-radius: 999px;
    overflow: hidden;
    height: 8px;
    width: 100%;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.08);
}
.speedy-progress-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #A81D33 0%, #D14D66 100%);
    box-shadow: 0 0 10px rgba(168,29,51,0.5);
    width: 5%;
    transition: width 0.5s ease;
}

/* ---- Step 3: Booking Form ---------------------------------------------- */
.speedy-booking-layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
}
@media (min-width: 768px) {
    .speedy-booking-layout { flex-direction: row; }
}
.speedy-booking-left {
    background: linear-gradient(160deg, #f4f6f8 0%, #eef0f3 100%);
    width: 100%;
    border-bottom: 1px solid rgba(229,231,235,0.8);
    padding: 2rem;
}
@media (min-width: 768px) {
    .speedy-booking-left {
        width: 45%;
        border-bottom: none;
        border-right: 1px solid rgba(229,231,235,0.8);
        padding: 3rem 5rem;
    }
}
.speedy-booking-left-inner {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
}
.speedy-success-banner {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #bbf7d0;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(22,163,74,0.08);
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 2rem;
}
.speedy-price-display {
    background: linear-gradient(135deg, #15803d 0%, #166534 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: clamp(56px, 8vw, 90px);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.03em;
}
.speedy-delivery-callout {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 1px solid #a7f3d0;
    border-radius: 14px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: auto;
}

.speedy-booking-right {
    width: 100%;
    background: #fff;
    padding: 2rem;
}
@media (min-width: 768px) {
    .speedy-booking-right { width: 55%; padding: 3rem 5rem; }
}
.speedy-booking-right-inner {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
}
.speedy-form-field {
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    padding: 10px 14px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
    margin-bottom: 14px;
}
.speedy-form-field:hover { border-color: #d1d5db; box-shadow: 0 2px 6px rgba(0,0,0,0.07); }
.speedy-form-field:focus-within {
    border-color: #A81D33;
    box-shadow: 0 0 0 4px rgba(168,29,51,0.08), 0 1px 3px rgba(0,0,0,0.05);
}
.speedy-form-field label {
    display: block;
    font-size: 10.5px;
    font-weight: 800;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    margin-bottom: 2px;
    cursor: default;
}
.speedy-form-field input,
.speedy-form-field input[type="text"],
.speedy-form-field input[type="tel"],
.speedy-form-field input[type="email"],
.speedy-form-field input[type="number"],
.speedy-form-field input[type="password"],
.speedy-form-field input[type="search"],
.speedy-form-field input[type="date"],
.speedy-form-field input[type="time"],
.speedy-form-field input[type="url"],
.speedy-form-field select,
.speedy-form-field textarea {
    width: 100%;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    color: #111827;
    font-weight: 600;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    padding: 0 !important;
    box-sizing: border-box;
}

/* Stripe card element wrapper */
.speedy-card-field {
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
    margin-bottom: 14px;
}
.speedy-card-field:focus-within {
    border-color: #A81D33;
    box-shadow: 0 0 0 4px rgba(168,29,51,0.08);
}
.speedy-card-label {
    display: block;
    font-size: 10.5px;
    font-weight: 800;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    margin-bottom: 8px;
}
.speedy-stripe-error {
    color: #b91c1c;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
    display: none;
}
.speedy-trust-row {
    border-top: 1px solid #f3f4f6;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 2rem;
    padding-top: 1.5rem;
    flex-wrap: wrap;
}
.speedy-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #6b7280;
    font-weight: 600;
}

/* ---- Step 4: Confirmation ---------------------------------------------- */
.speedy-confirm-wrap {
    background: linear-gradient(160deg, #f8f9fa 0%, #f0f2f5 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    font-family: 'Inter', sans-serif;
}
.speedy-confirm-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.06);
    max-width: 850px;
    width: 100%;
    padding: 2.5rem 2rem;
}
@media (min-width: 768px) {
    .speedy-confirm-card { padding: 2.5rem; }
}
.speedy-confirm-check-icon {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    box-shadow: 0 8px 24px rgba(22,163,74,0.35), 0 2px 8px rgba(22,163,74,0.2);
    width: 72px;
    height: 72px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}
.speedy-confirm-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 16px;
}
@media (min-width: 768px) {
    .speedy-confirm-grid { flex-direction: row; }
}
.speedy-summary-card {
    border: 1.5px solid #f0f0f0;
    border-radius: 16px;
    background: #fafafa;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    padding: 20px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    box-sizing: border-box;
}
.speedy-summary-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
}
@media (min-width: 640px) {
    .speedy-summary-inner {
        grid-template-columns: 0.85fr 1.15fr;
        gap: 28px;
    }
}
.speedy-summary-img-col {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 10px;
}
.speedy-summary-img-col img {
    width: 100%;
    max-width: 280px;
    height: auto;
    object-fit: contain;
    filter: none;
    border: none;
    box-shadow: none;
}
.speedy-summary-details-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.speedy-summary-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #fdf2f4;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(168,29,51,0.1);
}
.speedy-confirm-alert {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border: 1.5px solid #bbf7d0;
    border-radius: 14px;
    color: #15803d;
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
}
.speedy-confirm-cta {
    background: linear-gradient(135deg, #A81D33 0%, #801124 100%);
    box-shadow: 0 8px 24px rgba(168,29,51,0.30), 0 2px 6px rgba(168,29,51,0.18);
    border-radius: 14px;
    width: 100%;
    color: #fff;
    font-weight: 800;
    font-size: 19px;
    padding: 16px 24px;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.22s cubic-bezier(.4,0,.2,1);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
}
.speedy-confirm-cta:hover {
    background: linear-gradient(135deg, #801124 0%, #801124 100%);
    transform: translateY(-1px);
    color: #fff;
}

/* ---- Not Available Screen ---------------------------------------------- */
.speedy-unavailable-wrap {
    background: linear-gradient(160deg, #f8f9fa 0%, #f0f2f5 100%);
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    text-align: center;
    font-family: 'Inter', sans-serif;
}
.speedy-unavailable-icon {
    width: 72px;
    height: 72px;
    background: #fff;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.10);
    margin: 0 auto 1.5rem;
    border: 2px solid #fee2e2;
}
.speedy-unavailable-title {
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 900;
    color: #111827;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}
.speedy-unavailable-sub {
    font-size: 16px;
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 2rem;
    max-width: 400px;
}

/* ---- Catalog ----------------------------------------------------------- */
.speedy-catalog-wrap {
    font-family: 'Inter', sans-serif;
    width: 100%;
}
.speedy-catalog-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    padding-top: 8px;
}
@media (min-width: 540px) {
    .speedy-catalog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .speedy-catalog-grid { grid-template-columns: repeat(4, 1fr); }
}
.speedy-catalog-card {
    border: 1.5px solid #e9ecef;
    border-radius: 18px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.04);
    transition: all 0.22s cubic-bezier(.4,0,.2,1);
    position: relative;
    text-decoration: none;
    color: inherit;
}
.speedy-catalog-card:hover {
    border-color: #ced4da;
    box-shadow: 0 10px 32px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.06);
    transform: translateY(-3px);
}
.speedy-catalog-card.popular {
    border: 2px solid #A81D33;
    background: linear-gradient(160deg, #fdf2f4 0%, #fff 100%);
    box-shadow: 0 12px 36px rgba(168,29,51,0.14), 0 3px 8px rgba(168,29,51,0.08);
}
.speedy-catalog-popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #A81D33 0%, #801124 100%);
    color: #fff;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 18px;
    border-radius: 999px;
    white-space: nowrap;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(168,29,51,0.35);
}
.speedy-catalog-img-wrap {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}
.speedy-catalog-img-wrap img {
    max-height: 100%;
    max-width: 150px;
    object-fit: contain;
    filter: none;
    border: none;
    box-shadow: none;
    transition: transform 0.3s cubic-bezier(.4,0,.2,1);
}
.speedy-catalog-card:hover .speedy-catalog-img-wrap img { transform: scale(1.07); }
.speedy-catalog-size {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -0.01em;
    color: #A81D33;
    margin-bottom: 6px;
}
.speedy-catalog-desc {
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    min-height: 40px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    line-height: 1.45;
    margin-bottom: 1.25rem;
}
.speedy-catalog-price-label {
    font-size: 11.5px;
    font-weight: 600;
    color: #9ca3af;
    letter-spacing: 0.04em;
    margin-bottom: 2px;
}
.speedy-catalog-price {
    font-size: 36px;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 4px;
    color: #111827;
}
.speedy-catalog-card.popular .speedy-catalog-price { color: #A81D33; }
.speedy-catalog-price-note {
    font-size: 12.5px;
    font-weight: 700;
    color: #374151;
}

/* ---- General helpers --------------------------------------------------- */
.speedy-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: speedy-spin 0.7s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}
@keyframes speedy-spin {
    to { transform: rotate(360deg); }
}
