/* JAYATOP77 local layout — replaces broken Footlocker Magento CSS */

:root {
  --jt-red: #d43737;
  --jt-red-deep: #8b1414;
  --jt-gold: #e5d39d;
  --jt-ink: #111111;
  --jt-muted: #666666;
  --jt-line: #e6e6e6;
  --jt-dark: #0a0a0a;
  --jt-max: 1240px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Roboto, Arial, Helvetica, sans-serif;
  color: var(--jt-ink);
  background: #fff;
  line-height: 1.5;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
  vertical-align: middle;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0 0 12px;
}

.container,
.page-main,
.page-header .container {
  width: min(var(--jt-max), calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

/* Hide Magento leftovers that dump raw lists/text */
.scroll-div,
.cookie-status-message,
.message.global.noscript,
.header-multistore,
.additional-mobile,
.additional-login-mobile,
.action.skip,
.action.nav-toggle,
.nav-sections-item-title,
.submenu,
.drilldown-back,
.drill-opener,
.opener,
.owl-controls,
.wishlist-icon,
.closer-look,
.action-skip-wrapper,
.fotorama__arr,
.fotorama__nav-wrap,
.fotorama__zoom-in,
.fotorama__zoom-out,
.fotorama__spinner,
.fotorama__video-close,
.magnifier-preview,
.mobile-top-info,
.check-in-store,
.social-sharing,
.page.messages,
#authenticationPopup,
.certificateNo,
#html-body [data-pb-style="V8YTJQU"],
.block.block-title,
.form.minisearch .label,
.form.minisearch .nested,
.store-information,
.multistore-switcher,
#multistore-mobile-switcher-language,
.page-footer .socia-media-links,
.amgdprjs-bar-template,
.stickycart,
.sticky-cart-content,
.btt-button,
.product-info-main > p,
.product attribute.overview .more_button,
a.more_button {
  display: none !important;
}

/* ===== TOP BAR ===== */
.header-top-wrap,
.header-top {
  background: #111;
  color: #fff;
}

.header-top .container .row,
.header-top > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 42px;
}

.header-top .col-md-6,
.header-top .col-xs-12,
.header-top .right-top-header {
  width: auto !important;
  float: none !important;
  display: flex;
  align-items: center;
}

.custom-slider,
#custom-slider-28,
.owl-carousel,
.owl-stage-outer,
.owl-stage,
.owl-item,
.banner-item,
.banner-custom {
  width: 100% !important;
  max-width: 100% !important;
  transform: none !important;
  margin: 0 !important;
}

.banner-custom > div {
  color: #fff !important;
  font-size: 13px !important;
  padding: 8px 0 !important;
  margin: 0 !important;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.banner-custom svg {
  fill: #fff !important;
  margin-right: 6px;
}

.header.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 16px;
}

.header.links li {
  display: inline-flex;
}

.header.links a {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.header.links a:hover {
  color: var(--jt-red);
}

/* ===== MAIN HEADER ===== */
.header-main,
.header-main .container,
.header-main .container .row {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.header-main {
  background: #fff;
  border-bottom: 1px solid var(--jt-line);
  padding: 14px 0;
}

.header-main .container,
.header-main .container .row {
  width: 100%;
  flex: 1 1 auto;
  max-width: var(--jt-max);
}

.header-main [class*="col-"] {
  float: none !important;
  width: auto !important;
}

.h-logo {
  flex: 0 0 auto;
}

.h-logo .logo img {
  width: 170px;
  max-width: 42vw;
  display: block;
}

.h-search {
  flex: 1 1 0;
  min-width: 220px;
}

.h-panel.main-header-right {
  order: 3;
}

.form.minisearch,
.form.minisearch .field.search,
.form.minisearch .control {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 0;
}

.form.minisearch .input-text {
  width: 100%;
  height: 46px;
  border: 1px solid #d0d0d0;
  border-right: 0;
  border-radius: 8px 0 0 8px;
  padding: 0 14px;
  font-size: 14px;
  outline: none;
}

.form.minisearch .actions .action.search {
  border-radius: 0 8px 8px 0 !important;
}

/* ===== NAV ===== */
.h-navigation,
.sections.nav-sections,
.nav-sections-items,
.nav-sections-item-content,
.ves-megamenu,
.navigation {
  width: 100%;
  background: var(--jt-dark);
  height: auto !important;
  min-height: 0 !important;
}

#html-body .navigation > ul,
#html-body .ves-megamenu .navigation > ul,
#html-body ul.ui-menu {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 4px 8px !important;
  padding: 8px 12px !important;
  width: 100% !important;
}

#html-body .navigation li.nav-item,
#html-body .navigation li.ui-menu-item,
#html-body .navigation li.level0 {
  display: inline-flex !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  line-height: 1.2 !important;
  float: none !important;
}

#html-body .navigation a.nav-anchor,
#html-body .navigation .nav-item > a,
#html-body .navigation li > a {
  display: inline-flex !important;
  align-items: center !important;
  color: #fff !important;
  background: transparent !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.4px !important;
  text-transform: uppercase !important;
  padding: 8px 12px !important;
  white-space: nowrap !important;
  height: auto !important;
  line-height: 1.2 !important;
  width: auto !important;
}

#html-body .navigation a span,
#html-body .navigation .nav-item > a span {
  display: inline !important;
  line-height: 1.2 !important;
  height: auto !important;
  font-size: 12px !important;
  white-space: nowrap !important;
}

.navigation a.nav-anchor:hover,
.navigation .nav-item > a:hover {
  color: var(--jt-red) !important;
}

/* ===== CTA + BREADCRUMB ===== */
.breadcrumbs {
  width: min(var(--jt-max), calc(100% - 32px));
  margin: 18px auto 8px;
}

.button-container {
  margin-bottom: 16px;
}

.breadcrumbs .items {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-size: 13px;
  color: var(--jt-muted);
}

.breadcrumbs .items a {
  color: var(--jt-muted);
}

.breadcrumbs .items .item::after {
  content: "/";
  margin-left: 10px;
  color: #bbb;
}

.breadcrumbs .items .item:last-child::after {
  content: none;
}

.breadcrumbs .items strong {
  color: var(--jt-ink);
}

/* ===== PRODUCT ===== */
.page-main {
  padding: 10px 0 40px;
}

.columns,
.column.main {
  width: 100%;
}

.sticky-gall-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 36px;
  align-items: start;
}

.product.media,
.sticky-gallery,
.gallery-placeholder,
.fotorama,
.fotorama__wrap,
.fotorama__stage,
.fotorama__stage__shaft,
.fotorama__stage__frame {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  left: auto !important;
  min-height: 0 !important;
}

.fotorama__img,
.product.media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  background: #111;
}

.product-info-main .pdp-brand-title {
  font-size: 18px;
  margin-bottom: 6px;
}

.page-title {
  font-size: 28px;
  line-height: 1.25;
  margin-bottom: 10px;
}

.prod-attributes {
  display: flex;
  gap: 8px;
  color: var(--jt-muted);
  font-size: 13px;
  margin-bottom: 12px;
}

.price {
  font-size: 26px;
  font-weight: 800;
  color: var(--jt-red);
}

.product-info-main .value,
.product-info-main p {
  word-spacing: normal;
  letter-spacing: normal;
}

.product.data.items {
  margin-top: 36px;
}

.data.item.title .data.switch {
  display: inline-block;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 0;
  border-bottom: 2px solid var(--jt-red);
  color: var(--jt-ink);
}

/* ===== FOOTER ===== */
.page-bottom,
.page-footer,
.footer-container,
.footer {
  background: #111;
  color: #ddd;
}

.page-footer {
  padding: 40px 0 24px;
  margin-top: 20px;
}

.footer-space,
.page-footer .row.footer-space,
.footer .tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  width: min(var(--jt-max), calc(100% - 32px));
  margin: 0 auto 24px;
}

.page-footer .title,
.footer .title {
  display: block;
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 12px;
}

.page-footer a,
.footer a,
.tiles a {
  color: #cfcfcf;
  font-size: 14px;
  display: inline-block;
  margin: 4px 0;
}

.page-footer a:hover,
.footer a:hover,
.tiles a:hover {
  color: var(--jt-red);
}

.newsletter-box input[type="email"] {
  width: 100%;
  height: 42px;
  border: 0;
  border-radius: 6px;
  padding: 0 12px;
  margin: 8px 0;
}

.newsletter-box .action.subscribe {
  background: var(--jt-red);
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
}

.tiles {
  border-top: 1px solid #2a2a2a;
  padding-top: 18px;
}

.copyright,
.footer .copyright {
  text-align: center;
  color: #999;
  font-size: 12px;
  padding: 12px 16px 0;
}

/* Floating leftovers */
#back-to-top,
.action.back-to-top,
button[name="Back To Top"] {
  position: fixed;
  right: 16px;
  bottom: 16px;
}

/* Mobile */
@media (max-width: 900px) {
  .header-top .container .row,
  .header-main .container .row {
    flex-wrap: wrap;
  }

  .header.links {
    display: none;
  }

  .h-logo,
  .h-panel.main-header-right,
  .h-search {
    width: 100%;
  }

  .header-main .container .row {
    justify-content: space-between;
  }

  .h-logo {
    width: auto;
  }

  .h-panel.main-header-right {
    width: auto;
    margin-left: auto;
  }

  .h-search {
    order: 4;
    width: 100%;
  }

  .sticky-gall-wrap {
    grid-template-columns: 1fr;
  }

  .page-title {
    font-size: 22px;
  }

  .footer-space,
  .footer .tiles {
    grid-template-columns: 1fr;
  }

  .navigation a.nav-anchor,
  .navigation .nav-item > a {
    font-size: 11px;
    padding: 6px 8px;
  }
}

/* ===== POPUP ===== */
.jt-popup {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.78);
}

.jt-popup.is-hidden {
  display: none;
}

.jt-popup-card {
  position: relative;
  width: min(420px, 100%);
  background: #0a0a0a;
  border: 1px solid #d43737;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(212, 55, 55, 0.35);
}

.jt-popup-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.jt-popup-card img {
  display: block;
  width: 100%;
  height: auto;
}

.jt-popup-btns {
  display: flex;
  gap: 10px;
  padding: 14px;
}

.jt-popup-btn {
  flex: 1;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 12px 10px;
  border-radius: 8px;
  border: 1px solid #d43737;
}

.jt-popup-btn.daftar {
  background: linear-gradient(180deg, #d43737 0%, #8b1414 100%);
  color: #fff;
}

.jt-popup-btn.login {
  background: linear-gradient(180deg, #1a1a1a 0%, #000 100%);
  color: #d43737;
}
