/* DZ Cover Form Frontend */
.dz-cover-wrap {
    width: 100%;
    max-width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #333;
}

/* Cover block */
.dz-cover-block {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    margin-bottom: 20px;
    background: #fff;
}

.dz-cover-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: #fafafa;
    border-bottom: 1px solid #e0e0e0;
    cursor: pointer;
}

.dz-cover-header-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.dz-cover-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--dz-cover-font-color, inherit);
}

.dz-remove-cover {
    display: block;
    margin-top: 2px;
    font-size: 13px;
    color: #d63638;
    text-decoration: underline;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.dz-remove-cover:hover {
    color: #a00;
}

.dz-cover-toggle {
    width: var(--dz-cover-toggle-size, 32px);
    height: var(--dz-cover-toggle-size, 32px);
    border-radius: var(--dz-cover-toggle-radius, 50%);
    background: var(--dz-cover-toggle-bg, #e8a023);
    color: var(--dz-cover-toggle-color, #fff);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .3s, background .2s;
    padding: 0;
    flex-shrink: 0;
}

.dz-cover-toggle:hover {
    background: var(--dz-cover-toggle-hover-bg, #d4891a);
}

.dz-cover-toggle svg {
    width: calc(var(--dz-cover-toggle-size, 32px) * 0.5);
    height: calc(var(--dz-cover-toggle-size, 32px) * 0.5);
    fill: none;
    stroke: var(--dz-cover-toggle-color, #fff);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dz-cover-toggle.collapsed {
    transform: rotate(180deg);
}
.dz-cover-toggle[data-toggle-icon="plus-minus"].collapsed {
    transform: none;
}

.dz-cover-toggle .dz-toggle-vline {
    transition: opacity .3s;
    opacity: 0;
}
.dz-cover-toggle.collapsed .dz-toggle-vline {
    opacity: 1;
}

.dz-cover-body {
    padding: 0;
}

/* Section */
.dz-section-block {
    padding: 24px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.dz-section-block:last-child {
    border-bottom: none;
}

.dz-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.dz-section-title-text {
    flex: 1;
    min-width: 0;
}

.dz-section-title .dz-icon-circle {
    flex-shrink: 0;
    width: var(--dz-st-icon-size, 32px);
    height: var(--dz-st-icon-size, 32px);
    padding: var(--dz-st-icon-padding, 0px);
    border-radius: var(--dz-st-icon-radius, 50%);
    background: var(--dz-st-icon-bg, #e8a023);
    color: var(--dz-st-icon-color, #fff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--dz-st-icon-font-size, 14px);
    overflow: hidden;
    box-sizing: content-box;
}

.dz-section-title .dz-icon-circle img {
    width: 60%;
    height: 60%;
    object-fit: contain;
    display: block;
}

.dz-section-title h4 {
    margin: 0;
    font-size: var(--dz-st-title-size, 15px);
    font-weight: 700;
    color: var(--dz-st-title-color, inherit);
}

.dz-section-subtitle {
    margin: 2px 0 0 0;
    padding: 0;
    font-size: var(--dz-st-sub-size, 13px);
    color: var(--dz-st-sub-color, #777);
}

.dz-section-note {
    margin: 12px 0 0;
    font-size: 12px;
    color: #999;
}

.dz-section-note a {
    color: #e8a023;
    text-decoration: none;
}

.dz-section-note a:hover {
    color: #d4891a;
}

/* Shape tabs */
.dz-shape-grid {
    display: grid;
    grid-template-columns: repeat(var(--dz-shape-cols, 4), 1fr);
    gap: 0;
    padding: 0;
}

.dz-shape-item {
    aspect-ratio: 1;
    border: 1px solid #ddd;
    margin: -1px 0 0 -1px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .15s;
    background: #f5f5f5;
    font-size: 56px;
    color: #666;
    box-sizing: border-box;
}

.dz-shape-item i {
    line-height: 1;
}

.dz-shape-item img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.dz-shape-item:hover {
    background: #fff;
    color: #e8a023;
}

.dz-shape-item.active {
    color: #e8a023;
    background: #fff;
    border-color: #e8a023;
    z-index: 1;
}

/* Dimensions area */
.dz-dim-area {
    display: none;
    margin-top: 20px;
    padding-left: 0;
}

.dz-dim-area.active {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
}

.dz-dim-left-col {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.dz-dim-diagram {
    text-align: center;
}

.dz-dim-diagram img {
    max-width: 200px;
    max-height: 200px;
    object-fit: contain;
}

.dz-dim-inputs {
    flex: 1;
    min-width: 280px;
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.dz-dim-fields-col {
    flex: 1;
}

.dz-dim-row {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 10px;
}

.dz-dim-input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 0;
    overflow: hidden;
    background: var(--dz-form-input-bg, #fff);
}

.dz-dim-input-wrap .dz-dim-label {
    padding: 8px 14px;
    font-weight: 700;
    font-size: 14px;
    color: #333;
    border-right: 1px solid #ccc;
    background: var(--dz-form-input-bg, #fff);
    white-space: nowrap;
    flex-shrink: 0;
}

.dz-cover-wrap .dz-dim-input-wrap input[type="text"] {
    flex: 1;
    padding: 8px 12px;
    border: none !important;
    border-radius: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    font-size: 14px;
    background: transparent !important;
    min-width: 80px;
}

.dz-cover-wrap .dz-dim-input-wrap input[type="text"]:focus {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.dz-dim-input-wrap .dz-unit-label {
    padding: 8px 12px;
    font-size: 12px;
    background: transparent;
    color: #333;
    font-weight: 400;
    border-left: 1px solid #ccc;
    white-space: nowrap;
    cursor: default;
}

.dz-dim-right-col {
    flex: 0 0 auto;
    min-width: 180px;
}

/* Eyelets */
.dz-eyelets-row {
    margin-bottom: 14px;
}

.dz-eyelets-row strong {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 700;
}

.dz-eyelets-row label {
    margin-right: 16px;
    font-size: 14px;
    cursor: pointer;
}

.dz-eyelets-row input[type="radio"] {
    margin-right: 4px;
}

/* Quantity */
.dz-quantity-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
}

.dz-quantity-row strong {
    font-size: 14px;
}

.dz-quantity-row input[type="number"] {
    width: 70px;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    background: var(--dz-form-input-bg, #fff);
}

/* Grade & Colour */
.dz-grade-select-wrap {
    padding-left: 0;
}

.dz-grade-select-inner {
    position: relative;
    display: flex;
    align-items: center;
}

.dz-grade-dropdown {
    width: 100%;
    padding: 12px 44px 12px 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    font-style: italic;
    color: #555;
    background: #fff;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: border-color .2s;
}

.dz-grade-select-inner svg {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    pointer-events: none;
    fill: none;
    stroke: #999;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dz-grade-dropdown:focus {
    outline: none;
    border-color: #e8a023;
    box-shadow: 0 0 0 2px rgba(232, 160, 35, 0.15);
}

.dz-grade-dropdown option {
    font-style: normal;
    color: #333;
    padding: 10px 14px;
    font-size: 14px;
    background: #fff;
}

/* Custom dropdown */
.dz-custom-dd {
    position: relative;
    width: 100%;
}

.dz-dd-selected {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    color: #555;
    font-style: italic;
    transition: border-color .2s;
}

.dz-dd-selected:hover,
.dz-custom-dd.open .dz-dd-selected {
    border-color: #e8a023;
}

.dz-custom-dd.open .dz-dd-selected {
    border-radius: 4px 4px 0 0;
    box-shadow: 0 0 0 2px rgba(232, 160, 35, 0.15);
}

.dz-dd-selected svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: #999;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
    transition: transform .2s;
}

.dz-custom-dd.open .dz-dd-selected svg {
    transform: rotate(180deg);
}

.dz-dd-text {
    flex: 1;
}

.dz-dd-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e8a023;
    border-top: none;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 6px 16px rgba(0,0,0,.1);
    z-index: 100;
    max-height: 240px;
    overflow-y: auto;
}

.dz-custom-dd.open .dz-dd-list {
    display: block;
}

.dz-dd-item {
    padding: 10px 16px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: background .1s;
}

.dz-dd-item:hover {
    background: #fef7e8;
}

.dz-dd-item.active {
    background: #fef7e8;
    font-weight: 600;
    color: #e8a023;
}

.dz-dd-item.dz-dd-placeholder {
    color: #999;
    font-style: italic;
}

.dz-color-grid {
    display: none;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
    padding-left: 0;
}

.dz-color-grid.active {
    display: flex;
}

.dz-color-swatch {
    width: calc(10% - 8px);
    min-width: 50px;
    cursor: pointer;
    border: none;
    overflow: visible;
    transition: all .2s;
    text-align: center;
    position: relative;
    opacity: .7;
}

.dz-color-swatch:hover {
    opacity: 1;
}

.dz-color-swatch.active {
    opacity: 1;
}

.dz-color-swatch-img {
    position: relative;
    overflow: hidden;
}

.dz-color-swatch img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    display: block;
}

.dz-color-swatch.active .dz-color-swatch-img::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0,0,0,.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center center;
}


.dz-color-swatch .dz-color-label {
    font-size: 11px;
    padding: 4px 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #555;
}

/* Function carousel */
.dz-func-carousel-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0;
}

.dz-func-arrow {
    width: var(--dz-func-arrow-size, 36px);
    height: var(--dz-func-arrow-size, 36px);
    border: none;
    border-radius: var(--dz-func-arrow-radius, 4px);
    background: var(--dz-func-arrow-bg, #2e7d32);
    color: var(--dz-func-arrow-color, #fff);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .2s;
    padding: 0;
}

.dz-func-arrow:hover {
    background: var(--dz-func-arrow-hover-bg, #1b5e20);
}

.dz-func-arrow svg {
    width: calc(var(--dz-func-arrow-size, 36px) * 0.5);
    height: calc(var(--dz-func-arrow-size, 36px) * 0.5);
    fill: none;
    stroke: var(--dz-func-arrow-color, #fff);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dz-func-carousel {
    flex: 1;
    overflow: hidden;
    margin: 0 10px;
}

.dz-func-track {
    display: flex;
    gap: var(--dz-func-gap, 16px);
    transition: transform .3s ease;
}

.dz-func-item {
    flex: 0 0 calc(100% / var(--dz-func-cols, 5) - var(--dz-func-gap, 16px));
    text-align: center;
    cursor: pointer;
    position: relative;
    padding-top: 4px;
}

.dz-func-img-wrap {
    width: var(--dz-func-item-size, 90px);
    height: var(--dz-func-item-size, 90px);
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 8px;
    border: 3px solid #ddd;
    position: relative;
    transition: border-color .2s;
    box-sizing: border-box;
}

.dz-func-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.dz-func-item:hover .dz-func-img-wrap,
.dz-func-item.active .dz-func-img-wrap {
    border-color: #e8a023;
}

.dz-func-check {
    display: none;
    position: absolute;
    bottom: 22px;
    right: calc(50% - 48px);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--dz-func-arrow-bg, #2e7d32);
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    z-index: 2;
}

.dz-func-item.active .dz-func-check {
    display: flex;
}

.dz-func-check svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: #fff;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dz-func-label {
    font-size: var(--dz-func-label-size, 12px);
    color: var(--dz-func-label-color, #555);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dz-func-item.active .dz-func-label {
    color: var(--dz-func-arrow-bg, #2e7d32);
    font-weight: 600;
}

/* Function magnify tooltip */
.dz-func-magnify {
    position: absolute;
    left: -30px;
    top: 20%;
    transform: translate(-100%, -50%);
    width: 200px;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: none;
    background: #fff;
    z-index: 50;
    border: 1px solid #ddd;
}

@media (max-width: 768px) {
    .dz-func-magnify { display: none !important; }
}

.dz-func-magnify img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Gallery */
.dz-gallery-wrap {
    position: relative;
}

.dz-gallery-grid {
    display: grid;
    grid-template-columns: repeat(var(--dz-gallery-cols, 5), 1fr);
    gap: var(--dz-gallery-gap, 14px);
}

.dz-gallery-item {
    text-align: center;
    cursor: pointer;
    position: relative;
    min-width: 0;
}

.dz-gallery-img-wrap {
    position: relative;
    border-radius: 0;
    overflow: visible;
    border: 2px solid #ddd;
    transition: border-color .2s;
}

.dz-gallery-img-wrap img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: block;
}

.dz-gallery-item:hover .dz-gallery-img-wrap,
.dz-gallery-item.active .dz-gallery-img-wrap {
    border-color: #e8a023;
}

.dz-gallery-item.active {
    opacity: 1;
}

.dz-gallery-check {
    display: none;
    position: absolute;
    bottom: -6px;
    right: -6px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--dz-gallery-btn-bg, #2e7d32);
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    z-index: 2;
}

.dz-gallery-item.active .dz-gallery-check {
    display: flex;
}

.dz-gallery-check svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: #fff;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dz-gallery-label {
    font-size: var(--dz-gallery-label-size, 12px);
    color: var(--dz-gallery-label-color, #555);
    margin-top: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dz-gallery-item.active .dz-gallery-label {
    color: var(--dz-gallery-btn-bg, #2e7d32);
    font-weight: 600;
}

.dz-gallery-upload-row {
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.dz-gallery-upload-hint {
    font-size: var(--dz-gallery-hint-size, 12px);
    color: var(--dz-gallery-hint-color, #999);
}

.dz-gallery-magnify {
    position: absolute;
    left: -30px;
    top: 20%;
    transform: translate(-100%, -50%);
    width: 260px;
    height: 260px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: none;
    background: #fff;
    z-index: 50;
    border: 1px solid #ddd;
}

.dz-gallery-magnify img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .dz-gallery-user-images {
        grid-template-columns: repeat(var(--dz-gallery-cols, 3), 1fr);
    }
    .dz-gallery-magnify { display: none !important; }
}

/* Add another cover */
.dz-add-cover-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: var(--dz-add-cover-bg, #e8a023);
    color: var(--dz-add-cover-color, #fff);
    border: none;
    border-radius: var(--dz-add-cover-radius, 6px);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 24px;
    transition: background .2s;
    text-align: center;
    box-sizing: border-box;
}

.dz-add-cover-btn:hover {
    background: var(--dz-add-cover-hover-bg, #d4911a);
}

/* Upload section */
.dz-upload-section {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 24px 20px;
    margin-bottom: 20px;
}

.dz-upload-section .dz-file-list {
    margin: 0 0 12px;
}

.dz-upload-section .dz-file-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    margin-bottom: 6px;
    background: #f8f9fa;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    font-size: 13px;
}

.dz-file-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.dz-file-name {
    flex: 1;
    font-weight: 500;
    color: #333;
    word-break: break-all;
}

.dz-file-size {
    color: #999;
    font-size: 12px;
    flex-shrink: 0;
}

.dz-file-status {
    font-size: 12px;
    color: #e8a023;
    flex-shrink: 0;
}

.dz-upload-section .dz-file-remove {
    color: #d63638;
    cursor: pointer;
    font-size: 18px;
    border: none;
    background: none;
    padding: 0 4px;
    line-height: 1;
    flex-shrink: 0;
    transition: opacity .2s;
}

.dz-upload-section .dz-file-remove:hover {
    opacity: .7;
}

.dz-btn-add-file {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: var(--dz-file-btn-radius, 4px);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 6px;
    background: var(--dz-file-btn-bg, #2e7d32);
    color: var(--dz-file-btn-color, #fff);
    transition: background .2s;
}

.dz-btn-add-file:hover {
    background: var(--dz-file-btn-hover-bg, #1b5e20);
}

.dz-gallery-upload-btn {
    background: var(--dz-gallery-upload-bg, #2e7d32);
    color: var(--dz-gallery-upload-color, #fff);
    border-radius: var(--dz-gallery-upload-radius, 4px);
}

.dz-gallery-upload-btn:hover {
    background: var(--dz-gallery-upload-hover-bg, #1b5e20);
}

.dz-upload-note {
    font-size: 12px;
    color: #888;
    margin-top: 8px;
}

/* Your details */
.dz-details-section {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 24px 20px;
    margin-bottom: 20px;
}

.dz-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 16px;
}

.dz-form-group {
    display: flex;
    flex-direction: column;
}

.dz-form-group.full-width {
    grid-column: 1 / -1;
}

.dz-form-group label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

.dz-form-group label .required {
    color: #d63638;
}

.dz-cover-wrap input[type="text"],
.dz-cover-wrap input[type="email"],
.dz-cover-wrap input[type="number"],
.dz-cover-wrap input[type="tel"],
.dz-cover-wrap select,
.dz-cover-wrap textarea {
    background: #fff !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    outline: none !important;
    font-size: 14px !important;
    font-family: inherit !important;
    color: #333 !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: border-color .2s, box-shadow .2s;
}

.dz-cover-wrap input[type="text"]:focus,
.dz-cover-wrap input[type="email"]:focus,
.dz-cover-wrap input[type="number"]:focus,
.dz-cover-wrap input[type="tel"]:focus,
.dz-cover-wrap select:focus,
.dz-cover-wrap textarea:focus {
    border-color: #e8a023 !important;
    box-shadow: 0 0 0 2px rgba(232, 160, 35, 0.15) !important;
    background: #fff !important;
}

.dz-form-group input,
.dz-form-group textarea {
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
}

.dz-form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.dz-form-group input:focus,
.dz-form-group textarea:focus {
    outline: none;
    border-color: #e8a023;
    box-shadow: 0 0 0 2px rgba(232, 160, 35, 0.15);
}

/* Submit button */
.dz-submit-row {
    text-align: right;
    margin-top: 10px;
}

.dz-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--dz-submit-btn-bg, #2e7d32);
    color: var(--dz-submit-btn-color, #fff);
    border: none;
    border-radius: var(--dz-submit-btn-radius, 6px);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s;
    user-select: none;
}

.dz-submit-btn .dz-btn-arrow {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: var(--dz-submit-btn-color, #fff);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dz-submit-btn:hover {
    background: var(--dz-submit-btn-hover-bg, #1b5e20);
}

.dz-submit-btn.disabled {
    opacity: .6;
    cursor: not-allowed;
    pointer-events: none;
}

/* Messages */
.dz-msg {
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 16px;
    font-size: 14px;
}

.dz-msg-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.dz-msg-error {
    background: #fbe9e7;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

/* Responsive */
@media (max-width: 768px) {
    /* Shape: use mobile columns */
    .dz-shape-grid {
        grid-template-columns: repeat(var(--dz-shape-cols, 2), 1fr);
    }

    /* Dimensions: vertical stack */
    .dz-dim-area.active {
        flex-direction: column;
    }
    .dz-dim-area {
        padding-left: 0;
    }
    .dz-dim-left-col {
        width: 100%;
        align-items: center;
    }
    .dz-dim-inputs {
        flex-direction: column;
        min-width: 0;
        width: 100%;
    }
    .dz-dim-right-col {
        min-width: 0;
        width: 100%;
    }

    /* Grade colour: small circles, 10 per row */
    .dz-color-swatch {
        width: calc(10% - 8px);
        min-width: 28px;
    }
    .dz-color-swatch img {
        aspect-ratio: 1;
        border-radius: 50%;
    }
    .dz-color-swatch .dz-color-label {
        display: none;
    }

    /* Function: mobile sizes via CSS variables */
    .dz-func-item {
        flex: 0 0 calc(100% / var(--dz-func-cols, 3) - var(--dz-func-gap, 16px));
    }
    .dz-func-carousel {
        margin: 0 6px;
    }

    /* General mobile fixes */
    .dz-form-grid {
        grid-template-columns: 1fr;
    }
    .dz-grade-select-wrap,
    .dz-color-grid {
        padding-left: 0;
    }
    .dz-submit-btn {
        width: 100%;
        justify-content: center;
    }
}
