@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .ambient-bg { display: none; }
}
@media (max-width: 768px) {
  .hero, .banner-slider { min-height: 420px !important; background-attachment: scroll !important; }
  .ambient-bg { display: none; }
}
input:focus-visible, button:focus-visible, a:focus-visible, select:focus-visible { outline: 2px solid #887000; outline-offset: 3px; }
.profile-nav-link:hover { background: var(--bg-main); }
.product-title:hover { color: var(--primary); }
.service-catalog-buckets { position: absolute; right: 8px; bottom: 12px; width: 58%; height: 68%; pointer-events: none; }
.service-catalog-buckets img { position: absolute; width: 80%; height: 90%; object-fit: contain; object-position: center bottom; }
.service-catalog-buckets img:first-child { right: 24%; bottom: 8%; width: 70%; }
.service-catalog-buckets img:last-child { right: 0; bottom: 0; }
.service-catalog-buckets img:only-child { right: 0; bottom: 0; width: 100%; height: 100%; }
.office-location { margin-top: 60px; padding: 0; overflow: hidden; border-top: 3px solid var(--primary); }
.office-location-heading { padding: 32px 40px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.office-map-frame { display: block; width: 100%; height: 460px; border: 0; background: #f1f4ee; }
.office-location-info { min-width: 0; overflow-wrap: anywhere; }
.office-location-label { display: block; margin-bottom: 12px; color: var(--text-muted); font-size: 12px; font-weight: 700; letter-spacing: 1px; }
.office-location-link { display: inline-flex; align-items: center; justify-content: center; gap: 12px; flex-shrink: 0; }
@media (max-width: 768px) {
    .office-location-heading { flex-direction: column; align-items: stretch; padding: 24px; gap: 24px; }
    .office-map-frame { height: 360px; }
    .office-location-link { white-space: normal; }
}

/* Restrained polish of the existing storefront, including its dark theme. */
:root { --text-muted: #686868; }
:root[data-theme="dark"] { --text-muted: #a3a3a3; }
.main-content .product-card { box-shadow: 0 3px 16px rgba(0, 0, 0, .035); }
.main-content .product-info { gap: 4px; }
.main-content .product-category { letter-spacing: .65px; }
.main-content .product-title { line-height: 1.5; min-height: 54px; }
.main-content .product-title:hover { color: var(--text-main); text-decoration: underline; text-underline-offset: 4px; }
.main-content .product-pack-summary { line-height: 1.6; }
.main-content .product-price, .main-content .cart-summary { font-variant-numeric: tabular-nums; }
.main-content .form-control { min-height: 48px; font-size: 16px; line-height: 1.5; }
.main-content .form-control::placeholder { color: var(--text-muted); opacity: .85; }
.main-content .form-control:focus-visible { outline: 2px solid #887000; outline-offset: 2px; }
.main-content .btn { min-height: 44px; }
.main-content .btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.main-content .breadcrumbs { flex-wrap: wrap; row-gap: 6px; }
.main-content .pagination { flex-wrap: wrap; gap: 8px; }
.main-content .cart-summary { border: 1px solid var(--border); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .main-content .product-card:hover { transform: translateY(-4px); }
    .main-content .product-card:hover .product-img-wrapper img { transform: none; }
}
@media (hover: none) {
    .main-content .product-card:hover, .main-content .product-card:hover .product-img-wrapper img { transform: none; }
}

textarea.form-control {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  max-height: min(320px, 50vh);
  resize: vertical;
  overflow: auto;
}
textarea:focus-visible { outline: 2px solid #887000; outline-offset: 3px; }
.product-img-wrapper img { object-fit: contain; padding: 12px; box-sizing: border-box; }
.product-pack-summary { font-size: 13px; line-height: 1.5; margin: 6px 0; color: var(--text-muted); }
.product-pack-summary { flex-basis: 100%; order: 2; }
.add-to-cart-btn:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; }

@media (max-width: 992px) {
  .header-top-container { flex-wrap: wrap; gap: 8px; }
  .header-top-left { min-width: 0; }
  .header-top-right { gap: 8px; margin-left: auto; flex-wrap: wrap; }
  .header-top .logo-img { height: 56px; max-width: 112px; box-sizing: border-box; }
  .lang-switcher { flex-shrink: 0; gap: 4px; }
  .lang-switcher a { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; min-height: 44px; }
  .theme-toggle-btn, .mobile-menu-btn { min-width: 44px; min-height: 44px; flex-shrink: 0; }
  .header-bottom-actions { min-width: 0; }
}
.cart-item-details { min-width: 0; overflow-wrap: anywhere; }
.checkout-layout > *, .checkout-layout .form-group { min-width: 0; }
.form-group > label { min-width: 0; overflow-wrap: anywhere; }
.form-group label a { max-width: 100%; }
.product-details-layout > * { min-width: 0; }
.product-details-info h1 { overflow-wrap: anywhere; }
.product-details-image { max-width: 100%; }
.product-gallery { min-width: 0; }
.product-gallery .product-details-image { aspect-ratio: 1; width: 100%; background: #fff; }
.product-gallery-thumbnails { display: flex; gap: 10px; overflow-x: auto; padding: 8px 4px 12px; margin-top: 12px; }
.product-gallery-thumb { flex: 0 0 80px; width: 80px; height: 80px; border: 2px solid var(--border); border-radius: 12px; background: #fff; padding: 4px; cursor: pointer; }
.product-gallery-thumb[aria-pressed="true"] { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.product-gallery-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.related-products-title { display: flex; align-items: center; gap: 12px; font-size: 26px; font-weight: 800; margin-bottom: 24px; }
.related-products-title svg { flex: 0 0 28px; }
.related-products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 260px)); gap: 20px; align-items: stretch; }
.related-products-grid > .product-card { min-width: 0; border-radius: 20px; }
.related-products .product-img-wrapper { height: 180px; padding-top: 0; }
.related-products .product-info { padding: 16px; gap: 6px; }
.main-content .related-products .product-title { font-size: 16px; line-height: 1.5; min-height: 48px; margin-bottom: 8px; }
.related-products .product-category { font-size: 10px; margin-bottom: 2px; }
.related-products .product-price-row { margin-top: auto; }
.related-products .product-price { font-size: 20px; margin: 0; }
.related-products .product-info > div:last-child { overflow-wrap: anywhere; }
@media (max-width: 600px) {
    .related-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .related-products-title { font-size: 22px; }
    .related-products .product-img-wrapper { height: 140px; }
    .related-products .product-info { padding: 12px; }
    .main-content .related-products .product-title { font-size: 14px; min-height: 42px; }
    .related-products .product-price { font-size: 17px; }
}
.trust-badges > * { min-width: 0; overflow-wrap: anywhere; }
.catalog-layout > *, .profile-layout > *, .profile-settings-grid > * { min-width: 0; }
.profile-sidebar { overflow-wrap: anywhere; }
.profile-content { max-width: 100%; }
.site-footer { overflow-wrap: anywhere; }
.checkout-actions { display: flex; gap: 12px; margin-top: 24px; }
@media (max-width: 640px) {
    .page-header-title, .contact-form-heading { font-size: clamp(24px, 7.5vw, 32px) !important; }
    .checkout-layout { grid-template-columns: minmax(0, 1fr); }
    main .premium-card { padding: 24px; }
    .product-details-layout { grid-template-columns: minmax(0, 1fr); }
    .hero-actions .btn { padding: 16px 24px !important; max-width: 100%; white-space: normal; }
    .bento-wide { padding: 24px !important; }
    .bento-wide > div { min-width: 0 !important; flex-basis: 100% !important; }
    .bento-wide .btn { max-width: 100%; padding: 16px 20px !important; white-space: normal; }
    .profile-sidebar { max-width: 100% !important; position: static !important; }
    .catalog-layout { grid-template-columns: minmax(0, 1fr); }
    .catalog-sort { min-width: 0; width: 100%; }
    .sort-select { max-width: 100%; }
    .trust-badges { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
    .checkout-actions { flex-direction: column; }
    .checkout-actions .btn { width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; white-space: normal; }
}
@media (max-width: 480px) {
    .checkout-layout .trust-badges { grid-template-columns: minmax(0, 1fr) !important; }
    .checkout-layout .trust-badge-item { display: flex; align-items: center; gap: 12px; text-align: left !important; }
    .checkout-layout .trust-badge-item svg { flex: 0 0 24px; margin-bottom: 0 !important; }
}
@media (max-width: 640px) {
    .cart-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .cart-items { min-width: 0; padding: 16px; }
    .cart-item { display: grid; grid-template-columns: 64px minmax(0, 1fr) 44px; gap: 12px; }
    .cart-item-img { width: 64px; height: 64px; }
    .cart-item-details { grid-column: 2 / 4; }
    .cart-item-qty { grid-column: 1 / 3; justify-self: start; }
    .cart-item-remove { grid-column: 3; justify-self: end; }
}
