/* GamesMD — unified compact catalog cards and platform menus, 2026-11-28 */
.t-catalog__card.js-product{background:#fff!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important;padding:0 8px!important}
.t-catalog__card .t-catalog__card__imgwrapper{height:0!important;padding-bottom:75%!important;background:#fff!important;overflow:hidden!important;border-radius:0!important}
.t-catalog__card .t-catalog__card__bgimg{background-size:contain!important;background-position:center!important;background-repeat:no-repeat!important}
.t-catalog__card .t-catalog__card__img{object-fit:contain!important;max-height:100%!important;max-width:100%!important}
.t-catalog__card .t-catalog__card__contentwrapper{padding:0!important}
.t-catalog__card .t-catalog__card__textwrapper{padding:0!important}
.t-catalog__card .t-catalog__card__textwrapper>a{display:flex!important;flex-direction:column!important;align-items:flex-start!important}
.t-catalog__card .t-catalog__card__price-wrapper{order:0!important;margin:0!important;width:100%!important}
.t-catalog__card .t-catalog__card__price:not(.t-catalog__card__price_old){color:#f03434!important;font-size:16px!important;font-weight:600!important;line-height:1.35!important}
.t-catalog__card .t-catalog__card__price_old{color:#77817e!important;font-size:13px!important}
.t-catalog__card .gmd-rule-meta{order:1!important;font-size:13px!important;line-height:1.5!important;margin:7px 0 10px!important}
.t-catalog__card .t-catalog__card__title{order:2!important;font-size:16px!important;font-weight:600!important;line-height:1.35!important;margin:0!important}
.t-catalog__card .t-catalog__card__descr{order:3!important;font-size:14px!important;line-height:1.45!important;margin:6px 0 0!important}
.t-catalog__card .t-catalog__card__sku{order:4!important}
.t-catalog__card .t-catalog__card__price-buttons{padding-top:12px!important}
.t-catalog__card a.t-catalog__card__btn[href="#order"]{background:linear-gradient(90deg,#fe2f57,#ff6a28)!important;color:#fff!important;border:0!important;box-shadow:0 4px 12px rgba(255,106,40,.28)!important;border-radius:6px!important;min-height:35px!important;padding:8px 14px!important;font-size:13px!important;line-height:1.4!important;font-weight:600!important;max-width:100%!important;white-space:normal!important}
.gmd-platform-item{border-radius:12px!important;overflow:visible!important}
.gmd-platform-item>a{border-radius:11px 0 0 11px!important}
.gmd-platform-item>button[data-gmd-menu],.gmd-section-toggle{font-size:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;position:relative!important;min-width:34px!important;min-height:34px!important;padding:0!important;transition:background .16s ease,color .16s ease!important}
.gmd-platform-item>button[data-gmd-menu]{border-radius:0 11px 11px 0!important;color:#d8f3e7!important;background:transparent!important}
.gmd-platform-item>button[data-gmd-menu]::after,.gmd-section-toggle::after{content:"";width:7px;height:7px;display:block;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translate(-1px,-1px);transition:transform .18s ease}
.gmd-platform-item>button[data-gmd-menu][aria-expanded="true"]::after,.gmd-section-toggle[aria-expanded="true"]::after{transform:rotate(225deg) translate(-1px,-1px)}
.gmd-platform-item>button[data-gmd-menu]:hover,.gmd-platform-item>button[data-gmd-menu][aria-expanded="true"]{background:#83cdb1!important;color:#102b24!important}
.gmd-platform-submenu{background:#152d2a!important;border:1px solid #35564b!important;border-radius:14px!important;padding:7px!important;gap:5px!important;box-shadow:0 12px 28px rgba(10,30,25,.18)!important}
.gmd-platform-submenu a{border:0!important;border-radius:8px!important;padding:10px 14px!important;background:transparent!important;font-weight:600!important;color:#e3f4ed!important}
.gmd-platform-submenu a:hover,.gmd-platform-submenu a[aria-current="true"]{background:#83cdb1!important;color:#102b24!important}
.gmd-platform-tree-line{gap:6px!important;align-items:center!important}
.gmd-platform-tree-line .t-store__parts-tree-btn{flex:1!important;min-width:0!important}
.gmd-section-toggle{width:34px!important;height:34px!important;border:0!important;border-radius:10px!important;color:#276951!important;background:#eff7f3!important;margin-left:auto!important;flex:0 0 34px!important}
.gmd-section-toggle:hover,.gmd-section-toggle[aria-expanded="true"]{background:#d4eee2!important;color:#125c43!important}
.gmd-section-submenu{margin:3px 0 9px 10px!important;padding:5px 0 5px 11px!important;border-left:2px solid #99cfb6!important;gap:3px!important}
.gmd-section-submenu>a{display:block!important;padding:7px 9px!important;border-radius:7px!important;color:#28664f!important;font-size:14px!important;line-height:1.3!important;font-weight:500!important}
.gmd-section-submenu>a:hover,.gmd-section-submenu>a[aria-current="true"]{background:#e2f3ea!important;color:#143d30!important}
@media(max-width:640px){.t-catalog__card.js-product{padding:0 5px!important}.t-catalog__card .t-catalog__card__title{font-size:14px!important}.t-catalog__card .t-catalog__card__descr{font-size:12px!important}.t-catalog__card .gmd-rule-meta{font-size:12px!important;line-height:1.45!important}.t-catalog__card .t-catalog__card__price-wrapper{margin:0!important}.t-catalog__card a.t-catalog__card__btn[href="#order"]{font-size:12px!important;padding:8px 9px!important;width:100%!important}.gmd-platform-item>button[data-gmd-menu]{min-width:30px!important;min-height:36px!important}.gmd-section-toggle{min-width:38px!important;min-height:38px!important;flex-basis:38px!important}.gmd-platform-submenu a{padding:9px 12px!important}}

/* GamesMD: recommendation styles and unified cart/product photos */
.gmd-related{display:none!important}.gmd-related-v2-parent>.t-store__relevants__container,.gmd-related-v2-parent>.t-catalog__relevants__container,.gmd-gta-page .gmd-related-v2{display:none!important}.gmd-related-v2{box-sizing:border-box;clear:both;width:100%;max-width:1160px;margin:28px auto;padding:20px;font:16px/1.4 Arial,sans-serif;color:#162a20}.gmd-related-v2 h3{font-size:24px;margin:0 0 16px}.gmd-related-v2-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.gmd-related-v2-card{min-width:0;display:flex!important;flex-direction:column;align-items:flex-start;gap:8px;padding:12px;border:1px solid #dce9e2;border-radius:12px;text-decoration:none!important;color:#162a20!important;box-sizing:border-box;background:white}.gmd-related-v2-card img{display:block;width:100%;aspect-ratio:4/5;max-height:230px;object-fit:contain;object-position:center}.gmd-related-v2-title{font-weight:700;overflow-wrap:anywhere}.gmd-related-v2-price{color:#e84648}.gmd-related-v2-all{display:inline-block;margin-top:16px;padding:10px 16px;border:1px solid #dce9e2;border-radius:9px;color:#162a20!important;font-weight:700}@media(max-width:640px){.gmd-related-v2{padding:16px 10px;margin:22px auto}.gmd-related-v2 h3{font-size:20px}.gmd-related-v2-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.gmd-related-v2-card{padding:9px;font-size:13px}.gmd-related-v2-card img{max-height:180px}}

@media (max-width: 640px) {
  #allrecords .t706 .t706__carticon {
    top: auto !important;
    right: auto !important;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px)) !important;
    left: calc(16px + env(safe-area-inset-left, 0px)) !important;
  }
}


#allrecords .t706 .t706__carticon-imgwrap {
  box-sizing: border-box;
  width: 64px;
  height: 64px;
  border: 1px solid #d3ffc2;
  border-radius: 50%;
  background: linear-gradient(145deg, #d7ff91, #81dda9);
  box-shadow: 0 0 0 3px rgba(139, 232, 171, .25), 0 0 20px rgba(139, 232, 171, .42), 0 6px 18px rgba(8, 29, 22, .26);
}
#allrecords .t706 .t706__carticon-imgwrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: center / 30px 30px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23132924' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 3h2l2.7 11.2a1 1 0 0 0 1 .8h10.8a1 1 0 0 0 1-.8L22 7H5'/%3E%3Ccircle cx='9' cy='20' r='1.25'/%3E%3Ccircle cx='18' cy='20' r='1.25'/%3E%3C/svg%3E");
  pointer-events: none;
}
#allrecords .t706 .t706__carticon-img {
  opacity: 0;
}
#allrecords .t706 .t706__carticon-counter {
  box-sizing: border-box;
  top: -4px;
  right: -4px;
  bottom: auto;
  width: auto;
  min-width: 24px;
  height: 24px;
  padding: 0 5px;
  border: 2px solid #d7ff91;
  border-radius: 999px;
  background: #132924;
  color: #fff;
  font: 700 12px/20px Arial, sans-serif;
  text-align: center;
}
@media (hover: hover) {
  #allrecords .t706 .t706__carticon:hover .t706__carticon-imgwrap {
    box-shadow: 0 0 0 4px rgba(139, 232, 171, .38), 0 0 24px rgba(139, 232, 171, .62), 0 6px 18px rgba(8, 29, 22, .26);
  }
}
#allrecords .t706 .t706__carticon:focus-within .t706__carticon-imgwrap {
  outline: 2px solid #132924;
  outline-offset: 2px;
}
@media (max-width: 640px) {
  #allrecords .t706 .t706__carticon-imgwrap {
    width: 56px;
    height: 56px;
  }
}

:is(.t-store__product-popup,.t-store__product-snippet,.t-catalog__product-popup,.t-catalog__product-snippet) .t-slds__main .t-slds__bgimg[data-original]{background-size:contain!important;background-position:center center!important;background-repeat:no-repeat!important;background-color:#fff!important}:is(.t-store__product-popup,.t-store__product-snippet,.t-catalog__product-popup,.t-catalog__product-snippet) .t-slds__main .t-slds__imgwrapper{background:#fff!important}
