/* Default storefront only. Custom templates keep their own typography and controls. */
body[data-storefront-template="default"] {
  --storefront-font-family: "Inter", sans-serif;
  font-family: var(--storefront-font-family);
}

body[data-storefront-template="default"].product-detail-page {
  background: #ffffff !important;
  font-size: 13px;
  line-height: 1.5;
}

body[data-storefront-template="default"].storefront-home {
  background: #ffffff !important;
}

body[data-storefront-template="default"] :is(h1, h2, h3, h4, h5, h6, button, input, select, textarea, .btn, .amazon-price, .banner-error) {
  font-family: var(--storefront-font-family);
}

body[data-storefront-template="default"] .shopping-links {
  padding-inline: 16px !important;
  font-size: 12px;
  line-height: 1.6;
}

body[data-storefront-template="default"].product-detail-page .shopping-links {
  padding-inline: 0 !important;
}

body[data-storefront-template="default"] .shopping-links>h4 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 12px;
}

body[data-storefront-template="default"] .shopping-links #categoryContainer>.px-1 {
  padding-inline: 0 !important;
}

body[data-storefront-template="default"] .shopping-links #categoryContainer p {
  font-size: 13px;
  line-height: 1.5;
}

body[data-storefront-template="default"] .shopping-links #categoryContainer p>a {
  font-size: 13px;
  font-weight: 600 !important;
}

body[data-storefront-template="default"] .shopping-links #categoryContainer .cat-link {
  font-size: 12px;
  font-weight: 500 !important;
  line-height: 1.8;
  max-width: 100%;
  overflow-wrap: anywhere;
}

body[data-storefront-template="default"] .shopping-links #categoryContainer .d-flex>span {
  font-size: 12px;
}

body[data-storefront-template="default"].product-detail-page #productName {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -.015em;
}

body[data-storefront-template="default"].product-detail-page #productPrice .selling-price {
  font-size: 16px;
  font-weight: 650;
  line-height: 1.4;
}

body[data-storefront-template="default"].product-detail-page #productPrice :is(.mrp, small) {
  font-size: 12px;
}

body[data-storefront-template="default"].product-detail-page #productPrice .discount {
  font-size: 11px;
}

body[data-storefront-template="default"].product-detail-page .product-description {
  font-size: 13px;
}

body[data-storefront-template="default"].product-detail-page #productAccordion .accordion-button {
  font-size: 14px;
  font-weight: 600;
}

body[data-storefront-template="default"].product-detail-page .product-action-row :is(button, input) {
  font-size: 13px;
  letter-spacing: normal;
  text-transform: none;
}

/* Explicit bounds also defeat legacy button padding/minimum-size rules. */
body[data-storefront-template="default"].product-detail-page #productCarousel :is(.carousel-control-prev, .carousel-control-next),
body[data-storefront-template="default"].product-detail-page :is(.thumb-arrow, .single-attribute-nav-btn) {
  box-sizing: border-box;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  max-width: 32px !important;
  min-height: 32px !important;
  max-height: 32px !important;
  padding: 0 !important;
  flex: 0 0 32px;
  aspect-ratio: 1;
  display: inline-grid;
  place-items: center;
  border-radius: 50% !important;
  line-height: 1;
}

@media (min-width: 768px) {
  body[data-storefront-template="default"] .shopping-links {
    padding-inline: 20px !important;
  }

  body[data-storefront-template="default"].product-detail-page #productName {
    font-size: 18px;
  }

  body[data-storefront-template="default"].product-detail-page #productPrice .selling-price {
    font-size: 18px;
  }
}