/**
 * Product admin Livewire embeds (Filament panel).
 * Plain CSS — do not rely on Tailwind; Filament's bundle may not ship these utilities.
 */
.dbl-widget,
.dbl-widget * {
    box-sizing: border-box;
}

.dbl-widget {
    font-size: 0.875rem;
    line-height: 1.5;
    color: #18181b;
}

html.dark .dbl-widget {
    color: #fafafa;
}

.dbl-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.dbl-muted {
    margin: 0;
    font-size: 0.875rem;
    color: #52525b;
}

html.dark .dbl-muted {
    color: #a1a1aa;
}

.dbl-panel {
    padding: 1rem;
    border-radius: 0.75rem;
    border: 1px solid #e4e4e7;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    max-width: 100%;
    overflow-x: hidden;
}

html.dark .dbl-panel {
    border-color: rgba(255, 255, 255, 0.1);
    background: #18181b;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.dbl-fieldset {
    margin: 0;
    padding: 0;
    border: 0;
}

.dbl-legend {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
}

.dbl-opt-grid {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
}

.dbl-check-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid #e4e4e7;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
}

html.dark .dbl-check-label {
    border-color: rgba(255, 255, 255, 0.12);
}

.dbl-check-label input {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.dbl-label-block {
    display: block;
    margin-bottom: 0.75rem;
}

.dbl-sample-upload .dbl-label-text {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 500;
    font-size: 0.875rem;
}

.dbl-sample-upload__row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.dbl-sample-upload__input {
    flex: 1 1 12rem;
    min-width: 0;
    width: auto !important;
    max-width: none !important;
}

.dbl-sample-upload__submit {
    flex-shrink: 0;
    white-space: nowrap;
}

.dbl-sample-upload__loading {
    margin-top: 0.5rem;
    color: #d97706;
}

.dbl-sample-upload__error {
    margin: 0.25rem 0 0;
    color: #dc2626;
    font-size: 0.75rem;
}

.dbl-label-text {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 500;
    font-size: 0.875rem;
}

.dbl-input,
.dbl-widget input[type="text"],
.dbl-widget input[type="number"],
.dbl-widget input[type="file"] {
    display: block !important;
    width: 100% !important;
    min-height: 2.5rem !important;
    padding: 0.5rem 0.75rem !important;
    font-size: 0.875rem !important;
    line-height: 1.4 !important;
    border: 1px solid #d4d4d8 !important;
    border-radius: 0.5rem !important;
    background: #fff !important;
    color: #18181b !important;
    opacity: 1 !important;
    visibility: visible !important;
}

html.dark .dbl-input,
html.dark .dbl-widget input[type="text"],
html.dark .dbl-widget input[type="number"],
html.dark .dbl-widget input[type="file"] {
    border-color: rgba(255, 255, 255, 0.15) !important;
    background: rgba(255, 255, 255, 0.06) !important;
    color: #fafafa !important;
}

.dbl-widget input[type="file"] {
    padding: 0.5rem !important;
    cursor: pointer;
}

.dbl-row-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
}

.dbl-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    border-radius: 0.75rem;
    border: 1px solid #e4e4e7;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

html.dark .dbl-card {
    border-color: rgba(255, 255, 255, 0.1);
    background: #18181b;
}

.dbl-card-title {
    margin: 0;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f4f4f5;
    font-weight: 600;
    font-size: 0.875rem;
    line-height: 1.35;
}

html.dark .dbl-card-title {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.dbl-two-col {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 30rem) {
    .dbl-two-col {
        grid-template-columns: 1fr;
    }
}

.dbl-active-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid #f4f4f5;
    font-size: 0.875rem;
}

html.dark .dbl-active-row {
    border-top-color: rgba(255, 255, 255, 0.08);
}

.dbl-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

.dbl-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    background: #d97706;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
}

.dbl-btn-primary:hover {
    background: #b45309;
}

.dbl-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.dbl-upload-zone {
    padding: 1rem;
    border-radius: 0.75rem;
    border: 2px dashed #d4d4d8;
    background: rgba(244, 244, 245, 0.6);
}

html.dark .dbl-upload-zone {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.dbl-img-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
}

.dbl-img-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 0.75rem;
    border: 1px solid #e4e4e7;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

html.dark .dbl-img-card {
    border-color: rgba(255, 255, 255, 0.1);
    background: #18181b;
}

.dbl-img-thumb {
    position: relative;
    aspect-ratio: 4 / 3;
    background: #f4f4f5;
}

html.dark .dbl-img-thumb {
    background: #27272a;
}

.dbl-img-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dbl-badge-main {
    position: absolute;
    left: 0.5rem;
    top: 0.5rem;
    padding: 0.125rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    background: #d97706;
    border-radius: 0.25rem;
}

.dbl-img-body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.75rem;
    flex: 1;
}

.dbl-btn-ghost {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    background: #f4f4f5;
    color: #18181b;
}

html.dark .dbl-btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: #fafafa;
}

.dbl-btn-danger {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    background: rgba(220, 38, 38, 0.12);
    color: #b91c1c;
}

html.dark .dbl-btn-danger {
    color: #f87171;
}

.dbl-btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}

.dbl-variant-dimension .dbl-legend {
    margin-bottom: 0.75rem;
}

.dbl-variant-dimension .dbl-btn-secondary {
    margin-top: 0.75rem;
}

.dbl-section-title {
    margin: 0 0 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    color: #18181b;
}

.dbl-section-hint {
    margin: -0.35rem 0 0.75rem;
    font-size: 0.8125rem;
    line-height: 1.45;
    max-width: 52rem;
}

html.dark .dbl-section-title {
    color: #fafafa;
}

.dbl-table-wrap {
    overflow-x: auto;
    margin-bottom: 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid #e4e4e7;
}

.dbl-table-wrap--fit {
    overflow-x: hidden;
    max-width: 100%;
}

html.dark .dbl-table-wrap {
    border-color: rgba(255, 255, 255, 0.12);
}

.dbl-data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    table-layout: fixed;
}

.dbl-data-table th,
.dbl-data-table td {
    padding: 0.5rem 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e4e4e7;
    vertical-align: middle;
}

html.dark .dbl-data-table th,
html.dark .dbl-data-table td {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.dbl-data-table th {
    font-weight: 600;
    color: #52525b;
    background: #fafafa;
}

html.dark .dbl-data-table th {
    color: #a1a1aa;
    background: #27272a;
}

.dbl-data-table .dbl-input {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.dbl-col-actions {
    width: 4.75rem;
    white-space: nowrap;
}

/* Size / Thickness — equal columns, no horizontal scroll */
.dbl-data-table--balanced {
    width: 100%;
    max-width: 100%;
}

.dbl-data-table--balanced .dbl-col-label,
.dbl-data-table--balanced .dbl-col-price,
.dbl-data-table--balanced .dbl-col-stock,
.dbl-data-table--balanced .dbl-col-actions {
    width: 25%;
}

.dbl-data-table--with-delivery .dbl-col-label {
    width: 22%;
}

.dbl-data-table--with-delivery .dbl-col-price,
.dbl-data-table--with-delivery .dbl-col-delivery,
.dbl-data-table--with-delivery .dbl-col-stock {
    width: 18%;
}

.dbl-data-table--with-delivery .dbl-col-actions {
    width: 12%;
}

.dbl-data-table--balanced th,
.dbl-data-table--balanced td {
    overflow: hidden;
}

.dbl-data-table--balanced .dbl-input,
.dbl-data-table--balanced input[type="text"],
.dbl-data-table--balanced input[type="number"] {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

/* Frame options — card layout (not table) */
.dbl-frame-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 0.75rem;
    max-width: 100%;
    overflow-x: hidden;
}

.dbl-frame-card {
    padding: 1rem;
    border-radius: 0.625rem;
    border: 1px solid #e4e4e7;
    background: #fafafa;
}

html.dark .dbl-frame-card {
    border-color: rgba(255, 255, 255, 0.12);
    background: #09090b;
}

.dbl-frame-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.875rem;
    padding-bottom: 0.625rem;
    border-bottom: 1px solid #e4e4e7;
}

html.dark .dbl-frame-card__head {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.dbl-frame-card__index {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #52525b;
}

html.dark .dbl-frame-card__index {
    color: #a1a1aa;
}

.dbl-frame-card__remove {
    flex-shrink: 0;
}

.dbl-frame-card__block + .dbl-frame-card__block {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed #e4e4e7;
}

html.dark .dbl-frame-card__block + .dbl-frame-card__block {
    border-top-color: rgba(255, 255, 255, 0.12);
}

.dbl-frame-card__title {
    margin: 0 0 0.625rem;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #71717a;
}

html.dark .dbl-frame-card__title {
    color: #a1a1aa;
}

.dbl-frame-card__frame-body {
    display: grid;
    grid-template-columns: minmax(7rem, 9rem) 1fr;
    gap: 1rem;
    align-items: start;
}

@media (max-width: 520px) {
    .dbl-frame-card__frame-body {
        grid-template-columns: 1fr;
    }
}

.dbl-frame-card__media {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dbl-frame-card__thumb {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
}

.dbl-frame-card__thumb img {
    width: 5.5rem;
    height: 5.5rem;
    object-fit: cover;
    border-radius: 0.5rem;
    border: 1px solid #e4e4e7;
    background: #fff;
}

html.dark .dbl-frame-card__thumb img {
    border-color: rgba(255, 255, 255, 0.12);
    background: #27272a;
}

.dbl-frame-photo-clear {
    font-size: 0.75rem;
    padding: 0.125rem 0.375rem;
}

.dbl-frame-upload {
    display: block;
    margin: 0;
    width: 100%;
}

.dbl-frame-upload .dbl-label-text {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
    color: #52525b;
}

html.dark .dbl-frame-upload .dbl-label-text {
    color: #a1a1aa;
}

.dbl-frame-upload input[type="file"] {
    min-height: 2rem !important;
    padding: 0.35rem 0.5rem !important;
    font-size: 0.75rem !important;
}

.dbl-frame-card__fields {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 0;
}

.dbl-frame-card__fields .dbl-input {
    max-width: none;
}

.dbl-frame-card__size-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1rem;
    max-width: 20rem;
}

@media (max-width: 400px) {
    .dbl-frame-card__size-grid {
        grid-template-columns: 1fr;
        max-width: none;
    }
}

.dbl-frame-card__field .dbl-input {
    max-width: none;
}

.dbl-frame-uploading {
    font-size: 0.75rem;
    color: #d97706;
}

.dbl-frame-add-btn {
    margin-top: 0.25rem;
}

.dbl-frame-uploading {
    margin-top: 0.35rem;
    font-size: 0.75rem;
    color: #d97706;
}

.dbl-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.25rem;
    padding: 0.375rem 0.875rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #18181b;
    background: #f4f4f5;
    border: 1px solid #d4d4d8;
    border-radius: 0.5rem;
    cursor: pointer;
}

.dbl-btn-secondary:hover {
    background: #e4e4e7;
}

html.dark .dbl-btn-secondary {
    color: #fafafa;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Livewire: small spinner on row / add buttons */
@keyframes dbl-spin {
    to {
        transform: rotate(360deg);
    }
}

.dbl-inline-spinner {
    display: inline-block;
    width: 0.875rem;
    height: 0.875rem;
    margin-right: 0.35rem;
    border: 2px solid rgba(0, 0, 0, 0.15);
    border-top-color: currentColor;
    border-radius: 50%;
    vertical-align: -0.125rem;
    animation: dbl-spin 0.65s linear infinite;
}

html.dark .dbl-inline-spinner {
    border-color: rgba(255, 255, 255, 0.2);
    border-top-color: #fafafa;
}

.dbl-btn-loading-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    min-height: 1.25rem;
}

.dbl-img-grid--compact {
    grid-template-columns: repeat(auto-fill, minmax(6rem, 1fr));
}

.dbl-img-card--link {
    text-decoration: none;
    color: inherit;
}

.dbl-img-card--link:hover .dbl-img-thumb {
    outline: 2px solid #d97706;
    outline-offset: 2px;
}

.dbl-quote {
    margin: 0.5rem 0 0;
    padding: 0.75rem 1rem;
    border-left: 3px solid #d97706;
    background: #fffbeb;
    border-radius: 0 0.5rem 0.5rem 0;
    font-size: 0.875rem;
}

html.dark .dbl-quote {
    background: rgba(217, 119, 6, 0.12);
}

.dbl-code {
    margin: 0.75rem 0 0;
    padding: 0.75rem;
    font-size: 0.75rem;
    line-height: 1.4;
    overflow-x: auto;
    border-radius: 0.5rem;
    border: 1px solid #e4e4e7;
    background: #fafafa;
}

.dbl-customization {
    margin: 0.75rem 0 0;
    display: grid;
    gap: 0.625rem;
}

.dbl-customization__row {
    display: grid;
    grid-template-columns: minmax(7rem, 11rem) 1fr;
    gap: 0.75rem 1rem;
    align-items: baseline;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #e4e4e7;
    background: #fafafa;
}

.dbl-customization__label {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #71717a;
}

.dbl-customization__value {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #18181b;
    word-break: break-word;
}

html.dark .dbl-customization__row {
    border-color: rgba(255, 255, 255, 0.1);
    background: #09090b;
}

html.dark .dbl-customization__label {
    color: #a1a1aa;
}

html.dark .dbl-customization__value {
    color: #fafafa;
}

html.dark .dbl-code {
    border-color: rgba(255, 255, 255, 0.1);
    background: #09090b;
}

/* Order edit — production / customer photos (full width) */
.dbl-order-fulfillment {
    width: 100%;
    max-width: 100%;
}

.dbl-order-production-section .fi-section-content,
.dbl-order-production-section .fi-sc-component {
    max-width: 100%;
}

.dbl-panel--flush {
    padding: 1.25rem;
}

.dbl-photo-gallery {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
    width: 100%;
}

.dbl-photo-gallery--wide-cards {
    grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
}

.dbl-photo-gallery--wide-cards .dbl-gallery-card__actions {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0.25rem;
}

.dbl-photo-gallery--wide-cards .dbl-gallery-card__actions .dbl-btn-ghost--sm,
.dbl-photo-gallery--wide-cards .dbl-gallery-card__actions .dbl-btn-danger {
    display: inline-flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding-inline: 0.35rem;
    font-size: 0.625rem;
}

.dbl-gallery-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 0.625rem;
    border: 1px solid #e4e4e7;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.dbl-gallery-card__badge {
    position: absolute;
    top: 0.35rem;
    left: 0.35rem;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
    height: 1.5rem;
    padding: 0 0.35rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    background: rgba(24, 24, 27, 0.85);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    pointer-events: none;
}

html.dark .dbl-gallery-card__badge {
    background: rgba(250, 250, 250, 0.92);
    color: #18181b;
}

html.dark .dbl-gallery-card {
    border-color: rgba(255, 255, 255, 0.12);
    background: #18181b;
}

.dbl-gallery-card__thumb {
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f4f4f5;
    text-decoration: none;
}

html.dark .dbl-gallery-card__thumb {
    background: #27272a;
}

.dbl-gallery-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.15s ease;
}

.dbl-gallery-card__thumb:hover img {
    transform: scale(1.04);
}

.dbl-gallery-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.5rem 0.625rem 0.625rem;
    min-height: 0;
}

.dbl-gallery-card__label {
    margin: 0;
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1.3;
    color: #3f3f46;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html.dark .dbl-gallery-card__label {
    color: #e4e4e7;
}

.dbl-gallery-card__file {
    margin: 0;
    font-size: 0.625rem;
    line-height: 1.3;
    color: #71717a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html.dark .dbl-gallery-card__file {
    color: #a1a1aa;
}

.dbl-gallery-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.25rem;
}

.dbl-btn-ghost--sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.6875rem;
    min-height: 1.75rem;
    line-height: 1.2;
}

@media (min-width: 48rem) {
    .dbl-photo-gallery {
        grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr));
    }

    .dbl-photo-gallery--wide-cards {
        grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
    }
}

.dbl-delhivery-panel {
    margin-top: 0.75rem;
    padding: 1rem;
    border: 1px solid #e4e4e7;
    border-radius: 0.75rem;
    background: #fafafa;
}

html.dark .dbl-delhivery-panel {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
}

.dbl-delhivery-panel__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.dbl-delhivery-panel__label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #71717a;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.25rem;
}

.dbl-delhivery-panel__awb {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 1.125rem;
    font-weight: 700;
    color: #18181b;
}

html.dark .dbl-delhivery-panel__awb {
    color: #fafafa;
}

.dbl-delhivery-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.dbl-delhivery-badge--manifested { background: #dbeafe; color: #1d4ed8; }
.dbl-delhivery-badge--pickup { background: #fef3c7; color: #b45309; }
.dbl-delhivery-badge--transit { background: #e0e7ff; color: #4338ca; }
.dbl-delhivery-badge--delivered { background: #dcfce7; color: #15803d; }
.dbl-delhivery-badge--default { background: #f4f4f5; color: #52525b; }

.dbl-delhivery-panel__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.dbl-delhivery-panel__hint {
    margin: 0 0 0.75rem;
    font-size: 0.875rem;
    color: #52525b;
}

html.dark .dbl-delhivery-panel__hint {
    color: #a1a1aa;
}

.dbl-delhivery-timeline__list {
    list-style: none;
    margin: 0.5rem 0 0;
    padding: 0;
}

.dbl-delhivery-timeline__item {
    position: relative;
    padding: 0 0 0.75rem 1rem;
    border-left: 2px solid #e4e4e7;
}

.dbl-delhivery-timeline__item:last-child {
    padding-bottom: 0;
}

.dbl-delhivery-timeline__status {
    font-size: 0.875rem;
    font-weight: 600;
}

.dbl-delhivery-timeline__meta,
.dbl-delhivery-timeline__instructions {
    font-size: 0.8125rem;
    color: #71717a;
}

.dbl-delhivery-panel__email {
    margin-top: 0.75rem;
    font-size: 0.8125rem;
    color: #71717a;
}

@media (min-width: 80rem) {
    .dbl-photo-gallery {
        grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr));
    }

    .dbl-photo-gallery--wide-cards {
        grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
    }
}
