/* Keep one promotional image in the original gallery layout. */
.one-picture__thumbs > li:not(:first-child),
.normal-picture .simple-swiper__container > .swiper-item:not(:first-child) {
  display: none !important;
}

.normal-picture .simple-swiper__container > .swiper-item:first-child .crop-image-container {
  padding-bottom: 66.2857% !important;
}

.normal-picture .simple-swiper__container > .swiper-item:first-child .crop-image-container__img {
  object-fit: contain !important;
}

.main-sales-attr__color {
  display: none !important;
}

.product-intro__head-reviews,
.product-intro__head-share,
.product-item__ranking-item,
.freeshipping-belt__wrapper {
  display: none !important;
}

#productMainPriceId {
  color: #fa6338 !important;
  font-family: Arial Black, Arial, sans-serif;
  font-size: 28px;
  font-weight: 800;
}

.details-pic__swiper-slide > .details-pic__img:not(:first-child),
.details-pic__swiper-prev,
.details-pic__swiper-next,
.details-pic__progress {
  display: none !important;
}

.details-pic__swiper-slide > .details-pic__img:first-child {
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 900px;
  margin: 0 auto;
}

.details-pic__swiper-slide > .details-pic__img:first-child img {
  content: url('./new-product-banner.png') !important;
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  border-radius: 14px;
}

.common-footer-container {
  margin-top: 80px;
  background: #f7f7f7;
}

.local-original-footer {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 36px 70px;
  max-width: 1620px;
  margin: 0 auto;
  padding: 70px 48px 80px;
  color: #222;
  font-family: Arial, sans-serif;
}

.local-original-footer h3 {
  margin: 0 0 18px;
  font-size: 14px;
  font-weight: 700;
}

.local-footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px;
}

.local-footer-links a {
  display: block;
  margin: 0 0 14px;
  color: #555;
  font-size: 14px;
  text-decoration: none;
}

.local-footer-links a:hover { color: #000; text-decoration: underline; }
.local-footer-topline { display: grid; grid-template-columns: 1.6fr .8fr; gap: 35px; }
.local-socials, .local-apps { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.local-socials span { font-size: 25px; font-weight: 800; }
.local-apps span { font-size: 16px; font-weight: 700; }
.local-footer-connect > h3 { margin-top: 38px; }

.local-subscribe {
  display: grid;
  grid-template-columns: 1fr 180px;
  min-height: 46px;
  margin-bottom: 24px;
}

.local-subscribe input, .local-subscribe > span {
  box-sizing: border-box;
  min-width: 0;
  border: 1px solid #d6d6d6;
  background: #fff;
  padding: 0 14px;
  color: #555;
  font: inherit;
}

.local-subscribe > span { display: flex; align-items: center; }
.local-subscribe button { border: 0; background: #000; color: #fff; font-size: 16px; font-weight: 700; cursor: pointer; }
.local-phone { grid-template-columns: 100px 1fr 180px; }
.local-phone input { border-left: 0; }
.local-business p { margin: 0 0 10px; color: #555; font-size: 14px; }
.local-payments div { display: flex; flex-wrap: wrap; gap: 10px; }
.local-payments span { display: inline-flex; align-items: center; justify-content: center; min-height: 28px; border: 1px solid #ddd; border-radius: 3px; background: #fff; padding: 3px 9px; font-size: 11px; font-weight: 700; line-height: 1; }
.local-payments .pay-cash { background: #55aa9e; color: #fff; }
.local-payments .pay-paypal { background: #eff7ff; color: #0756a0; }
.local-payments .pay-visa { background: #172b85; color: #fff; font-size: 15px; }
.local-payments .pay-master { color: #e51b24; letter-spacing: -6px; font-size: 22px; padding-right: 14px; }
.local-payments .pay-maestro { color: #126eb3; letter-spacing: -6px; font-size: 22px; padding-right: 14px; }
.local-payments .pay-amex { background: #1688b8; color: #fff; font-size: 8px; text-align: center; }
.local-payments .pay-jcb { background: #1c8b62; color: #fff; font-size: 14px; }
.local-payments .pay-union { background: #167c75; color: #fff; }
.local-payments .pay-gcash { color: #2370d8; }
.local-payments .pay-grab { color: #00a650; }
.local-payments .pay-gpay { color: #4285f4; }
.local-trust { margin-top: 18px; }
.local-trust span { min-height: 18px; padding: 2px 6px; font-size: 8px; }

.local-footer-legal {
  grid-column: 1 / -1;
  margin-top: 32px;
  border-top: 1px solid #ddd;
  padding-top: 28px;
  color: #555;
  text-align: center;
}

.local-footer-legal p { margin: 0 0 10px; font-size: 14px; }
.local-footer-legal nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.local-footer-legal a { color: #555; font-size: 14px; text-decoration: underline; }
.local-footer-legal i { width: 1px; height: 16px; background: #bbb; }

@media (max-width: 900px) {
  .local-original-footer { grid-template-columns: 1fr; padding: 45px 24px 90px; }
  .local-footer-links { grid-template-columns: repeat(2, 1fr); }
  .local-footer-topline { grid-template-columns: 1fr; }
  .local-footer-legal { grid-column: 1; }
}

.masagana-mobile-header,
.mobile-product-skeleton,
.masagana-mobile-actions { display: none; }

@media (max-width: 768px) {
  html, body { width: 100%; overflow-x: hidden; }
  body { padding-bottom: 68px; background: #fff; }

  .header-nav,
  .j-header-fixer,
  .bs-nav,
  .bread-crumb,
  .product-intro__info,
  .purchase-control,
  .detail-btf__container,
  .common-footer-container,
  .one-picture__thumbs {
    display: none !important;
  }

  .masagana-mobile-header {
    display: block;
    width: 100%;
    background: #fff;
    color: #111;
    font-family: Arial, sans-serif;
  }

  .mobile-app-offer {
    min-height: 72px;
    display: grid;
    grid-template-columns: 18px 60px 1fr 48px;
    align-items: center;
    gap: 7px;
    padding: 7px 10px 7px 5px;
    border-bottom: 1px solid #d8d8d8;
  }

  .mobile-app-close { border: 0; background: transparent; color: #bbb; font-size: 21px; }
  .mobile-app-close { font-size: 0; }
  .mobile-app-close::after { content: "\00d7"; font-size: 21px; }
  .mobile-app-offer > img { width: 58px; height: 58px; padding: 5px; border-radius: 13px; background: #080008; object-fit: contain; }
  .mobile-app-offer div { min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
  .mobile-app-offer strong { font-size: 11px; }
  .mobile-app-offer small { margin-top: 2px; font-size: 9px; }
  .mobile-app-offer span { margin-top: 3px; color: #ffb800; font-size: 11px; }
  .mobile-app-offer em { color: #aaa; font-style: normal; }
  .mobile-app-offer > a { display: grid; place-items: center; height: 34px; border: 1px solid #888; color: #555; font-size: 12px; text-decoration: none; }

  .mobile-main-nav {
    height: 48px;
    display: grid;
    grid-template-columns: 38px 38px 1fr 38px 38px 38px;
    align-items: center;
    border-bottom: 1px solid #ddd;
    background: #fff;
  }

  .mobile-main-nav button { height: 100%; border: 0; background: transparent; color: #111; font-size: 25px; line-height: 1; }
  .mobile-main-nav button { font-size: 0; }
  .mobile-main-nav button::after { font-size: 25px; }
  .mobile-main-nav button:nth-of-type(1)::after { content: "\2039"; }
  .mobile-main-nav button:nth-of-type(2)::after { content: "\2630"; }
  .mobile-main-nav button:nth-of-type(3)::after { content: "\2315"; }
  .mobile-main-nav button:nth-of-type(4)::after { content: "\21e7"; }
  .mobile-main-nav button:nth-of-type(5)::after { content: "\1f6d2"; font-size: 20px; }
  .mobile-main-nav img { width: 125px; height: 34px; justify-self: center; object-fit: contain; }

  .goods-detail,
  .goods-detailv2__media,
  .goods-detailv2__media-inner,
  .atf-container,
  .atf-left,
  .main-picture,
  .one-picture,
  .one-picture__normal,
  .normal-picture {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .atf-container { display: block !important; }
  .product-intro,
  .product-intro__main,
  .goods-detailv2__media { margin-top: 0 !important; padding-top: 0 !important; }
  .goods-detail { margin-top: -94px !important; }
  .main-picture { border: 0 !important; background: #f5f5f5; }
  .normal-picture .simple-swiper__container > .swiper-item:first-child .crop-image-container { padding-bottom: 66.2857% !important; background: #f5f5f5 !important; }
  .normal-picture .simple-swiper__container > .swiper-item:first-child .crop-image-container__img { width: 100% !important; height: 100% !important; object-fit: contain !important; }

  .mobile-product-skeleton { display: block; padding: 14px 12px 22px; background: #fff; }
  .mobile-product-skeleton i,
  .mobile-product-skeleton b,
  .mobile-product-skeleton span { display: block; height: 15px; margin-bottom: 10px; background: #f4f4f4; }
  .mobile-product-skeleton i { width: 22%; }
  .mobile-product-skeleton b { width: 100%; }
  .mobile-product-skeleton span { width: 72%; }
  .mobile-hide-reviews { display: none !important; }

  .masagana-mobile-actions {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 8px;
    position: fixed !important;
    z-index: 9999 !important;
    right: 0;
    bottom: 0;
    left: 0;
    height: 64px;
    padding: 7px 10px;
    box-sizing: border-box;
    border-top: 1px solid #ddd;
    background: #fff;
  }

  .mobile-wishlist {
    display: grid;
    place-items: center;
    border: 0;
    background: #fff;
    color: #111;
    font: 38px/1 Arial, sans-serif;
  }

  .mobile-claim-button {
    display: grid;
    place-items: center;
    background: #050505;
    color: #fff;
    font: 700 16px/1 Arial, sans-serif;
    text-decoration: none;
  }
}

/* Remove browser-extension UI accidentally captured with the saved page. */
.ue-sidebar-container,
.ubersuggest-header-container,
.keyword-info-container,
.keyword-info-section,
.kw-overview-container,
.bl-info-container {
  display: none !important;
}
