/* NewChoice AP2 — canonical storefront, cart and owned content */
.store-section-tabs {
  width: min(1200px, calc(100% - 32px));
  margin: 24px auto 8px;
  padding: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(27, 138, 172, .14);
  border-radius: 16px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 8px 30px rgba(15, 41, 53, .05);
}

.store-section-tab,
.store-section-cart {
  min-height: 42px;
  border: 0;
  border-radius: 11px;
  padding: 0 22px;
  font: 700 14px/1 'Cairo', sans-serif;
  color: #526671;
  background: transparent;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}

.store-section-tab:hover { color: #136f8a; background: rgba(27, 138, 172, .06); }
.store-section-tab.is-active {
  color: #fff;
  background: linear-gradient(135deg, #136f8a, #1b8aac);
  box-shadow: 0 7px 18px rgba(27, 138, 172, .22);
}
.store-section-cart { margin-inline-start: auto; color: #0f2935; background: #eef7fa; }
.store-section-cart span {
  display: inline-grid;
  min-width: 22px;
  height: 22px;
  margin-inline-start: 7px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: #1b8aac;
  font-size: 11px;
}

.store-commerce-panel { min-height: 360px; }
.store-mine-panel { width: min(1200px, calc(100% - 32px)); margin: 24px auto 80px; }
.store-mine-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin: 12px 0 24px;
}
.store-mine-header h1 { margin: 0; font-size: clamp(23px, 3vw, 32px); color: #0f2935; }
.store-mine-header p { margin: 5px 0 0; color: #6b7785; font-size: 13px; }
.store-account-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid #cfe4eb;
  border-radius: 11px;
  color: #136f8a;
  background: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
}
.store-mine-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.store-mine-card {
  overflow: hidden;
  border: 1px solid rgba(15, 41, 53, .09);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(15, 41, 53, .07);
}
.store-mine-card.is-expired { opacity: .72; }
.store-mine-card__image { height: 170px; background: linear-gradient(135deg, #eef7fa, #f8fbfc); }
.store-mine-card__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.store-mine-card__fallback { width: 100%; height: 100%; display: grid; place-items: center; }
.store-mine-card__fallback img { width: 58px; height: 58px; object-fit: contain; }
.store-mine-card__body { padding: 18px; }
.store-mine-card__type { color: #1b8aac; font-size: 11px; font-weight: 800; }
.store-mine-card h3 { margin: 7px 0 5px; font-size: 17px; line-height: 1.6; }
.store-mine-card__status { min-height: 22px; color: #53717e; font-size: 11px; }
.store-mine-actions { display: grid; gap: 8px; margin-top: 14px; }
.store-action {
  min-height: 42px;
  border: 1px solid #cfe4eb;
  border-radius: 11px;
  padding: 0 14px;
  font: 700 13px/1 'Cairo', sans-serif;
  color: #136f8a;
  background: #f5fafc;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.store-action--primary { color: #fff; border-color: #1b8aac; background: #1b8aac; }
.store-empty {
  min-height: 280px;
  padding: 50px 20px;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px dashed #bfd8e1;
  border-radius: 20px;
  color: #607581;
  background: rgba(255, 255, 255, .7);
}
.store-empty h2 { margin: 0 0 8px; color: #0f2935; }
.store-empty p { margin: 0 0 18px; }

.tabby-brand-word {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 57px;
  height: 23px;
  padding: 0 9px 1px;
  border-radius: 6px;
  color: #000;
  background: #3eedbf;
  font: 900 14px/1 Arial, sans-serif;
  letter-spacing: -.7px;
  direction: ltr;
}

.store-commerce-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(3, 16, 22, .66);
  backdrop-filter: blur(6px);
}
.store-commerce-modal.is-open { display: flex; }
.store-commerce-dialog {
  position: relative;
  width: min(900px, 100%);
  max-height: min(860px, calc(100vh - 36px));
  overflow: auto;
  padding: 28px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .28);
}
.store-commerce-dialog--small { width: min(560px, 100%); }
.store-commerce-dialog h2 { margin: 0 0 22px; color: #0f2935; font-size: 22px; }
.store-commerce-close {
  position: absolute;
  top: 17px;
  left: 17px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  color: #526671;
  background: #eef3f5;
  font-size: 24px;
  cursor: pointer;
}
.store-delivery-option {
  width: 100%;
  margin: 9px 0;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  border: 1px solid #d9e7ec;
  border-radius: 14px;
  color: #0f2935;
  background: #fff;
  font: 700 14px/1.5 'Cairo', sans-serif;
  cursor: pointer;
}
.store-delivery-option:hover { border-color: #1b8aac; background: #f5fafc; }
.store-delivery-option small { display: block; color: #788a93; font-weight: 500; }
.store-delivery-option strong { color: #136f8a; white-space: nowrap; }

.store-cart-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 22px; }
.store-cart-list { display: grid; gap: 10px; align-content: start; }
.store-cart-item {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid #e4ecef;
  border-radius: 14px;
}
.store-cart-item__image { width: 62px; height: 56px; overflow: hidden; border-radius: 10px; background: #f1f6f8; }
.store-cart-item__image img { width: 100%; height: 100%; object-fit: cover; }
.store-cart-item__title { color: #0f2935; font-weight: 800; font-size: 13px; }
.store-cart-item__meta { margin-top: 3px; color: #7a8b94; font-size: 10px; }
.store-cart-item__price { color: #136f8a; font-size: 13px; font-weight: 900; white-space: nowrap; }
.store-cart-remove { border: 0; background: transparent; color: #b42318; font-size: 20px; cursor: pointer; }
.store-cart-summary { padding: 18px; border-radius: 17px; background: #f7fafb; }
.store-cart-summary h3 { margin: 0 0 12px; font-size: 16px; }
.store-summary-row { display: flex; justify-content: space-between; gap: 15px; margin: 8px 0; color: #637781; font-size: 12px; }
.store-summary-row--total { margin-top: 13px; padding-top: 13px; border-top: 1px solid #dce7eb; color: #0f2935; font-size: 16px; font-weight: 900; }
.store-payment-title { margin: 18px 0 9px; color: #0f2935; font-size: 13px; font-weight: 800; }
.store-payment-option {
  position: relative;
  margin: 8px 0;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 13px;
  border: 1px solid #dbe6ea;
  border-radius: 13px;
  color: #0f2935;
  background: #fff;
  cursor: pointer;
}
.store-payment-option.is-selected { border-color: #1b8aac; box-shadow: 0 0 0 3px rgba(27, 138, 172, .1); }
.store-payment-option input { width: 17px; height: 17px; accent-color: #1b8aac; }
.store-payment-copy strong { display: block; font-size: 13px; }
.store-payment-copy small { display: block; margin-top: 2px; color: #788a93; font-size: 9px; line-height: 1.5; }
.store-test-badge { padding: 3px 7px; border-radius: 999px; color: #785a00; background: #fff0b3; font-size: 9px; font-weight: 800; }
.store-payment-brand { display: inline-flex; align-items: center; justify-content: end; gap: 5px; }
.store-tabby-logo { display: block; width: 58px; max-height: 24px; object-fit: contain; }
.store-tabby-card { margin: 8px 0 12px; min-height: 8px; overflow: hidden; border-radius: 12px; }
.store-tabby-promo {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 12px 0 6px;
  overflow: hidden;
}
.store-tabby-promo--product { margin: 14px 0 4px; }
.store-tabby-unavailable {
  margin: 8px 0 12px;
  padding: 10px 12px;
  border: 1px solid #f0c8c3;
  border-radius: 11px;
  color: #9f291f;
  background: #fff5f3;
  font-size: 10px;
  line-height: 1.7;
}
.store-coupon { margin: 14px 0; }
.store-coupon-row { display: flex; gap: 7px; }
.store-coupon input {
  min-width: 0;
  flex: 1;
  height: 42px;
  border: 1px solid #d6e3e8;
  border-radius: 10px;
  padding: 0 12px;
  font: 600 12px/1 'Cairo', sans-serif;
  text-transform: uppercase;
}
.store-small-button { border: 0; border-radius: 10px; padding: 0 13px; color: #136f8a; background: #e4f2f6; font: 700 11px/1 'Cairo', sans-serif; cursor: pointer; }
.store-coupon-message { min-height: 18px; margin-top: 5px; color: #047857; font-size: 10px; }
.store-checkout-button {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #136f8a, #1b8aac);
  font: 800 14px/1 'Cairo', sans-serif;
  cursor: pointer;
  box-shadow: 0 9px 22px rgba(27, 138, 172, .2);
}
.store-checkout-button:disabled { opacity: .62; cursor: wait; }

.pd-modal__cta { border: 0; font-family: 'Cairo', sans-serif; cursor: pointer; }
.store-nav-g1__cart { font-family: inherit; }

html.dark .store-section-tabs,
html[data-theme="dark"] .store-section-tabs,
body.dark .store-section-tabs,
body[data-theme="dark"] .store-section-tabs,
html.dark .store-commerce-dialog,
html[data-theme="dark"] .store-commerce-dialog,
body.dark .store-commerce-dialog,
body[data-theme="dark"] .store-commerce-dialog,
html.dark .store-mine-card,
html[data-theme="dark"] .store-mine-card,
body.dark .store-mine-card,
body[data-theme="dark"] .store-mine-card { background: #102731; color: #eaf4f7; border-color: rgba(255,255,255,.1); }

@media (max-width: 820px) {
  .store-mine-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .store-cart-layout { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .store-section-tabs { width: calc(100% - 20px); margin-top: 14px; }
  .store-section-tab { flex: 1; padding: 0 10px; }
  .store-section-cart { width: 44px; padding: 0; font-size: 0; }
  .store-section-cart span { margin: 0; font-size: 11px; }
  .store-mine-panel { width: calc(100% - 20px); }
  .store-mine-grid { grid-template-columns: 1fr; }
  .store-mine-header { align-items: flex-start; flex-direction: column; }
  .store-commerce-dialog { padding: 22px 16px 18px; border-radius: 18px; }
  .store-cart-item { grid-template-columns: 52px minmax(0, 1fr) auto; }
  .store-cart-item__image { width: 52px; height: 50px; }
  .store-cart-item__price { grid-column: 2; }
  .store-cart-remove { grid-column: 3; grid-row: 1 / 3; }
}
