body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #1F2937;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

h1,
h2,
h3 {
  color: #111827;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25;
}

h4,
h5,
h6 {
  color: #111827;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.35;
}

h1 {
  font-size: 34px;
}

h2 {
  font-size: 26px;
}

h3 {
  font-size: 21px;
}

.product-description p,
#tab-description p,
.tab-content p {
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 18px;
}

.product-description li,
#tab-description li,
.tab-content li {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 6px;
}

.product-description h2,
#tab-description h2,
.tab-content h2 {
  margin-top: 32px;
  margin-bottom: 14px;
}

.product-description h3,
#tab-description h3,
.tab-content h3 {
  margin-top: 22px;
  margin-bottom: 8px;
}

.price,
.product-price,
.product-thumb .price,
#product-info .price {
  font-weight: 700;
  color: #111827;
}

.btn,
button {
  font-weight: 600;
  letter-spacing: 0;
}

.table,
.table td,
.table th {
  font-size: 15px;
  color: #1F2937;
}

.product-thumb h4,
.product-thumb h4 a {
  color: #111827;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.32;
}

.product-thumb .description h4 {
  min-height: 2.64em;
  max-height: 2.64em;
  overflow: hidden;
}

.product-thumb .description h4 a {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-thumb .description,
.product-thumb p {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
}

.product-thumb .price:has(.price-old) .price-new,
#product-category .product-thumb .price:has(.price-old) .price-new,
#product-info .list-unstyled:has(.price-old) .price-new {
  color: #dc2626 !important;
}

#product-info .col-sm > ul.list-unstyled:nth-of-type(2) > li.bs-quantity-discount,
#product-info .col-sm > ul.list-unstyled:nth-of-type(2) > li:nth-child(n+3):not(:has(hr)) {
  display: inline-flex;
  align-items: center;
  margin: 6px 8px 8px 0;
  padding: 8px 12px;
  border: 1px solid #fde68a;
  border-radius: 6px;
  background: #fffbeb;
  color: #92400e;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

#product-info .col-sm > ul.list-unstyled:nth-of-type(2) > li:has(hr) {
  margin: 14px 0;
}

#product-info #form-product .input-group {
  align-items: stretch;
  max-width: 560px;
}

#product-info #form-product .input-group-text {
  flex: 0 0 auto;
  padding: 0 14px;
  border-color: #d1d5db;
  background: #f9fafb;
  color: #374151;
  font-size: 14px;
  font-weight: 600;
}

#product-info #input-quantity {
  flex: 0 0 76px;
  max-width: 76px;
  text-align: center;
  color: #111827;
  font-weight: 600;
}

#product-info #input-quantity.is-invalid {
  border-color: #dc2626;
  box-shadow: 0 0 0 0.18rem rgba(220, 38, 38, 0.14);
}

#product-info #button-cart {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 152px;
  border-color: #16a34a;
  background: #16a34a;
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

#product-info #button-cart:hover,
#product-info #button-cart:focus {
  border-color: #15803d;
  background: #15803d;
  box-shadow: 0 10px 18px rgba(22, 163, 74, 0.22);
  color: #ffffff;
  transform: translateY(-1px);
}

#product-info #button-cart:active {
  box-shadow: 0 4px 10px rgba(22, 163, 74, 0.18);
  transform: translateY(0);
}

#product-info #button-cart i {
  font-size: 16px;
}

#product-info #form-product .bs-min-qty-message[hidden] {
  display: none;
}

#product-info #form-product .bs-min-qty-message {
  max-width: 560px;
  margin-top: 10px;
  padding: 10px 12px;
  border-color: #f59e0b;
  border-radius: 6px;
  background: #fffbeb;
  color: #92400e;
  font-size: 14px;
  line-height: 1.45;
}

.form-control,
.form-select,
.input-group-text {
  font-size: 15px;
  line-height: 1.45;
}

@media (max-width: 767px) {
  body {
    font-size: 15px;
    line-height: 1.65;
  }

  h1 {
    font-size: 26px;
    line-height: 1.25;
  }

  h2 {
    font-size: 22px;
    line-height: 1.3;
  }

  h3 {
    font-size: 19px;
  }

  .product-description p,
  #tab-description p,
  .tab-content p,
  .product-description li,
  #tab-description li,
  .tab-content li {
    font-size: 15px;
  }

  .product-thumb h4,
  .product-thumb h4 a {
    font-size: 17px;
  }

  header #logo,
  header #logo a {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  header #logo img {
    display: block;
    margin-right: auto;
    margin-left: auto;
  }

  .product-thumb .description,
  .product-thumb p {
    font-size: 14px;
    line-height: 1.55;
  }

  #product-info #form-product .input-group {
    display: grid;
    grid-template-columns: auto 92px minmax(128px, 1fr);
    max-width: none;
    column-gap: 0;
  }

  #product-info #form-product .input-group-text,
  #product-info #input-quantity,
  #product-info #button-cart {
    min-height: 46px;
  }

  #product-info #input-quantity {
    flex-basis: auto;
    max-width: none;
    width: 92px;
    min-width: 92px;
  }

  #product-info #button-cart {
    min-width: 0;
    padding-right: 12px;
    padding-left: 12px;
    font-size: 16px;
  }
}

.info-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}

.info-hero,
.info-card,
.trust-box,
.category-seo-panel,
.checkout-agreement,
.checkout-agreement-text,
.register-agreement {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.info-hero {
  padding: 28px;
  margin-bottom: 24px;
}

.info-kicker {
  color: #1e3a8a;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.info-hero h1 {
  color: #111827;
  font-size: 32px;
  line-height: 1.15;
  margin: 0 0 10px;
}

.info-hero p {
  color: #6b7280;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.info-content {
  color: #1f2937;
}

.info-content > h1:first-child {
  display: none;
}

.info-content h2 {
  margin-top: 32px;
  margin-bottom: 12px;
}

.info-content h3 {
  margin-top: 20px;
  margin-bottom: 8px;
}

.info-content p,
.info-content li {
  font-size: 16px;
  line-height: 1.7;
}

.info-card {
  padding: 20px;
  margin: 16px 0;
}

.info-card h3 {
  color: #111827;
  font-size: 20px;
  margin-top: 0;
}

.info-card p {
  color: #1f2937;
  line-height: 1.65;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.info-note {
  background: #fffbeb;
  border: 1px solid rgba(212, 160, 23, 0.35);
  border-left: 4px solid #d4a017;
  border-radius: 8px;
  color: #1f2937;
  margin: 18px 0;
  padding: 16px 18px;
}

.trust-box {
  margin: 24px 0;
  padding: 22px;
}

.trust-box h3 {
  color: #1e3a8a;
  margin-top: 0;
}

.trust-box ul {
  margin: 0;
  padding-left: 20px;
}

.trust-box li {
  margin-bottom: 8px;
}

.legal-page {
  max-width: 940px;
}

.legal-page h2 {
  border-top: 1px solid #e5e7eb;
  color: #111827;
  font-size: 24px;
  margin-top: 34px;
  padding-top: 18px;
}

.legal-page p,
.legal-page li {
  color: #1f2937;
  font-size: 15px;
  line-height: 1.75;
}

.legal-page blockquote {
  background: #f7f7f5;
  border-left: 4px solid #1e3a8a;
  color: #1f2937;
  margin: 16px 0;
  padding: 12px 16px;
}

.category-seo-panel.category-intro {
  display: block;
  margin: 28px 0 16px;
  padding: 24px;
}

.category-seo-panel .category-description {
  color: #1f2937;
}

.category-seo-panel h2 {
  color: #111827;
  margin-top: 0;
}

.category-seo-panel h3 {
  color: #111827;
  margin-top: 22px;
}

.category-seo-panel p,
.category-seo-panel li {
  font-size: 15px;
  line-height: 1.7;
}

.category-seo-panel.category-seo-pokemon {
  border-top: 4px solid #c68a00;
}

.category-seo-panel.category-seo-onepiece {
  border-top: 4px solid #1e40af;
}

.checkout-agreement,
.checkout-agreement-text,
.register-agreement {
  color: #1f2937;
  display: block;
  font-size: 14px;
  line-height: 1.5;
  margin: 14px 0 8px;
  padding: 12px 14px;
  text-align: left;
}

.checkout-agreement input,
.register-agreement input {
  margin-right: 8px;
  transform: translateY(1px);
}

.checkout-agreement a,
.checkout-agreement-text a,
.register-agreement a {
  color: #1e3a8a;
  font-weight: 600;
  text-decoration: underline;
}

.checkout-disclaimer {
  color: #6b7280;
  font-size: 12px;
  line-height: 1.45;
  margin: 6px 0 14px;
  text-align: left;
}

.checkout-agreement-error {
  color: #b91c1c;
  font-size: 13px;
  margin: 6px 0 10px;
  text-align: left;
}

.info-hero-main {
  align-items: flex-start;
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.info-np-badge {
  align-items: center;
  background: #f7f7f5;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  color: #111827;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 8px;
  margin-top: 2px;
  padding: 8px 10px;
}

.info-np-mark {
  align-items: center;
  background: #e30613;
  border-radius: 6px;
  color: #ffffff;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  height: 28px;
  justify-content: center;
  letter-spacing: 0.02em;
  width: 34px;
}

.info-np-text {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

main:has(#common-home.home-page) {
  min-height: auto;
  padding-bottom: 0;
}

#common-home.home-page {
  margin-bottom: 0;
  padding-bottom: 12px;
}

#common-home.home-page #content {
  padding-bottom: 0;
}

.home-seo-panel {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-left: 4px solid #d4a017;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
  margin: 26px 0 18px;
  padding: 22px 24px;
}

.home-seo-panel h2 {
  color: #111827;
  font-size: 24px;
  line-height: 1.25;
  margin: 0 0 12px;
}

.home-seo-panel p {
  color: #1f2937;
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 14px;
  max-width: 1080px;
}

.home-seo-panel p:last-child {
  color: #6b7280;
  margin-bottom: 0;
}

.site-footer,
.site-footer * {
  box-sizing: border-box;
}

.site-footer {
  background: #2F2F2F;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  bottom: auto;
  color: #F9FAFB;
  margin-top: 34px;
  padding: 44px 0 28px;
  position: static;
  width: 100%;
}

.site-footer .container {
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 20px;
  width: 100%;
}

.footer-main {
  align-items: start;
  display: grid;
  gap: 48px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.footer-section,
.footer-contacts,
.footer-bottom {
  min-width: 0;
}

.footer-title {
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
  margin: 0 0 14px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin: 0 0 9px;
}

.footer-links li:last-child {
  margin-bottom: 0;
}

.site-footer a {
  color: #E5E7EB;
  text-decoration: none;
  transition: color 0.18s ease;
}

.site-footer a:hover,
.site-footer a:focus {
  color: #D4A017;
  text-decoration: none;
}

.footer-contacts {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 34px;
  padding-top: 24px;
}

.footer-contact-business {
  color: #D1D5DB;
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}

.footer-contact-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
  margin-top: 12px;
}

.footer-contact-row a {
  align-items: center;
  display: inline-flex;
  font-size: 15px;
  gap: 8px;
  line-height: 1.45;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.footer-contact-row i {
  color: #D1D5DB;
  flex: 0 0 16px;
  font-size: 15px;
  line-height: 1;
  text-align: center;
  transition: color 0.18s ease;
  width: 16px;
}

.footer-contact-row a:hover i,
.footer-contact-row a:focus i {
  color: #D4A017;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #D1D5DB;
  font-size: 14px;
  line-height: 1.5;
  margin-top: 24px;
  padding-top: 18px;
}

.footer-bottom p {
  margin: 0;
}

.opencart-credit {
  display: none;
}

#content,
#column-left,
#column-right {
  padding-bottom: 0;
}

main:has(.account-sidebar) {
  padding-bottom: 20px;
}

main:has(.account-sidebar) #content,
main:has(.account-sidebar) #column-left,
main:has(.account-sidebar) #column-right {
  padding-bottom: 20px;
}

#cookie {
  height: auto;
  max-height: calc(100vh - 24px);
  overflow-y: auto;
  padding: 12px 0 calc(12px + env(safe-area-inset-bottom));
}

#cookie .container {
  max-width: 900px;
}

#cookie .row {
  margin-left: 0;
  margin-right: 0;
}

#cookie p {
  line-height: 1.45;
  margin: 0 0 12px;
}

#cookie .btn {
  margin: 4px 6px;
  min-width: 132px;
}

@media (min-width: 768px) {
  .info-page {
    padding-top: 32px;
  }
}

@media (max-width: 768px) {
  .info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .info-page {
    padding: 18px 0 36px;
  }

  .info-hero {
    padding: 20px;
  }

  .info-hero h1 {
    font-size: 26px;
  }

  .info-hero-main {
    display: block;
  }

  .info-np-badge {
    margin-top: 16px;
  }

  .category-seo-panel.category-intro {
    padding: 18px;
  }

  .home-seo-panel {
    margin: 20px 0 10px;
    padding: 18px;
  }

  .home-seo-panel h2 {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .site-footer {
    margin-top: 28px;
    padding: 32px 0 24px;
  }

  .site-footer .container {
    padding: 0 18px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-title {
    margin-bottom: 12px;
  }

  .footer-contacts {
    margin-top: 28px;
  }

  .footer-contact-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .site-footer a,
  .footer-contacts,
  .footer-bottom {
    overflow-wrap: anywhere;
  }

  main:has(.account-sidebar) {
    padding-bottom: 24px;
  }

  #cookie {
    max-height: calc(100dvh - 18px);
    padding: 14px 12px calc(18px + env(safe-area-inset-bottom));
  }

  #cookie .container,
  #cookie .col-12 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #cookie p {
    font-size: 15px;
    line-height: 1.45;
    margin-bottom: 12px;
  }

  #cookie .btn {
    display: inline-flex;
    justify-content: center;
    margin: 5px;
    min-height: 42px;
    min-width: 132px;
  }
}

/* UX-022 sale price visual hierarchy */
.product-thumb .price:has(.price-old),
.product-thumb .price:has(.price-previous),
#product-category .product-thumb .price:has(.price-old),
#product-category .product-thumb .price:has(.price-previous),
#product-special .product-thumb .price:has(.price-old),
#product-special .product-thumb .price:has(.price-previous) {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 2px !important;
  margin-bottom: 12px !important;
}

.product-thumb .price:has(.price-old) .price-new,
.product-thumb .price:has(.price-previous) .price-current,
#product-category .product-thumb .price:has(.price-old) .price-new,
#product-category .product-thumb .price:has(.price-previous) .price-current,
#product-special .product-thumb .price:has(.price-old) .price-new,
#product-special .product-thumb .price:has(.price-previous) .price-current {
  color: #dc2626 !important;
  display: block !important;
  font-size: 1.08rem !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
}

.product-thumb .price-old,
.product-thumb .price-previous,
#product-category .product-thumb .price-old,
#product-category .product-thumb .price-previous,
#product-special .product-thumb .price-old,
#product-special .product-thumb .price-previous {
  color: #9ca3af !important;
  display: block !important;
  font-size: 0.84rem !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  margin-top: 1px !important;
  opacity: 1 !important;
  text-decoration: line-through !important;
  text-decoration-color: #9ca3af !important;
  text-decoration-thickness: 1px !important;
}

#product-info .col-sm > ul.list-unstyled:has(.price-old) {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 2px !important;
}

#product-info .col-sm > ul.list-unstyled:has(.price-old) > li {
  order: 3;
}

#product-info .col-sm > ul.list-unstyled:has(.price-old) > li:has(.price-new) {
  order: 1;
  margin: 0 !important;
}

#product-info .col-sm > ul.list-unstyled:has(.price-old) > li:has(.price-old) {
  order: 2;
  margin: 0 0 8px !important;
}

#product-info .col-sm > ul.list-unstyled:has(.price-old) h2 {
  margin: 0 !important;
}

#product-info .col-sm > ul.list-unstyled:has(.price-old) .price-new {
  color: #dc2626 !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
}

#product-info .col-sm > ul.list-unstyled:has(.price-old) .price-old {
  color: #9ca3af !important;
  display: block !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  opacity: 1 !important;
  text-decoration: line-through !important;
  text-decoration-color: #9ca3af !important;
  text-decoration-thickness: 1px !important;
}
/* /UX-022 sale price visual hierarchy */
