/* Final cross-page consistency and responsive quality pass. */
.site-header .brand-with-logo,
.content-header .brand-with-logo {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  overflow: hidden;
  border-radius: 50%;
}

.site-header .site-brand-logo,
.content-header .site-brand-logo {
  width: 64px !important;
  height: 64px !important;
  max-width: 64px;
  object-fit: contain;
}

.product-media,
.shop-product-media,
.related-product-media {
  overflow: hidden;
  background: #edf1f2;
}

.product-media img,
.shop-product-media img,
.related-product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

img { height: auto; }
.product-media img,
.shop-product-media img,
.related-product-media img,
.cart-product img,
.checkout-order-item img,
.invoice-item-name img { height: 100%; }

a[href="contact.html"][aria-label="Open contact page"] { text-decoration: underline; }

@media (max-width: 600px) {
  .site-header .brand-with-logo,
  .content-header .brand-with-logo {
    width: 54px;
    height: 54px;
  }

  .site-header .site-brand-logo,
  .content-header .site-brand-logo {
    width: 54px !important;
    height: 54px !important;
    max-width: 54px;
  }

  .checkout-form-column input,
  .checkout-form-column select,
  .checkout-form-column textarea {
    min-height: 48px;
    font-size: 16px;
  }

  .checkout-form-column textarea { min-height: 110px; }
  .payment-choice { min-height: 58px; }
  .confirm-order-btn { position: sticky; bottom: 76px; z-index: 5; box-shadow: 0 10px 30px rgba(8,52,63,.18); }
  .invoice-document { overflow-wrap: anywhere; }
  .invoice-row { min-width: 0; }
  .invoice-item-name { min-width: 0; }
}

@media print {
  .mobile-app-nav,
  .back-to-top,
  .toast-container { display: none !important; }
  a { text-decoration: none !important; }
}
