/* AlBarun v2: desktop-only visual refinement. Mobile <= 900px is unchanged. */
@media screen and (min-width:901px) {
  header {padding:12px max(28px,calc((100% - 1320px)/2));min-height:78px}
  main {background:rgba(8,8,8,.72)}
  .hero {min-height:380px;padding:38px max(36px,calc((100% - 1320px)/2));background:#111!important;display:flex;justify-content:flex-end;align-items:center;text-align:right;border-bottom:1px solid #8b6836}
  .hero:before {background:linear-gradient(270deg,#10100f 0%,#10100f 36%,rgba(12,12,12,.94) 48%,rgba(12,12,12,.16) 76%,rgba(12,12,12,.06) 100%)!important;z-index:0}
  .hero .hero-banner-image:not([hidden]) {inset:0 auto 0 0;width:64%;height:100%;object-fit:contain;object-position:center;opacity:1;background:#151515}
  .hero .hero-inner {width:43%;max-width:560px;margin:0 0 0 auto;padding:25px 18px;z-index:2;position:relative;text-align:right}
  .hero .eyebrow {font-size:13px;letter-spacing:0}
  .hero h1 {font-size:clamp(30px,3.1vw,48px);line-height:1.3;margin:12px 0;overflow-wrap:anywhere}
  .hero .lead {font-size:clamp(14px,1.25vw,18px);margin:10px 0 22px;max-width:100%}
  .hero .actions {justify-content:flex-start;gap:10px}
  .hero .actions .btn {padding:10px 16px;font-size:14px}
  .hero .banner-controls {left:15%;right:auto;bottom:16px;transform:translateX(-50%);z-index:4}
  #products {max-width:1320px;margin:24px auto 0;padding:32px 28px 44px;background:rgba(9,9,9,.96)!important;backdrop-filter:none;border:1px solid rgba(190,143,67,.3);box-shadow:0 12px 45px #0007}
  #products .catalog-top {align-items:center;margin-bottom:14px}
  #products .catalog-top h2 {margin:0;font-size:clamp(24px,2.4vw,34px)}
  #homeCatalog>section {margin:24px 0 34px}
  #homeCatalog>section>h2 {font-size:24px;margin:0 0 16px}
  .products {grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important}
  .product {background:#1a1815!important;box-shadow:0 8px 22px #0006}
  .product-photo,.albarun-image-placeholder {height:210px!important}
  .product-body {padding:15px!important}
  .product h3 {font-size:16px!important}
  .product .price {font-size:21px!important}
  .info {background:rgba(12,12,12,.97)}
  .info .wrap {max-width:1320px}
}
@media screen and (min-width:1320px) {
  .products {grid-template-columns:repeat(4,minmax(0,1fr))!important}
}

/* Desktop layout refinement v3. Intentionally no mobile or tablet changes. */
@media screen and (min-width:901px) {
  .hero {min-height:350px;padding-top:26px;padding-bottom:26px}
  .hero .hero-banner-image:not([hidden]) {width:58%;object-fit:contain;object-position:center center}
  .hero .hero-inner {width:44%;padding:20px 22px}
  .hero .banner-controls {left:28%;bottom:13px}
  #products {padding:28px clamp(20px,3vw,38px) 42px}
  #homeCatalog>section {margin:20px 0 30px}
  .products {grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important}
  /* One or two items fill a balanced, centered row rather than a side cluster. */
  .products:has(> .product:only-child) {grid-template-columns:minmax(0,390px)!important;justify-content:center}
  .products:has(> .product:nth-child(2):last-child) {grid-template-columns:repeat(2,minmax(0,390px))!important;justify-content:center}
  .product-photo,.albarun-image-placeholder {height:205px!important;object-fit:contain}
  #categoryButtons {grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px;max-width:1120px;margin:20px auto 28px}
  #categoryButtons .category-chip {padding:9px;min-height:0}
  #categoryButtons .category-chip img {aspect-ratio:4/3!important;height:230px!important;width:100%!important;object-fit:contain!important}
}
@media screen and (min-width:1320px) {
  .products {grid-template-columns:repeat(4,minmax(0,1fr))!important}
  #categoryButtons {grid-template-columns:repeat(4,minmax(0,1fr))!important}
  #categoryButtons .category-chip img {height:210px!important}
}

/* Desktop final compact layout: keep all screens <=900px untouched. */
@media screen and (min-width:901px) {
  .hero {min-height:300px!important;padding-top:16px!important;padding-bottom:16px!important;}
  .hero .hero-banner-image:not([hidden]) {width:55%!important;object-fit:contain!important;object-position:72% center!important;}
  .hero .hero-inner {width:46%!important;padding:12px 16px!important;}
  .hero .banner-controls {left:27%!important;bottom:10px!important;}
  #products {margin-top:12px!important;padding-top:18px!important;padding-bottom:24px!important;}
  #products .catalog-top {margin-bottom:8px!important;}
  #homeCatalog>section {margin-top:12px!important;margin-bottom:20px!important;}
  #categoryButtons {grid-template-columns:repeat(4,minmax(0,1fr))!important;max-width:1020px!important;gap:12px!important;margin:12px auto 20px!important;}
  #categoryButtons .category-chip {padding:6px!important;border-radius:11px!important;min-height:0!important;}
  #categoryButtons .category-chip img {height:155px!important;max-height:155px!important;aspect-ratio:4/3!important;object-fit:contain!important;border-radius:8px!important;}
}
@media screen and (min-width:1320px) {
  #categoryButtons {grid-template-columns:repeat(5,minmax(0,1fr))!important;max-width:1150px!important;}
  #categoryButtons .category-chip img {height:160px!important;max-height:160px!important;}
}
