body.ds-is-national tr.shipping,
body.ds-is-national tr.cfw-shipping-totals,
body.ds-is-national .cfw-totals-list tr.woocommerce-shipping-totals,
body.ds-is-national .cfw-totals-list-item--shipping {
    display: none !important;
}

/* Esconde campos originais do plugin */
#e_deliverydate_field,
#orddd_lite_time_slot_field {
    display: none !important;
}

#orddd_pickup_location, #orddd_lite_time_slot {
    margin-bottom: 1.5em
}

#orddd_lite_time_slot ul li {
    padding: 5px; margin-left: 13px
}
#orddd_lite_time_slot ul {
    margin-top: 9px;
    background: #f2f2f2;
    margin-left: 0;
    width: 100%;
    list-style: none
}

div#orddd_lite_time_slot input {
    width: 100% !important
}

#orddd_lite_time_slot label {
    text-transform: none !important
}

/* Fieldset reset */
#ds-delivery-dates {
    border: none;
    padding: 0;
    margin: 0;
}

#ds-delivery-dates legend {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
    width: 100%;
}

#ds-delivery-dates legend span.required {
    color: #e53935;
    margin-left: 2px;
}

/* Container das opções */
.ds-options-list {
    font-family: "Helvetica Neue", sans-serif;
    font-size: 14px;
    line-height: 1.5;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
}

/* Cada linha */
.ds-option-row {
    position: relative;
    border-bottom: 1px solid #e8e8e8;
}

.ds-option-row:last-child {
    border-bottom: none;
}

/* Esconde o radio nativo */
.ds-option-row input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Label estilizado como linha clicável */
.ds-option-row label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    cursor: pointer;
    background: #fff;
    transition: background 0.15s;
    gap: 12px;
}

.ds-option-row label:hover {
    background: #fafafa;
}

/* Radio visual */
.ds-radio-indicator {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #c4c4c4;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color 0.15s;
}

.ds-radio-indicator::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #016e25;
    opacity: 0;
    transform: scale(0);
    transition: all 0.15s;
}

/* Estado selecionado via :checked no input */
.ds-option-row input[type="radio"]:checked + label {
    background: #fafafa;
}

.ds-option-row:first-child {
    border-radius: 8px 8px 0 0;
}

.ds-option-row:last-child {
    border-radius: 0 0 8px 8px;
    border-bottom: none;
}

/* Row única (caso só tenha uma data disponível) */
.ds-option-row:only-child {
    border-radius: 8px;
}

.ds-option-row:has(input[type="radio"]:checked)::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid #016e25;
    border-radius: inherit;
    pointer-events: none;
    z-index: 1;
}

.ds-option-row:has(input[type="radio"]:checked) {
    box-shadow: inset 0 0 0 1px #016e25;
}

.ds-option-row input[type="radio"]:checked + label .ds-radio-indicator {
    border-color: #016e25;
}

.ds-option-row input[type="radio"]:checked + label .ds-radio-indicator::after {
    opacity: 1;
    transform: scale(1);
}

.ds-option-row input[type="radio"]:focus-visible + label {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #016e25;
}

/* Texto da data */
.ds-label-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.ds-no-dates {
    padding:16px;
    font-size:13px;
    color:#888;
}

.ds-date-text {
    color: #1a1a1a;
}

.ds-date-desc {
    display: block;
    color: rgb(91,109,99);
}

/* Horário à direita */
.ds-date-time {
    font-size: 13px;
    font-weight: 500;
    color: #555;
    white-space: nowrap;
}

.ds-date-price {
    color: #000;
}

/* Nota abaixo */
.ds-field-note {
    font-size: 12px;
    color: #757575;
    margin-top: 10px;
    display: block;
}

.ds-badge {
    display: inline-block;
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 10px;
    margin-left: 8px;
    font-weight: 600;
    vertical-align: middle;
}
.ds-badge--full   { background: #fde8e8; color: #c62828; }
.ds-badge--urgent { background: #fff3e0; color: #e65100; }

.woocommerce-info:has(.ds-weight-notice-wrapper) {
    border-top-color: #f9a825 !important;
    background-color: #fffaf0 !important;
    color: #444 !important;
    display: flex !important;
    align-items: center !important;
    padding: 1em 1em 1em 3.5em !important;
}

.woocommerce-info:has(.ds-weight-notice-wrapper)::before {
    display: none !important;
}

.ds-weight-notice-wrapper::before {
    content: "\1F4E6";
    font-size: 1.5em;
    display: inline-block;
    position: absolute;
    left: 0.8em;
}

/* POSTCODE AUTOCOMPLETE */
#postcode_suggestions {
    position: absolute;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    background-color: #fff;
    border-radius: 4px;
    z-index: 9999;
    display: none;
    max-height: 200px;
    overflow-y: auto;
    top: 55px;
    left: 5px
}

.ds-suggestion-item {
    display: flex;
    align-items: center;
    padding: 10px;
    cursor: pointer;
    background-color: transparent;
    border-bottom: 1px solid #ddd;
    transition: background-color 0.2s;
}

.ds-suggestion-item:hover {
    background-color: #f5f5f5;
}

.ds-suggestion-item.is-selected,
.ds-suggestion-item.is-selected:hover {
    background-color: #e3f2fd;
}

.ds-address-suggestion-item {
    flex-direction: column;
    gap: 5px;
}

.ds-postcode-suggestion-item {
    flex-direction: row;
    gap: 10px;
}

.ds-more-results-indicator {
    padding: 8px;
    text-align: center;
    color: #999;
    font-size: 12px;
    border-top: 1px solid #eee;
}

@keyframes ds-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.ds-loading {
    padding: 15px;
    text-align: center;
    color: #666;
}

.ds-loading span {
    display: inline-block;
    animation: ds-spin 1s linear infinite;
}

.ds-suggestion-item__desc {
    font-size: 16px;
    color: #333;
}

.ds-suggestion-item__title {
    font-size: 14px;
    color: #555;
}