.sdc-shipping-calculator {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

.sdc-step {
    animation: sdc-fadeIn 0.5s ease;
}

@keyframes sdc-fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sdc-form-group {
    margin-bottom: 20px;
}

.sdc-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.sdc-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.sdc-input:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 1px #007cba;
}

.sdc-toggle {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sdc-toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.sdc-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.sdc-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
}

.sdc-toggle-slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .sdc-toggle-slider {
    background-color: #007cba;
}

input:checked + .sdc-toggle-slider:before {
    transform: translateX(26px);
}

.sdc-button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.sdc-button-primary {
    background-color: #007cba;
    color: white;
}

.sdc-button-primary:hover {
    background-color: #005a87;
}

.sdc-button-secondary {
    background-color: #f1f1f1;
    color: #333;
}

.sdc-button-secondary:hover {
    background-color: #e1e1e1;
}

.sdc-actions {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.sdc-pricing-table {
    margin: 20px 0;
    overflow-x: auto;
}

.sdc-table-header,
.sdc-table-row {
    display: grid;
    grid-template-columns: 150px 1fr 1fr 1fr;
    border-bottom: 1px solid #eee;
}

.sdc-table-header {
    background: #f5f5f5;
    font-weight: bold;
    border-bottom: 1px solid #b7b7b7ee;
}

.sdc-cell {
    padding: 15px;
    text-align: center;
}

.sdc-size-cell {
    text-align: left;
    font-weight: 600;
}

.sdc-price {
    font-size: 18px;
    font-weight: bold;
    color: #007cba;
    margin-bottom: 8px;
}

.sdc-quantity {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.sdc-quantity button {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    font-size: 16px;
    border-radius: 4px;
}

.sdc-quantity button:hover {
    background: #f5f5f5;
}

.sdc-qty-input {
    width: 60px;
    text-align: center;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.sdc-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.sdc-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #007cba;
    border-radius: 50%;
    animation: sdc-spin 1s linear infinite;
}

@keyframes sdc-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.sdc-error-message {
    color: #dc3232;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.sdc-delivery-info {
    background: #f0f8ff;
    border-left: 4px solid #007cba;
    padding: 15px;
    margin-bottom: 20px;
}

.sdc-delivery-info h4 {
    margin: 0 0 10px 0;
    color: #007cba;
}

.sdc-delivery-info p {
    margin: 0;
    font-size: 14px;
}

.required {
    color: #dc3232;
    margin-left: 3px;
}



@media (max-width: 768px) {
    .sdc-table-header,
    .sdc-table-row {
        grid-template-columns: 120px 1fr 1fr 1fr;
    }
    
    .sdc-cell {
        padding: 10px;
    }
    
    .sdc-price {
        font-size: 14px;
    }
    
    .sdc-quantity button {
        width: 25px;
        height: 25px;
    }
    
    .sdc-qty-input {
        width: 40px;
    }
}

/* Location Info Styles */
.sdc-locations-info {
    margin-bottom: 30px;
    background: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
}

.sdc-locations-info h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    font-size: 18px;
}

.sdc-locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
    display: none;
}

.sdc-location-card {
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border-left: 4px solid #007cba;
}

.sdc-location-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.sdc-location-rank {
    font-size: 20px;
    margin-bottom: 10px;
    color: #ffa500;
}

.sdc-location-name {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.sdc-location-details {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.sdc-location-zip,
.sdc-location-state {
    display: inline-block;
}

.sdc-location-distance {
    font-size: 14px;
    color: #007cba;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #eee;
}

.sdc-location-distance strong {
    font-size: 16px;
    color: #007cba;
}

.sdc-pricing-note {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 12px;
    border-radius: 4px;
    margin-top: 15px;
}

.sdc-pricing-note p {
    margin: 0;
    font-size: 13px;
    color: #856404;
}

/* Price Tooltip */
.sdc-price-tooltip {
    position: relative;
    display: inline-block;
    margin-left: 8px;
    cursor: help;
}

.sdc-tooltip-icon {
    font-size: 12px;
    color: #007cba;
    cursor: pointer;
}

.sdc-tooltip-content {
    display: none;
    position: absolute;
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 11px;
    white-space: nowrap;
    z-index: 1000;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 5px;
}

.sdc-tooltip-content::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.sdc-price-location {
    font-size: 10px;
    color: #666;
    margin-top: 3px;
    display: none;
}

.sdc-price-distance {
    font-size: 9px;
    color: #999;
    margin-bottom: 5px;
}

.sdc-price-breakdown {
    font-size: 9px;
    color: #666;
    margin-top: 5px;
    display: none;
}

.sdc-cell:hover .sdc-price-breakdown {
    display: block;
}

.sdc-na {
    color: #999;
    font-style: italic;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .sdc-locations-grid {
        grid-template-columns: 1fr;
    }
    
    .sdc-location-card {
        margin-bottom: 10px;
    }
    
    .sdc-tooltip-content {
        white-space: normal;
        width: 200px;
        left: auto;
        right: 0;
        transform: none;
    }
    
    .sdc-price-location,
    .sdc-price-distance {
        font-size: 9px;
    }
}

/* Delivery breakdown */
.sdc-delivery-breakdown {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e0e0e0;
}

.sdc-delivery-breakdown p {
    font-size: 12px;
    color: #666;
    margin: 0;
}


/* Delivery Info Styles */
.sdc-delivery-info {
    background: #e8f5e9;
    border-left: 4px solid #4caf50;
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 8px;
}

.sdc-delivery-info h4 {
    margin: 0 0 10px 0;
    color: #2e7d32;
    font-size: 18px;
}

.sdc-delivery-breakdown {
    margin-top: 15px;
    background: #fff;
    padding: 15px;
    border-radius: 6px;
}

.sdc-breakdown-list {
    margin: 10px 0 0 20px;
    padding: 0;
}

.sdc-breakdown-list li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.sdc-note {
    background: #fff9c4;
    padding: 10px;
    border-radius: 4px;
    margin-top: 10px;
    font-size: 13px;
    color: #f57c00;
}

.sdc-pickup-info {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    padding: 15px;
    margin-bottom: 25px;
    border-radius: 8px;
}

.sdc-pickup-info h4 {
    margin: 0 0 5px 0;
    color: #1976d2;
}

.sdc-pickup-info p {
    margin: 0;
    color: #555;
}

.sdc-price-label {
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 3px;
    display: none
}

.sdc-price-location {
    font-size: 10px;
    color: #666;
    margin-top: 3px;
}

.sdc-price-distance {
    font-size: 9px;
    color: #999;
    margin-bottom: 5px;
}

.sdc-price-breakdown {
    font-size: 10px;
    color: #666;
    margin-top: 8px;
    padding-top: 5px;
    border-top: 1px solid #eee;
    display: none;
    text-align: left;
    background: #f9f9f9;
    padding: 8px;
    border-radius: 4px;
}

.sdc-cell:hover .sdc-price-breakdown {
    display: block;
    position: absolute;
    z-index: 100;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    min-width: 180px;
}

.sdc-cell {
    position: relative;
}

.sdc-na {
    color: #999;
    font-style: italic;
    font-size: 13px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .sdc-breakdown-list li {
        font-size: 12px;
    }
    
    .sdc-delivery-info,
    .sdc-pickup-info {
        padding: 12px;
    }
    
    .sdc-price-breakdown {
        font-size: 9px;
    }
    
    .sdc-cell:hover .sdc-price-breakdown {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 280px;
    }
}


/* Call for Quote Styles */
.sdc-call-link {
    display: inline-block;
    background: #ff6b35;
    color: white;
    padding: 8px 15px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-bottom: 5px;
    margin-top: 30px;
}

.sdc-call-link:hover {
    background: #e55a2b;
    transform: scale(1.05);
    color: white;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.sdc-call-number {
    font-size: 11px;
    color: #999;
    margin-top: 3px;
}

.sdc-na {
    color: #999;
    font-style: normal;
    text-align: center;
}

/* Mobile adjustments for call link */
@media (max-width: 768px) {
    .sdc-call-link {
        padding: 6px 12px;
        font-size: 11px;
    }
    
    .sdc-call-number {
        font-size: 9px;
    }
}

/* Thank You Message Styles */
.sdc-thankyou-message {
    text-align: center;
    padding: 40px 20px;
    background: #f9f9f9;
    border-radius: 10px;
    animation: sdc-fadeIn 0.5s ease;
}

.sdc-thankyou-icon {
    width: 80px;
    height: 80px;
    background: #4caf50;
    color: white;
    font-size: 50px;
    line-height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: sdc-bounce 0.5s ease;
}

@keyframes sdc-bounce {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.sdc-thankyou-message h2 {
    color: #333;
    margin-bottom: 15px;
}

.sdc-thankyou-message p {
    color: #666;
    margin-bottom: 25px;
    font-size: 16px;
}

.sdc-thankyou-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.sdc-thankyou-actions .sdc-button {
    min-width: 180px;
}

@media (max-width: 768px) {
    .sdc-thankyou-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .sdc-thankyou-actions .sdc-button {
        width: 100%;
        max-width: 250px;
    }
}


/* Step 4 Delivery Form Styles */
.sdc-form-section {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    border: 1px solid #e0e0e0;
}

.sdc-form-section h4 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #007cba;
    font-size: 18px;
    border-bottom: 2px solid #007cba;
    padding-bottom: 8px;
    display: inline-block;
}

.sdc-radio-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.sdc-radio-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    font-weight: normal;
}

.sdc-radio-label input[type="radio"] {
    margin-top: 2px;
}

.sdc-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-weight: normal;
}

.sdc-checkbox-label input[type="checkbox"] {
    margin-top: 3px;
}

.sdc-help-text {
    font-size: 13px;
    color: #666;
    margin-top: -5px;
    margin-bottom: 10px;
}

.sdc-has-error .sdc-radio-group {
    border-left: 3px solid #dc3232;
    padding-left: 10px;
}

.sdc-error {
    border-color: #dc3232 !important;
    background-color: #fff9f9;
}

.sdc-delivery-thankyou {
    max-width: 600px;
    margin: 0 auto;
}

.sdc-delivery-thankyou p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.sdc-thankyou-signature {
    font-style: italic;
    margin-top: 20px;
    color: #007cba;
}

.sdc-redirect-note {
    font-size: 13px;
    color: #666;
    margin-top: 20px;
}

/* Progress line for step 4 */
.sdc-progress-line-3 {
    flex: 1;
    height: 3px;
    background: #e0e0e0;
    margin: 0 10px;
    position: relative;
    top: -20px;
    transition: background 0.3s ease;
}

.sdc-progress-line-3.active {
    background: #4caf50;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .sdc-form-section {
        padding: 15px;
    }
    
    .sdc-radio-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .sdc-radio-label {
        align-items: center;
    }
}


/* Container Gallery Styles - Simple Images Only */
.sdc-container-gallery {
    margin: 20px 0 30px;
}

.sdc-gallery-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.sdc-gallery-item {
    flex: 1;
    min-width: 120px;
    max-width: 160px;
}

.sdc-gallery-item img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
}

.sdc-gallery-item img:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .sdc-gallery-row {
        gap: 10px;
    }
    
    .sdc-gallery-item {
        min-width: 100px;
        max-width: 130px;
    }
    
    .sdc-gallery-item img {
        height: 80px;
    }
}

@media (max-width: 580px) {
    .sdc-gallery-item {
        min-width: calc(33.33% - 10px);
        max-width: calc(33.33% - 10px);
    }
}

@media (max-width: 480px) {
    .sdc-gallery-item {
        min-width: calc(50% - 10px);
        max-width: calc(50% - 10px);
    }
}


.sdc-price-note {
    font-size: 9px;
    color: #f57c00;
    margin-top: 3px;
    font-style: italic;
}


/* Simple vertical dividers - no icons */
.sdc-table-header .sdc-cell:nth-child(2),
.sdc-table-row .sdc-cell:nth-child(2) {
    border-right: 1px solid #b7b7b7ee;
    /* box-shadow: 1px 1px 1px #ccc; */
}

.sdc-table-header .sdc-cell:nth-child(3),
.sdc-table-row .sdc-cell:nth-child(3) {
    border-right: 1px solid #b7b7b7ee;
}

/* Remove the right border from the last column */
.sdc-table-header .sdc-cell:last-child,
.sdc-table-row .sdc-cell:last-child {
    border-right: none;
}

/* Adjust cell padding */
.sdc-cell {
    padding: 15px;
    text-align: center;
}

.sdc-size-cell {
    text-align: left;
    border-right: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .sdc-cell {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .sdc-table-header .sdc-cell:nth-child(2),
    .sdc-table-row .sdc-cell:nth-child(2),
    .sdc-table-header .sdc-cell:nth-child(3),
    .sdc-table-row .sdc-cell:nth-child(3) {
        border-right: 1px solid #b7b7b7ee;
    }
}


/* Quantity UI - Smaller Version */
.sdc-quantity {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3px;
}

.sdc-quantity button {
    width: 24px;
    height: 24px;
    border: 1px solid #ccc;
    background: #f8f8f8;
    cursor: pointer;
    font-size: 14px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sdc-quantity button:hover {
    background: #ddd;
}

.sdc-qty-input {
    width: 45px;
    text-align: center;
    padding: 4px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
}

/* Even smaller on mobile */
@media (max-width: 768px) {
    .sdc-quantity button {
        width: 22px;
        height: 22px;
        font-size: 12px;
    }
    
    .sdc-qty-input {
        width: 40px;
        padding: 3px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .sdc-quantity button {
        width: 20px;
        height: 20px;
        font-size: 11px;
    }
    
    .sdc-qty-input {
        width: 35px;
        padding: 2px;
        font-size: 11px;
    }
}

/* Delivery Toggle Styles - Centered with better visual feedback */
.sdc-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 15px 0;
    flex-direction: row-reverse;
}

.sdc-toggle-switch {
    position: relative;
    display: inline-block;
    width: 70px;
    height: 38px;
}

.sdc-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.sdc-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 38px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.sdc-toggle-slider:before {
    position: absolute;
    content: "";
    height: 30px;
    width: 30px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

input:checked + .sdc-toggle-slider {
    background-color: #4caf50;
}

input:not(:checked) + .sdc-toggle-slider {
    background-color: #ff9800;
}

input:checked + .sdc-toggle-slider:before {
    transform: translateX(32px);
}

/* Toggle Labels */
#sdc-delivery-label,
#sdc-pickup-label {
    font-size: 16px;
    font-weight: 600;
    transition: color 0.3s ease;
    cursor: pointer;
    padding: 5px 0;
}

/* Self Pickup on the left - now active when toggle is OFF */
#sdc-pickup-label {
    color: #007cba;
}

#sdc-delivery-label {
    color: #999;
}

/* Hover effects for labels */
#sdc-delivery-label:hover,
#sdc-pickup-label:hover {
    opacity: 0.8;
}

/* Focus ring for accessibility */
.sdc-toggle-switch input:focus + .sdc-toggle-slider {
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.3);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .sdc-toggle {
        gap: 15px;
    }
    
    .sdc-toggle-switch {
        width: 60px;
        height: 34px;
    }
    
    .sdc-toggle-slider:before {
        height: 26px;
        width: 26px;
        left: 4px;
        bottom: 4px;
    }
    
    input:checked + .sdc-toggle-slider:before {
        transform: translateX(26px);
    }
    
    #sdc-delivery-label,
    #sdc-pickup-label {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .sdc-toggle {
        gap: 10px;
        flex-wrap: wrap;
        flex-direction: row;
    }
    
    .sdc-toggle-switch {
        order: 1;
    }
    
    #sdc-pickup-label {
        order: 0;
    }
    
    #sdc-delivery-label {
        order: 2;
    }
}

/* Update grid layout - Container Type column wider */
.sdc-table-header,
.sdc-table-row {
    display: grid;
    grid-template-columns: 220px 1fr 1fr 1fr;
    border-bottom: 1px solid #b7b7b7ee;
    align-items: center;
}

/* Add right border to Container Type column */
.sdc-size-cell {
    text-align: left;
    font-weight: 600;
    border-right: 1px solid #b7b7b7ee;
}

/* Adjust cell padding */
.sdc-cell {
    padding: 15px;
    text-align: center;
    height: 100%;
    /* padding-top: 50px; */
}

.sdc-size-cell {
    text-align: left;
    padding-right: 15px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .sdc-table-header,
    .sdc-table-row {
        grid-template-columns: 180px 1fr 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .sdc-table-header,
    .sdc-table-row {
        grid-template-columns: 140px 1fr 1fr 1fr;
    }
    
    .sdc-cell {
        padding: 10px;
    }
}

@media (max-width: 580px) {
    .sdc-table-header,
    .sdc-table-row {
        grid-template-columns: 120px 1fr 1fr 1fr;
    }
}

/* Fallback price style (out of stock - using alternative source) */
.sdc-price-fallback {
    color: green !important;
}

.sdc-price-fallback:hover {
    color: green !important;
}


/* Form Row Layout */
.sdc-form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.sdc-form-row .sdc-form-group {
    margin-bottom: 0;
    flex: 1;
}

.sdc-half {
    flex: 0 0 calc(50% - 10px);
}

.sdc-quarter {
    flex: 0 0 calc(25% - 15px);
}

@media (max-width: 768px) {
    .sdc-half, .sdc-quarter {
        flex: 0 0 100%;
    }
    
    .sdc-form-row {
        gap: 15px;
    }
}

/* City Select Dropdown */
#sdc-city {
    cursor: pointer;
}

#sdc-city:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

/* Readonly fields styling */
.sdc-input[readonly] {
    background-color: #f5f5f5;
    cursor: default;
}

/* Add to shipping-calculator.css */
.sdc-step {
    min-height: 400px;
}

.sdc-step:target,
.sdc-step.active {
    scroll-margin-top: 20px;
}


/* California Rate Indicator */
.sdc-ca-note {
    font-size: 10px;
    color: #ff6b35;
    margin-top: 5px;
    padding-top: 5px;
    border-top: 1px solid #ffe0b2;
    font-weight: bold;
}

/* California location card styling */
.sdc-location-card.sdc-ca-location {
    border-left-color: #ff6b35;
    background: linear-gradient(135deg, #fff8f0 0%, #ffffff 100%);
}

.sdc-location-card.sdc-ca-location .sdc-location-name::after {
    content: " 🌴";
    font-size: 14px;
}

/* California Rate Styles */
.sdc-ca-badge {
    display: inline-block;
    background: #ff6b35;
    color: white;
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 12px;
    margin-left: 5px;
    font-weight: bold;
}

.sdc-ca-note {
    font-size: 10px;
    color: #ff6b35;
    margin-top: 6px;
    padding-top: 5px;
    border-top: 1px solid #ffe0b2;
    font-weight: bold;
}

.sdc-shipping-detail {
    font-size: 9px;
    color: #666;
    margin-left: 10px;
}

/* Location card CA styling */
.sdc-location-card.ca-location {
    border-left-color: #ff6b35;
    background: linear-gradient(135deg, #fff8f0 0%, #ffffff 100%);
}

.sdc-price-location {
    font-size: 10px;
    color: #666;
    margin-top: 3px;
}

.sdc-price-distance {
    font-size: 9px;
    color: #999;
    margin-bottom: 5px;
}

/* Help text styling */
.sdc-help-text {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    margin-bottom: 0;
    font-style: italic;
}

/* Style for the address input field */
#sdc-address {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

#sdc-address:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 1px #007cba;
}


.sdc-popup-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0,0,0,0.5) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 999999 !important;
}

.sdc-popup-content {
    background: white !important;
    border-radius: 12px !important;
    max-width: 500px !important;
    width: 90% !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2) !important;
}

.sdc-cell.sdc-size-cell {
    color: #000;
}


.sdc-cell {
    color: #3e3e3e;
}


form.checkout.woocommerce-checkout strong.product-quantity {
    display: none;
}

form.checkout.woocommerce-checkout dl.variation {
    display: none;
}

/* City Selector for Self Pickup */
.sdc-city-selector-title {
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: #4a5568;
    margin: 15px 0 5px;
}

.sdc-city-selector {
    display: flex;
    gap: 12px;
    margin: 10px 0 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.sdc-city-btn {
    padding: 10px 20px;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    color: #4a5568;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none !important;
}

.sdc-city-btn:hover {
    border-color: #cbd5e1;
    color: #1e293b;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
}

.sdc-city-btn.active {
    background: linear-gradient(135deg, #007cba, #005a87);
    border-color: #007cba;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 124, 186, 0.25);
}

.sdc-city-btn.active:hover {
    box-shadow: 0 6px 16px rgba(0, 124, 186, 0.35);
}