/* Hungaria Antik - historical category photos - 2026-10-20 */
/* Presentation crops only; the original images are kept in /kategoriak/. */
#categoryoffer .categoryoffer-card-image[src*="/kategoriak/"] {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
#categoryoffer .categoryoffer-card-image[src*="/kategoriak/elso_vilaghaboru.jpg"] {
  content: url("/custom/miskolcmilitaria/image/data/kategoriak/elso_vilaghaboru.jpg");
  object-position: 50% 50%;
}
#categoryoffer .categoryoffer-card-image[src*="/kategoriak/ket_vilaghaboru_kozott.png"] {
  content: url("/custom/miskolcmilitaria/image/data/kategoriak/ket_vilaghaboru_kozott.png");
  object-position: 80% 50%;
}
#categoryoffer .categoryoffer-card-image[src*="/kategoriak/masodik_vilaghaboru_v2.jpg"] {
  content: url("https://miskolcmilitaria.cdn.shoprenter.hu/custom/miskolcmilitaria/image/data/kategoriak/masodik_vilaghaboru_v2.jpg.webp?lastmod=1792517149.1792480565");
  object-position: 35% 50%;
}
#categoryoffer .categoryoffer-card-image[src*="/kategoriak/cold_war.jpg"] {
  content: url("/custom/miskolcmilitaria/image/data/kategoriak/cold_war.jpg");
  object-position: 50% 0%;
}
#categoryoffer .categoryoffer-card-image[src*="/kategoriak/nowadays.jpg"] {
  content: url("/custom/miskolcmilitaria/image/data/kategoriak/nowadays.jpg");
  object-position: 35% 50%;
}

/* Hungaria Antik – homepage navigation and product focus – 2026-10-22 */
.ha-home-intro { padding: 16px 0 4px; }
.ha-quick-nav { display: none; }
.ha-intro-copy { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.ha-intro-copy h1 { margin: 0 0 10px; font-size: clamp(26px, 3vw, 36px); line-height: 1.2; }
.ha-intro-copy p { margin: 0; color: #555; font-size: 16px; line-height: 1.5; }
.ha-home-button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 13px 20px; border: 1px solid #74744a; border-radius: 4px; color: #fff !important; background: #74744a; font-size: 15px; font-weight: 600; line-height: 1.3; text-decoration: none !important; }
.ha-intro-copy > .ha-home-button { flex-shrink: 0; }
.ha-home-button:hover { background: #60603c; border-color: #60603c; }
.ha-home-button:focus-visible, .ha-quick-nav a:focus-visible, .ha-type-grid a:focus-visible { outline: 3px solid #333; outline-offset: 3px; }
.ha-object-types h2 { margin: 0 0 20px; font-size: clamp(23px, 2.4vw, 30px); line-height: 1.25; }
.ha-type-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ha-type-grid a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 72px; padding: 16px 18px; border: 1px solid #deded5; border-radius: 5px; background: #fff; color: #333; font-size: 16px; font-weight: 600; line-height: 1.35; text-decoration: none; }
.ha-type-grid a:hover { border-color: #74744a; background: #f5f5ee; }
.ha-type-grid a > span:last-child { color: #74744a; flex-shrink: 0; font-size: 20px; }
.ha-buying { display: grid; grid-template-columns: 1fr 240px; align-items: stretch; overflow: hidden; border: 1px solid #deded5; border-radius: 5px; background: #f0f0e8; }
.ha-buying-copy { align-self: center; padding: 28px 32px; }
.ha-buying h2 { margin: 0 0 12px; font-size: clamp(23px, 2.4vw, 29px); line-height: 1.25; }
.ha-buying p { margin: 0 0 18px; font-size: 16px; line-height: 1.5; }
.ha-buying > img { width: 240px; height: 100%; min-height: 230px; object-fit: cover; }
.home-body #module_customcontent4_wrapper .module,
.home-body #module_latest_wrapper .module,
.home-body #module_customcontent10_wrapper .module,
.home-body #module_customcontent11_wrapper .module { margin-top: 0; margin-bottom: 36px; }
.home-body #module_customcontent4_wrapper .module { margin-bottom: 28px; }
.home-body #customcontent4 > .module-body,
.home-body #customcontent10 > .module-body,
.home-body #customcontent11 > .module-body { margin-top: 0; }
.home-body #latest > .module-body { margin-top: 20px; }
.home-body #latest_home_list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; width: 100%; margin: 0; padding: 0; overflow: visible; }
.home-body #latest_home_list > .product-snapshot { width: auto; min-width: 0; max-width: none; flex: none; float: none; margin: 0; padding: 0; }
.home-body #latest_home_list::before,
.home-body #latest_home_list::after { display: none; }
.home-body #latest_home_list .product-card-image img { width: 180px; height: 180px; max-width: 100%; max-height: none; object-fit: contain; }
.home-body #latest_home_list .product-card-body { padding: 12px; }
.home-body #latest_home_list .product-card-title { margin: 0 0 10px; font-size: 15px; line-height: 1.4; }
.home-body #latest_home_list .product-card-title > a:not(.edit-link) { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 4.2em; max-height: 4.2em; }
.home-body #module_latest_wrapper .module-head { margin-bottom: 20px; }
.home-body #section-announcement_bar .announcement-box-link { padding: 14px 20px !important; }
.home-body #section-announcement_bar .announcement-item-wrapper { flex-direction: row !important; gap: 12px; }
.home-body #section-announcement_bar .announcement-icon { flex-shrink: 0; }
.home-body #section-announcement_bar .announcement-icon svg { width: 28px; height: 28px; }
.home-body #section-announcement_bar .announcement-item-wrapper > .text-center { display: block !important; text-align: left !important; }
.home-body #section-announcement_bar .announcement-title { font-size: 15px; line-height: 1.3; }
.home-body #section-announcement_bar .announcement-description { font-size: 14px; line-height: 1.4; }
@media (max-width: 991px) {
  #js-hamburger-icon { flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 10px 8px; min-width: 54px; color: #fff !important; }
  #js-hamburger-icon::after { content: "Menü"; display: block; color: #fff !important; font-size: 12px; font-weight: 600; line-height: 1; }
  .ha-home-intro { padding-top: 4px; }
  .ha-quick-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 18px; }
  .ha-quick-nav a { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 6px; border: 1px solid #74744a; border-radius: 4px; color: #555531; background: #fff; font-size: clamp(12px, 3.3vw, 15px); font-weight: 600; text-align: center; text-decoration: none; }
  .ha-quick-nav .ha-quick-primary { color: #fff; background: #74744a; }
  .ha-intro-copy { display: block; }
  .ha-intro-copy h1 { margin-bottom: 8px; font-size: 26px; }
  .ha-intro-copy p { font-size: 15px; line-height: 1.4; }
  .ha-intro-copy > .ha-home-button { display: none; }
  .home-body #module_customcontent4_wrapper .module { margin-bottom: 24px; }
  .home-body #module_latest_wrapper .module-head-title { font-size: 25px; line-height: 1.25; }
  .home-body #module_customcontent10_wrapper .module,
  .home-body #module_customcontent11_wrapper .module,
  .home-body #module_latest_wrapper .module { margin-bottom: 30px; }
  .ha-type-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .home-body #latest_home_list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .home-body #latest_home_list .product-card-image .img-thumbnail-link { display: block; width: 100%; max-width: none; }
  .home-body #latest_home_list .product-card-image img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; }
  .home-body #latest_home_list .product-card-body { padding: 12px; }
  .home-body #latest_home_list .product-card-title { font-size: 14px; }
  .ha-type-grid a { min-height: 70px; padding: 12px; gap: 8px; font-size: 14px; }
  .ha-type-grid a > span:last-child { font-size: 18px; }
  .ha-buying { grid-template-columns: 1fr 180px; }
  .ha-buying-copy { padding: 22px; }
  .ha-buying > img { width: 180px; }
  .home-body #section-announcement_bar .announcement-title,
  .home-body #section-announcement_bar .announcement-description { display: block; margin: 0; }
}
@media (max-width: 767px) {
  .ha-buying { grid-template-columns: 1fr; }
  .ha-buying > img { display: none; }
  .ha-buying-copy { padding: 22px 20px; }
  .ha-buying p { font-size: 15px; }
}

/* Hungaria Antik – category photographs – 2026-10-22 */
.ha-object-types .ha-type-photo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ha-object-types .ha-type-photo-grid a.ha-type-card { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; min-height: 0; padding: 0; border: 0; border-radius: 0; background: transparent; text-align: center; }
.ha-object-types .ha-type-photo-grid .ha-type-media { display: block; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; background: #fff; }
.ha-object-types .ha-type-photo-grid .ha-type-media img { display: block; width: 100%; height: 100%; max-width: 100%; object-fit: contain; object-position: center; }
.ha-object-types .ha-type-photo-grid a.ha-type-card > .ha-type-name { display: block; margin: 14px 6px 0; color: #333; font-size: 17px; font-weight: 600; line-height: 1.35; }
.ha-object-types .ha-type-photo-grid a.ha-type-card:hover > .ha-type-name { color: #74744a; }
img[src*="/brand/kicker/"][src*="_2026.jpg"] { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; object-position: center; }
img[src*="/brand/kicker/kituntetesek_jelvenyek_2026.jpg"] { content: url("/custom/miskolcmilitaria/image/data/brand/kicker/kituntetesek_jelvenyek_2026.jpg"); }
img[src*="/brand/kicker/egyenruhazat_tartozekok_2026.jpg"] { content: url("/custom/miskolcmilitaria/image/data/brand/kicker/egyenruhazat_tartozekok_2026.jpg"); }
img[src*="/brand/kicker/felszerelesi_targyak_2026.jpg"] { content: url("/custom/miskolcmilitaria/image/data/brand/kicker/felszerelesi_targyak_2026.jpg"); }
img[src*="/brand/kicker/kardok_bajonettek_kesek_2026.jpg"] { content: url("/custom/miskolcmilitaria/image/data/brand/kicker/kardok_bajonettek_kesek_2026.jpg"); }
img[src*="/brand/kicker/iratok_fenykepek_2026.jpg"] { content: url("/custom/miskolcmilitaria/image/data/brand/kicker/iratok_fenykepek_2026.jpg"); }
img[src*="/brand/kicker/hagyatekok_egyuttesek_2026.jpg"] { content: url("/custom/miskolcmilitaria/image/data/brand/kicker/hagyatekok_egyuttesek_2026.jpg"); }
img[src*="/brand/kicker/korabeli_kiadvanyok_2026.jpg"] { content: url("/custom/miskolcmilitaria/image/data/brand/kicker/korabeli_kiadvanyok_2026.jpg"); }
img[src*="/brand/kicker/szakirodalom_2026.jpg"] { content: url("/custom/miskolcmilitaria/image/data/brand/kicker/szakirodalom_2026.jpg"); }
@media (max-width: 991px) {
	.ha-object-types .ha-type-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
	.ha-object-types .ha-type-photo-grid a.ha-type-card > .ha-type-name { font-size: 16px; }
}
@media (max-width: 575px) {
	.ha-object-types .ha-type-photo-grid { gap: 20px 12px; }
	.ha-object-types .ha-type-photo-grid a.ha-type-card > .ha-type-name { margin: 10px 2px 0; font-size: 14px; }
}

/* Hungaria Antik – unified homepage selectors – 2026-10-22 */
.home-body .ha-object-types h2,
.home-body #categoryoffer .module-head-title { display: block; margin: 0 0 28px; color: #333; font-size: clamp(28px, 3vw, 40px); font-weight: 700; line-height: 1.2; text-align: center; }
.home-body #categoryoffer .module-head { margin: 0 0 28px; padding: 0; }
.home-body #categoryoffer .module-head-title { margin: 0; }
.home-body #categoryoffer .categoryoffer-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; margin: 0; overflow: visible; }
.home-body #categoryoffer .categoryoffer-col { width: auto; min-width: 0; max-width: none; flex: none; padding: 0; }
.home-body #categoryoffer .categoryoffer-row::before,
.home-body #categoryoffer .categoryoffer-row::after { display: none; }
.home-body .ha-object-types .ha-type-photo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); width: calc(66.666667% - 6.666667px); margin: 0 auto; gap: 20px; }
.home-body .ha-object-types .ha-type-photo-grid a.ha-type-card,
.home-body #categoryoffer .category-card { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; height: 100%; min-height: 0; padding: 0; overflow: hidden; border: 0; border-radius: 5px; background: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .06); text-align: center; }
.home-body .ha-object-types .ha-type-photo-grid .ha-type-media { flex-shrink: 0; width: 100%; aspect-ratio: 1 / 1; margin: 0; padding: 0; background: #fff; }
.home-body .ha-object-types .ha-type-photo-grid .ha-type-media img,
.home-body #categoryoffer .categoryoffer-card-image { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; margin: 0; padding: 0; border: 0; border-radius: 0; object-fit: cover; }
.home-body .ha-object-types .ha-type-photo-grid .ha-type-media img { content: normal !important; }
.home-body #categoryoffer .categoryoffer-card-image[src*="/kategoriak/19_szazad.jpg"] { content: url("/custom/miskolcmilitaria/image/data/kategoriak/19_szazad.jpg"); object-position: center; }
.home-body .ha-object-types .ha-type-photo-grid a.ha-type-card > .ha-type-name,
.home-body #categoryoffer .category-card .card-body { display: flex; flex: 1; align-items: center; justify-content: center; min-height: 64px; margin: 0; padding: 14px 10px; color: #333; font-size: clamp(14px, 1.15vw, 16px); font-weight: 600; line-height: 1.35; text-align: center; }
.home-body #categoryoffer .category-card h4 { margin: 0; font-size: inherit; font-weight: inherit; line-height: inherit; }
.home-body #categoryoffer .category-card h4 a { color: #333; font-size: inherit; font-weight: inherit; line-height: inherit; }
.home-body .ha-object-types .ha-type-photo-grid a.ha-type-card:hover > .ha-type-name,
.home-body #categoryoffer .category-card:hover h4 a { color: #74744a; }
.home-body #module_customcontent10_wrapper .module,
.home-body #module_categoryoffer_wrapper .module { margin-top: 0; margin-bottom: 36px; }
@media (max-width: 991px) {
  .home-body .ha-object-types .ha-type-photo-grid,
  .home-body #categoryoffer .categoryoffer-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: 16px; margin: 0; overflow: visible; }
}
@media (max-width: 575px) {
  .home-body .ha-object-types h2,
  .home-body #categoryoffer .module-head-title { font-size: 28px; }
  .home-body .ha-object-types .ha-type-photo-grid,
  .home-body #categoryoffer .categoryoffer-row { gap: 12px; }
  .home-body .ha-object-types .ha-type-photo-grid a.ha-type-card > .ha-type-name,
  .home-body #categoryoffer .category-card .card-body { min-height: 64px; padding: 12px 8px; font-size: 14px; }
}

/* Hungaria Antik – latest product card breakpoints – 2026-10-22 */
.home-body #latest_home_list .product-card-footer { padding: 8px 12px; }
@media (min-width: 1440px) {
  .home-body #latest_home_list { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 575px) {
  .home-body #latest_home_list { gap: 12px; }
}

/* Hungaria Antik – latest article on mobile – 2026-10-22 */
@media (max-width: 991px) {
  .home-body #news .news-card-deck { display: block; width: 100%; margin: 0; padding: 0; overflow: visible; }
  .home-body #news .news-card-deck > .news-card { width: 100%; max-width: 100%; margin: 0; padding: 0; }
  .home-body #news .news-card-deck > .news-card:nth-child(n+2) { display: none; }
  .home-body #news .news-card-image { width: 100%; height: auto; }
  .home-body #news .news-all-button { display: block; clear: both; margin-top: 20px; }
}

/* Hungaria Antik – clearer homepage collection links – 2026-10-22 */
.home-body #latest .product-module-list-link-wrapper,
.home-body #news .news-all-button { margin-top: 24px; text-align: center; }
.home-body #latest .modules-all-link > a,
.home-body #news .news-all-button > a { display: inline-flex; align-items: center; justify-content: center; min-width: 190px; min-height: 44px; max-width: 100%; padding: 12px 20px; border: 1px solid #737144; border-radius: 5px; background: #737144; color: #fff; font-size: 16px; font-weight: 600; line-height: 1.25; text-align: center; text-decoration: none; white-space: normal; }
.home-body #latest .modules-all-link > a::before,
.home-body #latest .modules-all-link > a::after,
.home-body #news .news-all-button > a::before,
.home-body #news .news-all-button > a::after { display: none; }
.home-body #latest .modules-all-link > a:hover,
.home-body #news .news-all-button > a:hover { background: #605e39; border-color: #605e39; color: #fff; text-decoration: none; }
.home-body #latest .modules-all-link > a:focus-visible,
.home-body #news .news-all-button > a:focus-visible { outline: 3px solid #2f3132; outline-offset: 3px; color: #fff; }

/* Hungaria Antik – two-option availability selector – 2026-10-22 */
#stockfilter.ha-stock-enhanced { padding: 18px; border: 1px solid #deded5; border-radius: 5px; background: #fff; }
#stockfilter.ha-stock-enhanced .module-head { margin: 0 0 12px; padding: 0; }
#stockfilter.ha-stock-enhanced .module-head-title { margin: 0; color: #333; font-size: 18px; font-weight: 700; line-height: 1.3; text-transform: none; }
#stockfilter.ha-stock-enhanced .module-body { margin: 0; padding: 0; }
#stockfilter.ha-stock-enhanced .ha-stock-original { display: none; }
#stockfilter .ha-stock-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
#stockfilter a.ha-stock-option { display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 44px; margin: 0; padding: 10px 6px; border: 1px solid #737144; border-radius: 4px; background: #fff; color: #605e39; font-size: 14px; font-weight: 600; line-height: 1.3; text-align: center; text-decoration: none; }
#stockfilter a.ha-stock-option:hover { background: #f5f5ee; color: #605e39; }
#stockfilter a.ha-stock-option.is-active { background: #737144; color: #fff; }
#stockfilter a.ha-stock-option.is-active:hover { background: #605e39; }
#stockfilter a.ha-stock-option:focus-visible { outline: 3px solid #2f3132; outline-offset: 3px; }
@media (max-width: 991px) {
  #module_stockfilter_wrapper.ha-stock-mobile { width: 100%; margin: 0 0 20px; }
  #module_stockfilter_wrapper.ha-stock-mobile #stockfilter { margin: 0; padding: 14px; }
  #module_stockfilter_wrapper.ha-stock-mobile .module-head-title { font-size: 16px; }
  #module_stockfilter_wrapper.ha-stock-mobile .ha-stock-options { gap: 10px; }
}

/* Hungaria Antik – mobile wishlist access – 2026-11-02 */
@media (max-width: 767px) {
  .mobile-simple-view .product-card-wishlist { display: block !important; margin-top: 8px; }
  .mobile-simple-view .product-card-wishlist .js-add-to-wishlist { min-height: 44px; padding: 8px; border: 1px solid #dcdccf; border-radius: 4px; color: #68663f; font-size: 13px; line-height: 1.3; text-decoration: none; }
  .mobile-simple-view .product-card-wishlist .js-add-to-wishlist svg { flex-shrink: 0; width: 20px; height: 20px; }
}