/* Large screens */
@media(min-width:1500px) {
  body {
    font-size: 16px;
  }
  .wrap,
  .annin,
  .top,
  .hero,
  .fg,
  .cp {
    max-width: 1360px;
  }
  .grid {
    grid-template-columns: repeat(auto-fill,minmax(250px,1fr));
  }
}

/* Laptops / small desktops */
@media(max-width:1100px) {
  .fg {
    grid-template-columns: 1fr 1fr;
  }
  .hwa span {
    display: none;
  }
  .hwa {
    padding: 10px;
  }
}

/* Tablets (portrait & landscape) */
@media(max-width:900px) {
  .burger {
    display: block;
    margin-left: auto;
  }
  .hwa {
    margin-left: 0;
  }
  .menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin: 0;
    background: var(--card);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 14px 14px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
  }
  .menu.open {
    max-height: 80vh;
    overflow: auto;
    opacity: 1;
    visibility: visible;
  }
  .menu>a,
  .has-dd>a {
    padding: 12px 14px;
    border-radius: 10px;
  }
  .has-dd>a .ic {
    display: none;
  }
  .dd {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    padding: 0 0 0 12px;
    min-width: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .pd,
  .two-col {
    grid-template-columns: 1fr;
  }
  .two-col.rev>:first-child {
    order: 2;
  }
  .slide {
    grid-template-columns: 1fr;
  }
  .slide .art {
    display: none;
  }
  .slide p {
    max-width: 60ch;
  }
}

/* Phones */
@media(max-width:600px) {
  body {
    font-size: 14.5px;
  }
  .wrap {
    padding: 0 14px;
  }
  .annin {
    gap: 10px;
    font-size: .74rem;
  }
  .hide-s {
    display: none;
  }
  .annin .soc {
    margin-left: auto;
  }
  .logo img {
    height: 31px;
  }
  .hero {
    margin: 10px 10px 0;
    border-radius: 16px;
    height: clamp(300px,92vw,380px);
  }
  .prev,
  .next {
    width: 36px;
    height: 36px;
  }
  .prev {
    left: 8px;
  }
  .next {
    right: 8px;
  }
  .grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 10px;
  }
  .card,
  .bd,
  .bd h3,
  .bd .ta {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .bd {
    padding: 10px;
  }
  .bd h3 {
    font-size: .88rem;
  }
  .wa {
    padding: 9px 8px;
    font-size: .78rem;
    gap: 5px;
  }
  .cats {
    grid-template-columns: repeat(3,1fr);
    gap: 9px;
  }
  .cat {
    padding: 12px 4px;
  }
  .cat i {
    font-size: 1.9rem;
  }
  .cat b {
    font-size: .74rem;
  }
  .cat span {
    display: none;
  }
  .dd {
    grid-template-columns: 1fr;
  }
  .fg {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .float span {
    display: none;
  }
  .float {
    padding: 13px;
  }
  .locs {
    grid-template-columns: 1fr;
  }
  .tl {
    padding-left: 22px;
  }
  .tl>div::before {
    left: -32px;
  }
  .band {
    padding: 20px;
  }
}

@media(max-width:319px) {
  .cats {
    grid-template-columns: repeat(2,1fr);
  }
}

/* Phones in landscape / short screens */
@media(max-height:520px) and (orientation:landscape) {
  header {
    position: static;
  }
  .hero {
    height: min(78vh,340px);
  }
  .slide h2 {
    font-size: 1.4rem;
  }
  .slide p {
    margin-bottom: 10px;
    font-size: .85rem;
  }
  .lbi,
  .lbi img {
    max-height: 76vh;
  }
  .float {
    padding: 9px 12px;
  }
}

/* Touch devices: no hover zoom, no custom cursor */
@media(hover:none) {
  .big:hover img {
    transform: none;
  }
  .card:hover {
    transform: none;
  }
  .cursor {
    display: none!important;
  }
}

/* Mobile sticky footer menu */
@media(max-width:900px) {
  body {
    padding-bottom: calc(66px + env(safe-area-inset-bottom,0px));
  }
  .mnav {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 120;
    background: var(--card);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(0,0,0,.12);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom,0px));
  }
  .mnav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    text-decoration: none;
    color: var(--muted);
    font-size: .68rem;
    font-weight: 500;
    line-height: 1.1;
    padding: 4px 0;
    border-radius: 12px;
  }
  .mnav a[aria-current] {
    color: var(--leaf);
  }
  .mnav a:active {
    background: var(--tile);
  }
  .mnav .mcall {
    color: #fff;
  }
  .mnav .mcall .ic {
    background: var(--wa);
    width: 44px;
    height: 44px;
    padding: 11px;
    border-radius: 50%;
    margin-top: -22px;
    box-shadow: 0 4px 12px rgba(0,0,0,.28);
    border: 3px solid var(--card);
    box-sizing: content-box;
    width: 24px;
    height: 24px;
  }
  .mnav .mcall span {
    color: var(--muted);
  }
  .float {
    bottom: calc(78px + env(safe-area-inset-bottom,0px));
  }
  .totop {
    bottom: calc(78px + env(safe-area-inset-bottom,0px));
  }
  .sec {
    padding: 32px 0;
  }
  .pbin {
    flex-wrap: wrap;
    padding: 14px 16px;
    gap: 12px;
  }
  .pbt {
    flex: 1 1 60%;
  }
  .pbin i {
    width: 44px;
    height: 44px;
  }
}

@media(max-width:600px) {
  .annin .soc {
    display: none;
  }
  .slide .art svg {
    width: 40px;
  }
  .slide .art {
    gap: 10px;
  }
}

@media(max-width:900px) {
  .hwa {
    margin-left: auto;
  }
  .burger {
    margin-left: 0;
  }
  .pbb {
    width: 100%;
  }
  .pbb .btn {
    flex: 1;
  }
  .pbin .btn {
    width: auto;
  }
  .sec .pb,
  .wrap .pb {
    margin-top: 28px;
  }
}

@media(hover:none) {
  .cbp,
  .cbn {
    display: none!important;
  }
}

/* ===== Mobile menu: Shop categories collapsed by default; compact footer ===== */
.dd-t {
  display: none;
}

@media(max-width:900px) {
  .has-dd {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
  .has-dd>a {
    flex: 1;
  }
  .dd-t {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: inherit;
    cursor: pointer;
  }
  .dd-t svg {
    transition: transform .25s;
  }
  .has-dd.dd-open .dd-t svg {
    transform: rotate(180deg);
  }
  .has-dd .dd {
    flex-basis: 100%;
  }
  .has-dd.dd-js:not(.dd-open) .dd {
    display: none;
  }
  .fcoll>h4 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    cursor: pointer;
  }
  .fcoll>h4::after {
    content: "";
    width: 8px;
    height: 8px;
    margin-right: 4px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .25s;
  }
  .fcoll.open>h4::after {
    transform: rotate(-135deg);
  }
  .fcoll:not(.open)>.two {
    display: none;
  }
  .fcoll.open>.two {
    margin-top: 10px;
  }
}

@media(max-width:600px) {
  footer {
    margin-top: 36px;
    padding-top: 26px;
    font-size: .86rem;
  }
  .fg {
    gap: 16px;
  }
  footer h4 {
    margin-bottom: 6px;
  }
  footer a {
    padding: 1px 0;
  }
  footer p {
    margin: 4px 0;
  }
  .flogo img {
    height: 42px;
  }
  .fg>div:nth-child(3) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 14px;
  }
  .fg>div:nth-child(3)>h4 {
    grid-column: 1/-1;
  }
}
