/* Product discovery and accessible interactions. */
.hero-product-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  min-height: 46px;
  margin-top: clamp(18px, 2vw, 32px);
  padding: 13px 22px;
  border: 1px solid #0b0c0d;
  border-radius: 999px;
  background: #0b0c0d;
  color: #fff;
  font: 600 clamp(12px, 1vw, 15px)/1.3 'Space Grotesk', sans-serif;
  letter-spacing: 0;
  text-decoration: none;
  pointer-events: auto;
  transition: background .2s, transform .2s;
}
.hero-product-link:hover { background: #b9440b; border-color: #b9440b; transform: translateY(-2px); }
.hero-product-link:focus-visible, .category-card:focus-visible, .media-thumb-box:focus-visible,
.finish-swatch-btn:focus-visible { outline: 3px solid #f27329; outline-offset: 4px; }
.overlay-grid .overlay-right { grid-column: 2; }
.category-card { background: #fff; color: #0b0c0d; }
.category-card:focus-visible { background: #0c0d0d; color: #fff; }
.category-card:focus-visible .category-info p { color: #c7cbce; }
@media (hover: hover) {
  .category-card:hover { background: #0c0d0d; color: #fff; border-color: #0c0d0d; }
  .category-card:hover .category-info p { color: #c7cbce; }
  .category-card:hover .category-info h3, .category-card:hover .category-link { color: #fff; }
}
.product-item-footer { flex-wrap: wrap; gap: 14px; }
.product-item-footer .product-item-actions { flex: 1; justify-content: flex-end; flex-wrap: wrap; gap: 12px; }
.ask-price-loop-btn { min-height: 44px; }
.ask-price-loop-btn svg, .btn-ask-price-whatsapp svg { width: 24px; height: 24px; flex: 0 0 24px; }
.media-gallery-strip[hidden] { display: none; }
.media-thumb-box { padding: 4px; flex-shrink: 0; cursor: pointer; }
.product-info-column, .product-media-column { min-width: 0; }
.product-title-main { overflow-wrap: anywhere; }
.finish-swatches-list { flex-wrap: wrap; gap: 10px; }
.finish-swatch-btn { min-height: 44px; }
.product-purchase-action-box .variations_form { width: 100%; }
.variations_form .variations { width: 100%; margin-bottom: 16px; border-collapse: collapse; }
.variations_form .variations th, .variations_form .variations td { padding: 8px; text-align: left; }
.variations_form select { width: 100%; min-height: 44px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; padding: 8px; color: #0b0c0d; font: inherit; }
.variations_form .quantity input { width: 80px; min-height: 44px; padding: 8px; border: 1px solid #cbd5e1; border-radius: 10px; }
.variations_form .single_add_to_cart_button { min-height: 46px; border: 0; border-radius: 100px; padding: 12px 24px; background: #0b0c0d; color: #fff; font: 600 15px/1.3 'Space Grotesk', sans-serif; cursor: pointer; }
.variations_form .single_add_to_cart_button.disabled { opacity: .5; cursor: not-allowed; }
.woocommerce-variation-add-to-cart { display: flex; gap: 12px; flex-wrap: wrap; }
.tgmz-auth-modal-card { max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain; }
.tgmz-auth-target-email-bar { flex-wrap: wrap; gap: 8px; overflow-wrap: anywhere; }
.tgmz-auth-input-wrap input { min-width: 0; font-size: 16px; }
@media (max-width: 1024px) {
  .hero-product-link { min-height: 44px; padding: 11px 16px; font-size: 12px; }
  .product-title-main { font-size: clamp(27px, 4.5vw, 44px); line-height: 1.15; }
  .horizontal-filter-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .horizontal-filter-bar .filter-item { min-width: 0; width: 100%; }
  .horizontal-filter-bar .search-box { grid-column: 1 / -1; }
  .horizontal-filter-bar .dropdown-select select { width: 100%; min-height: 44px; font-size: 14px; }
  .product-item-actions .product-details-link { min-height: 44px; display: inline-flex; align-items: center; }
}
@media (max-width: 600px) {
  .hero-product-link { padding: 10px 14px; font-size: 11px; gap: 7px; margin-top: 14px; }
  .hero-content .bg-text-group.left-group { width: 46%; }
  .prod-header-meta-row { flex-wrap: wrap; gap: 10px; }
  .prod-stock-badge { font-size: 11px; padding: 8px 10px; }
  .product-rating-row { flex-wrap: wrap; gap: 8px; }
  .product-rating-row .rating-verified-count { font-size: 12px; }
  .config-label-row { flex-wrap: wrap; gap: 8px; font-size: 14px; }
  .finish-swatch-btn { padding: 10px 14px; font-size: 14px; }
  .btn-ask-price-whatsapp { padding: 14px 16px; font-size: 14px; white-space: normal; text-align: center; }
  .product-trust-badges-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-consult-banner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .product-consult-banner a { white-space: normal !important; text-align: center; }
  .horizontal-filter-bar { padding: 16px; border-radius: 18px; }
  .product-item-footer .product-item-actions { justify-content: space-between; }
  .ask-price-loop-btn { padding: 10px 14px; font-size: 12px; }
  .tgmz-auth-modal-backdrop { padding: 12px; }
  .tgmz-auth-modal-card { padding: 32px 20px 24px; border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .category-card, .hero-product-link { transition: none; }
}
/* Preserve clear selection and input spacing over theme-wide form styling. */
.finish-swatch-btn:not(.active) { border-color: #d9dfe7 !important; background: #fff !important; box-shadow: none; }
.finish-swatch-btn.active { border-color: #f27329 !important; background: #fff4eb !important; }
#tgmz-auth-modal #tgmz-auth-email { padding: 13px 16px 13px 46px !important; font-size: 16px !important; }
#tgmz-auth-modal #tgmz-auth-otp { padding: 16px 8px !important; font-size: 26px !important; letter-spacing: .3em; }
@media (max-width: 600px) {
  .hero-content .bg-title-word { font-size: clamp(15px, 4.4vw, 22px) !important; }
  .product-stage-grid { gap: 24px; }
}
.hero-content .bg-word-r1 { font-size: 3.6vw; }
@media (max-width: 600px) {
  .hero-content .bg-word-r1 { font-size: clamp(11px, 3.4vw, 20px) !important; }
}

/* Explicit link-state colors override the global anchor palette. */
.hero-product-link, .hero-product-link:link, .hero-product-link:visited, .hero-product-link:hover, .hero-product-link:focus-visible, .hero-product-link:active { color: #ffffff !important; -webkit-text-fill-color: #ffffff !important; }
/* Transparent collection cutouts: preserve the full object and clear the labels. */
.featured-categories-section .category-img-wrapper {
  left: 5%;
  right: 5%;
  bottom: 54px;
  width: 90%;
  height: 56%;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.featured-categories-section .category-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.featured-categories-section .category-info,
.featured-categories-section .category-link { position: relative; z-index: 1; }
@media (max-width: 1024px) {
  .featured-categories-section .category-img-wrapper { bottom: 58px; height: 52%; }
}
.featured-categories-section .category-link svg { width: 18px; height: 18px; flex: 0 0 18px; }

/* Slightly smaller brand marks, with the existing header heights preserved. */
.navbar .logo-img { height: 54px; max-height: 54px; }
.footer-brand .logo-img, .main-footer .logo-img { height: 80px; max-height: 80px; }
@media (min-width: 2560px) { .navbar .logo-img { height: 34px; max-height: 34px; } }
@media (max-width: 1024px) { .navbar .logo-img { height: 42px !important; max-height: 42px !important; } }
@media (max-width: 480px) { .navbar .logo-img { height: 38px !important; max-height: 38px !important; } }
