.construction-calculator-plugin {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    padding: 40px 20px;
}

/* Loading dots animation */
.loading-dots::after {
    content: '';
    animation: loadingDots 1.2s infinite;
}

@keyframes loadingDots {
    0% { content: '.'; }
    25% { content: '..'; }
    50% { content: '...'; }
    75% { content: '..'; }
    100% { content: '.'; }
}

/* Spinning hourglass animation */
.spin-icon {
    display: inline-block;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Tool button wrapper for tooltips */
.tool-btn-wrapper {
    position: relative;
    display: inline-block;
}

.tool-btn-wrapper .tool-btn {
    width: 100%;
}

.tool-btn-wrapper .tool-btn.disabled {
    background-color: #cccccc !important;
    color: #666666 !important;
    cursor: not-allowed;
    opacity: 0.6;
    border-color: #bbbbbb !important;
}

.tool-btn-wrapper .tool-btn.disabled:hover {
    background-color: #cccccc !important;
    color: #666666 !important;
}

/* Tooltip styling */
.tool-tooltip {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    white-space: nowrap;
    z-index: 100;
    margin-bottom: 8px;
    transition: opacity 0.2s, visibility 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.tool-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #333;
}

.tool-btn-wrapper:hover .tool-tooltip {
    visibility: visible;
    opacity: 1;
}

/* Only show tooltip on disabled buttons */
.tool-btn-wrapper:not(.show-tooltip) .tool-tooltip {
    display: none;
}

.tool-btn-wrapper.show-tooltip .tool-tooltip {
    display: block;
}

.construction-calculator-plugin * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.construction-calculator-plugin .calculator-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.construction-calculator-plugin .calculator {
    width: 66.66%;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 16px;
    border: 2px solid transparent;
}

.construction-calculator-plugin .section {
    background-color: #ffffff;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 12px;
    border-bottom: 1px solid #e8e8e8;
    padding-bottom: 40px;
    position: relative;
}

.construction-calculator-plugin .error-message {
    color: #d32f2f;
    font-size: 14px;
    font-weight: 600;
    margin-top: 15px;
    padding: 10px 15px;
    background-color: #ffebee;
    border-left: 4px solid #d32f2f;
    border-radius: 4px;
    display: none;
}

.construction-calculator-plugin .section.has-error .error-message {
    display: block;
}

.construction-calculator-plugin .section:last-of-type {
    border-bottom: none;
}

.construction-calculator-plugin .section-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.construction-calculator-plugin .subsection-divider {
    border-top: 1px solid #e8e8e8;
    margin: 35px 0;
}

.construction-calculator-plugin .section-number {
    background-color: #2d5650;
    color: #ffffff;
    font-size: 28px;
    font-weight: bold;
    padding: 8px 20px;
    border-radius: 8px;
    flex-shrink: 0;
}

.construction-calculator-plugin .section-header h2 {
    color: #3a3530;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0.5px;
    line-height: 1.4;
    margin-top: 0;
}

.construction-calculator-plugin .button-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.construction-calculator-plugin .button-group-3 {
    grid-template-columns: repeat(3, 1fr);
}

.construction-calculator-plugin .button-group-2 {
    grid-template-columns: repeat(2, 1fr);
}

.construction-calculator-plugin .option-btn {
    background-color: #f8f8f8;
    color: #2d2d2d;
    border: 2px solid #e0e0e0;
    padding: 30px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    line-height: 1.5;
    border-radius: 12px;
}

.construction-calculator-plugin .option-btn:hover {
    background-color: #e8e8e8;
    border-color: #2d5650;
}

.construction-calculator-plugin .option-btn.active {
    background-color: #2d5650;
    border-color: #2d5650;
    color: #ffffff;
}

.construction-calculator-plugin .pole-length-label {
    font-size: 14px;
    font-weight: 700;
    color: #3a3530;
    margin-top: 25px;
    margin-bottom: 10px;
}

.construction-calculator-plugin .dropdown {
    width: 100%;
    background-color: #f8f8f8;
    color: #2d2d2d;
    border: 2px solid #e0e0e0;
    padding: 15px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232d5650' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
    border-radius: 8px;
    transition: all 0.3s;
}

.construction-calculator-plugin .dropdown:hover {
    border-color: #2d5650;
}

.construction-calculator-plugin .dropdown.disabled,
.construction-calculator-plugin .dropdown:disabled {
    cursor: not-allowed;
}

.construction-calculator-plugin #plotisContainer,
.construction-calculator-plugin #section6PlotisContainer {
    margin-top: 20px;
}

.construction-calculator-plugin .subsection {
    margin-top: 30px;
}

.construction-calculator-plugin .subsection h3 {
    color: #3a3530;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.construction-calculator-plugin .dimension-group {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.construction-calculator-plugin .dimension-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

.construction-calculator-plugin .dimension-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #3a3530;
    font-weight: bold;
    font-size: 14px;
    min-width: 80px;
}

.construction-calculator-plugin .dimension-label .icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.construction-calculator-plugin .dimension-inputs {
    display: flex;
    gap: 25px;
    flex: 1;
}

.construction-calculator-plugin .input-group {
    display: flex;
    flex-direction: row;
    flex: 1;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f8f8f8;
    transition: all 0.3s;
}

.construction-calculator-plugin .input-group:hover {
    border-color: #2d5650;
}

.construction-calculator-plugin .input-box {
    display: flex;
    align-items: center;
    background-color: transparent;
    padding: 12px 10px;
    gap: 8px;
}

.construction-calculator-plugin .dimension-input {
    background-color: transparent;
    border: none;
    color: #3a3530;
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    padding: 0;
    width: 50px;
    line-height: 1;
}

.construction-calculator-plugin .dimension-input:focus {
    outline: none;
}

.construction-calculator-plugin .dimension-input::-webkit-outer-spin-button,
.construction-calculator-plugin .dimension-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.construction-calculator-plugin .dimension-input[type=number] {
    -moz-appearance: textfield;
}

.construction-calculator-plugin .spinner-controls {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.construction-calculator-plugin .spinner-btn {
    background-color: transparent;
    border: none;
    color: #3a3530;
    cursor: pointer;
    font-size: 16px;
    padding: 3px 5px;
    line-height: 1;
}

.construction-calculator-plugin .spinner-btn:hover {
    color: #2d5650;
}

.construction-calculator-plugin .unit {
    background-color: transparent;
    color: #3a3530;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    padding: 12px 15px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.5px;
}

.construction-calculator-plugin .description {
    color: #666666;
    font-size: 14px;
    margin-bottom: 15px;
}

.construction-calculator-plugin .tool-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.construction-calculator-plugin .date-range-group {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 15px;
}

.construction-calculator-plugin .date-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.construction-calculator-plugin .date-label {
    font-size: 14px;
    font-weight: 600;
    color: #2d5650;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.construction-calculator-plugin .date-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    color: #333;
    background-color: #fff;
    transition: border-color 0.3s ease;
}

.construction-calculator-plugin .date-input:focus {
    outline: none;
    border-color: #2d5650;
}

.construction-calculator-plugin .date-input:hover {
    border-color: #6b4e3d;
}

.construction-calculator-plugin .rental-days-display {
    text-align: center;
    padding: 12px;
    background-color: #f0f7f6;
    border-radius: 8px;
    font-size: 16px;
}

.construction-calculator-plugin .datepicker-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.construction-calculator-plugin .datepicker-input {
    cursor: pointer;
    padding-left: 40px;
}

.construction-calculator-plugin .datepicker-icon {
    position: absolute;
    left: 12px;
    font-size: 18px;
    pointer-events: none;
}

.construction-calculator-plugin .datepicker-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 10px;
    min-width: 280px;
    margin-top: 5px;
}

.construction-calculator-plugin .datepicker-dropdown.active {
    display: block;
}

.construction-calculator-plugin .datepicker-dropdown.shared-datepicker {
    position: relative;
    top: auto;
    left: auto;
    margin: 15px auto;
}

.construction-calculator-plugin .datepicker-title {
    text-align: center;
    font-weight: 600;
    font-size: 16px;
    color: #2d5650;
    padding: 8px 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.construction-calculator-plugin .datepicker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0 10px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}

.construction-calculator-plugin .datepicker-nav {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    padding: 5px 10px;
    color: #2d5650;
}

.construction-calculator-plugin .datepicker-nav:hover {
    background: #f0f0f0;
    border-radius: 4px;
}

.construction-calculator-plugin .datepicker-selects {
    display: flex;
    gap: 8px;
    align-items: center;
}

.construction-calculator-plugin .datepicker-select {
    padding: 4px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    background: #fff;
}

.construction-calculator-plugin .datepicker-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: 600;
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.construction-calculator-plugin .datepicker-weekday {
    padding: 8px 4px;
}

.construction-calculator-plugin .datepicker-weekday.weekend {
    color: #999;
}

.construction-calculator-plugin .datepicker-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.construction-calculator-plugin .datepicker-day {
    padding: 8px 4px;
    text-align: center;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
    border: none;
    background: none;
}

.construction-calculator-plugin .datepicker-day:hover:not(.disabled):not(.other-month) {
    background: #e8f5e9;
}

.construction-calculator-plugin .datepicker-day.selected {
    background: #2d5650;
    color: #fff;
}

.construction-calculator-plugin .datepicker-day.today {
    border: 1px solid #2d5650;
}

.construction-calculator-plugin .datepicker-day.other-month {
    color: #ccc;
}

.construction-calculator-plugin .datepicker-day.weekend {
    color: #999;
}

.construction-calculator-plugin .datepicker-day.disabled {
    color: #ccc;
    cursor: not-allowed;
    text-decoration: line-through;
}

.construction-calculator-plugin .tool-btn {
    background-color: #f8f8f8;
    color: #2d2d2d;
    border: 2px solid #e0e0e0;
    padding: 30px 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    line-height: 1.5;
    border-radius: 12px;
    text-transform: uppercase;
}

.construction-calculator-plugin .tool-btn:hover {
    background-color: #e8e8e8;
    border-color: #2d5650;
}

.construction-calculator-plugin .tool-btn.active {
    background-color: #2d5650;
    border-color: #2d5650;
    color: #ffffff;
}

.construction-calculator-plugin .checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.construction-calculator-plugin .checkbox-label {
    display: flex;
    align-items: center;
    color: #3a3530;
    font-size: 14px;
    cursor: pointer;
}

.construction-calculator-plugin .checkbox {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    cursor: pointer;
}

.construction-calculator-plugin .calculate-btn {
    width: 100%;
    background-color: #2d5650;
    color: #ffffff;
    border: 2px solid #2d5650;
    padding: 20px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    letter-spacing: 1px;
    transition: all 0.3s;
    margin-bottom: 20px;
    border-radius: 12px;
}

.construction-calculator-plugin .calculate-btn:hover {
    background-color: #234541;
    border-color: #234541;
}

.construction-calculator-plugin .results-section,
.construction-calculator-plugin .cart-section {
    background-color: #ffffff;
    padding: 40px;
    margin-bottom: 20px;
    border-radius: 16px;
    display: none;
}

.construction-calculator-plugin .results-section.show,
.construction-calculator-plugin .cart-section.show {
    display: block;
}

.construction-calculator-plugin .results-title,
.construction-calculator-plugin .cart-title {
    color: #3a3530;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.construction-calculator-plugin .results-table {
    border: 1px solid rgba(139, 201, 179, 0.5);
    border-radius: 0;
    overflow: hidden;
}

.construction-calculator-plugin .result-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid rgba(139, 201, 179, 0.5);
}

.construction-calculator-plugin .result-row:last-child {
    border-bottom: none;
}

.construction-calculator-plugin .result-row:nth-child(even) .result-label,
.construction-calculator-plugin .result-row:nth-child(even) .result-value {
    background-color: #f5f5f5;
}

.construction-calculator-plugin .result-label {
    color: #2d2d2d;
    font-weight: 400;
    padding: 15px 20px;
    border-right: 1px solid rgba(139, 201, 179, 0.5);
    background-color: #ffffff;
}

.construction-calculator-plugin .result-value {
    color: #2d2d2d;
    padding: 15px 20px;
    font-weight: 400;
    background-color: #ffffff;
}

.construction-calculator-plugin .cart-title {
    color: #3a3530;
    font-weight: bold;
    font-size: 32px;
    margin: 0 0 20px 0;
    text-transform: uppercase;
}

.construction-calculator-plugin .cart-table {
    border: 1px solid #e0e0e0;
    padding: 30px;
    border-radius: 12px;
}

.construction-calculator-plugin .cart-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #2d5650;
    margin-bottom: 15px;
}

.construction-calculator-plugin .cart-header>div {
    color: #3a3530;
    font-weight: bold;
    font-size: 16px;
}

.construction-calculator-plugin .cart-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 20px;
    padding: 15px 0;
    align-items: center;
}

.construction-calculator-plugin .cart-col-product,
.construction-calculator-plugin .cart-col-qty,
.construction-calculator-plugin .cart-col-each,
.construction-calculator-plugin .cart-col-total {
    color: #3a3530;
}

.construction-calculator-plugin .product-name {
    color: #3a3530;
    font-size: 14px;
}

.construction-calculator-plugin .rental-dates-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 6px;
    font-size: 12px;
    color: #666;
}

.construction-calculator-plugin .rental-dates-info span {
    display: block;
}

.construction-calculator-plugin .rental-dates-info span:last-child {
    font-weight: 600;
    color: #2d5650;
    margin-top: 2px;
}

.construction-calculator-plugin .cart-col-qty,
.construction-calculator-plugin .cart-col-each,
.construction-calculator-plugin .cart-col-total {
    text-align: left;
}

.construction-calculator-plugin .cart-subtotal {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    margin-top: 20px;
    border-top: 2px solid #2d5650;
}

.construction-calculator-plugin .subtotal-label {
    color: #3a3530;
    font-weight: bold;
    font-size: 18px;
}

.construction-calculator-plugin .subtotal-value {
    color: #3a3530;
    font-size: 18px;
}

.construction-calculator-plugin .cart-disclaimer {
    font-size: 12px;
    color: #666666;
    font-style: italic;
    padding: 4px 0;
    margin-top: 0;
}

.construction-calculator-plugin .cart-disclaimer-first {
    border-top: none;
    padding-top: 8px;
    margin-top: 8px;
}

.construction-calculator-plugin .montavimo-section {
    margin-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.construction-calculator-plugin .montavimo-header {
    font-weight: bold;
    color: #3a3530;
    padding: 15px 0 10px 0;
    font-size: 14px;
}

.construction-calculator-plugin .montavimo-note {
    font-weight: normal;
    color: #888;
    font-size: 13px;
}

.construction-calculator-plugin .montavimo-content {
    background-color: #f8f8f8;
    border-left: 3px solid #e0e0e0;
    padding: 15px;
    margin-bottom: 15px;
}

.construction-calculator-plugin .montavimo-row {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.construction-calculator-plugin .montavimo-content .cart-disclaimer {
    border-top: none;
    padding-top: 0;
    margin-top: 8px;
}

.construction-calculator-plugin .subtotal-note {
    font-weight: normal;
    color: #888;
    font-size: 14px;
}

.construction-calculator-plugin .subtotal-disclaimer {
    text-align: right;
    font-size: 12px;
    color: #888;
    font-style: italic;
    padding: 5px 0;
}

.construction-calculator-plugin .vat {
    font-size: 14px;
    color: #666666;
}

.construction-calculator-plugin .cart-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.construction-calculator-plugin .cart-btn {
    background-color: #2d5650;
    color: #ffffff;
    border: 2px solid #2d5650;
    padding: 15px 30px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
}

.construction-calculator-plugin .cart-btn:hover {
    background-color: #234541;
    border-color: #234541;
}

.construction-calculator-plugin .consult-btn {
    background-color: #2d5650;
}

.construction-calculator-plugin .consult-btn:hover {
    background-color: #2d5650;
    border-color: #2d5650;
}

.construction-calculator-plugin .btn-icon {
    font-size: 16px;
}

/* Tablet and Mobile Responsive Styles */
@media screen and (max-width: 968px) {
    .construction-calculator-plugin .calculator {
        width: 90%;
    }

    .construction-calculator-plugin .button-group {
        grid-template-columns: 1fr;
    }

    .construction-calculator-plugin .tool-grid {
        grid-template-columns: 1fr;
    }

    .construction-calculator-plugin .dimension-inputs {
        flex-direction: column;
    }
}

/* Mobile Phone Styles */
@media screen and (max-width: 768px) {
    .construction-calculator-plugin {
        padding: 20px 10px;
    }

    .construction-calculator-plugin .calculator {
        width: 100%;
        padding: 20px 15px;
        border-radius: 12px;
    }

    .construction-calculator-plugin .section {
        padding: 20px 15px;
        margin-bottom: 15px;
    }

    .construction-calculator-plugin .section-header {
        flex-direction: row;
        align-items: center;
        gap: 12px;
        margin-bottom: 20px;
    }

    .construction-calculator-plugin .section-number {
        font-size: 20px;
        padding: 6px 14px;
        flex-shrink: 0;
    }

    .construction-calculator-plugin .section-header h2 {
        font-size: 14px;
        line-height: 1.3;
        margin-top: 0;
    }

    /* Button groups - stack vertically on mobile */
    .construction-calculator-plugin .button-group-2,
    .construction-calculator-plugin .button-group-3 {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .construction-calculator-plugin .option-btn {
        padding: 16px 20px;
        font-size: 13px;
        min-height: 55px;
    }

    /* Tool grid - single column */
    .construction-calculator-plugin .tool-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .construction-calculator-plugin .tool-btn {
        padding: 16px 15px;
        font-size: 13px;
        min-height: 55px;
    }

    /* Dropdown selects */
    .construction-calculator-plugin .dropdown {
        font-size: 15px;
        padding: 14px 15px;
    }

    .construction-calculator-plugin .pole-length-label {
        font-size: 12px;
        margin-bottom: 10px;
    }

    /* Dimension inputs - stack vertically */
    .construction-calculator-plugin .dimension-row {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }

    .construction-calculator-plugin .dimension-label {
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        min-width: auto;
        font-size: 13px;
        padding: 10px;
        background-color: #f0f7f6;
        border-radius: 8px;
    }

    .construction-calculator-plugin .dimension-label .icon {
        font-size: 20px;
        margin-bottom: 0;
    }

    .construction-calculator-plugin .dimension-inputs {
        gap: 15px;
        flex-direction: row;
    }

    .construction-calculator-plugin .input-group {
        min-height: 60px;
    }

    .construction-calculator-plugin .dimension-input {
        font-size: 24px;
        width: 45px;
    }

    .construction-calculator-plugin .unit {
        font-size: 11px;
        padding: 0 12px;
    }

    /* Date inputs - stack vertically on smaller screens */
    .construction-calculator-plugin .date-range-group {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .construction-calculator-plugin .date-input {
        font-size: 15px;
        padding: 14px 12px;
    }

    .construction-calculator-plugin .date-label {
        font-size: 12px;
    }

    /* Calculate button */
    .construction-calculator-plugin .calculate-btn {
        font-size: 15px;
        padding: 18px 30px;
        margin-top: 25px;
    }

    /* Results section */
    .construction-calculator-plugin .results-title {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .construction-calculator-plugin .cart-title {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .construction-calculator-plugin .result-row {
        padding: 0;
        gap: 0;
    }

    .construction-calculator-plugin .result-label {
        font-size: 12px;
        min-width: 100px;
    }

    .construction-calculator-plugin .result-value {
        font-size: 13px;
    }

    /* Section 4 - Increase spinner arrow size by 200% */
    .construction-calculator-plugin .spinner-btn {
        font-size: 24px;
    }

    /* Cart section - desktop-like table for mobile */
    .construction-calculator-plugin .cart-section {
        margin-top: 25px;
        padding: 20px 15px;
    }

    .construction-calculator-plugin .cart-table {
        padding: 15px;
        border: 1px solid #e0e0e0;
        border-radius: 12px;
    }

    /* Keep table header visible on mobile */
    .construction-calculator-plugin .cart-header {
        display: grid;
        grid-template-columns: 2fr 0.8fr 0.8fr 1fr;
        gap: 8px;
        padding-bottom: 10px;
        border-bottom: 2px solid #2d5650;
        margin-bottom: 10px;
    }

    .construction-calculator-plugin .cart-header>div {
        font-size: 11px;
        font-weight: bold;
        color: #3a3530;
    }

    /* Desktop-like table rows for mobile */
    .construction-calculator-plugin .cart-row {
        display: grid;
        grid-template-columns: 2fr 0.8fr 0.8fr 1fr;
        gap: 8px;
        padding: 12px 0;
        align-items: center;
        border-bottom: 1px solid #f0f0f0;
    }

    .construction-calculator-plugin .cart-row:last-child {
        border-bottom: none;
    }

    .construction-calculator-plugin .cart-row.discount-row {
        background: #f0f8f5;
        padding: 12px 8px;
        margin: 0 -8px;
        border-radius: 6px;
    }

    /* Column styling for mobile */
    .construction-calculator-plugin .cart-col-product {
        font-size: 12px;
        color: #3a3530;
        line-height: 1.3;
    }

    .construction-calculator-plugin .cart-col-qty,
    .construction-calculator-plugin .cart-col-each,
    .construction-calculator-plugin .cart-col-total {
        font-size: 12px;
        color: #3a3530;
        text-align: left;
    }

    .construction-calculator-plugin .cart-col-total {
        font-weight: 600;
    }

    /* Subtotal section */
    .construction-calculator-plugin .cart-subtotal {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 0;
        margin-top: 15px;
        border-top: 2px solid #2d5650;
        gap: 10px;
    }

    .construction-calculator-plugin .subtotal-label {
        font-size: 15px;
        font-weight: bold;
        color: #3a3530;
    }

    .construction-calculator-plugin .subtotal-value {
        font-size: 16px;
        font-weight: bold;
        color: #3a3530;
    }

    .construction-calculator-plugin .montavimo-section {
        margin-top: 15px;
    }

    .construction-calculator-plugin .montavimo-header {
        font-size: 13px;
        padding: 12px 0 8px 0;
    }

    .construction-calculator-plugin .montavimo-note {
        font-size: 11px;
        display: block;
        margin-top: 2px;
    }

    .construction-calculator-plugin .montavimo-content {
        padding: 12px;
    }

    .construction-calculator-plugin .montavimo-row {
        grid-template-columns: 2fr 0.8fr 0.8fr 1fr;
    }

    .construction-calculator-plugin .subtotal-disclaimer {
        font-size: 11px;
    }

    /* Cart actions buttons */
    .construction-calculator-plugin .cart-actions {
        flex-direction: column;
        gap: 10px;
        margin-top: 20px;
    }

    .construction-calculator-plugin .cart-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 13px;
    }
}

/* Extra small mobile devices */
@media screen and (max-width: 480px) {
    .construction-calculator-plugin {
        padding: 15px 5px;
    }

    .construction-calculator-plugin .calculator {
        padding: 15px 10px;
    }

    .construction-calculator-plugin .section {
        padding: 15px 10px;
    }

    .construction-calculator-plugin .section-header h2 {
        font-size: 13px;
    }

    .construction-calculator-plugin .option-btn,
    .construction-calculator-plugin .tool-btn {
        font-size: 12px;
        padding: 14px 15px;
    }

    .construction-calculator-plugin .dimension-inputs {
        flex-direction: column;
        gap: 10px;
    }

    .construction-calculator-plugin .calculate-btn {
        width: 100%;
        font-size: 14px;
    }

    .construction-calculator-plugin .cart-header>div {
        font-size: 10px;
    }

    .construction-calculator-plugin .cart-col-product {
        font-size: 11px;
    }

    .construction-calculator-plugin .cart-col-qty,
    .construction-calculator-plugin .cart-col-each,
    .construction-calculator-plugin .cart-col-total {
        font-size: 11px;
    }

    .construction-calculator-plugin .subtotal-label {
        font-size: 13px;
    }

    .construction-calculator-plugin .subtotal-value {
        font-size: 14px;
    }
}

/* Consultation Modal Styles */
.consult-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow-y: auto;
}

.consult-modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 30px 40px;
    border: 3px solid #2d5650;
    border-radius: 16px;
    width: 90%;
    max-width: 450px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.consult-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    line-height: 1;
}

.consult-modal-close:hover {
    color: #2d5650;
}

.consult-modal-title {
    font-size: 22px;
    font-weight: 600;
    color: #2d5650;
    margin: 0 0 25px 0;
    text-align: left;
    text-transform: uppercase;
}

.consult-form-group {
    margin-bottom: 20px;
}

.consult-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.consult-label .required {
    color: #e21010;
}

.consult-input,
.consult-textarea {
    width: 100%;
    padding: 12px 15px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-sizing: border-box;
    font-family: inherit;
}

.consult-input:focus,
.consult-textarea:focus {
    outline: none;
    border-color: #2d5650;
}

.consult-input::placeholder,
.consult-textarea::placeholder {
    color: #999;
}

.phone-input-group {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
}

.phone-prefix {
    padding: 12px 15px;
    background-color: #f5f5f5;
    border-right: 1px solid #ddd;
    font-size: 14px;
    color: #2d5650;
    font-weight: 500;
    white-space: nowrap;
}

.phone-input-group .consult-input.phone-input {
    border: none;
    border-radius: 0;
    flex: 1;
}

.phone-input-group .consult-input.phone-input:focus {
    outline: none;
}

.consult-textarea {
    resize: vertical;
    min-height: 100px;
}

.consult-submit-btn {
    width: 100%;
    padding: 14px 20px;
    background-color: #2d5650;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.consult-submit-btn:hover {
    background-color: #234541;
}

.consult-submit-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.consult-btn {
    background-color: #2d5650 !important;
}

.consult-btn:hover {
    background-color: #234541 !important;
    border-color: #234541 !important;
}

/* Consultation Message Styles */
.consult-message {
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

.consult-message.success {
    background-color: #e8f5e9;
    border: 1px solid #2d5650;
    color: #2d5650;
}

.consult-message.error {
    background-color: #fdecea;
    border: 1px solid #c62828;
    color: #c62828;
}

/* Mobile responsive for modal */
@media screen and (max-width: 480px) {
    .consult-modal-content {
        margin: 10% auto;
        padding: 20px 25px;
        width: 95%;
    }
    
    .consult-modal-title {
        font-size: 18px;
    }
    
    .consult-input,
    .consult-textarea {
        padding: 10px 12px;
        font-size: 16px;
    }
    
    .phone-prefix {
        padding: 10px 12px;
    }
}