.tablepress{--text-color:#111;--head-text-color:var(--text-color);--head-bg-color:#d9edf7;--odd-text-color:var(--text-color);--odd-bg-color:#fff;--even-text-color:var(--text-color);--even-bg-color:#f9f9f9;--hover-text-color:var(--text-color);--hover-bg-color:#f3f3f3;--border-color:#ddd;--padding:0.5rem;border:none;border-collapse:collapse;border-spacing:0;clear:both;margin:0 auto 1rem;table-layout:auto;width:100%}.tablepress>:not(caption)>*>*{background:none;border:none;box-sizing:border-box;float:none!important;padding:var(--padding);text-align:left;vertical-align:top}.tablepress>:where(thead)+tbody>:where(:not(.child))>*,.tablepress>tbody>*~:where(:not(.child))>*,.tablepress>tfoot>:where(:first-child)>*{border-top:1px solid var(--border-color)}.tablepress>:where(thead,tfoot)>tr>*{background-color:var(--head-bg-color);color:var(--head-text-color);font-weight:700;vertical-align:middle;word-break:normal}.tablepress>:where(tbody)>tr>*{color:var(--text-color)}.tablepress>:where(tbody.row-striping)>:nth-child(odd of :where(:not(.child,.dtrg-group)))+:where(.child)>*,.tablepress>:where(tbody.row-striping)>:nth-child(odd of :where(:not(.child,.dtrg-group)))>*{background-color:var(--odd-bg-color);color:var(--odd-text-color)}.tablepress>:where(tbody.row-striping)>:nth-child(even of :where(:not(.child,.dtrg-group)))+:where(.child)>*,.tablepress>:where(tbody.row-striping)>:nth-child(even of :where(:not(.child,.dtrg-group)))>*{background-color:var(--even-bg-color);color:var(--even-text-color)}.tablepress>.row-hover>tr{content-visibility:auto}.tablepress>.row-hover>tr:has(+.child:hover)>*,.tablepress>.row-hover>tr:hover+:where(.child)>*,.tablepress>.row-hover>tr:where(:not(.dtrg-group)):hover>*{background-color:var(--hover-bg-color);color:var(--hover-text-color)}.tablepress img{border:none;margin:0;max-width:none;padding:0}.tablepress-table-description{clear:both;display:block}.dt-scroll{width:100%}.dt-scroll .tablepress{width:100%!important}div.dt-scroll-body tfoot tr,div.dt-scroll-body thead tr{height:0}div.dt-scroll-body tfoot tr td,div.dt-scroll-body tfoot tr th,div.dt-scroll-body thead tr td,div.dt-scroll-body thead tr th{border-bottom-width:0!important;border-top-width:0!important;height:0!important;padding-bottom:0!important;padding-top:0!important}div.dt-scroll-body tfoot tr td div.dt-scroll-sizing,div.dt-scroll-body tfoot tr th div.dt-scroll-sizing,div.dt-scroll-body thead tr td div.dt-scroll-sizing,div.dt-scroll-body thead tr th div.dt-scroll-sizing{height:0!important;overflow:hidden!important}div.dt-scroll-body>table.dataTable>thead>tr>td,div.dt-scroll-body>table.dataTable>thead>tr>th{overflow:hidden}.tablepress{--head-active-bg-color:#049cdb;--head-active-text-color:var(--head-text-color);--head-sort-arrow-color:var(--head-active-text-color)}.tablepress thead th:active{outline:none}.tablepress thead .dt-orderable-asc .dt-column-order:before,.tablepress thead .dt-ordering-asc .dt-column-order:before{bottom:50%;content:"\25b2";content:"\25b2"/"";display:block;position:absolute}.tablepress thead .dt-orderable-desc .dt-column-order:after,.tablepress thead .dt-ordering-desc .dt-column-order:after{content:"\25bc";content:"\25bc"/"";display:block;position:absolute;top:50%}.tablepress thead .dt-orderable-asc .dt-column-order,.tablepress thead .dt-orderable-desc .dt-column-order,.tablepress thead .dt-ordering-asc .dt-column-order,.tablepress thead .dt-ordering-desc .dt-column-order{color:var(--head-sort-arrow-color);font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Noto Sans,Liberation Sans,Arial,sans-serif!important;font-size:14px;height:24px;line-height:12px;position:relative;width:12px}.tablepress thead .dt-orderable-asc .dt-column-order:after,.tablepress thead .dt-orderable-asc .dt-column-order:before,.tablepress thead .dt-orderable-desc .dt-column-order:after,.tablepress thead .dt-orderable-desc .dt-column-order:before,.tablepress thead .dt-ordering-asc .dt-column-order:after,.tablepress thead .dt-ordering-asc .dt-column-order:before,.tablepress thead .dt-ordering-desc .dt-column-order:after,.tablepress thead .dt-ordering-desc .dt-column-order:before{opacity:.2}.tablepress thead .dt-orderable-asc,.tablepress thead .dt-orderable-desc{cursor:pointer;outline-offset:-2px}.tablepress thead .dt-orderable-asc:hover,.tablepress thead .dt-orderable-desc:hover,.tablepress thead .dt-ordering-asc,.tablepress thead .dt-ordering-desc{background-color:var(--head-active-bg-color);color:var(--head-active-text-color)}.tablepress thead .dt-ordering-asc .dt-column-order:before,.tablepress thead .dt-ordering-desc .dt-column-order:after{opacity:.8}.tablepress tfoot>tr>* .dt-column-footer,.tablepress tfoot>tr>* .dt-column-header,.tablepress thead>tr>* .dt-column-footer,.tablepress thead>tr>* .dt-column-header{align-items:center;display:flex;gap:4px;justify-content:space-between}.tablepress tfoot>tr>* .dt-column-footer .dt-column-title,.tablepress tfoot>tr>* .dt-column-header .dt-column-title,.tablepress thead>tr>* .dt-column-footer .dt-column-title,.tablepress thead>tr>* .dt-column-header .dt-column-title{flex-grow:1}.tablepress tfoot>tr>* .dt-column-footer .dt-column-title:empty,.tablepress tfoot>tr>* .dt-column-header .dt-column-title:empty,.tablepress thead>tr>* .dt-column-footer .dt-column-title:empty,.tablepress thead>tr>* .dt-column-header .dt-column-title:empty{display:none}.tablepress:where(.auto-type-alignment) .dt-right,.tablepress:where(.auto-type-alignment) .dt-type-date,.tablepress:where(.auto-type-alignment) .dt-type-numeric{text-align:right}.tablepress:where(.auto-type-alignment) .dt-right .dt-column-footer,.tablepress:where(.auto-type-alignment) .dt-right .dt-column-header,.tablepress:where(.auto-type-alignment) .dt-type-date .dt-column-footer,.tablepress:where(.auto-type-alignment) .dt-type-date .dt-column-header,.tablepress:where(.auto-type-alignment) .dt-type-numeric .dt-column-footer,.tablepress:where(.auto-type-alignment) .dt-type-numeric .dt-column-header{flex-direction:row-reverse}.dt-container{clear:both;margin-bottom:1rem;position:relative}.dt-container table.tablepress{margin-bottom:0}.dt-container .dt-layout-row{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between}.dt-container .dt-layout-row.dt-layout-table .dt-layout-cell{display:block;width:100%}.dt-container .dt-layout-cell{display:flex;flex-direction:row;flex-wrap:wrap;gap:1em;padding:5px 0}.dt-container .dt-layout-cell.dt-layout-full{align-items:center;justify-content:space-between;width:100%}.dt-container .dt-layout-cell.dt-layout-full>:only-child{margin:auto}.dt-container .dt-layout-cell.dt-layout-start{align-items:center;justify-content:flex-start;margin-right:auto}.dt-container .dt-layout-cell.dt-layout-end{align-items:center;justify-content:flex-end;margin-left:auto}.dt-container .dt-layout-cell:empty{display:none}.dt-container .dt-input,.dt-container label{display:inline;width:auto}.dt-container .dt-input{font-size:inherit;padding:5px}.dt-container .dt-length,.dt-container .dt-search{align-items:center;display:flex;flex-wrap:wrap;gap:5px;justify-content:center}.dt-container .dt-paging .dt-paging-button{background:#0000;border:1px solid #0000;border-radius:2px;box-sizing:border-box;color:inherit!important;cursor:pointer;display:inline-block;font-size:1em;height:32px;margin-left:2px;min-width:32px;padding:0 5px;text-align:center;text-decoration:none!important;vertical-align:middle}.dt-container .dt-paging .dt-paging-button.current,.dt-container .dt-paging .dt-paging-button:hover{border:1px solid #111}.dt-container .dt-paging .dt-paging-button.disabled,.dt-container .dt-paging .dt-paging-button.disabled:active,.dt-container .dt-paging .dt-paging-button.disabled:hover{border:1px solid #0000;color:#0000004d!important;cursor:default;outline:none}.dt-container .dt-paging>.dt-paging-button:first-child{margin-left:0}.dt-container .dt-paging .ellipsis{padding:0 1em}@media screen and (max-width:767px){.dt-container .dt-layout-row{flex-direction:column}.dt-container .dt-layout-cell{flex-direction:column;padding:.5em 0}}:root {
--wpdmpp-mc-primary: #6366f1;
--wpdmpp-mc-primary-hover: #4f46e5;
--wpdmpp-mc-text: #1e293b;
--wpdmpp-mc-text-muted: #64748b;
--wpdmpp-mc-bg: #ffffff;
--wpdmpp-mc-bg-secondary: #f8fafc;
--wpdmpp-mc-border: #e2e8f0;
--wpdmpp-mc-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.15);
--wpdmpp-mc-shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
--wpdmpp-mc-radius: 12px;
--wpdmpp-mc-radius-sm: 8px;
--wpdmpp-mc-transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
--wpdmpp-mc-panel-width: 380px;
--wpdmpp-mc-breakpoint: 768px;
--wpdmpp-mc-danger: #ef4444;
--wpdmpp-mc-success: #10b981;
} .wpdmpp-mini-cart {
position: relative;
display: inline-flex;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
font-size: 14px;
line-height: 1.5;
z-index: 9999;
}
.wpdmpp-mini-cart *,
.wpdmpp-mini-cart *::before,
.wpdmpp-mini-cart *::after {
box-sizing: border-box;
} .wpdmpp-mc-trigger {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 10px 16px;
background: var(--wpdmpp-mc-bg);
border: 1px solid var(--wpdmpp-mc-border);
border-radius: var(--wpdmpp-mc-radius);
color: var(--wpdmpp-mc-text);
cursor: pointer;
transition: all var(--wpdmpp-mc-transition);
font-size: 14px;
font-weight: 500;
position: relative;
}
.wpdmpp-mc-trigger:hover {
border-color: var(--wpdmpp-mc-primary);
box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}
.wpdmpp-mc-trigger:focus {
outline: none;
border-color: var(--wpdmpp-mc-primary);
box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}
.wpdmpp-mc-trigger[aria-expanded="true"] {
border-color: var(--wpdmpp-mc-primary);
} .wpdmpp-mc-icon {
display: flex;
align-items: center;
justify-content: center;
color: var(--wpdmpp-mc-text);
}
.wpdmpp-mc-icon svg {
width: 22px;
height: 22px;
} .wpdmpp-mc-count {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 20px;
height: 20px;
padding: 0 6px;
background: var(--wpdmpp-mc-primary);
color: #ffffff;
font-size: 11px;
font-weight: 600;
border-radius: 10px;
transition: all var(--wpdmpp-mc-transition);
}
.wpdmpp-mc-count--empty {
background: var(--wpdmpp-mc-text-muted);
} .wpdmpp-mc-total {
font-weight: 600;
color: var(--wpdmpp-mc-text);
} .wpdmpp-mc-panel {
position: absolute;
width: var(--wpdmpp-mc-panel-width);
max-width: calc(100vw - 32px);
background: var(--wpdmpp-mc-bg);
border-radius: var(--wpdmpp-mc-radius);
box-shadow: var(--wpdmpp-mc-shadow-lg);
opacity: 0;
visibility: hidden;
transform: translateY(10px);
transition: all var(--wpdmpp-mc-transition);
z-index: 10000;
overflow: hidden;
max-height: calc(100vh - 120px);
display: flex;
flex-direction: column;
}
.wpdmpp-mc-panel[aria-hidden="false"] {
opacity: 1;
visibility: visible;
transform: translateY(0);
} .wpdmpp-mc-panel-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 16px 20px;
background: var(--wpdmpp-mc-bg-secondary);
border-bottom: 1px solid var(--wpdmpp-mc-border);
flex-shrink: 0;
}
.wpdmpp-mc-panel-title {
margin: 0;
font-size: 16px;
font-weight: 600;
color: var(--wpdmpp-mc-text);
}
.wpdmpp-mc-panel-count {
font-weight: 400;
color: var(--wpdmpp-mc-text-muted);
margin-left: 4px;
}
.wpdmpp-mc-close {
display: flex;
align-items: center;
justify-content: center;
width: 32px;
height: 32px;
padding: 0;
background: transparent;
border: none;
border-radius: var(--wpdmpp-mc-radius-sm);
color: var(--wpdmpp-mc-text-muted);
cursor: pointer;
transition: all var(--wpdmpp-mc-transition);
}
.wpdmpp-mc-close:hover {
background: var(--wpdmpp-mc-border);
color: var(--wpdmpp-mc-text);
} .wpdmpp-mc-panel-body {
flex: 1;
overflow-y: auto;
overscroll-behavior: contain;
}
.wpdmpp-mc-items {
padding: 12px;
} .wpdmpp-mc-panel-footer {
padding: 16px 20px;
background: var(--wpdmpp-mc-bg-secondary);
border-top: 1px solid var(--wpdmpp-mc-border);
flex-shrink: 0;
}
.wpdmpp-mc-subtotal {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 16px;
}
.wpdmpp-mc-subtotal-label {
font-size: 14px;
color: var(--wpdmpp-mc-text-muted);
}
.wpdmpp-mc-subtotal-value {
font-size: 18px;
font-weight: 700;
color: var(--wpdmpp-mc-text);
}
.wpdmpp-mc-actions {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 12px;
} .wpdmpp-mc-item {
display: flex;
align-items: flex-start;
gap: 12px;
padding: 12px;
background: var(--wpdmpp-mc-bg);
border: 1px solid var(--wpdmpp-mc-border);
border-radius: var(--wpdmpp-mc-radius-sm);
margin-bottom: 8px;
transition: all var(--wpdmpp-mc-transition);
}
.wpdmpp-mc-item:last-child {
margin-bottom: 0;
}
.wpdmpp-mc-item:hover {
border-color: var(--wpdmpp-mc-primary);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.wpdmpp-mc-item-thumb {
width: 56px;
height: 56px;
flex-shrink: 0;
border-radius: var(--wpdmpp-mc-radius-sm);
overflow: hidden;
background: var(--wpdmpp-mc-bg-secondary);
}
.wpdmpp-mc-item-thumb img {
width: 100%;
height: 100%;
object-fit: cover;
}
.wpdmpp-mc-item-details {
flex: 1;
min-width: 0;
}
.wpdmpp-mc-item-name {
display: block;
font-size: 14px;
font-weight: 500;
color: var(--wpdmpp-mc-text);
text-decoration: none;
margin-bottom: 4px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.wpdmpp-mc-item-name:hover {
color: var(--wpdmpp-mc-primary);
}
.wpdmpp-mc-item-meta {
font-size: 13px;
color: var(--wpdmpp-mc-text-muted);
}
.wpdmpp-mc-item-qty {
color: var(--wpdmpp-mc-text-muted);
}
.wpdmpp-mc-item-price {
color: var(--wpdmpp-mc-text);
font-weight: 500;
}
.wpdmpp-mc-item-actions {
display: flex;
flex-direction: column;
align-items: flex-end;
gap: 8px;
}
.wpdmpp-mc-item-total {
font-size: 14px;
font-weight: 600;
color: var(--wpdmpp-mc-text);
}
.wpdmpp-mc-item-remove {
display: flex;
align-items: center;
justify-content: center;
width: 28px;
height: 28px;
padding: 0;
background: transparent;
border: 1px solid transparent;
border-radius: var(--wpdmpp-mc-radius-sm);
color: var(--wpdmpp-mc-text-muted);
cursor: pointer;
transition: all var(--wpdmpp-mc-transition);
opacity: 0;
}
.wpdmpp-mc-item:hover .wpdmpp-mc-item-remove {
opacity: 1;
}
.wpdmpp-mc-item-remove:hover {
background: rgba(239, 68, 68, 0.1);
border-color: var(--wpdmpp-mc-danger);
color: var(--wpdmpp-mc-danger);
} .wpdmpp-mc-item--removing {
opacity: 0.5;
pointer-events: none;
} .wpdmpp-mc-empty {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 40px 20px;
text-align: center;
}
.wpdmpp-mc-empty-icon {
color: var(--wpdmpp-mc-border);
margin-bottom: 16px;
}
.wpdmpp-mc-empty-text {
margin: 0 0 20px 0;
font-size: 15px;
color: var(--wpdmpp-mc-text-muted);
} .wpdmpp-mc-btn {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 12px 20px;
font-size: 14px;
font-weight: 600;
text-decoration: none;
border-radius: var(--wpdmpp-mc-radius-sm);
cursor: pointer;
transition: all var(--wpdmpp-mc-transition);
border: none;
}
.wpdmpp-mc-btn--primary {
background: var(--wpdmpp-mc-primary);
color: #ffffff;
}
.wpdmpp-mc-btn--primary:hover {
background: var(--wpdmpp-mc-primary-hover);
color: #ffffff;
}
.wpdmpp-mc-btn--secondary {
background: var(--wpdmpp-mc-bg);
color: var(--wpdmpp-mc-text);
border: 1px solid var(--wpdmpp-mc-border);
}
.wpdmpp-mc-btn--secondary:hover {
background: var(--wpdmpp-mc-bg-secondary);
border-color: var(--wpdmpp-mc-text-muted);
color: var(--wpdmpp-mc-text);
} .wpdmpp-mc-dropdown .wpdmpp-mc-panel {
top: calc(100% + 8px);
right: 0;
}
.wpdmpp-mc-dropdown.wpdmpp-mc-pos-top-left .wpdmpp-mc-panel,
.wpdmpp-mc-dropdown.wpdmpp-mc-pos-bottom-left .wpdmpp-mc-panel {
right: auto;
left: 0;
} .wpdmpp-mc-slide_panel .wpdmpp-mc-panel {
position: fixed;
top: 0;
right: 0;
bottom: 0;
width: var(--wpdmpp-mc-panel-width);
max-width: 90vw;
max-height: none;
border-radius: 0;
transform: translateX(100%);
}
.wpdmpp-mc-slide_panel .wpdmpp-mc-panel[aria-hidden="false"] {
transform: translateX(0);
}
.wpdmpp-mc-slide_panel.wpdmpp-mc-pos-top-left .wpdmpp-mc-panel,
.wpdmpp-mc-slide_panel.wpdmpp-mc-pos-bottom-left .wpdmpp-mc-panel {
right: auto;
left: 0;
transform: translateX(-100%);
}
.wpdmpp-mc-slide_panel.wpdmpp-mc-pos-top-left .wpdmpp-mc-panel[aria-hidden="false"],
.wpdmpp-mc-slide_panel.wpdmpp-mc-pos-bottom-left .wpdmpp-mc-panel[aria-hidden="false"] {
transform: translateX(0);
} .wpdmpp-mc-floating {
position: fixed;
z-index: 99999;
}
.wpdmpp-mc-floating.wpdmpp-mc-pos-bottom-right {
bottom: 24px;
right: 24px;
}
.wpdmpp-mc-floating.wpdmpp-mc-pos-bottom-left {
bottom: 24px;
left: 24px;
}
.wpdmpp-mc-floating.wpdmpp-mc-pos-top-right {
top: 80px;
right: 24px;
}
.wpdmpp-mc-floating.wpdmpp-mc-pos-top-left {
top: 80px;
left: 24px;
}
.wpdmpp-mc-floating .wpdmpp-mc-trigger {
width: 56px;
height: 56px;
padding: 0;
border-radius: 50%;
background: var(--wpdmpp-mc-primary);
border: none;
box-shadow: var(--wpdmpp-mc-shadow-lg);
color: #ffffff;
}
.wpdmpp-mc-floating .wpdmpp-mc-trigger:hover {
transform: scale(1.05);
box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
}
.wpdmpp-mc-floating .wpdmpp-mc-icon {
color: #ffffff;
}
.wpdmpp-mc-floating .wpdmpp-mc-count {
position: absolute;
top: -4px;
right: -4px;
min-width: 22px;
height: 22px;
background: var(--wpdmpp-mc-danger);
font-size: 12px;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.wpdmpp-mc-floating .wpdmpp-mc-total {
display: none;
}
.wpdmpp-mc-floating .wpdmpp-mc-panel {
position: fixed;
bottom: 90px;
right: 24px;
}
.wpdmpp-mc-floating.wpdmpp-mc-pos-bottom-left .wpdmpp-mc-panel {
right: auto;
left: 24px;
}
.wpdmpp-mc-floating.wpdmpp-mc-pos-top-right .wpdmpp-mc-panel,
.wpdmpp-mc-floating.wpdmpp-mc-pos-top-left .wpdmpp-mc-panel {
top: 140px;
bottom: auto;
} .wpdmpp-mc-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.5);
opacity: 0;
visibility: hidden;
transition: all var(--wpdmpp-mc-transition);
z-index: 9998;
backdrop-filter: blur(2px);
}
.wpdmpp-mc-slide_panel .wpdmpp-mc-panel[aria-hidden="false"] ~ .wpdmpp-mc-overlay {
opacity: 1;
visibility: visible;
} .wpdmpp-mc-auto-injected.wpdmpp-mc-floating { }
.wpdmpp-mc-auto-injected:not(.wpdmpp-mc-floating) {
position: fixed;
top: 80px;
right: 24px;
z-index: 99999;
}
.wpdmpp-mc-auto-injected:not(.wpdmpp-mc-floating).wpdmpp-mc-pos-top-left {
right: auto;
left: 24px;
} @media (max-width: 768px) {
.wpdmpp-mc-mobile-fullscreen .wpdmpp-mc-panel[aria-hidden="false"] {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
width: 100%;
max-width: 100%;
max-height: 100%;
border-radius: 0;
transform: none;
}
.wpdmpp-mc-mobile-fullscreen .wpdmpp-mc-panel[aria-hidden="false"] ~ .wpdmpp-mc-overlay {
opacity: 1;
visibility: visible;
}
.wpdmpp-mc-mobile-fullscreen.wpdmpp-mc-dropdown .wpdmpp-mc-panel {
transform: translateY(100%);
}
.wpdmpp-mc-mobile-fullscreen.wpdmpp-mc-dropdown .wpdmpp-mc-panel[aria-hidden="false"] {
transform: translateY(0);
}
.wpdmpp-mc-floating {
bottom: 16px;
right: 16px;
}
.wpdmpp-mc-floating.wpdmpp-mc-pos-bottom-left {
left: 16px;
}
.wpdmpp-mc-trigger {
padding: 8px 12px;
}
.wpdmpp-mc-total {
display: none;
}
.wpdmpp-mc-auto-injected:not(.wpdmpp-mc-floating) {
top: auto;
bottom: 16px;
right: 16px;
}
} .wpdmpp-mc-loading .wpdmpp-mc-panel-body {
position: relative;
min-height: 120px;
}
.wpdmpp-mc-loading .wpdmpp-mc-panel-body::after {
content: "";
position: absolute;
top: 50%;
left: 50%;
width: 32px;
height: 32px;
margin: -16px 0 0 -16px;
border: 3px solid var(--wpdmpp-mc-border);
border-top-color: var(--wpdmpp-mc-primary);
border-radius: 50%;
animation: wpdmpp-mc-spin 0.8s linear infinite;
}
@keyframes wpdmpp-mc-spin {
to {
transform: rotate(360deg);
}
} .wpdmpp-mc-toast {
position: fixed;
bottom: 24px;
left: 50%;
transform: translateX(-50%) translateY(100px);
padding: 12px 20px;
background: var(--wpdmpp-mc-text);
color: #ffffff;
font-size: 14px;
font-weight: 500;
border-radius: var(--wpdmpp-mc-radius);
box-shadow: var(--wpdmpp-mc-shadow-lg);
opacity: 0;
visibility: hidden;
transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
z-index: 100000;
}
.wpdmpp-mc-toast.wpdmpp-mc-toast--visible {
opacity: 1;
visibility: visible;
transform: translateX(-50%) translateY(0);
}
.wpdmpp-mc-toast--success {
background: var(--wpdmpp-mc-success);
}
.wpdmpp-mc-toast--error {
background: var(--wpdmpp-mc-danger);
} .wpdmpp-mc-count-updated {
animation: wpdmpp-mc-bounce 0.4s ease;
}
@keyframes wpdmpp-mc-bounce {
0%, 100% {
transform: scale(1);
}
50% {
transform: scale(1.3);
}
} .wpdmpp-mc-shake {
animation: wpdmpp-mc-shake 0.5s ease;
}
@keyframes wpdmpp-mc-shake {
0%, 100% {
transform: translateX(0);
}
25% {
transform: translateX(-5px);
}
75% {
transform: translateX(5px);
}
}  .wpdmpp-mini-cart[data-wpdm-scheme="dark"] {
--wpdmpp-mc-text: #f1f5f9;
--wpdmpp-mc-text-muted: #94a3b8;
--wpdmpp-mc-bg: #1e293b;
--wpdmpp-mc-bg-secondary: #0f172a;
--wpdmpp-mc-border: #334155;
--wpdmpp-mc-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.4);
--wpdmpp-mc-shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
} @media (prefers-color-scheme: dark) {
.wpdmpp-mini-cart:not([data-wpdm-scheme="light"]) {
--wpdmpp-mc-text: #f1f5f9;
--wpdmpp-mc-text-muted: #94a3b8;
--wpdmpp-mc-bg: #1e293b;
--wpdmpp-mc-bg-secondary: #0f172a;
--wpdmpp-mc-border: #334155;
--wpdmpp-mc-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.4);
--wpdmpp-mc-shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}
} @media print {
.wpdmpp-mini-cart {
display: none !important;
}
}  .wpdmpp-minicart-container {
position: relative !important;
} .wpdmpp-minicart-link {
display: flex !important;
align-items: center !important;
gap: 6px !important;
} .wpdmpp-minicart-trigger {
display: inline-flex;
align-items: center;
gap: 6px;
font-size: inherit;
color: inherit;
cursor: pointer;
transition: opacity var(--wpdmpp-mc-transition);
}
.wpdmpp-minicart-trigger:hover {
opacity: 0.8;
} .wpdmpp-minicart-icon {
display: flex;
align-items: center;
justify-content: center;
}
.wpdmpp-minicart-icon svg {
width: 18px;
height: 18px;
} .wpdmpp-minicart-count {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 18px;
height: 18px;
padding: 0 5px;
background: var(--wpdmpp-mc-primary);
color: #ffffff;
font-size: 10px;
font-weight: 600;
border-radius: 9px;
line-height: 1;
}
.wpdmpp-minicart-count--empty {
background: var(--wpdmpp-mc-text-muted);
} .wpdmpp-minicart-total {
font-weight: 600;
font-size: 13px;
} .wpdmpp-minicart-panel {
position: absolute;
top: 100%;
right: 0;
width: 340px;
max-width: calc(100vw - 32px);
background: var(--wpdmpp-mc-bg);
border-radius: var(--wpdmpp-mc-radius);
box-shadow: var(--wpdmpp-mc-shadow-lg);
opacity: 0;
visibility: hidden;
transform: translateY(10px);
transition: all var(--wpdmpp-mc-transition);
z-index: 99999;
overflow: hidden;
max-height: 400px;
display: flex;
flex-direction: column;
margin-top: 8px;
} .wpdmpp-minicart-open .wpdmpp-minicart-panel {
opacity: 1;
visibility: visible;
transform: translateY(0);
} .wpdmpp-minicart-container:first-child .wpdmpp-minicart-panel,
.menu-item:first-child.wpdmpp-minicart-container .wpdmpp-minicart-panel {
right: auto;
left: 0;
} .wpdmpp-minicart-panel-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 14px 16px;
background: var(--wpdmpp-mc-bg-secondary);
border-bottom: 1px solid var(--wpdmpp-mc-border);
flex-shrink: 0;
}
.wpdmpp-minicart-panel-title {
margin: 0;
font-size: 14px;
font-weight: 600;
color: var(--wpdmpp-mc-text);
}
.wpdmpp-minicart-panel-count {
font-weight: 400;
color: var(--wpdmpp-mc-text-muted);
}
.wpdmpp-minicart-panel-close {
display: flex;
align-items: center;
justify-content: center;
width: 28px;
height: 28px;
padding: 0;
background: transparent;
border: none;
border-radius: var(--wpdmpp-mc-radius-sm);
color: var(--wpdmpp-mc-text-muted);
cursor: pointer;
transition: all var(--wpdmpp-mc-transition);
}
.wpdmpp-minicart-panel-close:hover {
background: var(--wpdmpp-mc-border);
color: var(--wpdmpp-mc-text);
} .wpdmpp-minicart-panel-items {
flex: 1;
overflow-y: auto;
padding: 10px;
max-height: 220px;
} .wpdmpp-minicart-panel-footer {
padding: 14px 16px;
background: var(--wpdmpp-mc-bg-secondary);
border-top: 1px solid var(--wpdmpp-mc-border);
flex-shrink: 0;
}
.wpdmpp-minicart-panel-subtotal {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 12px;
font-size: 14px;
}
.wpdmpp-minicart-panel-subtotal-value {
font-weight: 700;
color: var(--wpdmpp-mc-text);
}
.wpdmpp-minicart-panel-actions {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px;
} .wpdmpp-minicart-item {
display: flex;
align-items: flex-start;
gap: 10px;
padding: 10px;
background: var(--wpdmpp-mc-bg);
border: 1px solid var(--wpdmpp-mc-border);
border-radius: var(--wpdmpp-mc-radius-sm);
margin-bottom: 6px;
transition: all var(--wpdmpp-mc-transition);
}
.wpdmpp-minicart-item:last-child {
margin-bottom: 0;
}
.wpdmpp-minicart-item:hover {
border-color: var(--wpdmpp-mc-primary);
}
.wpdmpp-minicart-item-thumb {
width: 48px;
height: 48px;
flex-shrink: 0;
border-radius: 6px;
overflow: hidden;
background: var(--wpdmpp-mc-bg-secondary);
}
.wpdmpp-minicart-item-thumb img {
width: 100%;
height: 100%;
object-fit: cover;
}
.wpdmpp-minicart-item-details {
flex: 1;
min-width: 0;
}
.wpdmpp-minicart-item-name {
display: block;
font-size: 13px;
font-weight: 500;
color: var(--wpdmpp-mc-text);
text-decoration: none;
margin-bottom: 2px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.wpdmpp-minicart-item-name:hover {
color: var(--wpdmpp-mc-primary);
}
.wpdmpp-minicart-item-meta {
font-size: 12px;
color: var(--wpdmpp-mc-text-muted);
}
.wpdmpp-minicart-item-qty {
color: var(--wpdmpp-mc-text-muted);
}
.wpdmpp-minicart-item-price {
color: var(--wpdmpp-mc-text);
font-weight: 500;
}
.wpdmpp-minicart-item-actions {
display: flex;
flex-direction: column;
align-items: flex-end;
gap: 6px;
}
.wpdmpp-minicart-item-total {
font-size: 13px;
font-weight: 600;
color: var(--wpdmpp-mc-text);
}
.wpdmpp-minicart-item-remove {
display: flex;
align-items: center;
justify-content: center;
width: 24px;
height: 24px;
padding: 0;
background: transparent;
border: 1px solid transparent;
border-radius: 6px;
color: var(--wpdmpp-mc-text-muted);
cursor: pointer;
transition: all var(--wpdmpp-mc-transition);
opacity: 0;
}
.wpdmpp-minicart-item:hover .wpdmpp-minicart-item-remove {
opacity: 1;
}
.wpdmpp-minicart-item-remove:hover {
background: rgba(239, 68, 68, 0.1);
border-color: var(--wpdmpp-mc-danger);
color: var(--wpdmpp-mc-danger);
}
.wpdmpp-minicart-item--removing {
opacity: 0.5;
pointer-events: none;
} .wpdmpp-minicart-empty {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 30px 20px;
text-align: center;
}
.wpdmpp-minicart-empty-icon {
color: var(--wpdmpp-mc-border);
margin-bottom: 12px;
}
.wpdmpp-minicart-empty p {
margin: 0 0 16px 0;
font-size: 14px;
color: var(--wpdmpp-mc-text-muted);
} .wpdmpp-minicart-btn {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 10px 16px;
font-size: 13px;
font-weight: 600;
text-decoration: none;
border-radius: var(--wpdmpp-mc-radius-sm);
cursor: pointer;
transition: all var(--wpdmpp-mc-transition);
border: none;
}
.wpdmpp-minicart-btn--primary {
background: var(--wpdmpp-mc-primary);
color: #ffffff;
}
.wpdmpp-minicart-btn--primary:hover {
background: var(--wpdmpp-mc-primary-hover);
color: #ffffff;
}
.wpdmpp-minicart-btn--secondary {
background: var(--wpdmpp-mc-bg);
color: var(--wpdmpp-mc-text);
border: 1px solid var(--wpdmpp-mc-border);
}
.wpdmpp-minicart-btn--secondary:hover {
background: var(--wpdmpp-mc-bg-secondary);
border-color: var(--wpdmpp-mc-text-muted);
color: var(--wpdmpp-mc-text);
} @media (max-width: 768px) {
.wpdmpp-minicart-panel {
position: fixed;
top: auto;
bottom: 0;
left: 0;
right: 0;
width: 100%;
max-width: 100%;
max-height: 80vh;
border-radius: var(--wpdmpp-mc-radius) var(--wpdmpp-mc-radius) 0 0;
margin-top: 0;
transform: translateY(100%);
}
.wpdmpp-minicart-open .wpdmpp-minicart-panel {
transform: translateY(0);
}
.wpdmpp-minicart-panel-items {
max-height: calc(80vh - 180px);
}
.wpdmpp-minicart-total {
display: none;
}
}  .wpdmpp-minicart-container[data-wpdm-scheme="dark"] {
--wpdmpp-mc-text: #f1f5f9;
--wpdmpp-mc-text-muted: #94a3b8;
--wpdmpp-mc-bg: #1e293b;
--wpdmpp-mc-bg-secondary: #0f172a;
--wpdmpp-mc-border: #334155;
} @media (prefers-color-scheme: dark) {
.wpdmpp-minicart-container:not([data-wpdm-scheme="light"]) {
--wpdmpp-mc-text: #f1f5f9;
--wpdmpp-mc-text-muted: #94a3b8;
--wpdmpp-mc-bg: #1e293b;
--wpdmpp-mc-bg-secondary: #0f172a;
--wpdmpp-mc-border: #334155;
}
}