/* ==================== PROFESSIONAL CART SCOPED STYLES ==================== */
.mateshwari-ecom-scope {
    font-family: 'Inter', sans-serif;
    color: #1e293b;
    background-color: #f8fafc;
    box-sizing: border-box;
    width: 100%;
}

.mateshwari-ecom-scope *, 
.mateshwari-ecom-scope *::before, 
.mateshwari-ecom-scope *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.mateshwari-ecom-scope .cart-layout-wrapper {
    width: 100%;
    max-width: 1440px;
    margin: 24px auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 20px;
    align-items: start;
}

.mateshwari-ecom-scope .cart-card,
.mateshwari-ecom-scope .summary-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04);
}

.mateshwari-ecom-scope .cart-title {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 12px;
}

.mateshwari-ecom-scope .item-count-pill {
    font-size: 12px;
    font-weight: 700;
    color: #0b8f83;
    background: #e6f4f1;
    padding: 3px 8px;
    border-radius: 12px;
}

/* Cart Item Row */
.mateshwari-ecom-scope .cart-item {
    display: grid;
    grid-template-columns: 90px 1fr 180px;
    gap: 16px;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid #e2e8f0;
}

.mateshwari-ecom-scope .cart-item:last-child {
    border-bottom: none;
}

.mateshwari-ecom-scope .item-img {
    width: 90px;
    height: 90px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    object-fit: cover;
}

.mateshwari-ecom-scope .item-details-flex {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mateshwari-ecom-scope .item-name {
    font-size: 14.5px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
}

.mateshwari-ecom-scope .item-meta {
    font-size: 12px;
    color: #64748b;
}

.mateshwari-ecom-scope .item-breakdown-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 11.5px;
    color: #475569;
    background: #f8fafc;
    padding: 6px 10px;
    border-radius: 6px;
    margin: 6px 0;
    border: 1px solid #f1f5f9;
}

.mateshwari-ecom-scope .item-actions-row {
    display: flex;
    gap: 16px;
    margin-top: 6px;
}

.mateshwari-ecom-scope .btn-action-text {
    background: none;
    border: none;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s;
}

.mateshwari-ecom-scope .btn-action-text:hover {
    color: #0b8f83;
}

.mateshwari-ecom-scope .btn-action-text.text-danger:hover {
    color: #dc2626;
}

/* Right Column of Item (Price & Quantity) */
.mateshwari-ecom-scope .item-qty-price-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.mateshwari-ecom-scope .subtotal-top-label {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
}

.mateshwari-ecom-scope .item-price {
    font-size: 18px;
    font-weight: 800;
    color: #15803d;
}

.mateshwari-ecom-scope .delivery-badge {
    font-size: 11px;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 4px;
}

/* Quantity Control Box */
.mateshwari-ecom-scope .qty-control {
    display: flex;
    align-items: center;
    border: 1.5px solid #cbd5e1;
    border-radius: 6px;
    overflow: hidden;
    background: #f8fafc;
}

.mateshwari-ecom-scope .qty-btn {
    width: 28px;
    height: 28px;
    background: #e2e8f0;
    border: none;
    font-weight: bold;
    cursor: pointer;
    color: #334155;
    transition: background 0.2s;
}

.mateshwari-ecom-scope .qty-btn:hover {
    background: #cbd5e1;
}

.mateshwari-ecom-scope .qty-input {
    width: 34px;
    height: 28px;
    border: none;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    outline: none;
    background: transparent;
    color: #0f172a;
}

/* ==================== ORDER SUMMARY SIDEBAR ==================== */
.mateshwari-ecom-scope .summary-column {
    position: sticky;
    top: 90px;
}

.mateshwari-ecom-scope .summary-card-title {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 14px;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 10px;
}

.mateshwari-ecom-scope .summary-stat-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #475569;
    margin-bottom: 10px;
}

.mateshwari-ecom-scope .summary-stat-row .summary-val {
    font-weight: 700;
    color: #0f172a;
}

.mateshwari-ecom-scope .text-success {
    color: #10b981 !important;
}

.mateshwari-ecom-scope .summary-total-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 12px 0;
}

.mateshwari-ecom-scope .price-row.total-row {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 16px;
}

.mateshwari-ecom-scope .btn-checkout {
    width: 100%;
    height: 46px;
    background: #008f82;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 4px 12px rgba(0, 143, 130, 0.25);
}

.mateshwari-ecom-scope .btn-checkout:hover {
    background: #05554e;
    transform: translateY(-1px);
}

.mateshwari-ecom-scope .secure-trust-badge {
    font-size: 11.5px;
    color: #64748b;
    text-align: center;
    margin-top: 14px;
    line-height: 1.4;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.mateshwari-ecom-scope .secure-trust-badge i {
    color: #10b981;
    font-size: 13px;
}

/* ==================== MOBILE RESPONSIVE ==================== */
@media (max-width: 900px) {
    .mateshwari-ecom-scope .cart-layout-wrapper {
        grid-template-columns: 1fr;
        padding: 0 8px;
    }
    .mateshwari-ecom-scope .summary-column {
        position: relative;
        top: 0;
    }
}

@media (max-width: 650px) {
    .mateshwari-ecom-scope .cart-item {
        grid-template-columns: 75px 1fr;
        gap: 12px;
    }
    .mateshwari-ecom-scope .item-qty-price-col {
        grid-column: span 2;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        border-top: 1px dashed #e2e8f0;
        padding-top: 10px;
        margin-top: 4px;
    }
}

/* ========== wishlist page css start =========== */
/* ==================== FLIPKART STYLE LIST WISHLIST ==================== */
.mateshwari-ecom-scope {
  font-family: 'Inter', sans-serif;
  color: #1e293b;
  background-color: #f1f5f9;
  width: 100%;
}

.mateshwari-ecom-scope *, 
.mateshwari-ecom-scope *::before, 
.mateshwari-ecom-scope *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.mateshwari-ecom-scope .fk-list-wishlist-wrapper {
  max-width: 1200px;
  margin: 24px auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 20px;
  align-items: start;
}

/* Left Profile Sidebar */
.mateshwari-ecom-scope .fk-profile-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mateshwari-ecom-scope .fk-user-profile-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.mateshwari-ecom-scope .fk-user-avatar {
  width: 44px;
  height: 44px;
  background: #e6f4f1;
  color: #008f82;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.mateshwari-ecom-scope .fk-user-info span {
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
}

.mateshwari-ecom-scope .fk-user-info h3 {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.mateshwari-ecom-scope .fk-menu-group {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.mateshwari-ecom-scope .fk-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  text-decoration: none;
  letter-spacing: 0.5px;
}

.mateshwari-ecom-scope .fk-menu-item i {
  color: #008f82;
  font-size: 15px;
  width: 20px;
}

.mateshwari-ecom-scope .fk-menu-item.active,
.mateshwari-ecom-scope .fk-menu-group.active-group .fk-menu-item {
  color: #008f82;
  background: #f8fafc;
  border-left: 4px solid #008f82;
}

.mateshwari-ecom-scope .fk-menu-sublist {
  display: flex;
  flex-direction: column;
  padding: 4px 0 10px 48px;
  border-top: 1px solid #f1f5f9;
}

.mateshwari-ecom-scope .fk-sub-item {
  font-size: 13px;
  color: #475569;
  text-decoration: none;
  padding: 6px 0;
  transition: color 0.2s;
  display: flex;
  justify-content: space-between;
  padding-right: 16px;
}

.mateshwari-ecom-scope .fk-sub-item span {
  color: #008f82;
  font-weight: 600;
}

.mateshwari-ecom-scope .fk-sub-item:hover {
  color: #008f82;
}

/* Right Wishlist Content Card */
.mateshwari-ecom-scope .fk-wishlist-content-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
  overflow: hidden;
}

.mateshwari-ecom-scope .fk-wishlist-title-bar {
  padding: 18px 24px;
  border-bottom: 1px solid #e2e8f0;
}

.mateshwari-ecom-scope .fk-wishlist-title-bar h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #05554E;
  margin: 0;
}

.mateshwari-ecom-scope .fk-wishlist-title-bar h3 span {
  color: #64748b;
  font-weight: 500;
  font-size: 16px;
}

/* Row Item Style */
.mateshwari-ecom-scope .fk-items-list-container {
  display: flex;
  flex-direction: column;
}

.mateshwari-ecom-scope .fk-wishlist-row-item {
  display: grid;
  grid-template-columns: 100px 1fr 44px;
  gap: 20px;
  padding: 20px 24px;
  border-bottom: 1px solid #e2e8f0;
  align-items: center;
  position: relative;
  transition: background 0.2s;
}

.mateshwari-ecom-scope .fk-wishlist-row-item:last-child {
  border-bottom: none;
}

.mateshwari-ecom-scope .fk-wishlist-row-item:hover {
  background: #f8fafc;
}

.mateshwari-ecom-scope .fk-row-img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  padding: 4px;
}

.mateshwari-ecom-scope .fk-row-details {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mateshwari-ecom-scope .fk-row-product-name {
  font-size: 14.5px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.4;
}

.mateshwari-ecom-scope .fk-row-badge {
  font-size: 11px;
  color: #008f82;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.mateshwari-ecom-scope .fk-row-price-box {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.mateshwari-ecom-scope .fk-row-current {
  font-size: 16px;
  font-weight: 800;
  color: #15803d;
}

.mateshwari-ecom-scope .fk-row-mrp {
  font-size: 12px;
  color: #94a3b8;
  text-decoration: line-through;
}

.mateshwari-ecom-scope .fk-row-discount {
  font-size: 12px;
  font-weight: 700;
  color: #16a34a;
}

.mateshwari-ecom-scope .fk-row-add-btn {
  margin-top: 8px;
  background: #008f82;
  color: #ffffff;
  border: none;
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s;
}

.mateshwari-ecom-scope .fk-row-add-btn:hover {
  background: #05554E;
}

.mateshwari-ecom-scope .fk-row-delete-btn {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  border-radius: 50%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #64748b;
  font-size: 15px;
  cursor: pointer;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.mateshwari-ecom-scope .fk-row-delete-btn i {
  pointer-events: none;
  line-height: 1;
}

.mateshwari-ecom-scope .fk-row-delete-btn:hover {
  background: #fef2f2;
  border-color: #fecaca;
  color: #ef4444;
  transform: translateY(-1px) scale(1.04);
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.14);
}

.mateshwari-ecom-scope .fk-row-delete-btn:active {
  transform: translateY(0) scale(0.97);
}

.mateshwari-ecom-scope .fk-row-delete-btn:focus-visible {
  outline: 2px solid #008f82;
  outline-offset: 2px;
}

/* Empty State */
.mateshwari-ecom-scope .fk-empty-row-box {
  padding: 60px 20px;
  text-align: center;
}

.mateshwari-ecom-scope .fk-empty-row-box i {
  font-size: 50px;
  color: #cbd5e1;
  margin-bottom: 14px;
}

.mateshwari-ecom-scope .fk-empty-row-box h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.mateshwari-ecom-scope .fk-empty-row-box p {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 18px;
}

.mateshwari-ecom-scope .fk-empty-shop-btn {
  display: inline-block;
  background: #ff8f00;
  color: #ffffff;
  padding: 9px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 13.5px;
}

/* Responsive Rules */
@media (max-width: 900px) {
  .mateshwari-ecom-scope .fk-list-wishlist-wrapper {
    grid-template-columns: 1fr;
    padding: 0 8px;
  }
  .mateshwari-ecom-scope .fk-profile-sidebar {
    display: none; /* Mobile par sidebar hide karke direct list dikhayenge */
  }
}

@media (max-width: 600px) {
  .mateshwari-ecom-scope .fk-wishlist-row-item {
    grid-template-columns: 75px 1fr;
    gap: 12px;
    padding: 14px 12px;
  }
  .mateshwari-ecom-scope .fk-row-img {
    width: 75px;
    height: 75px;
  }
  .mateshwari-ecom-scope .fk-row-details {
    padding-right: 42px;
  }
  .mateshwari-ecom-scope .fk-row-delete-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    font-size: 14px;
  }
}