.daqf-catalog {
    display: grid;
    grid-template-columns: repeat(var(--daqf-cols, 3), minmax(0, 1fr));
    gap: 18px
}

.daqf-card {
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 12px;
    overflow: hidden;
    background: #fff
}

.daqf-single__aside {
    width: 100%;
}

.daqf-card__img img {
    width: 100%;
    height: auto;
    display: block
}

.daqf-card__body {
    padding: 14px
}

.daqf-card__title {
    margin: 0 0 6px;
    font-size: 18px
}

.daqf-card__meta {
    font-size: 13px;
    opacity: .8;
    margin: 2px 0
}

.daqf-card__actions {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap
}

.daqf-btn {
    display: inline-block;
    border: none;
    border-top-right-radius: 2px;
    border-top-left-radius: 2px;
    border-bottom: 2px solid rgba(0, 0, 0, .2);
    background: #4B8C25;
    color: #fff !important;
    padding: 9px 12px;
    text-decoration: none;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px
}

.daqf-btn--ghost {
    background: transparent;
    border: 3px solid #4B8C25;
    color: #000000 !important;
}

.daqf-quote {
    max-width: 900px
}

.daqf-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.daqf-fullwidth {
    grid-column: 1 / -1;
    width: 100%
}

.daqf-form label span {
    display: block;
    font-size: 13px;
    margin: 0 0 6px;
    opacity: .85
}

.daqf-form input,
.daqf-form textarea,
.daqf-form select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(0, 0, 0, .15)
}

.daqf-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer
}

.daqf-checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    cursor: pointer
}

.daqf-checkbox-label span {
    margin: 0 !important;
    cursor: pointer
}

.daqf-table {
    margin-top: 10px
}

.daqf-table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0 18px;
    border-top: 1px solid rgba(0, 0, 0, .08);
}

.daqf-table th,
.daqf-table td {
    padding: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
    text-align: left;
    vertical-align: top;
    font-size: 1.7rem;
}

.daqf-table td a {
    margin: 10px 0;
    display: block;
}

.daqf-table th:nth-child(3),
.daqf-table td:nth-child(3),
.daqf-table th:nth-child(2),
.daqf-table td:nth-child(2) {
    text-align: center;
    vertical-align: middle;
}

.daqf-muted {
    opacity: .7;
    margin-top: 2px
}

.daqf-single__grid {
    display: grid;
    grid-template-columns: auto 24%;
    gap: 24px;
    align-items: start;
    padding-top: 35px;
}

.daqf-panel {
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 14px;
    background: #fff
}

.daqf-details,
.daqf-links {
    margin: 0;
    padding-left: 18px
}

.daqf-size-selector {
    margin-bottom: 14px
}

.daqf-size-selector label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px
}

.daqf-size-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(0, 0, 0, .15);
    font-size: 14px;
    background: #fff
}

.daqf-custom-size {
    margin-bottom: 14px
}

.daqf-custom-size label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px
}

.daqf-size-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(0, 0, 0, .15);
    font-size: 14px;
    background: #fff
}

.daqf-size-input:focus,
.daqf-size-select:focus {
    outline: none;
    border-color: #1b1b1b
}

.daqf-cart-items {
    list-style: none;
    margin: 10px 0 0;
    padding: 0
}

.daqf-cart-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .08)
}

.daqf-cart-item:last-child {
    border-bottom: none
}

.daqf-cart-item-info {
    flex: 1;
    font-size: 13px
}

.daqf-cart-item-info strong {
    display: block;
    margin-bottom: 4px
}

.daqf-cart-size {
    font-size: 12px;
    opacity: 0.7
}

.daqf-cart-qty {
    font-size: 12px;
    opacity: 0.7;
    margin-top: 2px
}

.daqf-cart-remove {
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    color: #999;
    border-radius: 4px;
    margin-left: 8px
}

.daqf-cart-remove:hover {
    color: #333
}

.daqf-floating-cart {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s
}

.daqf-floating-cart.daqf-has-items {
    opacity: 1;
    visibility: visible
}

.daqf-floating-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #4d8c2c;
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s
}

.daqf-floating-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    color: #fff
}

.daqf-floating-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e74c3c;
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    border: 1.5px solid #fff
}

.daqf-notification {
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 10000;
    background: #4B8C25;
    color: #fff;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-size: 14px;
    font-weight: bold;
    max-width: 300px;
    opacity: 0;
    transform: translateX(400px);
    transition: opacity 0.3s, transform 0.3s
}

.daqf-notification--show {
    opacity: 1;
    transform: translateX(0)
}

.daqf-notification--error {
    background: #e74c3c
}

.daqf-upload-section {
    margin-bottom: 20px
}

.daqf-upload-section label {
    display: block;
    margin-bottom: 10px
}

.daqf-field-help {
    display: block;
    font-size: 12px;
    opacity: 0.7;
    margin-top: 4px
}

.daqf-dropzone {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 10px 0 0;
    text-align: center;
    background: #f9f9f9;
    transition: all 0.3s ease;
    cursor: pointer
}

.daqf-dropzone:hover {
    border-color: #4B8C25;
    background: #f0f7eb
}

.daqf-dropzone.daqf-dragover {
    border-color: #4B8C25;
    background: #e8f5e0;
    border-style: solid
}

.daqf-dropzone-content {
    pointer-events: none
}

.daqf-upload-icon {
    color: #4B8C25;
    margin: 0 auto 15px;
    display: block
}

.daqf-dropzone-text {
    margin: 0 0 15px;
    font-size: 14px;
    color: #666
}

.daqf-browse-btn {
    pointer-events: auto;
    display: inline-block;
    margin: 0 auto
}

.daqf-file-list {
    margin-top: 20px;
    text-align: left
}

.daqf-file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    margin-bottom: 10px;
    transition: all 0.2s ease
}

.daqf-file-item:hover {
    background: #f5f5f5;
    border-color: #ccc
}

.daqf-file-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1
}

.daqf-file-icon {
    width: 32px;
    height: 32px;
    background: #4B8C25;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase
}

.daqf-file-details {
    flex: 1
}

.daqf-file-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin: 0 0 4px;
    word-break: break-word
}

.daqf-file-size {
    font-size: 12px;
    color: #999;
    margin: 0
}

.daqf-file-remove {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
    font-size: 18px;
    line-height: 1;
    padding: 0;
    transition: all 0.2s ease
}

.daqf-file-remove:hover {
    background: #e74c3c;
    border-color: #e74c3c;
    color: #fff
}


@media (min-width:768px) {

    .daqf-single__img img {
        width: 100%;
        max-height: 400px;
        object-fit: contain;
    }
}

/* Large diameter piles table (mobile friendly) */
.large-diameter-piles-table {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #111;
    border: 1px solid #bdbdbd;
    table-layout: fixed;
    /* helps prevent overflow */
}

.large-diameter-piles-table caption {
    caption-side: top;
    padding: 10px 8px;
    font-weight: 700;
    text-align: center;
    border-bottom: 1px solid #bdbdbd;
    line-height: 1.25;
}

.large-diameter-piles-table caption small {
    display: block;
    margin-top: 4px;
    font-weight: 600;
    font-size: 12px;
    color: #333;
}

.large-diameter-piles-table th,
.large-diameter-piles-table td {
    border: 1px solid #bdbdbd;
    padding: 8px 6px;
    text-align: center;
    vertical-align: middle;
    word-break: break-word;
}

.large-diameter-piles-table thead th {
    background: #f3f3f3;
    font-weight: 700;
}

.large-diameter-piles-table thead th:first-child,
.large-diameter-piles-table thead th:nth-child(2) {
    width: 85px;
}

.large-diameter-piles-table thead th:nth-child(3) {
    width: 95px;
}


.large-diameter-piles-table tfoot td {
    text-align: left;
    font-size: 12px;
    color: #333;
    background: #fafafa;
    padding: 10px 8px;
}

/* Mobile: horizontal scroll (best for dense tables) */
@media (max-width: 768px) {
    .large-diameter-piles-table {
        display: block;
        /* enables overflow scrolling */
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
        /* keep columns readable */
    }

    .large-diameter-piles-table caption {
        white-space: normal;
        /* allow caption to wrap */
    }

    /* optional: slightly tighter spacing on mobile */
    .large-diameter-piles-table th,
    .large-diameter-piles-table td {
        padding: 7px 6px;
        font-size: 13px;
    }
}






@media (max-width:991px) {
    .daqf-single__grid {
        display: block;
        gap: 24px;
        align-items: start;
        flex-direction: column;
    }

    .daqf-single__img img {
        width: 100%;
        max-height: 400px;
        object-fit: contain;
    }

    .daqf-grid {
        grid-template-columns: 1fr
    }


}