/* ==========================================
   BABYRENTA — PRODUCT LIST 2 COLUMNS MOBILE
   ========================================== */

@media (max-width: 767px) {
  html body .fs-c-productList__list,
  html body .smb-searchLayout .fs-c-productList__list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px 12px !important;
  }
}

/* ==========================================
   BABYRENTA — CREDIT CARD MODAL
   Expiration date + payment brand icons
   ========================================== */

/* 1. MONTH / YEAR — ONE ROW */

html body .fs-c-modal__contents
.fs-c-creditCardInfoField
.fs-c-dropdownGroup {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
  width: 100%;
}

/* Month and year containers */
html body .fs-c-modal__contents
.fs-c-creditCardInfoField
.fs-c-dropdownGroup > .fs-c-dropdown {
  flex: 1 1 0;
  width: 0;
  min-width: 0;
  margin: 0;
}

/* Select fields */
html body .fs-c-modal__contents
.fs-c-creditCardInfoField
.fs-c-dropdownGroup .fs-c-dropdown__menu {
  display: block;
  width: 100%;
  min-width: 0;
  height: 48px;
  margin: 0;
  padding: 0 36px 0 14px;
  background-color: #fff;
  border: 1px solid #dce7ca;
  border-radius: 12px;
  color: #3b3b3b;
  font-size: 14px;
  box-sizing: border-box;
}

/* Slash between month and year */
html body .fs-c-modal__contents
.fs-c-creditCardInfoField
.fs-c-dropdownGroup > span {
  flex: 0 0 auto;
  margin: 0;
  color: #91a76b;
  font-size: 16px;
  font-weight: 500;
}

/* Focus */
html body .fs-c-modal__contents
.fs-c-creditCardInfoField
.fs-c-dropdown__menu:focus {
  border-color: #a2c552;
  outline: 2px solid rgba(162, 197, 82, 0.2);
  outline-offset: 1px;
}


/* ==========================================
   2. CREDIT CARD BRAND ICONS
   ========================================== */

html body .fs-c-modal__contents
.fs-c-creditCardIcons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;

  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

/* Reset default FutureShop list styling */
html body .fs-c-modal__contents
.fs-c-creditCardIcons > li {
  display: flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 auto;
  width: 68px;
  height: 44px;
  margin: 0;
  padding: 8px;

  background: #fafcf6;
  border: 1px solid #edf1e5;
  border-radius: 10px;
  list-style: none;
}

/* Remove dots and other list decorations */
html body .fs-c-modal__contents
.fs-c-creditCardIcons > li::before,
html body .fs-c-modal__contents
.fs-c-creditCardIcons > li::after {
  content: none;
  display: none;
}

/* Logos */
html body .fs-c-modal__contents
.fs-c-creditCardIcons__image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 26px;
  object-fit: contain;
  margin: 0;
}


/* ==========================================
   3. SMALL MOBILE SCREENS
   ========================================== */

@media screen and (max-width: 480px) {

  html body .fs-c-modal__contents
  .fs-c-creditCardIcons {
    gap: 6px;
  }

  html body .fs-c-modal__contents
  .fs-c-creditCardIcons > li {
    width: 56px;
    height: 40px;
    padding: 6px;
    border-radius: 8px;
  }

  html body .fs-c-modal__contents
  .fs-c-creditCardIcons__image {
    max-height: 23px;
  }

  html body .fs-c-modal__contents
  .fs-c-creditCardInfoField
  .fs-c-dropdownGroup {
    gap: 8px;
  }
}

/* ==========================================
   BABYRENTA — DATE INPUT FIX
   Year / Month / Day in one row
   ========================================== */

html body .fs-c-inputDate.fs-c-dropdownGroup {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
}

/* Все три поля */
html body .fs-c-inputDate > .fs-c-dropdown {
  display: block;
  flex: 1 1 0;
  width: 0;
  min-width: 0;
  margin: 0;
  padding: 0;
}

/* Год — немного шире */
html body .fs-c-inputDate > .fs-c-inputDate__year {
  flex: 1.4 1 0;
}

/* Месяц и день */
html body .fs-c-inputDate > .fs-c-inputDate__month,
html body .fs-c-inputDate > .fs-c-inputDate__date {
  flex: 1 1 0;
}

/* Выпадающие списки */
html body .fs-c-inputDate .fs-c-dropdown__menu {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 48px;
  margin: 0;
  padding: 0 30px 0 12px;

  background-color: #fff;
  border: 1px solid #dce7ca;
  border-radius: 12px;

  color: #3b3b3b;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  box-sizing: border-box;
}

/* Фокус */
html body .fs-c-inputDate .fs-c-dropdown__menu:focus {
  border-color: #a2c552;
  outline: 2px solid rgba(162, 197, 82, 0.2);
  outline-offset: 1px;
}

/* Узкие экраны */
@media (max-width: 480px) {
  html body .fs-c-inputDate.fs-c-dropdownGroup {
    gap: 6px;
  }

  html body .fs-c-inputDate .fs-c-dropdown__menu {
    height: 44px;
    padding: 0 24px 0 9px;
    font-size: 13px;
    border-radius: 10px;
  }
}
.smb-menu__extra > li + li {
    border: none !important;
}

/* ==========================================
   BABYRENTA — BURGER BUTTON FIX
   ========================================== */

/* Выравнивание всех элементов меню */
html body .smb-header .smb-menu__bar {
  display: flex;
  align-items: center;
  gap: 12px;
}

html body .smb-header .smb-menu__bar > li {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}

/* Размер кнопки */
html body .smb-header .smb-menu .smb-menu__burger {
  position: relative;
  display: block;
  flex: 0 0 28px;

  width: 28px !important;
  min-width: 28px;
  max-width: 28px;

  height: 28px !important;
  min-height: 28px !important;
  max-height: 28px;

  margin: 0;
  padding: 0 !important;

  background: transparent !important;
  border: 0 !important;
  border-radius: 0;
  box-shadow: none !important;

  cursor: pointer;
}

/* Три полоски */
html body .smb-header .smb-menu__burger .smb-menu__line {
  position: absolute;
  left: 3px;
  right: 3px;

  width: auto;
  height: 2px;

  background: #3b3b3b;
  border-radius: 2px;
}

/* Позиция полосок */
html body .smb-header .smb-menu__line:nth-child(1) {
  top: 7px;
}

html body .smb-header .smb-menu__line:nth-child(2) {
  top: 13px;
}

html body .smb-header .smb-menu__line:nth-child(3) {
  top: 19px;
}


/* ==========================================
   BABYRENTA — CHECKOUT READABILITY FIX
   Better contrast, buttons and typography
   ========================================== */

:root {
  --br-checkout-text: #30382C;
  --br-checkout-muted: #626D5D;
  --br-checkout-green: #789B32;
  --br-checkout-green-hover: #628128;
  --br-checkout-border: #D9E5C7;
  --br-checkout-surface: #FAFCF7;
}

/* Общая читаемость checkout */
html body .fs-l-checkout__mainColumn {
  color: var(--br-checkout-text);
  font-size: 14px;
  line-height: 1.75;
}

/* Основные карточки оформления */
html body .fs-l-checkout__mainColumn
.fs-c-checkout-preview {
  background: var(--br-checkout-surface);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
}

/* Заголовки секций */
html body .fs-l-checkout__mainColumn
.fs-c-checkout-preview__title {
  color: #628128 !important;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

/* Подзаголовки */
html body .fs-l-checkout__mainColumn
.fs-c-checkout-heading,
html body .fs-l-checkout__mainColumn
.fs-c-checkout-heading-lv2 {
  color: var(--br-checkout-text);
  font-weight: 700;
}

/* Описания, адреса и значения */
html body .fs-l-checkout__mainColumn
.fs-c-checkout-preview__body,
html body .fs-l-checkout__mainColumn
.fs-c-checkout-customerInfo,
html body .fs-l-checkout__mainColumn
.fs-c-checkout-shippingAddress {
  color: var(--br-checkout-text);
  font-size: 14px;
}

/* Второстепенные подписи */
html body .fs-l-checkout__mainColumn
.fs-c-checkout-shippingCarrierComment,
html body .fs-l-checkout__mainColumn
.fs-c-checkout-shippingOptionPreview__value {
  color: var(--br-checkout-muted);
}

/* ==========================================
   SECONDARY BUTTONS
   Изменить / Выбрать адрес / Применить
   ========================================== */

html body .fs-l-checkout__mainColumn
.fs-c-button--change--small,
html body .fs-l-checkout__mainColumn
.fs-c-button--chooseDestination,
html body .fs-l-checkout__mainColumn
.fs-c-button--standard:not(:disabled):not(.is-disabled) {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: auto;
  min-width: 88px;
  min-height: 40px;
  padding: 9px 18px;

  background: #FFFFFF !important;
  color: #628128 !important;
  border: 1px solid #A7C67A !important;
  border-radius: 10px !important;
  box-shadow: none;

  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

html body .fs-l-checkout__mainColumn
.fs-c-button--standard:not(:disabled):not(.is-disabled):hover,
html body .fs-l-checkout__mainColumn
.fs-c-button--change--small:hover {
  background: #F0F7E0 !important;
  border-color: #789B32 !important;
}

/* Надписи внутри вторичных кнопок */
html body .fs-l-checkout__mainColumn
.fs-c-button--standard:not(:disabled):not(.is-disabled)
.fs-c-button__label {
  color: inherit !important;
  font-weight: 700;
  opacity: 1;
}

/* ==========================================
   PRIMARY BUTTONS
   Основные действия и сохранение
   ========================================== */

html body .fs-l-checkout__mainColumn
.fs-c-button--primary:not(:disabled):not(.is-disabled),
html body .fs-l-checkout__mainColumn
.fs-c-button--purchaseHere:not(:disabled):not(.is-disabled) {
  min-height: 48px;
  padding: 12px 24px;
  background: #789B32 !important;
  color: #FFFFFF !important;
  border: 1px solid #789B32 !important;
  border-radius: 12px !important;
  font-size: 15px;
  font-weight: 700;
}

html body .fs-l-checkout__mainColumn
.fs-c-button--primary:not(:disabled):not(.is-disabled)
.fs-c-button__label,
html body .fs-l-checkout__mainColumn
.fs-c-button--purchaseHere:not(:disabled):not(.is-disabled)
.fs-c-button__label {
  color: #FFFFFF !important;
  opacity: 1;
}

html body .fs-l-checkout__mainColumn
.fs-c-button--primary:not(:disabled):not(.is-disabled):hover,
html body .fs-l-checkout__mainColumn
.fs-c-button--purchaseHere:not(:disabled):not(.is-disabled):hover {
  background: #628128 !important;
}

/* ==========================================
   CREDIT CARD PAYMENT BUTTON
   ========================================== */

html body .fs-l-checkout__mainColumn
.fs-c-checkout-paymentMethod button:not(:disabled):not(.is-disabled) {
  color: var(--br-checkout-text);
}

/* Поля и текст */
html body .fs-l-checkout__mainColumn
input:not([type="radio"]):not([type="checkbox"]),
html body .fs-l-checkout__mainColumn
select {
  color: var(--br-checkout-text);
  background-color: #FFFFFF;
  border-color: var(--br-checkout-border);
}

/* ==========================================
   COUPON / POINTS
   ========================================== */

html body .fs-l-checkout__mainColumn
.fs-c-checkout-couponInfo,
html body .fs-l-checkout__mainColumn
.fs-c-checkout-pointInfo {
  color: var(--br-checkout-text);
}

/* ==========================================
   KEYBOARD FOCUS
   ========================================== */

html body .fs-l-checkout__mainColumn
button:focus-visible {
  outline: 3px solid #A2C456;
  outline-offset: 3px;
}

/* ==========================================
   MOBILE
   ========================================== */

@media (max-width: 767px) {
  html body .fs-l-checkout__mainColumn
  .fs-c-checkout-preview {
    padding: 18px 16px;
    border-radius: 14px;
  }

  html body .fs-l-checkout__mainColumn
  .fs-c-checkout-preview__title {
    font-size: 17px;
  }

  html body .fs-l-checkout__mainColumn
  .fs-c-button--change--small,
  html body .fs-l-checkout__mainColumn
  .fs-c-button--chooseDestination {
    min-height: 42px;
    padding: 10px 16px;
  }
}

/* =========================================================
   BABYRENTA — CHECKOUT UI FIX v2
   Buttons / Credit cards / Order table / Typography
   ========================================================= */

:root {
  --br-co-green: #789B32;
  --br-co-green-hover: #628128;
  --br-co-green-light: #F0F7E0;
  --br-co-text: #30382C;
  --br-co-muted: #646F60;
  --br-co-line: #E2EAD8;
  --br-co-bg: #FAFCF7;
  --br-co-white: #FFFFFF;
}


/* =========================================================
   1. MAIN CHECKOUT
   ========================================================= */

html body .fs-l-checkout__mainColumn {
  color: var(--br-co-text);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  line-height: 1.75;
}

html body .fs-l-checkout__mainColumn
.fs-c-checkout-preview {
  background: var(--br-co-bg);
  border: 0;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
}

/* Section headings */

html body .fs-l-checkout__mainColumn
.fs-c-checkout-preview__title {
  color: var(--br-co-green-hover) !important;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--br-co-line);
}

/* Subheadings */

html body .fs-l-checkout__mainColumn
.fs-c-checkout-heading,
html body .fs-l-checkout__mainColumn
.fs-c-checkout-heading-lv2 {
  color: var(--br-co-text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

/* Body text */

html body .fs-l-checkout__mainColumn
.fs-c-checkout-preview__body,
html body .fs-l-checkout__mainColumn
.fs-c-checkout-customerInfo,
html body .fs-l-checkout__mainColumn
.fs-c-checkout-shippingAddress {
  color: var(--br-co-text);
  font-size: 14px;
  line-height: 1.8;
}

html body .fs-l-checkout__mainColumn
.fs-c-checkout-shippingOptionPreview__value,
html body .fs-l-checkout__mainColumn
.fs-c-checkout-shippingCarrierComment {
  color: var(--br-co-muted);
}


/* =========================================================
   2. BUTTON CONTAINERS
   FIX VERTICAL STACKING
   ========================================================= */

/* Address action buttons */

html body .fs-l-checkout__mainColumn
.fs-c-checkout-shippingDestination__control {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  margin-top: 16px;
}

/* Remove unnecessary spacing between wrappers */

html body .fs-l-checkout__mainColumn
.fs-c-checkout-shippingDestination__control
> div {
  display: flex !important;
  align-items: center;
  width: auto !important;
  max-width: 100%;
  margin: 0 !important;
}

/* Other small action containers */

html body .fs-l-checkout__mainColumn
.fs-c-buttonContainer--changeSmall,
html body .fs-l-checkout__mainColumn
.fs-c-checkout-shippingDetail__button {
  width: auto;
  margin-top: 12px;
}

/* =========================================================
   3. SECONDARY BUTTONS
   ========================================================= */

html body .fs-l-checkout__mainColumn
.fs-c-button--change--small,
html body .fs-l-checkout__mainColumn
.fs-c-button--chooseDestination,
html body .fs-l-checkout__mainColumn
.fs-c-button--standard:not(:disabled):not(.is-disabled) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: auto !important;
  min-width: 88px !important;
  max-width: 100%;
  min-height: 42px !important;
  height: auto !important;

  margin: 0 !important;
  padding: 10px 18px !important;

  background-color: #FFFFFF !important;
  color: #628128 !important;
  border: 1px solid #A7C67A !important;
  border-radius: 10px !important;
  box-shadow: none !important;

  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  text-align: center;
  white-space: normal;

  cursor: pointer;
  transition:
    background-color .2s ease,
    border-color .2s ease;
}

/* Labels must stay visible */

html body .fs-l-checkout__mainColumn
.fs-c-button--standard .fs-c-button__label,
html body .fs-l-checkout__mainColumn
.fs-c-button--change--small .fs-c-button__label,
html body .fs-l-checkout__mainColumn
.fs-c-button--chooseDestination .fs-c-button__label {
  color: inherit !important;
  font-size: inherit !important;
  font-weight: 700 !important;
  opacity: 1 !important;
}

/* Hover */

html body .fs-l-checkout__mainColumn
.fs-c-button--standard:not(:disabled):hover,
html body .fs-l-checkout__mainColumn
.fs-c-button--change--small:hover,
html body .fs-l-checkout__mainColumn
.fs-c-button--chooseDestination:hover {
  background-color: var(--br-co-green-light) !important;
  border-color: var(--br-co-green) !important;
}


/* =========================================================
   4. PRIMARY BUTTONS
   ========================================================= */

html body .fs-l-checkout__mainColumn
.fs-c-button--primary:not(:disabled),
html body .fs-l-checkout__mainColumn
.fs-c-button--purchaseHere:not(:disabled) {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 48px;
  padding: 12px 24px;

  background: var(--br-co-green) !important;
  color: #FFFFFF !important;
  border: 1px solid var(--br-co-green) !important;
  border-radius: 12px !important;

  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

html body .fs-l-checkout__mainColumn
.fs-c-button--primary:not(:disabled) .fs-c-button__label,
html body .fs-l-checkout__mainColumn
.fs-c-button--purchaseHere:not(:disabled) .fs-c-button__label {
  color: #FFFFFF !important;
  opacity: 1 !important;
}

html body .fs-l-checkout__mainColumn
.fs-c-button--primary:not(:disabled):hover,
html body .fs-l-checkout__mainColumn
.fs-c-button--purchaseHere:not(:disabled):hover {
  background: var(--br-co-green-hover) !important;
}


/* =========================================================
   5. CREDIT CARD ICONS
   REMOVE DOTS AND LIST DECORATIONS
   ========================================================= */

html body .fs-c-creditCardIcons,
html body .fs-l-checkout__mainColumn
.fs-c-creditCardIcons {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-start !important;

  gap: 8px !important;

  width: 100%;
  margin: 12px 0 !important;
  padding: 0 !important;

  list-style: none !important;
  list-style-type: none !important;
}

/* Icon list items */

html body .fs-c-creditCardIcons
> .fs-c-creditCardIcons__icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  flex: 0 0 auto;
  width: 62px !important;
  height: 42px !important;

  margin: 0 !important;
  padding: 6px !important;

  background: #FFFFFF;
  border: 1px solid var(--br-co-line);
  border-radius: 9px;

  list-style: none !important;
  list-style-type: none !important;
}

/* Remove bullets, pseudo-elements and markers */

html body .fs-c-creditCardIcons
> li::marker {
  content: "" !important;
  font-size: 0 !important;
}

html body .fs-c-creditCardIcons
> li::before,
html body .fs-c-creditCardIcons
> li::after {
  content: none !important;
  display: none !important;
}

/* Images */

html body .fs-c-creditCardIcons
.fs-c-creditCardIcons__image {
  display: block !important;

  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 27px !important;

  margin: 0 !important;
  padding: 0 !important;

  object-fit: contain;
  border: 0;
}


/* =========================================================
   6. CHECKOUT ORDER TABLE
   PRODUCT / QUANTITY / SUBTOTAL
   ========================================================= */

/* Order table container */

html body .fs-l-checkout__mainColumn
.fs-c-cartTable {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: auto;
}

/* Header */

html body .fs-l-checkout__mainColumn
.fs-c-cartTable__headerCell {
  padding: 12px 14px !important;
  background: #FFFFFF !important;
  color: var(--br-co-text) !important;
  border: 0 !important;
  border-bottom: 1px solid var(--br-co-line) !important;

  font-size: 13px;
  font-weight: 700;
  text-align: left;
}

/* Data cells */

html body .fs-l-checkout__mainColumn
.fs-c-cartTable__dataCell {
  padding: 16px 14px !important;
  background: #FFFFFF !important;
  border: 0 !important;
  border-bottom: 1px solid var(--br-co-line) !important;
  vertical-align: middle;
}

/* Product column */

html body .fs-l-checkout__mainColumn
.fs-c-cartTable__dataCell--product {
  width: auto !important;
  min-width: 0;
}

/* Product name */

html body .fs-l-checkout__mainColumn
.fs-c-cartTable__productName,
html body .fs-l-checkout__mainColumn
.fs-c-listedProductName__name {
  color: var(--br-co-text) !important;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}

/* Product image */

html body .fs-l-checkout__mainColumn
.fs-c-cartTable__productImage {
  flex: 0 0 80px;
  width: 80px;
  max-width: 80px;
}

html body .fs-l-checkout__mainColumn
.fs-c-cartTable__productImage img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Product layout */

html body .fs-l-checkout__mainColumn
.fs-c-cartTable__product {
  display: flex !important;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

/* Quantity */

html body .fs-l-checkout__mainColumn
.fs-c-cartTable__dataCell--quantity {
  display: table-cell !important;
  width: 84px !important;
  text-align: center;
}

/* Subtotal */

html body .fs-l-checkout__mainColumn
.fs-c-cartTable__dataCell--subtotal {
  display: table-cell !important;
  width: 120px !important;
  text-align: right;
  white-space: nowrap;
}

/* Total price */

html body .fs-l-checkout__mainColumn
.fs-c-cartTable__dataCell--subtotal .fs-c-price {
  color: var(--br-co-green-hover) !important;
  font-weight: 700;
  font-size: 16px;
}

/* Points: remove empty column */

html body .fs-l-checkout__mainColumn
.fs-c-cartTable__dataCell--point,
html body .fs-l-checkout__mainColumn
.fs-c-cartTable__headerCell--point {
  display: none !important;
}

/* Checkout-specific cart table wrapper */

html body .fs-l-checkout__mainColumn
.fs-c-cartTable__row {
  background: #FFFFFF;
}

/* Other possible order-table names */

html body .fs-l-checkout__mainColumn
.fs-c-checkout-cartTable {
  width: 100%;
  border-collapse: collapse;
}

html body .fs-l-checkout__mainColumn
.fs-c-checkout-cartTable th,
html body .fs-l-checkout__mainColumn
.fs-c-checkout-cartTable td {
  padding: 14px 12px;
  vertical-align: middle;
  border-bottom: 1px solid var(--br-co-line);
}


/* =========================================================
   7. PAYMENT METHODS
   ========================================================= */

html body .fs-l-checkout__mainColumn
.fs-c-checkout-paymentMethod {
  color: var(--br-co-text);
}

html body .fs-l-checkout__mainColumn
.fs-c-checkout-paymentMethodList > li {
  border-radius: 12px;
}

/* Active payment option */

html body .fs-l-checkout__mainColumn
.fs-c-checkout-checkoutMethod.is-active {
  background: var(--br-co-green-light);
}

/* Inactive payment option */

html body .fs-l-checkout__mainColumn
.fs-c-checkout-checkoutMethod:not(.is-active) {
  background: #FFFFFF;
}


/* =========================================================
   8. FIELDS & FOCUS
   ========================================================= */

html body .fs-l-checkout__mainColumn
input:not([type="radio"]):not([type="checkbox"]),
html body .fs-l-checkout__mainColumn
select {
  color: var(--br-co-text);
  background-color: #FFFFFF;
  border-color: var(--br-co-line);
}

html body .fs-l-checkout__mainColumn
button:focus-visible,
html body .fs-l-checkout__mainColumn
a:focus-visible,
html body .fs-l-checkout__mainColumn
input:focus-visible {
  outline: 3px solid #A2C456;
  outline-offset: 3px;
}


/* =========================================================
   9. MOBILE
   ========================================================= */

@media screen and (max-width: 767px) {

  html body .fs-l-checkout__mainColumn
  .fs-c-checkout-preview {
    padding: 18px 14px;
    border-radius: 14px;
  }

  html body .fs-l-checkout__mainColumn
  .fs-c-checkout-preview__title {
    font-size: 17px;
  }

  /* Address buttons in one row when space permits */

  html body .fs-l-checkout__mainColumn
  .fs-c-checkout-shippingDestination__control {
    gap: 8px !important;
  }

  html body .fs-l-checkout__mainColumn
  .fs-c-checkout-shippingDestination__control
  .fs-c-button--standard {
    font-size: 12px !important;
    padding: 10px 12px !important;
  }

  /* Credit card logos */

  html body .fs-c-creditCardIcons {
    gap: 6px !important;
  }

  html body .fs-c-creditCardIcons
  > .fs-c-creditCardIcons__icon {
    width: 54px !important;
    height: 38px !important;
    padding: 5px !important;
  }

  html body .fs-c-creditCardIcons
  .fs-c-creditCardIcons__image {
    max-height: 24px !important;
  }

  /* Table spacing */

  html body .fs-l-checkout__mainColumn
  .fs-c-cartTable__dataCell {
    padding: 12px 8px !important;
  }

  html body .fs-l-checkout__mainColumn
  .fs-c-cartTable__productImage {
    flex-basis: 60px;
    width: 60px;
    max-width: 60px;
  }

  html body .fs-l-checkout__mainColumn
  .fs-c-cartTable__dataCell--quantity {
    width: 50px !important;
  }

  html body .fs-l-checkout__mainColumn
  .fs-c-cartTable__dataCell--subtotal {
    width: 85px !important;
  }

  html body .fs-l-checkout__mainColumn
  .fs-c-listedProductName__name {
    font-size: 12px;
  }
}

/* ==========================================================
   BABYRENTA — MOBILE CHECKOUT ORDER FIX
   Scoped to order confirmation only
   ========================================================== */

@media screen and (max-width: 767px) {

  /* Таблица без старой раскладки */
  html body #fs-orderContents-container
  .fs-c-cartTable {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    table-layout: auto !important;
    border: 0 !important;
    background: transparent !important;
  }

  /* Убираем заголовки таблицы */
  html body #fs-orderContents-container
  .fs-c-cartTable thead {
    display: none !important;
  }

  html body #fs-orderContents-container
  .fs-c-cartTable tbody {
    display: block !important;
    width: 100% !important;
  }

  /* Каждый товар — отдельная карточка */
  html body #fs-orderContents-container
  .fs-c-cartTable tbody > .fs-c-cartTable__row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 0 !important;
    width: 100% !important;
    margin: 0 0 12px !important;
    padding: 14px !important;
    background: #FFFFFF !important;
    border: 1px solid #E2EAD8 !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
  }

  /* Сбрасываем старые стили ячеек */
  html body #fs-orderContents-container
  .fs-c-cartTable tbody .fs-c-cartTable__dataCell {
    float: none !important;
    position: static !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
  }

  /* Товар на всю ширину первой строки */
  html body #fs-orderContents-container
  .fs-c-cartTable__dataCell--product {
    display: block !important;
    grid-column: 1 / -1 !important;
    padding-bottom: 14px !important;
    margin-bottom: 12px !important;
    border-bottom: 1px solid #E2EAD8 !important;
  }

  /* Фото + название */
  html body #fs-orderContents-container
  .fs-c-cartTable__product {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    min-width: 0 !important;
  }

  html body #fs-orderContents-container
  .fs-c-cartTable__productImage {
    display: block !important;
    flex: 0 0 64px !important;
    width: 64px !important;
    height: 64px !important;
    margin: 0 !important;
  }

  html body #fs-orderContents-container
  .fs-c-cartTable__productImage img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
  }

  html body #fs-orderContents-container
  .fs-c-cartTable__productInfo {
    flex: 1 1 0 !important;
    min-width: 0 !important;
  }

  html body #fs-orderContents-container
  .fs-c-listedProductName__name {
    display: block !important;
    color: #30382C !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.6 !important;
    overflow-wrap: anywhere;
  }

  /* Количество — слева */
  html body #fs-orderContents-container
  .fs-c-cartTable__dataCell--quantity {
    display: flex !important;
    grid-column: 1 !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    text-align: left !important;
    white-space: nowrap !important;
  }

  html body #fs-orderContents-container
  .fs-c-cartTable__dataCell--quantity::before {
    content: "数量" !important;
    display: inline-block !important;
    position: static !important;
    color: #626D5D !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    width: auto !important;
    margin: 0 !important;
  }

  html body #fs-orderContents-container
  .fs-c-cartTable__quantity {
    display: inline-block !important;
    width: auto !important;
    margin: 0 !important;
    color: #30382C !important;
    font-size: 14px !important;
    font-weight: 600 !important;
  }

  /* Сумма — справа */
  html body #fs-orderContents-container
  .fs-c-cartTable__dataCell--subtotal {
    display: flex !important;
    grid-column: 2 !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    text-align: right !important;
    white-space: nowrap !important;
  }

  html body #fs-orderContents-container
  .fs-c-cartTable__dataCell--subtotal::before {
    content: "小計" !important;
    display: inline-block !important;
    position: static !important;
    width: auto !important;
    margin: 0 !important;
    color: #626D5D !important;
    font-size: 12px !important;
    font-weight: 400 !important;
  }

  html body #fs-orderContents-container
  .fs-c-cartTable__dataCell--subtotal
  .fs-c-cartTable__price,
  html body #fs-orderContents-container
  .fs-c-cartTable__dataCell--subtotal
  .fs-c-price {
    display: inline-flex !important;
    align-items: baseline !important;
    width: auto !important;
    margin: 0 !important;
    color: #628128 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
  }

  /* Баллы здесь не показываем */
  html body #fs-orderContents-container
  .fs-c-cartTable__dataCell--point {
    display: none !important;
  }

  /* Кнопка изменения заказа */
  html body #fs-orderContents-container
  .fs-c-checkout-preview__button {
    margin-top: 16px !important;
  }
}


/* =====================================================
   BABYRENTA — PRODUCT REVIEWS REDESIGN v2
   Design system: green / white / rounded / no borders
   Desktop + Tablet + Mobile
   ===================================================== */

html body .fs-c-productReview {
  --review-primary: #A2C552;
  --review-dark: #739230;
  --review-text: #30382C;
  --review-muted: #69755F;
  --review-bg: #F5F9EC;
  --review-soft: #ECF4DC;

  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;

  width: 100% !important;
  max-width: 100% !important;
  margin: 32px 0 40px !important;
  padding: 28px !important;

  background: var(--review-bg) !important;
  border: none !important;
  border-radius: 20px !important;
  box-shadow: none !important;
  box-sizing: border-box !important;

  color: var(--review-text);
  font-family: "Noto Sans JP", sans-serif;
  writing-mode: horizontal-tb !important;
}

/* =====================================================
   RESET OLD LAYOUT
   ===================================================== */

html body .fs-c-productReview
.fs-c-aggregateRating,

html body .fs-c-productReview
.fs-c-reviewList,

html body .fs-c-productReview
.fs-c-reviewList__item,

html body .fs-c-productReview
.fs-c-reviewInfo,

html body .fs-c-productReview
.fs-c-reviewer,

html body .fs-c-productReview
.fs-c-reviewBody {
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* =====================================================
   SECTION TITLE
   ===================================================== */

html body .fs-c-productReview::before {
  content: "お客様のレビュー" !important;

  display: block !important;
  grid-column: 1 / -1 !important;

  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;

  color: var(--review-text) !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;

  writing-mode: horizontal-tb !important;
}

/* =====================================================
   AGGREGATE RATING
   ===================================================== */

html body .fs-c-productReview
.fs-c-aggregateRating {
  display: flex !important;
  grid-column: 1 / -1 !important;

  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-start !important;

  gap: 12px !important;
  width: 100% !important;

  margin: 0 0 4px !important;
  padding: 0 !important;

  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Rating and stars */

html body .fs-c-productReview
.fs-c-aggregateRating__rating {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 12px !important;

  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Average number */

html body .fs-c-productReview
.fs-c-aggregateRating .fs-c-rating__value {
  display: inline-block !important;

  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;

  color: var(--review-dark) !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
}

/* Review count */

html body .fs-c-productReview
.fs-c-aggregateRating__count {
  display: inline-flex !important;
  align-items: center !important;

  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;

  color: var(--review-muted) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
}

/* =====================================================
   REVIEW LIST
   ===================================================== */

html body .fs-c-productReview
.fs-c-reviewList {
  display: grid !important;
  grid-column: 1 / -1 !important;

  grid-template-columns: minmax(0, 1fr) !important;
  gap: 14px !important;

  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;

  background: transparent !important;
  border: none !important;
  list-style: none !important;
}

/* Each review card */

html body .fs-c-productReview
.fs-c-reviewList__item {
  display: flex !important;
  flex-direction: column !important;

  gap: 16px !important;
  width: 100% !important;
  height: auto !important;

  margin: 0 !important;
  padding: 22px !important;

  background: #FFFFFF !important;
  border: none !important;
  border-radius: 16px !important;
  box-shadow: none !important;
  list-style: none !important;
}

/* Remove list decorations */

html body .fs-c-productReview
.fs-c-reviewList__item::before,

html body .fs-c-productReview
.fs-c-reviewList__item::after {
  content: none !important;
  display: none !important;
}

html body .fs-c-productReview
.fs-c-reviewList__item::marker {
  content: "" !important;
}

/* =====================================================
   REVIEW HEADER
   ===================================================== */

html body .fs-c-productReview
.fs-c-reviewInfo {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;

  align-items: center !important;
  justify-content: flex-start !important;

  gap: 10px 16px !important;

  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;

  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Reviewer block */

html body .fs-c-productReview
.fs-c-reviewer {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;

  align-items: center !important;
  gap: 6px 10px !important;

  flex: 1 1 160px !important;
  width: auto !important;

  margin: 0 !important;
  padding: 0 !important;
}

/* Reviewer name */

html body .fs-c-productReview
.fs-c-reviewer__name,

html body .fs-c-productReview
.fs-c-reviewer__name a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;

  width: auto !important;
  margin: 0 !important;

  color: var(--review-text) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  text-decoration: none !important;
}

/* Review count in username */

html body .fs-c-productReview
.fs-c-reviewer__name__reviewNumber {
  color: var(--review-muted) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
}

html body .fs-c-productReview
.fs-c-reviewer__name__reviewNumber::before {
  content: "(";
}

html body .fs-c-productReview
.fs-c-reviewer__name__reviewNumber::after {
  content: ")";
}

/* Purchased badge */

html body .fs-c-productReview
.fs-c-reviewerStatus {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: auto !important;
  min-height: 24px !important;

  margin: 0 !important;
  padding: 4px 10px !important;

  background: var(--review-soft) !important;
  border: none !important;
  border-radius: 6px !important;

  color: var(--review-dark) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
}

/* Private status */

html body .fs-c-productReview
.fs-c-reviewer__profile {
  display: inline-flex !important;
  width: auto !important;
  margin: 0 !important;
}

html body .fs-c-productReview
.fs-c-reviewer__profile__status {
  color: #899482 !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
}

/* Review date */

html body .fs-c-productReview
.fs-c-reviewInfo__date {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;

  gap: 6px !important;

  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;

  color: var(--review-muted) !important;
  font-size: 12px !important;
}

html body .fs-c-productReview
.fs-c-reviewInfo__date dt,

html body .fs-c-productReview
.fs-c-reviewInfo__date dd {
  display: inline !important;

  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;

  color: inherit !important;
  font-size: inherit !important;
}

/* =====================================================
   REVIEW STARS
   Preserve FutureShop rendering
   ===================================================== */

html body .fs-c-productReview
.fs-c-reviewRating {
  display: flex !important;
  align-items: center !important;

  flex: 0 0 auto !important;
  width: auto !important;

  margin: 0 !important;
  padding: 0 !important;
}

/* Do not replace the built-in star graphics */

html body .fs-c-productReview
.fs-c-reviewStars {
  display: inline-block !important;

  flex: 0 0 auto !important;
  width: auto;
  max-width: none !important;

  margin: 0 !important;
  padding: 0 !important;

  vertical-align: middle !important;
}

/* =====================================================
   REVIEW BODY
   ===================================================== */

html body .fs-c-productReview
.fs-c-reviewBody {
  display: block !important;

  width: 100% !important;
  height: auto !important;

  margin: 0 !important;
  padding: 0 !important;

  color: var(--review-text) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.9 !important;

  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: anywhere !important;

  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* =====================================================
   ACTION CONTAINERS
   ===================================================== */

html body .fs-c-productReview
.fs-c-productReview__allReviews,

html body .fs-c-productReview
.fs-c-productReview__addReview {
  display: flex !important;
  align-items: stretch !important;
  justify-content: center !important;

  width: 100% !important;
  min-width: 0 !important;

  margin: 0 !important;
  padding: 0 !important;

  background: transparent !important;
  border: none !important;
}

/* View all reviews — left */

html body .fs-c-productReview
.fs-c-productReview__allReviews {
  grid-column: 1 !important;
}

/* Write review — right */

html body .fs-c-productReview
.fs-c-productReview__addReview {
  grid-column: 2 !important;
}

/* =====================================================
   BUTTON BASE
   ===================================================== */

html body .fs-c-productReview
.fs-c-button--viewAllReviews,

html body .fs-c-productReview
.fs-c-button--addReview--detail {
  display: inline-flex !important;
  flex-direction: row !important;

  align-items: center !important;
  justify-content: center !important;

  width: 100% !important;
  min-width: 0 !important;
  min-height: 48px !important;
  height: auto !important;

  margin: 0 !important;
  padding: 12px 18px !important;

  border: none !important;
  border-radius: 12px !important;
  box-shadow: none !important;

  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;

  text-align: center !important;
  text-decoration: none !important;
  white-space: normal !important;
  writing-mode: horizontal-tb !important;

  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    opacity 0.2s ease;
}

/* =====================================================
   SECONDARY BUTTON
   View all reviews
   ===================================================== */

html body .fs-c-productReview
.fs-c-button--viewAllReviews {
  background: #ECF4DC !important;
  color: #628128 !important;
}

html body .fs-c-productReview
.fs-c-button--viewAllReviews:hover {
  background: #DFEEC5 !important;
  color: #537126 !important;
}

/* =====================================================
   PRIMARY BUTTON
   Write review
   ===================================================== */

html body .fs-c-productReview
.fs-c-button--addReview--detail {
  background: #A2C552 !important;
  color: #243314 !important;
}

html body .fs-c-productReview
.fs-c-button--addReview--detail:hover {
  background: #91B342 !important;
  color: #243314 !important;
}

/* Button labels */

html body .fs-c-productReview
.fs-c-button--viewAllReviews .fs-c-button__label {
  display: inline !important;
  color: #628128 !important;
  font-size: inherit !important;
  font-weight: 700 !important;
  opacity: 1 !important;
}

html body .fs-c-productReview
.fs-c-button--addReview--detail .fs-c-button__label {
  display: inline !important;
  color: #243314 !important;
  font-size: inherit !important;
  font-weight: 700 !important;
  opacity: 1 !important;
}

/* Keyboard accessibility */

html body .fs-c-productReview a:focus-visible {
  outline: 3px solid #739230;
  outline-offset: 3px;
}

/* =====================================================
   TABLET
   ===================================================== */

@media screen and (max-width: 1024px) {

  html body .fs-c-productReview {
    padding: 24px !important;
    gap: 14px !important;
  }

  html body .fs-c-productReview
  .fs-c-reviewList__item {
    padding: 20px !important;
  }
}

/* =====================================================
   MOBILE
   ===================================================== */

@media screen and (max-width: 767px) {

  html body .fs-c-productReview {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;

    gap: 14px !important;

    width: 100% !important;
    margin: 24px 0 32px !important;
    padding: 18px 14px !important;

    border-radius: 16px !important;
  }

  /* Title */

  html body .fs-c-productReview::before {
    grid-column: 1 !important;
    font-size: 18px !important;
  }

  /* Average rating */

  html body .fs-c-productReview
  .fs-c-aggregateRating {
    grid-column: 1 !important;
    gap: 10px !important;
  }

  html body .fs-c-productReview
  .fs-c-aggregateRating .fs-c-rating__value {
    font-size: 24px !important;
  }

  /* Review list */

  html body .fs-c-productReview
  .fs-c-reviewList {
    grid-column: 1 !important;
  }

  /* Review card */

  html body .fs-c-productReview
  .fs-c-reviewList__item {
    padding: 16px !important;
    gap: 14px !important;
    border-radius: 12px !important;
  }

  /* Reviewer info */

  html body .fs-c-productReview
  .fs-c-reviewInfo {
    gap: 8px 10px !important;
  }

  html body .fs-c-productReview
  .fs-c-reviewer {
    flex: 1 1 100% !important;
  }

  /* Review text */

  html body .fs-c-productReview
  .fs-c-reviewBody {
    font-size: 13px !important;
    line-height: 1.85 !important;
  }

  /* Buttons stack vertically */

  html body .fs-c-productReview
  .fs-c-productReview__allReviews,

  html body .fs-c-productReview
  .fs-c-productReview__addReview {
    grid-column: 1 !important;
  }

  html body .fs-c-productReview
  .fs-c-button--viewAllReviews,

  html body .fs-c-productReview
  .fs-c-button--addReview--detail {
    min-height: 46px !important;
    padding: 12px 14px !important;
    font-size: 13px !important;
    border-radius: 10px !important;
  }
}

/* =====================================================
   BABYRENTA — REVIEW LIST PAGE
   Futureshop / Product reviews
   Green + White / No borders
   ===================================================== */

/* ==========================================
   PRODUCT SUMMARY
   ========================================== */

html body .fs-c-productReviewed {
  display: grid !important;
  grid-template-columns: 180px minmax(0, 1fr) !important;
  grid-template-rows: auto auto 1fr !important;
  column-gap: 28px !important;
  row-gap: 10px !important;
  align-items: start !important;

  width: 100% !important;
  max-width: 100% !important;
  margin: 24px 0 28px !important;
  padding: 28px !important;

  background: #F8FAF4 !important;
  border: none !important;
  border-radius: 18px !important;
  box-shadow: none !important;
  box-sizing: border-box !important;

  color: #30382C;
  font-family: "Noto Sans JP", sans-serif;
}

/* Product image */

html body .fs-c-productReviewed__image {
  grid-column: 1 !important;
  grid-row: 1 / 4 !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 180px !important;
  height: 180px !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 12px !important;

  background: #FFFFFF !important;
  border: none !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

html body .fs-c-productReviewed__image a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 100% !important;
  height: 100% !important;
}

html body .fs-c-productReviewed__image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
}

/* Product name */

html body .fs-c-productReviewed__name {
  grid-column: 2 !important;
  grid-row: 1 !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body .fs-c-productReviewed__name a,
html body .fs-c-productReviewed
.fs-c-productName__name {
  color: #30382C !important;
  font-size: 19px !important;
  font-weight: 700 !important;
  line-height: 1.6 !important;
  text-decoration: none !important;
  overflow-wrap: anywhere;
}

html body .fs-c-productReviewed__name a:hover {
  color: #739230 !important;
}

/* Product number */

html body .fs-c-productReviewed__number {
  grid-column: 2 !important;
  grid-row: 2 !important;

  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;

  color: #78816F !important;
  font-size: 13px !important;
}

/* Price area */

html body .fs-c-productReviewed__prices {
  grid-column: 2 !important;
  grid-row: 3 !important;

  width: 100% !important;
  margin: 6px 0 0 !important;
  padding: 0 !important;
}

html body .fs-c-productReviewed__prices
.fs-c-productPrice__main {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  gap: 5px !important;

  width: auto !important;
  margin: 0 !important;
}

/* Price label */

html body .fs-c-productReviewed__prices
.fs-c-productPrice__main__label {
  flex-basis: 100% !important;
  color: #69755F !important;
  font-size: 12px !important;
  font-weight: 400 !important;
}

/* Price */

html body .fs-c-productReviewed__prices
.fs-c-productPrice__main__price {
  display: inline-flex !important;
  align-items: baseline !important;
  width: auto !important;

  color: #739230 !important;
  font-size: 25px !important;
  font-weight: 700 !important;
}

/* Tax and range */

html body .fs-c-productReviewed__prices
.fs-c-productPrice__main__addon,
html body .fs-c-productReviewed__prices
.fs-c-productPrice__main__joint {
  color: #78816F !important;
  font-size: 12px !important;
  font-weight: 400 !important;
}


/* ==========================================
   AGGREGATE RATING
   ========================================== */

/* Only standalone rating on review list page */

html body .fs-l-main > .fs-c-aggregateRating {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 12px !important;

  width: 100% !important;
  margin: 0 0 20px !important;
  padding: 18px 22px !important;

  background: #F0F7E0 !important;
  border: none !important;
  border-radius: 14px !important;
  box-sizing: border-box !important;
}

/* Rating and stars */

html body .fs-l-main > .fs-c-aggregateRating
.fs-c-aggregateRating__rating {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 10px !important;

  width: auto !important;
  margin: 0 !important;
}

/* Score */

html body .fs-l-main > .fs-c-aggregateRating
.fs-c-rating__value {
  color: #739230 !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
}

/* Review count */

html body .fs-l-main > .fs-c-aggregateRating
.fs-c-aggregateRating__count {
  display: inline-flex !important;
  align-items: center !important;

  width: auto !important;
  margin: 0 !important;

  color: #69755F !important;
  font-size: 13px !important;
}

/* =====================================================
   REVIEW LIST CONTAINER
   ===================================================== */

html body .fs-c-history:has(.fs-c-reviewList--product) {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;

  width: 100% !important;
  margin: 0 0 40px !important;
  padding: 0 !important;

  background: transparent !important;
  border: none !important;
}

/* List */

html body .fs-c-history
.fs-c-reviewList--product {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 14px !important;

  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;

  background: transparent !important;
  border: none !important;
  list-style: none !important;
}

/* Review cards */

html body .fs-c-history
.fs-c-reviewList--product > .fs-c-reviewList__item {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;

  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 24px !important;

  background: #F8FAF4 !important;
  border: none !important;
  border-radius: 16px !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  list-style: none !important;
}

/* Remove bullets */

html body .fs-c-history
.fs-c-reviewList--product > li::before,
html body .fs-c-history
.fs-c-reviewList--product > li::after {
  display: none !important;
  content: none !important;
}

html body .fs-c-history
.fs-c-reviewList--product > li::marker {
  content: "" !important;
}

/* =====================================================
   REVIEW HEADER
   ===================================================== */

html body .fs-c-history
.fs-c-reviewInfo {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 12px 18px !important;

  width: 100% !important;
  min-width: 0 !important;

  margin: 0 !important;
  padding: 0 !important;

  background: transparent !important;
  border: none !important;
  writing-mode: horizontal-tb !important;
}

/* Reviewer */

html body .fs-c-history
.fs-c-reviewer {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px 12px !important;

  flex: 1 1 240px !important;
  min-width: 0 !important;
  width: auto !important;
  margin: 0 !important;
}

/* Reviewer name */

html body .fs-c-history
.fs-c-reviewer__name,
html body .fs-c-history
.fs-c-reviewer__name a {
  color: #30382C !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

/* Review count */

html body .fs-c-history
.fs-c-reviewer__name__reviewNumber {
  color: #69755F !important;
  font-size: 12px !important;
  font-weight: 400 !important;
}

/* Buyer badge */

html body .fs-c-history
.fs-c-reviewerStatus {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  min-height: 24px !important;
  padding: 4px 10px !important;

  background: #E9F3D8 !important;
  color: #628128 !important;
  border: none !important;
  border-radius: 6px !important;

  font-size: 11px !important;
  font-weight: 700 !important;
}

/* Profile */

html body .fs-c-history
.fs-c-reviewer__profile {
  display: inline-flex !important;
  flex-wrap: wrap !important;
  gap: 4px !important;

  color: #78816F !important;
  font-size: 12px !important;
}

/* Date */

html body .fs-c-history
.fs-c-reviewInfo__date {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;

  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;

  color: #78816F !important;
  font-size: 12px !important;
}

html body .fs-c-history
.fs-c-reviewInfo__date dt,
html body .fs-c-history
.fs-c-reviewInfo__date dd {
  display: inline !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Stars */

html body .fs-c-history
.fs-c-reviewRating {
  display: inline-flex !important;
  align-items: center !important;
  width: auto !important;
  margin: 0 !important;
}

/* Preserve Futureshop stars */

html body .fs-c-history
.fs-c-reviewStars {
  display: inline-block !important;
  width: auto;
  max-width: none !important;
}

/* =====================================================
   REVIEW TEXT
   ===================================================== */

html body .fs-c-history
.fs-c-reviewBody {
  display: block !important;

  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;

  color: #30382C !important;
  font-size: 14px !important;
  line-height: 1.9 !important;

  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: anywhere !important;
  writing-mode: horizontal-tb !important;

  background: transparent !important;
  border: none !important;
}

/* =====================================================
   LIST STATUS / PAGINATION TEXT
   ===================================================== */

html body .fs-c-history
.fs-c-listControl {
  display: flex !important;
  justify-content: flex-end !important;

  width: 100% !important;
  margin: 0 !important;
  padding: 0 4px !important;

  background: transparent !important;
  border: none !important;
}

html body .fs-c-history
.fs-c-listControl__status {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;

  color: #78816F !important;
  font-size: 12px !important;
}

/* Remove redundant second count when there are no pagination controls */

html body .fs-c-history
.fs-c-listControl:last-child {
  display: none !important;
}

/* =====================================================
   TABLET
   ===================================================== */

@media screen and (max-width: 1024px) {

  html body .fs-c-productReviewed {
    grid-template-columns: 150px minmax(0, 1fr) !important;
    gap: 10px 20px !important;
    padding: 22px !important;
  }

  html body .fs-c-productReviewed__image {
    width: 150px !important;
    height: 150px !important;
  }
}

/* =====================================================
   MOBILE
   ===================================================== */

@media screen and (max-width: 767px) {

  html body .fs-c-productReviewed {
    grid-template-columns: 100px minmax(0, 1fr) !important;
    column-gap: 14px !important;
    row-gap: 6px !important;

    margin: 16px 0 20px !important;
    padding: 16px !important;
    border-radius: 14px !important;
  }

  html body .fs-c-productReviewed__image {
    width: 100px !important;
    height: 100px !important;
    padding: 6px !important;
    border-radius: 10px !important;
  }

  html body .fs-c-productReviewed__name a,
  html body .fs-c-productReviewed
  .fs-c-productName__name {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  html body .fs-c-productReviewed__number {
    font-size: 11px !important;
  }

  html body .fs-c-productReviewed__prices {
    margin-top: 0 !important;
  }

  html body .fs-c-productReviewed__prices
  .fs-c-productPrice__main__price {
    font-size: 19px !important;
  }

  /* Average rating */

  html body .fs-l-main > .fs-c-aggregateRating {
    padding: 14px 16px !important;
    gap: 10px !important;
    border-radius: 12px !important;
  }

  html body .fs-l-main > .fs-c-aggregateRating
  .fs-c-rating__value {
    font-size: 21px !important;
  }

  /* Review cards */

  html body .fs-c-history
  .fs-c-reviewList--product > .fs-c-reviewList__item {
    padding: 18px 16px !important;
    gap: 12px !important;
    border-radius: 12px !important;
  }

  html body .fs-c-history
  .fs-c-reviewInfo {
    gap: 8px 10px !important;
  }

  html body .fs-c-history
  .fs-c-reviewer {
    flex-basis: 100% !important;
  }

  html body .fs-c-history
  .fs-c-reviewBody {
    font-size: 13px !important;
    line-height: 1.85 !important;
  }
}
.fs-c-productPrice__main__label {
  display: none !important;
}


/* ===================================================
   BABYRENTA — MY PAGE POINTS REDESIGN
   Desktop / Tablet / Mobile
   No borders
   =================================================== */

/* SUMMARY AREA */

html body .fs-c-history__info {
  width: 100%;
  margin: 0 0 24px;
  padding: 24px;
  background: #F7FAF2;
  border: none;
  border-radius: 18px;
  box-sizing: border-box;
}

html body .fs-c-history__infoSummary {
  width: 100%;
  max-width: none;
  margin: 0;
}

/* Five point summary cards */

html body .fs-c-pointSummary {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-template-rows: auto auto;
  gap: 0 12px;

  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
}

/* Reset dt / dd */

html body .fs-c-pointSummary > dt,
html body .fs-c-pointSummary > dd {
  display: flex;
  min-width: 0;
  width: auto !important;
  margin: 0 !important;

  background: #FFFFFF;
  border: none;
  box-sizing: border-box;
}

/* Card labels */

html body .fs-c-pointSummary > dt {
  grid-row: 1;
  align-items: end;
  padding: 18px 16px 4px;

  color: #69755F;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  border-radius: 12px 12px 0 0;
}

/* Card values */

html body .fs-c-pointSummary > dd {
  grid-row: 2;
  align-items: center;
  padding: 4px 16px 18px;

  color: #30382C;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  border-radius: 0 0 12px 12px;
}

/* Keep corresponding label/value in one column */

html body .fs-c-pointSummary > dt:nth-of-type(1),
html body .fs-c-pointSummary > dd:nth-of-type(1) {
  grid-column: 1;
}

html body .fs-c-pointSummary > dt:nth-of-type(2),
html body .fs-c-pointSummary > dd:nth-of-type(2) {
  grid-column: 2;
}

html body .fs-c-pointSummary > dt:nth-of-type(3),
html body .fs-c-pointSummary > dd:nth-of-type(3) {
  grid-column: 3;
}

html body .fs-c-pointSummary > dt:nth-of-type(4),
html body .fs-c-pointSummary > dd:nth-of-type(4) {
  grid-column: 4;
}

html body .fs-c-pointSummary > dt:nth-of-type(5),
html body .fs-c-pointSummary > dd:nth-of-type(5) {
  grid-column: 5;
}

/* Highlight available points */

html body .fs-c-pointSummary
.fs-c-pointSummary__label--availablePoint,
html body .fs-c-pointSummary
.fs-c-pointSummary__value--availablePoint {
  background: #EDF5DC;
}

html body .fs-c-pointSummary
.fs-c-pointSummary__value--availablePoint,
html body .fs-c-pointSummary
.fs-c-pointSummary__value--purchasePointTotal {
  color: #739230;
}

/* Numeric values */

html body .fs-c-pointSummary
.fs-c-pointSummary__number {
  color: inherit;
  font-size: inherit;
  font-weight: 700;
  line-height: inherit;
  font-variant-numeric: tabular-nums;
}

/* Expiration date */

html body .fs-c-pointSummary
.fs-c-pointSummary__value--purchasePointExpiration {
  font-size: 16px;
  white-space: nowrap;
}


/* ===================================================
   YEAR FILTER
   =================================================== */

html body .fs-c-history__listContainer {
  width: 100%;
  min-width: 0;
}

html body .fs-c-history__termCtrl {
  margin: 0 0 20px;
}

html body .fs-c-history__termCtrl .fs-c-dropdown {
  width: 220px;
  max-width: 100%;
}

html body .fs-c-history__termCtrl
.fs-c-dropdown__menu {
  width: 100%;
  height: 46px;
  padding: 0 40px 0 16px;

  background-color: #F7FAF2;
  color: #30382C;
  border: none;
  border-radius: 12px;

  font-size: 14px;
  font-weight: 600;
  box-sizing: border-box;
}

/* Item count */

html body .fs-c-history__listContainer
.fs-c-listControl {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 12px;
  padding: 0;

  background: transparent;
  border: none;
}

html body .fs-c-history__listContainer
.fs-c-listControl__status {
  color: #78816F;
  font-size: 12px;
}

/* Hide duplicate count below table */

html body .fs-c-history__listContainer
.fs-c-listControl:last-child {
  display: none;
}


/* ===================================================
   POINT HISTORY TABLE — DESKTOP
   =================================================== */

html body .fs-c-pointListTable {
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  border-collapse: separate;
  border-spacing: 0 8px;
  table-layout: auto;

  color: #30382C;
  font-family: "Noto Sans JP", sans-serif;
}

/* Header */

html body .fs-c-pointListTable thead th {
  padding: 12px 16px;
  background: transparent;
  color: #69755F;

  border: none;
  font-size: 12px;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
}

/* Row cells */

html body .fs-c-pointListTable tbody td {
  padding: 18px 16px;
  background: #F7FAF2;
  color: #30382C;

  border: none;
  font-size: 13px;
  line-height: 1.6;
  vertical-align: middle;
}

/* Rounded rows */

html body .fs-c-pointListTable tbody td:first-child {
  border-radius: 12px 0 0 12px;
}

html body .fs-c-pointListTable tbody td:last-child {
  border-radius: 0 12px 12px 0;
}

/* Date */

html body .fs-c-pointListTable
.fs-c-time {
  color: #626D5D;
  font-size: 12px;
  white-space: nowrap;
}

/* Point type */

html body .fs-c-pointListTable__pointType {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;

  min-width: 0;
  margin: 0;
}

html body .fs-c-pointListTable__pointType
> .fs-c-pointListTable__data {
  color: #30382C;
  font-size: 14px;
  font-weight: 700;
}

/* Product / Order details */

html body .fs-c-pointListTable__dataDetail {
  display: block;
  max-width: 100%;
  margin: 0;
  padding: 0;

  color: #69755F;
  font-size: 12px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

/* Order code layout */

html body .fs-c-pointListTable
.fs-c-pairList {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
}

html body .fs-c-pointListTable
.fs-c-pairList dt,
html body .fs-c-pointListTable
.fs-c-pairList dd {
  width: auto;
  margin: 0;
  padding: 0;
  font-size: 12px;
}

/* Order links */

html body .fs-c-pointListTable
a {
  color: #739230;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

/* Status */

html body .fs-c-pointListTable
td:nth-child(3) .fs-c-pointListTable__data {
  color: #69755F;
  font-size: 12px;
  font-weight: 600;
}

/* Points amount */

html body .fs-c-pointListTable
td:nth-child(4) {
  text-align: right;
  white-space: nowrap;
}

html body .fs-c-pointListTable
td:nth-child(4) > .fs-c-pointListTable__data {
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 4px;

  color: #739230;
  font-size: 22px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

html body .fs-c-pointListTable
.fs-c-symbol--plus {
  color: #739230;
  font-size: 18px;
}

/* Expiration */

html body .fs-c-pointListTable
td:nth-child(5) {
  color: #69755F;
  font-size: 12px;
  white-space: nowrap;
}


/* ===================================================
   MY PAGE BUTTON
   =================================================== */

html body .fs-c-buttonContainer--myPageTop {
  display: flex;
  justify-content: flex-start;
  margin: 24px 0 40px;
}

html body .fs-c-button--myPageTop {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: auto;
  min-height: 44px;
  padding: 12px 22px;

  background: #ECF4DC;
  color: #628128;
  border: none;
  border-radius: 12px;
  box-shadow: none;

  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

html body .fs-c-button--myPageTop
.fs-c-button__label {
  color: inherit;
  font-weight: 700;
}

html body .fs-c-button--myPageTop:hover {
  background: #DFEEC5;
}


/* ===================================================
   TABLET
   =================================================== */

@media (max-width: 1024px) {

  html body .fs-c-history__info {
    padding: 18px;
  }

  html body .fs-c-pointSummary {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0 8px;
  }

  html body .fs-c-pointSummary > dt {
    padding: 14px 10px 4px;
    font-size: 11px;
  }

  html body .fs-c-pointSummary > dd {
    padding: 4px 10px 14px;
    font-size: 19px;
  }

  html body .fs-c-pointSummary
  .fs-c-pointSummary__value--purchasePointExpiration {
    font-size: 12px;
  }

  html body .fs-c-pointListTable thead th,
  html body .fs-c-pointListTable tbody td {
    padding-left: 10px;
    padding-right: 10px;
  }
}


/* ===================================================
   MOBILE
   =================================================== */

@media (max-width: 767px) {

  /* Summary cards — 2 columns */

  html body .fs-c-history__info {
    margin-bottom: 20px;
    padding: 14px;
    border-radius: 14px;
  }

  html body .fs-c-pointSummary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(6, auto);
    gap: 0 10px;
  }

  html body .fs-c-pointSummary > dt,
  html body .fs-c-pointSummary > dd {
    grid-column: auto;
    grid-row: auto;
  }

  /* Main balance takes full width */

  html body .fs-c-pointSummary > dt:nth-of-type(1) {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  html body .fs-c-pointSummary > dd:nth-of-type(1) {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  /* Second pair */

  html body .fs-c-pointSummary > dt:nth-of-type(2) {
    grid-column: 1;
    grid-row: 3;
  }

  html body .fs-c-pointSummary > dd:nth-of-type(2) {
    grid-column: 1;
    grid-row: 4;
  }

  /* Third pair */

  html body .fs-c-pointSummary > dt:nth-of-type(3) {
    grid-column: 2;
    grid-row: 3;
  }

  html body .fs-c-pointSummary > dd:nth-of-type(3) {
    grid-column: 2;
    grid-row: 4;
  }

  /* Fourth pair */

  html body .fs-c-pointSummary > dt:nth-of-type(4) {
    grid-column: 1;
    grid-row: 5;
  }

  html body .fs-c-pointSummary > dd:nth-of-type(4) {
    grid-column: 1;
    grid-row: 6;
  }

  /* Fifth pair */

  html body .fs-c-pointSummary > dt:nth-of-type(5) {
    grid-column: 2;
    grid-row: 5;
  }

  html body .fs-c-pointSummary > dd:nth-of-type(5) {
    grid-column: 2;
    grid-row: 6;
  }

  html body .fs-c-pointSummary > dt {
    padding: 14px 12px 4px;
    font-size: 11px;
  }

  html body .fs-c-pointSummary > dd {
    padding: 4px 12px 16px;
    font-size: 20px;
  }

  /* Gap between card rows */

  html body .fs-c-pointSummary > dt:nth-of-type(n+2) {
    margin-top: 10px !important;
  }

  html body .fs-c-pointSummary
  .fs-c-pointSummary__value--purchasePointExpiration {
    font-size: 12px;
  }

  /* Year selector */

  html body .fs-c-history__termCtrl
  .fs-c-dropdown {
    width: 100%;
  }

  /* Mobile table becomes cards */

  html body .fs-c-pointListTable,
  html body .fs-c-pointListTable tbody {
    display: block !important;
    width: 100%;
    border-spacing: 0;
  }

  html body .fs-c-pointListTable thead {
    display: none !important;
  }

  html body .fs-c-pointListTable tbody tr {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 12px;

    width: 100%;
    margin-bottom: 12px;
    padding: 16px;

    background: #F7FAF2;
    border: none;
    border-radius: 14px;
    box-sizing: border-box;
  }

  html body .fs-c-pointListTable tbody td {
    display: block !important;
    float: none !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    text-align: left;
  }

  /* Date — top left */

  html body .fs-c-pointListTable tbody td:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
  }

  /* Points — top right */

  html body .fs-c-pointListTable tbody td:nth-child(4) {
    grid-column: 2;
    grid-row: 1;
    text-align: right;
  }

  html body .fs-c-pointListTable
  td:nth-child(4) > .fs-c-pointListTable__data {
    font-size: 20px;
  }

  /* Transaction type — full width */

  html body .fs-c-pointListTable tbody td:nth-child(2) {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  /* Status — bottom left */

  html body .fs-c-pointListTable tbody td:nth-child(3) {
    grid-column: 1;
    grid-row: 3;
  }

  /* Expiration — bottom right */

  html body .fs-c-pointListTable tbody td:nth-child(5) {
    grid-column: 2;
    grid-row: 3;
    text-align: right;
    white-space: normal;
  }

  html body .fs-c-pointListTable tbody td:nth-child(5)::before {
    content: "有効期限 ";
    color: #899482;
    font-size: 11px;
  }

  html body .fs-c-button--myPageTop {
    min-height: 44px;
  }
}


/* ==========================================
   BABYRENTA — POINT HISTORY MOBILE FIX v2
   Compact cards / No borders
   ========================================== */

@media screen and (max-width: 767px) {

  /* Карточка операции */
  html body .fs-c-history__listContainer
  .fs-c-pointListTable tbody tr {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 12px 10px !important;
    align-items: start !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 0 12px !important;
    padding: 18px !important;
    background: #F7FAF2 !important;
    border: none !important;
    border-radius: 14px !important;
    box-sizing: border-box !important;
  }

  /* Сброс старых ячеек FutureShop */
  html body .fs-c-history__listContainer
  .fs-c-pointListTable tbody td {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 4px !important;

    position: static !important;
    float: none !important;

    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    color: #30382C !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
    text-align: left !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }

  /* Убираем автоматические крупные подписи ячеек */
  html body .fs-c-history__listContainer
  .fs-c-pointListTable tbody td::before,
  html body .fs-c-history__listContainer
  .fs-c-pointListTable tbody td::after {
    content: none !important;
    display: none !important;
  }

  /* Дата — верхний левый угол */
  html body .fs-c-history__listContainer
  .fs-c-pointListTable tbody td:nth-child(1) {
    grid-column: 1 !important;
    grid-row: 1 !important;
    align-self: center !important;
  }

  html body .fs-c-history__listContainer
  .fs-c-pointListTable tbody td:nth-child(1) .fs-c-time {
    color: #78816F !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    white-space: nowrap !important;
  }

  /* Баллы — верхний правый угол */
  html body .fs-c-history__listContainer
  .fs-c-pointListTable tbody td:nth-child(4) {
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-items: flex-end !important;
    text-align: right !important;
    white-space: nowrap !important;
  }

  html body .fs-c-history__listContainer
  .fs-c-pointListTable tbody td:nth-child(4)
  > .fs-c-pointListTable__data {
    display: inline-flex !important;
    align-items: baseline !important;
    gap: 3px !important;
    width: auto !important;

    color: #739230 !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
  }

  /* Тип операции */
  html body .fs-c-history__listContainer
  .fs-c-pointListTable tbody td:nth-child(2) {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    padding: 10px 0 !important;
  }

  html body .fs-c-history__listContainer
  .fs-c-pointListTable__pointType {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 5px !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  html body .fs-c-history__listContainer
  .fs-c-pointListTable__pointType
  > .fs-c-pointListTable__data {
    color: #30382C !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
  }

  /* Название товара / код заказа */
  html body .fs-c-history__listContainer
  .fs-c-pointListTable__dataDetail {
    max-width: 100% !important;
    color: #69755F !important;
    font-size: 12px !important;
    line-height: 1.6 !important;
    overflow-wrap: anywhere !important;
  }

  /* Статус — нижний левый угол */
  html body .fs-c-history__listContainer
  .fs-c-pointListTable tbody td:nth-child(3) {
    grid-column: 1 !important;
    grid-row: 3 !important;
    align-self: center !important;
  }

  html body .fs-c-history__listContainer
  .fs-c-pointListTable tbody td:nth-child(3)
  .fs-c-pointListTable__data {
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    padding: 5px 10px !important;

    background: #E9F3D8 !important;
    color: #628128 !important;
    border: none !important;
    border-radius: 7px !important;

    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
  }

  /* Срок действия — нижний правый угол */
  html body .fs-c-history__listContainer
  .fs-c-pointListTable tbody td:nth-child(5) {
    grid-column: 2 !important;
    grid-row: 3 !important;
    align-items: flex-end !important;
    text-align: right !important;
    white-space: nowrap !important;
  }

  html body .fs-c-history__listContainer
  .fs-c-pointListTable tbody td:nth-child(5)::before {
    content: none !important;
    display: none !important;
  }

  html body .fs-c-history__listContainer
  .fs-c-pointListTable tbody td:nth-child(5)
  .fs-c-pointListTable__data {
    color: #78816F !important;
    font-size: 11px !important;
    font-weight: 400 !important;
  }

  /* Ссылки на заказы */
  html body .fs-c-history__listContainer
  .fs-c-pointListTable a {
    color: #739230 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
  }
}
