#digiplatvorm-favorite-products-table {
width: 100%;
border-collapse: collapse;
table-layout: fixed;
}
#digiplatvorm-favorite-products-table .mobile_data {
display: none;
}
#digiplatvorm-favorite-products-table thead th {
text-align: left;
font-weight: 700;
}
#digiplatvorm-favorite-products-table thead th,
#digiplatvorm-favorite-products-table tbody td {
border-bottom: 1px solid var(--border-color);
padding: 12px 24px;
}
#digiplatvorm-favorite-products-table thead th,
#digiplatvorm-favorite-products-table tbody tr:nth-child(even) td {
background-color: #f0f0f1;
}
#digiplatvorm-favorite-products-table tbody tr:last-child td {
border-bottom: none;
}
#digiplatvorm-favorite-products-table tbody td.digiplatvorm-favorite-products-table__cell-actions {
display: flex;
flex-direction: column;
gap: 8px 12px;
}
#digiplatvorm-favorite-products-table tbody td.digiplatvorm-favorite-products-table__cell-actions .digiplatvorm-button {
display: flex;
align-items: center;
justify-content: center;
text-align: center;
width: 100%;
padding: 8px 12px;
font-size: 18px;
line-height: 22px;
}
#digiplatvorm-favorite-products-table tbody td .input-wrapper {
--border-radius: 4px; position: relative;
width: 100%;
height: max-content;
display: flex;
align-items: stretch;
border: 1px solid var(--border-color);
border-radius: var(--border-radius);
overflow: hidden;
} #digiplatvorm-favorite-products-table tbody td .input-wrapper input[type="number"]::-webkit-outer-spin-button,
#digiplatvorm-favorite-products-table tbody td .input-wrapper input[type="number"]::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
#digiplatvorm-favorite-products-table tbody td .input-wrapper input[type="number"] {
-moz-appearance: textfield;
width: 100%;
border-radius: 0;
border: 0;
margin: 0;
}
#digiplatvorm-favorite-products-table tbody td .input-wrapper input[type="number"]:disabled {
cursor: wait;
}
#digiplatvorm-favorite-products-table tbody td .input-wrapper .append-text {
pointer-events: none; font-size: 14px;
background-color: #f9fafb;
border-left: 1px solid var(--border-color);
color: #667085;
display: flex;
align-items: center;
justify-content: center;
padding: 4px 12px;
width: 100%;
max-width: max-content;
}
#digiplatvorm-favorite-products-table tbody td.digiplatvorm-favorite-products-table__cell-product-image {
width: max-content;
}
#digiplatvorm-favorite-products-table tbody td img {
aspect-ratio: 1/1;
width: 80px;
}
.digiplatvorm-favorite-products-table__bulk-actions {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px 24px;
margin: 16px 0;
}
#digiplatvorm-favorite-products-table__select-new-product-wrap {
width: 100%;
margin: 16px 0;
}
@media only screen and (max-width: 1350px) {
#digiplatvorm-favorite-products-table .digiplatvorm-favorite-products-table__header-sku,
#digiplatvorm-favorite-products-table .digiplatvorm-favorite-products-table__cell-sku {
display: none;
}
}
@media only screen and (max-width: 1200px) {
#digiplatvorm-favorite-products-table .mobile_data {
display: block;
}
#digiplatvorm-favorite-products-table .cell_data,
#digiplatvorm-favorite-products-table .cell_data * {
text-align: right;
}
#digiplatvorm-favorite-products-table thead {
display: none;
}
#digiplatvorm-favorite-products-table .digiplatvorm-favorite-products-table__row {
display: flex;
flex-direction: column;
gap: 8px;
width: 100%;
padding: 24px;
}
#digiplatvorm-favorite-products-table .digiplatvorm-favorite-products-table__row:nth-child(odd) {
background-color: #f0f0f1;
}
#digiplatvorm-favorite-products-table .digiplatvorm-favorite-products-table__cell-sku {
display: block;
}
#digiplatvorm-favorite-products-table .digiplatvorm-favorite-products-table__cell {
display: flex;
gap: 0 8px;
justify-content: space-between;
padding: 0;
background-color: transparent !important;
}
#digiplatvorm-favorite-products-table tbody td.digiplatvorm-favorite-products-table__cell-actions {
flex-direction: row;
}
}
@media only screen and (max-width: 600px) {
#digiplatvorm-favorite-products-table tbody td.digiplatvorm-favorite-products-table__cell-actions {
flex-direction: column;
}
}
@media only screen and (max-width: 400px) {
#digiplatvorm-favorite-products-table .digiplatvorm-favorite-products-table__cell {
flex-direction: column;
}
#digiplatvorm-favorite-products-table .cell_data,
#digiplatvorm-favorite-products-table .cell_data * {
text-align: left;
}
}
.digiplatvorm__open-variations-link {
color: var(--blue, #0f387c);
text-decoration: underline;
cursor: pointer;
}
#digiplatvorm-favorite-products-table .digiplatvorm__personal-price-addons {
display: block;
margin-top: 4px;
font-size: 0.8em;
line-height: 1.3;
color: var(--secondary-text-color, #647085);
} .dp-variations-modal[hidden] {
display: none;
}
.dp-variations-modal {
position: fixed;
inset: 0;
z-index: 100000;
display: flex;
align-items: center;
justify-content: center;
padding: 16px;
font-size: 14px;
color: var(--text-color, #2a3b58);
}
.dp-variations-modal__overlay {
position: absolute;
inset: 0;
background: rgba(15, 56, 124, 0.35);
}
.dp-variations-modal__dialog {
position: relative;
display: flex;
flex-direction: column;
width: 100%;
max-width: 560px;
max-height: 82vh;
background: var(--white, #fff);
border: 1px solid var(--element-border, #ccd8eb);
border-radius: var(--border-radius, 4px);
box-shadow: 0 16px 48px rgba(15, 56, 124, 0.18);
}
.dp-variations-modal__close {
position: absolute;
top: 8px;
right: 10px;
width: 28px;
height: 28px;
padding: 0;
background: none;
border: 0;
font-size: 22px;
line-height: 1;
color: var(--secondary-text-color, #647085);
cursor: pointer;
}
.dp-variations-modal__close:hover {
color: var(--text-color, #2a3b58);
}
.dp-variations-modal__title {
margin: 0;
padding: 14px 44px 12px 16px;
font-size: 15px;
font-weight: 700;
text-transform: uppercase;
line-height: 1.3;
border-bottom: 1px solid var(--element-border, #ccd8eb);
}
.dp-variations-modal__list {
flex: 1;
overflow-y: auto;
padding: 0 16px;
}
.dp-var-row {
display: flex;
align-items: center;
gap: 10px;
padding: 6px 0;
border-bottom: 1px solid var(--element-border, #ccd8eb);
line-height: 1.3;
}
.dp-var-row:last-child {
border-bottom: 0;
}
.dp-var-row__label {
flex: 1 1 auto;
min-width: 0;
font-weight: 600;
}
.dp-var-row__sku {
flex: 0 0 auto;
font-size: 12px;
color: var(--secondary-text-color, #647085);
}
.dp-var-row.is-oos {
opacity: 0.5;
}
.dp-var-row__qty {
flex: 0 0 auto;
width: 52px;
padding: 4px 4px;
text-align: center;
font-size: 14px;
color: var(--text-color, #2a3b58);
border: 1px solid var(--element-border, #ccd8eb);
border-radius: var(--border-radius, 4px);
background: var(--white, #fff);
-moz-appearance: textfield;
}
.dp-var-row__qty::-webkit-outer-spin-button,
.dp-var-row__qty::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
.dp-var-row__qty:focus {
outline: none;
border-color: var(--blue, #0f387c);
}
.dp-variations-modal__footer {
display: flex;
justify-content: flex-end;
padding: 12px 16px;
border-top: 1px solid var(--element-border, #ccd8eb);
background: var(--element-bg, #f3f5f6);
}
.dp-variations-modal__footer .digiplatvorm-button {
padding: 8px 20px;
font-size: 14px;
font-weight: 500;
color: var(--white, #fff);
background-color: var(--blue, #0f387c);
border: 0;
border-radius: var(--border-radius, 4px);
cursor: pointer;
}
.dp-variations-modal__footer .digiplatvorm-button:disabled {
opacity: 0.6;
cursor: wait;
}
@media only screen and (max-width: 480px) {
.dp-var-row {
flex-wrap: wrap;
}
.dp-var-row__label {
flex-basis: 100%;
}
}