.digicatering-pro-wrapper {
    --dc-bg-color: #ffffff;
    --dc-surface-color: #f8f9fa;
    --dc-border-color: #000000;
    --dc-text-main: #212529;
    --dc-text-muted: #6c757d;
    --dc-danger: #dc3545;
    --dc-success: #198754;
    --dc-radius: 12px;
    --dc-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    --dc-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.1);
    --dc-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--dc-text-main);
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
    box-sizing: border-box;
}

.digicatering-pro-wrapper * {
    box-sizing: border-box;
}

.dc-wizard-container {
    background: var(--dc-bg-color);
    border-radius: var(--dc-radius);
    box-shadow: var(--dc-shadow);
    padding: 40px;
    overflow: hidden;
}

.dc-progress-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.dc-step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    opacity: 0.5;
    transition: var(--dc-transition);
}

.dc-step-indicator.active,
.dc-step-indicator.completed {
    opacity: 1;
}

.dc-step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--dc-surface-color);
    color: var(--dc-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    border: 2px solid var(--dc-border-color);
    margin-bottom: 10px;
    transition: var(--dc-transition);
}

.dc-step-indicator.active .dc-step-num {
    background: var(--dc-primary);
    color: #fff;
    border-color: var(--dc-primary);
    box-shadow: 0 0 0 4px rgba(0,0,0,0.05);
}

.dc-step-indicator.completed .dc-step-num {
    background: var(--dc-primary);
    color: #fff;
    border-color: var(--dc-primary);
}

.dc-step-label {
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    color: var(--dc-text-main);
}

.dc-step-line {
    flex-grow: 1;
    height: 2px;
    background: var(--dc-border-color);
    margin: 0 15px;
    position: relative;
    top: -15px;
    z-index: 1;
    transition: var(--dc-transition);
}

.dc-step-indicator.completed + .dc-step-line {
    background: var(--dc-primary);
}

.dc-step-content {
    display: none;
    animation: dcFadeIn 0.5s ease forwards;
}

.dc-step-content.active {
    display: block;
}

@keyframes dcFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.digicatering-pro-wrapper .dc-step-title {
    font-size: 28px;
    margin: 0 0 10px 0;
    font-weight: 700;
    color: #000000 !important;
}

.digicatering-pro-wrapper .dc-step-desc {
    font-size: 15px;
    color: #000000 !important;
    margin: 0 0 30px 0;
}

.dc-menu-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.dc-categories-nav {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: thin;
    scrollbar-color: var(--dc-border-color) transparent;
}

.dc-categories-nav::-webkit-scrollbar {
    height: 6px;
}

.dc-categories-nav::-webkit-scrollbar-thumb {
    background-color: var(--dc-border-color);
    border-radius: 10px;
}

.dc-cat-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border: 1px solid var(--dc-border-color);
    background: var(--dc-surface-color);
    border-radius: 30px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: var(--dc-text-main);
    transition: var(--dc-transition);
    white-space: nowrap;
    outline: none;
}

.dc-cat-btn:hover {
    background: #fff;
    border-color: var(--dc-primary);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.dc-cat-btn.active {
    background: var(--dc-primary);
    color: #fff;
    border-color: var(--dc-primary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.dc-cat-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.dc-category-section {
    display: none;
}

.dc-category-section.active {
    display: block;
    animation: dcFadeIn 0.4s ease;
}

.dc-category-header {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--dc-surface-color);
}

.digicatering-pro-wrapper .dc-cat-title {
    font-size: 22px;
    margin: 0 0 5px 0;
    color: #000000 !important;
}

.digicatering-pro-wrapper .dc-cat-desc {
    margin: 0;
    font-size: 14px;
    color: #000000 !important;
}

.dc-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.dc-product-card {
    cursor: pointer;
    display: block;
    position: relative;
}

.dc-product-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.dc-product-card-inner {
    background: #fff;
    border: 2px solid var(--dc-border-color);
    border-radius: var(--dc-radius);
    overflow: hidden;
    transition: var(--dc-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.dc-product-card:hover .dc-product-card-inner {
    transform: translateY(-5px);
    box-shadow: var(--dc-shadow-hover);
    border-color: #d1d5db;
}

.dc-product-checkbox:checked ~ .dc-product-card-inner {
    border-color: var(--dc-primary);
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05);
}

.dc-product-image {
    width: 100%;
    height: 180px;
    background: var(--dc-surface-color);
    position: relative;
    overflow: hidden;
    display: none;
}

.dc-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: none;
}

.dc-product-card:hover .dc-product-image img {
    transform: scale(1.05);
}

.dc-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ced4da;
    display: none;
}

.dc-no-image .dashicons {
    font-size: 48px;
    width: 48px;
    height: 48px;
    display: none;
}

.dc-checkbox-indicator {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    background: #fff;
    border: 2px solid var(--dc-border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--dc-transition);
    z-index: 2;
}

.dc-checkbox-indicator svg {
    width: 18px;
    height: 18px;
    fill: #fff;
    opacity: 0;
    transform: scale(0.5);
    transition: var(--dc-transition);
}

.dc-product-checkbox:checked ~ .dc-product-card-inner .dc-checkbox-indicator {
    background: var(--dc-primary);
    border-color: var(--dc-primary);
}

.dc-product-checkbox:checked ~ .dc-product-card-inner .dc-checkbox-indicator svg {
    opacity: 1;
    transform: scale(1);
}

.dc-product-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.digicatering-pro-wrapper .dc-product-title {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: #000000 !important;
}

.digicatering-pro-wrapper .dc-product-desc {
    margin: 0 0 15px 0;
    font-size: 13px;
    color: #000000 !important;
    line-height: 1.5;
    flex-grow: 1;
}

.dc-product-price {
    display: inline-block;
    font-size: 18px;
    font-weight: 800;
    color: var(--dc-primary);
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px dashed var(--dc-border-color);
}

.dc-no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    background: var(--dc-surface-color);
    border-radius: var(--dc-radius);
    color: var(--dc-text-muted);
    font-style: italic;
}

.dc-step-actions {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--dc-border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dc-actions-split {
    justify-content: space-between;
}

.digicatering-pro-wrapper .dc-selection-summary {
    font-size: 15px;
    color: #000000 !important;
}

.dc-selection-summary strong {
    color: var(--dc-primary);
    font-size: 18px;
    background: var(--dc-surface-color);
    padding: 4px 12px;
    border-radius: 20px;
    margin-left: 5px;
}

.dc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--dc-transition);
    border: none;
    outline: none;
    text-decoration: none;
}

.dc-btn-next,
.dc-btn-submit {
    background: var(--dc-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.dc-btn-next:hover,
.dc-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    background: #000; 
    opacity: 0.9;
}

.dc-btn-prev {
    background: var(--dc-surface-color);
    color: var(--dc-text-main);
    border: 1px solid var(--dc-border-color);
}

.dc-btn-prev:hover {
    background: var(--dc-border-color);
}

.dc-form-layout {
    max-width: 800px;
    margin: 0 auto;
}

.dc-form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.dc-form-row.dc-col-2 > .dc-form-group {
    flex: 1;
    min-width: calc(50% - 10px);
}

.dc-form-group {
    flex: 1;
    min-width: 100%;
    display: flex;
    flex-direction: column;
}

.digicatering-pro-wrapper .dc-form-group label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #000000 !important;
}

.dc-req {
    color: var(--dc-danger);
    margin-left: 3px;
}

.digicatering-pro-wrapper .dc-input {
    width: 100%;
    padding: 14px 18px;
    font-size: 15px;
    border: 2px solid var(--dc-border-color);
    border-radius: 8px;
    background: #fff;
    color: #000000 !important;
    transition: var(--dc-transition);
    font-family: inherit;
}

.digicatering-pro-wrapper .dc-input:focus {
    outline: none;
    border-color: var(--dc-primary);
    box-shadow: 0 0 0 4px rgba(0,0,0,0.05);
}

.dc-textarea {
    resize: vertical;
    min-height: 100px;
}

.dc-estimation-box {
    margin-top: 30px;
    padding: 25px;
    background: #f4fafe;
    border: 1px solid #bce2f9;
    border-radius: var(--dc-radius);
    text-align: center;
    animation: dcFadeIn 0.5s ease;
}

.digicatering-pro-wrapper .dc-estimation-box h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #000000 !important;
}

.dc-price-display {
    font-size: 36px;
    font-weight: 800;
    color: var(--dc-primary);
    line-height: 1;
    margin-bottom: 10px;
}

.dc-currency {
    font-size: 24px;
    font-weight: 600;
}

.dc-price-disclaimer {
    margin: 0;
    font-size: 12px;
    color: var(--dc-text-muted);
    font-style: italic;
}

.dc-review-box {
    margin-top: 30px;
    padding: 25px;
    background: var(--dc-surface-color);
    border-radius: var(--dc-radius);
    border: 1px solid var(--dc-border-color);
}

.digicatering-pro-wrapper .dc-review-box h4 {
    margin: 0 0 15px 0;
    font-size: 18px;
    border-bottom: 2px solid var(--dc-border-color);
    padding-bottom: 10px;
    color: #000000 !important;
}

#dc-review-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#dc-review-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed var(--dc-border-color);
    font-size: 14px;
}

#dc-review-list li:last-child {
    border-bottom: none;
}

.digicatering-pro-wrapper .dc-review-cat {
    color: #000000 !important;
    font-size: 12px;
    display: block;
    margin-bottom: 3px;
}

.digicatering-pro-wrapper .dc-review-name {
    font-weight: 600;
    color: #000000 !important;
}

.dc-review-price {
    font-weight: 700;
    color: var(--dc-primary);
}

.dc-loader {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: dcSpin 1s ease-in-out infinite;
    display: inline-block;
}

@keyframes dcSpin {
    to { transform: rotate(360deg); }
}

#dc-form-message {
    margin-top: 25px;
    padding: 15px 20px;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
}

#dc-form-message.success {
    background: #eef9eb;
    color: var(--dc-success);
    border: 1px solid #c3e5bc;
}

#dc-form-message.error {
    background: #fdf3f4;
    color: var(--dc-danger);
    border: 1px solid #f4cdd1;
}

@media (max-width: 768px) {
    .dc-wizard-container {
        padding: 20px;
    }
    
    .dc-progress-header {
        margin-bottom: 30px;
    }

    .dc-step-label {
        font-size: 12px;
    }

    .dc-step-num {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .dc-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
    }
    
    .dc-form-row.dc-col-2 > .dc-form-group {
        min-width: 100%;
    }
    
    .dc-step-actions {
        flex-direction: column-reverse;
        gap: 15px;
    }
    
    .dc-btn {
        width: 100%;
    }
    
    .digicatering-pro-wrapper .dc-selection-summary {
        margin-top: 15px;
        text-align: center;
    }
}
/* ===================================================================
   Phase 2 additions — sections, quantity, utensils, delivery, totals
   =================================================================== */

/* Section (sub-category) blocks inside a category */
.dc-section-block {
    margin-top: 26px;
}
.dc-section-header {
    margin: 0 0 14px 0;
    padding-bottom: 8px;
    border-bottom: 1px dashed var(--dc-border-color, #e5e7eb);
}
.dc-section-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}
.dc-section-desc {
    margin: 4px 0 0 0;
    font-size: 13px;
    opacity: 0.8;
}

/* Product cell wraps the selectable card plus its quantity control */
.dc-product-cell {
    display: flex;
    flex-direction: column;
}

/* Quantity control (appears when a product is selected) */
.dc-qty-control {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 8px;
    padding: 8px 10px;
    background: #fff;
    border: 2px solid var(--dc-primary, #0073aa);
    border-top: none;
    border-radius: 0 0 var(--dc-radius, 10px) var(--dc-radius, 10px);
    animation: dcQtyIn 0.15s ease;
}
@keyframes dcQtyIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}
.dc-qty-label {
    font-size: 13px;
    font-weight: 600;
}
.dc-qty-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--dc-border-color, #d1d5db);
    border-radius: 8px;
    overflow: hidden;
}
.dc-qty-btn {
    width: 30px;
    height: 32px;
    border: none;
    background: #f3f4f6;
    color: #111;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease;
}
.dc-qty-btn:hover {
    background: var(--dc-primary, #0073aa);
    color: #fff;
}
.dc-qty-input {
    width: 46px;
    height: 32px;
    border: none;
    border-left: 1px solid var(--dc-border-color, #d1d5db);
    border-right: 1px solid var(--dc-border-color, #d1d5db);
    text-align: center;
    font-size: 14px;
    -moz-appearance: textfield;
}
.dc-qty-input::-webkit-outer-spin-button,
.dc-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Utensils box on Event Details */
.dc-utensils-box {
    margin-top: 22px;
    padding: 18px 20px;
    background: #fafafa;
    border: 1px solid var(--dc-border-color, #e5e7eb);
    border-radius: var(--dc-radius, 10px);
}
.dc-utensils-box h4 {
    margin: 0 0 12px 0;
    font-size: 16px;
}
.dc-utensils-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.dc-utensils-opt {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid var(--dc-border-color, #e5e7eb);
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}
.dc-utensils-opt:hover {
    border-color: var(--dc-primary, #0073aa);
}
.dc-utensils-radio:checked ~ span {
    font-weight: 700;
}
.dc-utensils-opt:has(.dc-utensils-radio:checked) {
    border-color: var(--dc-primary, #0073aa);
    background: rgba(0, 115, 170, 0.05);
}

/* Delivery info box (all steps) */
.dc-delivery-box {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 22px 0 0 0;
    padding: 14px 18px;
    background: #f0f9f4;
    border: 1px solid #c3e5cf;
    border-left: 4px solid #34a853;
    border-radius: 8px;
}
.dc-delivery-paid {
    background: #fff7ed;
    border-color: #fed7aa;
    border-left-color: #ea8a2e;
}
.dc-delivery-icon {
    flex: 0 0 auto;
    display: inline-flex;
    color: #34a853;
}
.dc-delivery-paid .dc-delivery-icon {
    color: #ea8a2e;
}
.dc-delivery-text {
    font-size: 14px;
    font-weight: 600;
}

/* Price estimation breakdown lines */
.dc-price-lines {
    margin: 4px 0 10px 0;
}
.dc-price-line {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    padding: 3px 0;
    opacity: 0.9;
}

/* Step 3 review: quantity + totals */
.dc-review-item-main {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}
.dc-review-qty {
    font-size: 13px;
    font-weight: 700;
    opacity: 0.75;
}
.dc-review-totals {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--dc-border-color, #e5e7eb);
}
.dc-total-line {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    padding: 4px 0;
}
.dc-total-line.dc-total-grand {
    margin-top: 6px;
    padding-top: 10px;
    border-top: 1px solid var(--dc-border-color, #e5e7eb);
    font-size: 20px;
    font-weight: 800;
    color: var(--dc-primary, #0073aa);
}
