/*!
Theme Name: uscustompack
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.2
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: uscustompack
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

uscustompack is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/* Hide browser default clear (X) on search inputs so only one close control shows */
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}
input[type="search"]::-moz-search-cancel-button {
  display: none;
}

/* Remove focus outline from header search inputs (browser default black outline) */
.js-header-search-input:focus {
  outline: none;
}

/* Page content: headings, lists, links (home page description area) */
.page-home-content {
  font-size: 0.875rem;
  line-height: 1.6;
}
@media (min-width: 640px) {
  .page-home-content {
    font-size: 1rem;
  }
}
.page-home-content p {
  color: #475569;
  margin-bottom: 0.75rem;
}
.page-home-content p:last-child {
  margin-bottom: 0;
}
.page-home-content h1,
.page-home-content h2,
.page-home-content h3,
.page-home-content h4 {
  font-weight: 700;
  color: #0f172a;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}
.page-home-content h1 { font-size: 1.5rem; }
.page-home-content h2 { font-size: 1.25rem; }
.page-home-content h3,
.page-home-content h4 { font-size: 1.125rem; }
.page-home-content h1:first-child,
.page-home-content h2:first-child,
.page-home-content h3:first-child,
.page-home-content h4:first-child {
  margin-top: 0;
}
.page-home-content ul {
  margin: 0.5rem 0 0.75rem 0;
  padding-left: 1.5rem;
  list-style-type: disc;
  list-style-position: outside;
}
.page-home-content ol {
  margin: 0.5rem 0 0.75rem 0;
  padding-left: 1.5rem;
  list-style-type: decimal;
  list-style-position: outside;
}
.page-home-content li {
  margin-bottom: 0.25rem;
  display: list-item;
}
.page-home-content a {
  color: #FF5733;
  text-decoration: underline;
}
.page-home-content a:hover {
  color: #CC3D1E;
}
.page-home-content strong {
  font-weight: 700;
}
.page-home-content em {
  font-style: italic;
}

/* Yoast SEO breadcrumbs – match product category / archive layout */
#breadcrumbs.breadcrumb-nav,
.breadcrumb-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: #64748b;
}

.breadcrumb-nav a {
  color: inherit;
  transition: color 0.2s ease;
}
.breadcrumb-nav a:hover {
  color: #FF5733;
}
.breadcrumb-nav > span {
  margin-left: 0.75rem;
  margin-right: 0.75rem;
  color: #cbd5e1;
}
.breadcrumb-nav > span.breadcrumb_last {
  margin-left: 0.75rem;
  margin-right: 0;
  color: #0f172a;
  font-weight: 600;
}
.breadcrumb-nav > span:first-child {
  margin-left: 0;
}

/* Stronger breadcrumb contrast for single product pages */
.breadcrumb-nav--product {
  color: #334155;
}
.breadcrumb-nav--product > span {
  color: #94a3b8;
}
.breadcrumb-nav--product > span.breadcrumb_last {
  color: #0f172a;
  font-weight: 700;
}
.breadcrumb-nav--product a {
  color: #1e293b;
}
.breadcrumb-nav--product a:hover {
  color: #CC3D1E;
}

/* Single product quick add-to-cart: match theme controls */
.product-quick-add-to-cart form.cart {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}
.product-quick-add-to-cart .quantity .qty {
  width: 6.5rem;
  min-height: 2.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  background: #fff;
  padding: 0.625rem 0.75rem;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.product-quick-add-to-cart .quantity .qty:focus {
  border-color: #FF5733;
  box-shadow: 0 0 0 3px rgba(255, 87, 51, 0.2);
}
.product-quick-add-to-cart .single_add_to_cart_button.button {
  min-height: 2.75rem;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  background: #FF5733;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.75rem 1.25rem;
  text-transform: none;
  letter-spacing: 0;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.product-quick-add-to-cart .single_add_to_cart_button.button:hover,
.product-quick-add-to-cart .single_add_to_cart_button.button:focus {
  background: #CC3D1E;
}
.product-quick-add-to-cart .single_add_to_cart_button.button:active {
  transform: translateY(1px);
}
.product-quick-add-to-cart .single_add_to_cart_button.button.disabled,
.product-quick-add-to-cart .single_add_to_cart_button.button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}
@media (max-width: 639px) {
  .product-quick-add-to-cart form.cart {
    align-items: stretch;
  }
  .product-quick-add-to-cart .quantity,
  .product-quick-add-to-cart .single_add_to_cart_button.button {
    width: 100%;
  }
}

/* Category long description (ACF) – scroll box, headings, lists */
.category-long-description__scroll {
  color: #64748b;
  font-size: 0.875rem;
  line-height: 1.6;
}
@media (min-width: 640px) {
  .category-long-description__scroll {
    font-size: 1rem;
  }
}
.category-long-description__scroll::-webkit-scrollbar {
  width: 8px;
}
.category-long-description__scroll::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}
.category-long-description__scroll::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
.category-long-description__scroll::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
.category-long-description__content h1,
.category-long-description__content h2,
.category-long-description__content h3,
.category-long-description__content h4 {
  color: #0f172a;
  font-weight: 700;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}
.category-long-description__content h1:first-child,
.category-long-description__content h2:first-child,
.category-long-description__content h3:first-child,
.category-long-description__content h4:first-child {
  margin-top: 0;
}
.category-long-description__content h1 { font-size: 1.375rem; }
.category-long-description__content h2 { font-size: 1.25rem; }
.category-long-description__content h3,
.category-long-description__content h4 { font-size: 1.125rem; }
.category-long-description__content p {
  margin-bottom: 0.75rem;
  color: #64748b;
}
.category-long-description__content p:last-child {
  margin-bottom: 0;
}
.category-long-description__content ul {
  margin: 0.5rem 0 0.75rem 0;
  padding-left: 1.5rem;
  list-style-type: disc;
  list-style-position: outside;
}
.category-long-description__content ol {
  margin: 0.5rem 0 0.75rem 0;
  padding-left: 1.5rem;
  list-style-type: decimal;
  list-style-position: outside;
}
.category-long-description__content li {
  margin-bottom: 0.35rem;
  color: #64748b;
}
.category-long-description__content a {
  color: #FF5733;
  text-decoration: underline;
}
.category-long-description__content a:hover {
  color: #CC3D1E;
}
.category-long-description__content strong {
  font-weight: 700;
  color: #334155;
}
.category-long-description__content em {
  font-style: italic;
}
