/* B2C cart — retail bag layout (Myntra-style line cards) */

.b2c-body:has(.b2c-bag-page) {
  background: #f1f3f6;
}

.b2c-body:has(.b2c-bag-page.is-empty) .b2c-main {
  max-width: none;
  padding: 0;
  background: transparent;
}

.b2c-bag-page {
  min-height: calc(100vh - 4rem);
  padding-bottom: 0;
}

/* Cart uses the compact policy bar; hide the large shop footer. */
body:has(.b2c-bag-page) .b2c-shop-footer {
  display: none !important;
}

.b2c-bag-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.25rem var(--b2c-shell-pad) 2rem var(--b2c-shell-pad-left);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 1.5rem;
  align-items: start;
}

.b2c-bag-item,
.b2c-bag-price-card {
  background: #fff;
  border: 1px solid #e9e9eb;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.b2c-bag-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 0.85rem;
  background: #fff;
  border: 1px solid #e9e9eb;
  border-radius: 4px;
}

.b2c-bag-tab {
  border: none;
  background: none;
  padding: 0.85rem 1.15rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--b2c-muted);
  cursor: default;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
}

.b2c-bag-tab.is-active {
  color: var(--b2c-brand);
  border-bottom-color: var(--b2c-brand);
}

.b2c-bag-delivery {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0 0 0.85rem;
  padding: 0.9rem 1rem;
  background: #fff;
  border: 1px solid #e9e9eb;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.b2c-bag-delivery-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(0, 80, 255, 0.1);
  color: var(--b2c-brand);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 0.95rem;
}

.b2c-bag-delivery-body {
  flex: 1;
  min-width: 0;
}

.b2c-bag-delivery-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--b2c-muted);
  margin-bottom: 0.2rem;
}

.b2c-bag-delivery-text {
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--b2c-ink);
  line-height: 1.4;
  word-break: break-word;
  white-space: normal;
}

.b2c-bag-delivery-text.is-empty {
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--b2c-muted);
}

.b2c-bag-delivery-btn {
  flex-shrink: 0;
  border: 1px solid var(--b2c-brand);
  background: #fff;
  color: var(--b2c-brand);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.45rem 0.75rem;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
}

.b2c-bag-delivery-btn:hover {
  background: rgba(0, 80, 255, 0.06);
}

.b2c-bag-hold {
  margin: 0 0 0.85rem;
  padding: 0.65rem 0.85rem;
  background: #fff8e6;
  border: 1px solid #f0e0b2;
  border-radius: 4px;
  font-size: 0.875rem;
  color: #6b5a1e;
}

.b2c-bag-hold strong {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.b2c-bag-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.b2c-bag-shop {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.b2c-bag-shop-name {
  margin: 0.35rem 0 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: #282c3f;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Address right drawer — must sit above .b2c-top (z-index 400) */
.b2c-addr-drawer {
  z-index: 500;
}

.b2c-addr-drawer .b2c-drawer-scrim {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(2px);
}

.b2c-addr-panel {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  height: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 32px rgba(2, 6, 23, 0.14);
  animation: b2c-slide-in 0.28s ease;
  padding: 0;
}

.b2c-addr-view {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.b2c-addr-view[hidden] {
  display: none !important;
}

.b2c-addr-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.15rem 1.25rem 0.85rem;
  flex-shrink: 0;
}

.b2c-addr-drawer-head h2 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #282c3f;
  text-transform: uppercase;
}

.b2c-addr-drawer-head--saved h2 {
  text-transform: none;
  letter-spacing: -0.01em;
  font-size: 1.15rem;
}

.b2c-addr-drawer-close {
  border: none;
  background: transparent;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: #282c3f;
  cursor: pointer;
  padding: 0;
}

.b2c-addr-add-new {
  border: none;
  background: none;
  color: var(--b2c-brand);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0.25rem 0;
}

.b2c-addr-drawer-body {
  flex: 1;
  overflow: auto;
  padding: 0.85rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.b2c-addr-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0 0 0.65rem;
  flex-shrink: 0;
  overflow: visible;
}

.b2c-addr-section-head--spaced {
  margin-top: 1.35rem;
}

.b2c-addr-section-title {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #282c3f;
}

.b2c-addr-section-title i {
  color: var(--b2c-brand);
  font-size: 1rem;
}

.b2c-addr-use-loc {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--b2c-brand);
  background: #fff;
  color: var(--b2c-brand);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.4rem 0.65rem;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.2;
}

.b2c-addr-use-loc:hover {
  background: rgba(0, 80, 255, 0.06);
}

.b2c-addr-underline {
  display: block;
  margin: 0 0 0.15rem;
}

.b2c-addr-underline input {
  width: 100%;
  border: none;
  border-bottom: 1px solid #d4d5d9;
  border-radius: 0;
  background: transparent;
  padding: 0.85rem 0 0.65rem;
  font-size: 0.95rem;
  color: #282c3f;
  outline: none;
}

.b2c-addr-underline input::placeholder {
  color: #94969f;
  font-weight: 400;
}

.b2c-addr-underline input:focus {
  border-bottom-color: var(--b2c-brand);
}

.b2c-addr-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.35rem 0 0.75rem;
}

.b2c-addr-tag {
  position: relative;
  cursor: pointer;
}

.b2c-addr-tag input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.b2c-addr-tag span {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  border: 1px solid #c9d0dc;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
  background: #fff;
}

.b2c-addr-tag input:checked + span {
  border-color: var(--b2c-brand);
  color: var(--b2c-brand);
  background: #eef3ff;
}

.b2c-addr-tag input:focus-visible + span {
  outline: 2px solid var(--b2c-brand);
  outline-offset: 2px;
}

.b2c-addr-drawer-foot {
  margin-top: auto;
  padding-top: 1.5rem;
  position: sticky;
  bottom: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #fff 28%);
}

.b2c-addr-save-btn {
  width: 100%;
  border: none;
  border-radius: 4px;
  background: var(--b2c-brand);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.95rem 1rem;
  cursor: pointer;
}

.b2c-addr-save-btn:hover {
  background: var(--b2c-brand-dark, #0040cc);
}

.b2c-addr-saved-body {
  padding-top: 0.25rem;
  gap: 0;
}

.b2c-addr-saved-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem;
  align-items: flex-start;
  border-bottom: 1px solid #f0f0f2;
}

.b2c-addr-saved-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.85rem;
  flex-shrink: 0;
}

.b2c-addr-saved-edit,
.b2c-addr-saved-delete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  font-size: 1.05rem;
  line-height: 1;
  padding: 0.25rem;
  cursor: pointer;
}

.b2c-addr-saved-edit {
  color: #94969f;
}

.b2c-addr-saved-edit:hover {
  color: var(--b2c-brand, #0050ff);
}

.b2c-addr-saved-delete {
  color: #94969f;
}

.b2c-addr-saved-delete:hover {
  color: #d32f2f;
}

.b2c-addr-saved-empty {
  margin: 1.5rem 0;
  text-align: center;
  color: var(--b2c-muted);
  font-size: 0.9rem;
}

.b2c-addr-saved-item {
  display: grid;
  grid-template-columns: 1.5rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: flex-start;
  width: 100%;
  border: none;
  background: transparent;
  text-align: left;
  padding: 0.95rem 0;
  cursor: pointer;
}

.b2c-addr-saved-item:hover {
  background: rgba(0, 80, 255, 0.03);
}

.b2c-addr-saved-icon {
  color: #696b79;
  font-size: 1.1rem;
  line-height: 1.4;
}

.b2c-addr-saved-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #282c3f;
  margin-bottom: 0.2rem;
}

.b2c-addr-saved-name small {
  font-weight: 600;
  color: var(--b2c-muted);
}

.b2c-addr-saved-line {
  font-size: 0.82rem;
  color: #696b79;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Product line card ── */
.b2c-bag-item {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.b2c-bag-item-body {
  display: grid;
  grid-template-columns: 111px minmax(0, 1fr);
  gap: 0.85rem 1rem;
  padding: 1rem 1rem 0.85rem;
  align-items: start;
}

.b2c-bag-item-media {
  position: relative;
  width: 111px;
}

.b2c-bag-item-thumb {
  display: block;
  width: 111px;
  aspect-ratio: 3 / 4;
  border-radius: 2px;
  overflow: hidden;
  background: #f5f5f6;
}

.b2c-bag-item-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.b2c-bag-item-info {
  min-width: 0;
  padding-right: 0.25rem;
}

.b2c-bag-item-brand {
  font-size: 0.95rem;
  font-weight: 700;
  color: #282c3f;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.b2c-bag-item-title {
  display: -webkit-box;
  margin-top: 0.15rem;
  font-size: 0.88rem;
  font-weight: 400;
  color: #282c3f;
  line-height: 1.4;
  text-decoration: none;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.b2c-bag-item-title:hover {
  color: var(--b2c-brand);
}

.b2c-bag-item-seller {
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: #94969f;
  line-height: 1.35;
}

.b2c-bag-item-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.75rem;
}

.b2c-bag-dropdown {
  position: relative;
  display: inline-block;
  min-width: 5.75rem;
}

.b2c-bag-dropdown-trigger {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  width: 100%;
  min-height: 2rem;
  padding: 0.35rem 1.65rem 0.35rem 0.7rem;
  background: #f5f5f6;
  border: 1px solid #eaeaec;
  border-radius: 2px;
  cursor: pointer;
  font: inherit;
  text-align: left;
  color: #282c3f;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.b2c-bag-dropdown-trigger:hover {
  border-color: #d4d5d9;
  background: #efeff1;
}

.b2c-bag-dropdown.is-open .b2c-bag-dropdown-trigger {
  border-color: var(--b2c-brand);
  background: #fff;
  box-shadow: 0 0 0 1px var(--b2c-brand);
}

.b2c-bag-dropdown-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #282c3f;
  flex-shrink: 0;
  pointer-events: none;
}

.b2c-bag-dropdown-value {
  font-size: 0.78rem;
  font-weight: 700;
  color: #282c3f;
  pointer-events: none;
}

.b2c-bag-dropdown-trigger .bi-chevron-down {
  position: absolute;
  right: 0.45rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.7rem;
  color: #282c3f;
  pointer-events: none;
  transition: transform 0.15s ease;
}

.b2c-bag-dropdown.is-open .b2c-bag-dropdown-trigger .bi-chevron-down {
  transform: translateY(-50%) rotate(180deg);
  color: var(--b2c-brand);
}

.b2c-bag-dropdown-menu {
  position: absolute;
  top: calc(100% + 3px);
  left: 0;
  width: 100%;
  min-width: 100%;
  z-index: 30;
  background: #fff;
  border: 1px solid #eaeaec;
  border-radius: 2px;
  box-shadow: 0 6px 18px rgba(40, 44, 63, 0.14);
  max-height: 11.5rem;
  overflow-y: auto;
  padding: 0.2rem 0;
}

.b2c-bag-dropdown-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  padding: 0.48rem 0.7rem;
  border: none;
  background: transparent;
  font-size: 0.78rem;
  font-weight: 600;
  color: #282c3f;
  text-align: left;
  cursor: pointer;
  line-height: 1.2;
}

.b2c-bag-dropdown-option:hover {
  background: #f5f5f6;
  color: var(--b2c-brand);
}

.b2c-bag-dropdown-option--selected {
  color: var(--b2c-brand);
  background: rgba(0, 80, 255, 0.07);
}

.b2c-bag-dropdown-option .bi-check2 {
  font-size: 0.85rem;
  color: var(--b2c-brand);
  flex-shrink: 0;
}

.b2c-bag-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.55rem;
  margin-top: 0.75rem;
}

.b2c-bag-price-now {
  font-size: 0.95rem;
  font-weight: 700;
  color: #282c3f;
}

.b2c-bag-price-mrp {
  font-size: 0.84rem;
  color: #94969f;
  text-decoration: line-through;
}

.b2c-bag-price-off {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: #ff5722;
}

.b2c-bag-price-off .bi {
  font-size: 0.78rem;
  opacity: 0.85;
}

.b2c-bag-item-express {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.45rem;
  margin-top: 0.7rem;
  font-size: 0.78rem;
  color: #282c3f;
  line-height: 1.3;
}

.b2c-bag-item-express .bi-truck {
  font-size: 1rem;
  color: #282c3f;
  flex-shrink: 0;
}

.b2c-bag-item-express-label {
  font-size: 0.78rem;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #282c3f;
}

.b2c-bag-item-express-text {
  font-size: 0.78rem;
  font-weight: 400;
  color: #282c3f;
}

.b2c-bag-item-actions {
  display: flex;
  align-items: stretch;
  border-top: 1px solid #e9e9eb;
}

.b2c-bag-action {
  flex: 1;
  border: none;
  background: none;
  font-size: 0.88rem;
  font-weight: 700;
  color: #282c3f;
  cursor: pointer;
  padding: 0.9rem 0.75rem;
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  transition: color 0.15s ease, background 0.15s ease;
}

.b2c-bag-action i {
  font-size: 1rem;
}

.b2c-bag-action--save:hover {
  color: var(--b2c-brand);
  background: rgba(0, 80, 255, 0.06);
}

.b2c-bag-action--remove:hover {
  color: #c9184a;
  background: #ffe8ee;
}

.b2c-bag-action--remove:hover i {
  color: #c9184a;
}

.b2c-bag-action-divider {
  width: 1px;
  align-self: stretch;
  background: #e9e9eb;
  margin: 0.65rem 0;
}

.b2c-bag-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: min(68vh, 36rem);
  padding: 4rem 1.5rem 5rem;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.b2c-bag-empty[hidden] {
  display: none !important;
}

.b2c-bag-empty-art {
  width: 10.5rem;
  height: 10.5rem;
  margin: 0 auto 1.35rem;
  display: grid;
  place-items: center;
}

.b2c-bag-empty-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.b2c-bag-empty-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: #282c3f;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.b2c-bag-empty-sub {
  margin: 0.55rem 0 1.5rem;
  max-width: 22rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #7e818c;
  line-height: 1.45;
}

.b2c-bag-empty-cta {
  appearance: none;
  background: #fff;
  border: 1px solid var(--b2c-brand);
  color: var(--b2c-brand);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.85rem 1.35rem;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.b2c-bag-empty-cta:hover {
  background: rgba(0, 80, 255, 0.06);
  color: var(--b2c-brand);
}

.b2c-bag-empty-cta:focus-visible {
  outline: 2px solid var(--b2c-brand);
  outline-offset: 2px;
}

/* ── Sidebar ── */
.b2c-bag-sidebar {
  position: sticky;
  top: 5.5rem;
}

.b2c-bag-price-card {
  padding: 1.25rem;
}

.b2c-bag-price-title {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 1rem;
  color: var(--b2c-ink);
}

.b2c-bag-price-rows {
  margin: 0;
}

.b2c-bag-price-rows .b2c-bag-price-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.9rem;
  padding: 0.4rem 0;
  margin-top: 0;
}

.b2c-bag-price-rows .b2c-bag-price-row dt {
  margin: 0;
  font-weight: 500;
  color: var(--b2c-muted);
}

.b2c-bag-price-rows .b2c-bag-price-row dd {
  margin: 0;
  font-weight: 600;
  color: var(--b2c-ink);
}

.b2c-bag-price-row--total {
  border-top: 1px dashed var(--b2c-line);
  margin-top: 0.5rem !important;
  padding-top: 0.75rem !important;
  font-size: 1rem;
}

.b2c-bag-price-row--total dt,
.b2c-bag-price-row--total dd {
  color: var(--b2c-ink);
  font-weight: 800;
}

.b2c-bag-price-row--total dd {
  font-size: 1.15rem;
}

.b2c-bag-price-rows .b2c-bag-price-row--discount dt {
  color: var(--b2c-muted);
  font-weight: 500;
}

.b2c-bag-price-rows .b2c-bag-price-row--discount dd,
#b2c-bag-price-discount {
  color: #388e3c !important;
  font-weight: 700;
}

.b2c-bag-secure {
  margin: 0.85rem 0 0;
  font-size: 0.78rem;
  color: #059669;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.b2c-bag-place-stack {
  margin-top: 0.85rem;
}

.b2c-bag-place-bar {
  background: #fff;
  border: 1px solid #e9e9eb;
  border-radius: 4px;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.b2c-bag-place-total {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--b2c-ink);
}

.b2c-bag-savings {
  margin: 0.55rem 0 0;
  text-align: right;
  font-size: 0.86rem;
  font-weight: 700;
  color: #388e3c;
  line-height: 1.35;
}

.b2c-bag-policy-footer {
  margin-top: 2.5rem;
  background: #f1f3f6;
  border-top: 1px solid #e0e0e0;
}

.b2c-bag-policy-footer-inner {
  max-width: var(--b2c-shell-max, 1200px);
  margin: 0 auto;
  padding: 0.85rem var(--b2c-shell-pad, 1rem) 0.85rem var(--b2c-shell-pad-left, 1rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
}

.b2c-bag-policy-left,
.b2c-bag-policy-right {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #565656;
}

.b2c-bag-policy-label {
  margin-right: 0.2rem;
}

.b2c-bag-policy-left a,
.b2c-bag-policy-right a {
  color: #565656;
  text-decoration: none;
  font-weight: 600;
}

.b2c-bag-policy-right a {
  color: #2874f0;
  font-weight: 600;
}

.b2c-bag-policy-left a:hover,
.b2c-bag-policy-right a:hover {
  text-decoration: underline;
}

.b2c-bag-policy-sep {
  margin: 0 0.35rem;
  color: #878787;
}

.b2c-bag-policy-copy {
  margin-left: 0.55rem;
  color: #878787;
  font-weight: 500;
}

.b2c-bag-place-btn {
  min-width: 8.5rem;
  padding: 0.7rem 1.25rem;
  border: none;
  border-radius: 4px;
  background: var(--b2c-brand);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}

.b2c-bag-place-btn:hover:not(:disabled) {
  background: var(--b2c-brand-dark);
  color: #fff;
}

.b2c-bag-place-btn.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.b2c-bag-page.is-empty .b2c-bag-sidebar,
.b2c-bag-page.is-empty .b2c-bag-tabs,
.b2c-bag-page.is-empty .b2c-bag-delivery,
.b2c-bag-page.is-empty .b2c-bag-place-stack {
  display: none !important;
}

.b2c-bag-page.is-empty .b2c-bag-wrap {
  display: block;
  max-width: none;
  margin: 0;
  padding-left: var(--b2c-shell-pad-left);
  padding-right: var(--b2c-shell-pad);
  background: transparent;
}

.b2c-bag-page.is-empty .b2c-bag-main {
  background: transparent;
  border: none;
  box-shadow: none;
  min-height: min(72vh, 38rem);
  display: flex;
  flex-direction: column;
  width: 100%;
}

.b2c-bag-page.is-empty .b2c-bag-empty {
  flex: 1;
  width: 100%;
  background: transparent;
}

@media (max-width: 991px) {
  .b2c-bag-wrap {
    grid-template-columns: 1fr;
    padding-bottom: 6.5rem;
  }

  .b2c-bag-sidebar {
    position: static;
  }

  .b2c-bag-price-card {
    display: none;
  }

  .b2c-bag-place-stack {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    margin: 0;
    background: #fff;
    border-top: 1px solid #e9e9eb;
    box-shadow: 0 -6px 24px rgba(15, 23, 42, 0.12);
    padding: 0.65rem var(--b2c-shell-pad) 0.75rem;
  }

  .b2c-bag-place-bar {
    margin: 0;
    border-radius: 0;
    border: none;
    box-shadow: none;
    padding: 0;
  }

  .b2c-bag-savings {
    text-align: center;
    margin-top: 0.45rem;
  }

  .b2c-bag-policy-footer {
    padding-bottom: 5.5rem;
  }

  .b2c-bag-policy-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .b2c-bag-item-body {
    grid-template-columns: 88px minmax(0, 1fr);
    padding: 0.85rem 2.25rem 0.75rem 0.75rem;
    gap: 0.7rem;
  }

  .b2c-bag-item-media,
  .b2c-bag-item-thumb {
    width: 88px;
  }
}
