/* ===============================
   GLOBAL / FIXES
================================ */
.pwrd-mc-lock { 
  overflow: hidden; 
}

.pwrd-mc-overlay[hidden],
.pwrd-mc-drawer[hidden]{
  display: none !important;
}

.pwrd-mc-wrap { 
  position: relative; 
  display: inline-block; 
}

/* ===============================
   TRIGGER BUTTON
================================ */
.pwrd-mc-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  background: transparent;
  border: none;
  line-height: 1;
}

.pwrd-mc-icon svg { 
  width: 20px; 
  height: 20px; 
  display: block; 
}

.pwrd-mc-bubble {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 12px;
  padding: 0 6px;
  min-width: 18px;
  height: 18px;
}

/* ===============================
   OVERLAY & DRAWER
================================ */
.pwrd-mc-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 9998;
}

.pwrd-mc-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 380px;
  max-width: 92vw;
  background: #fff;
  z-index: 9999;
  display: flex;
  flex-direction: column;
}

/* ===============================
   DRAWER HEADER
================================ */
.pwrd-mc-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.pwrd-mc-drawer-title {
  font-size: 18px;
  font-weight: 600;
}

.pwrd-mc-close {
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

/* ===============================
   DRAWER CONTENT
================================ */
.pwrd-mc-drawer-inner {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 60px);
  overflow: hidden;
}

.pwrd-mc-items {
  padding: 10px 18px;
  overflow-y: auto;
  flex: 1;
}

/* ===============================
   CART ITEM
================================ */
.pwrd-mc-item {
  display: grid;
  grid-template-columns: 78px 1fr auto;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.pwrd-mc-item-thumb img {
  width: 78px;
  height: 78px;
  object-fit: cover;
  display: block;
  background: #f3f3f3;
}

.pwrd-mc-item-title {
  font-size: 14px;
  font-weight: 600;
}

.pwrd-mc-item-title a {
  color: inherit;
  text-decoration: none;
}

.pwrd-mc-item-meta {
  font-size: 12px;
  opacity: .7;
  margin-top: 4px;
}

/* ===============================
   QUANTITY
================================ */
.pwrd-mc-qty {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.pwrd-mc-qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.2);
  background: transparent;
  cursor: pointer;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  font-size: 18px;
}

.pwrd-mc-qty-val {
  min-width: 16px;
  text-align: center;
}

/* qty controls verbergen via Elementor */
.pwrd-mc-hide-qty .pwrd-mc-qty{
  display: none !important;
}

/* ===============================
   RIGHT COLUMN
================================ */
.pwrd-mc-item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.pwrd-mc-item-price {
  font-weight: 600;
  font-size: 14px;
}

.pwrd-mc-remove {
  margin-top: auto;
  border: none;
  background: transparent;
  cursor: pointer;
  text-decoration: underline;
  font-size: 12px;
  opacity: .8;
}

/* ===============================
   FOOTER
================================ */
.pwrd-mc-footer {
  padding: 14px 18px 18px;
  border-top: 1px solid rgba(0,0,0,.08);
}

.pwrd-mc-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 14px;
}

.pwrd-mc-checkout {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 12px;
  border-radius: 6px;
  background: #000;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

/* ===============================
   EMPTY
================================ */
.pwrd-mc-empty {
  padding: 18px;
  font-size: 14px;
  opacity: .8;
}
