/* ==========================================================================
   Mobile drawer (≤1200px). Loaded after sc-header.css and overrides its
   basic drawer styles. Layout, top to bottom:
   welcome band → logo card + search → WhatsApp → category tiles →
   links card → season + country footer.
   ========================================================================== */

.sc-drawer__hero,
.sc-drawer__card,
.sc-drawer__body { display: none; }

@media (max-width: 1200px) {

	.sc-nav { padding: 0; background: var(--sc-cream); }

	/* Head wrapper: reset the earlier simple band. */
	.sc-nav__head { display: block; margin: 0; padding: 0; background: none; text-align: start; }
	.sc-drawer__hero,
	.sc-drawer__card,
	.sc-drawer__body { display: flex; }

	/* Welcome band */
	.sc-drawer__hero { position: relative; flex-direction: column; padding: 16px 18px 62px; overflow: hidden; background: radial-gradient(circle at 85% 0%, #14A07A 0%, var(--sc-green-dark) 70%); color: #fff; }
	.sc-drawer__hero::after { content: ""; position: absolute; inset-inline-end: -50px; bottom: -70px; width: 170px; height: 170px; border: 5px dashed rgba(245, 184, 46, .18); border-radius: 50%; }
	.sc-drawer__top { display: flex; align-items: center; justify-content: space-between; }
	.sc-drawer__hello { font-size: 13px; color: #CFE6DC; }
	.sc-nav__close { position: static; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .15); color: #fff; box-shadow: none; }
	.sc-nav__close:hover { background: rgba(255, 255, 255, .25); }
	.sc-drawer__title { margin: 6px 0 0; font-size: 22px; font-weight: 700; line-height: 1.4; }
	.sc-drawer__title span { display: block; color: var(--sc-gold); }

	/* Logo card overlapping the band */
	.sc-drawer__card { position: relative; flex-direction: column; align-items: center; gap: 12px; margin: -44px 16px 0; padding: 14px; background: #fff; border-radius: 20px; box-shadow: 0 10px 24px rgba(28, 43, 51, .12); }
	.sc-drawer__card .sc-logo__img { height: 40px; }
	.sc-drawer__search { display: flex; align-items: center; gap: 8px; width: 100%; height: 44px; padding-inline: 14px; background: var(--sc-sand); border-radius: var(--sc-pill); color: var(--sc-muted); box-sizing: border-box; }
	.sc-drawer__search:focus-within { box-shadow: 0 0 0 2px var(--sc-green); }
	.sc-drawer__search input { flex: 1; min-width: 0; border: 0; background: transparent; font: 500 14px var(--sc-font); color: var(--sc-ink); outline: none; }

	/* WhatsApp + tiles */
	.sc-drawer__body { flex-direction: column; gap: 16px; padding: 16px 16px 0; }
	.sc-drawer__body .sc-wa { margin: 0; border: 0; color: #fff !important; }
	/* WhatsApp card: white title, soft-mint line, WhatsApp-green icon tile. */
	.sc-drawer__body .sc-wa__label { color: #fff; }
	.sc-drawer__body .sc-wa__sub { color: #BFEBDD; opacity: 1; }
	.sc-drawer__body .sc-wa__icon { background: #25D366; color: #fff; }
	.sc-nav .sc-nav__end { border-inline-start: 0; }
	.sc-drawer__section-head { margin-bottom: 10px; font-size: 15px; }
	.sc-drawer__tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 8px; margin: 0; padding: 0; list-style: none; }
	.sc-drawer__tiles a { display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--sc-ink); font-size: 11.5px; font-weight: 600; line-height: 1.3; text-align: center; }
	.sc-drawer__tile-icon { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 16px; }
	.sc-drawer__tiles li:nth-child(4n+1) .sc-drawer__tile-icon { background: #E6F2EC; color: #0F7B5F; }
	.sc-drawer__tiles li:nth-child(4n+2) .sc-drawer__tile-icon { background: #FFF3D1; color: #B07A00; }
	.sc-drawer__tiles li:nth-child(4n+3) .sc-drawer__tile-icon { background: #FDE8E6; color: #C8463B; }
	.sc-drawer__tiles li:nth-child(4n+4) .sc-drawer__tile-icon { background: #E8EEFB; color: #3559B8; }

	/* Links as one white card */
	.sc-nav .sc-menu { margin: 16px; padding: 4px 6px; gap: 0; background: #fff; border-radius: 18px; }
	.sc-nav .sc-menu__link,
	.sc-nav .sc-menu > li > a { min-height: 50px; padding: 6px 8px; border-radius: 0; border-bottom: 1px solid #F0EBDF; background: none; font-size: 15px; }
	.sc-nav .sc-menu > li:last-child > .sc-menu__link,
	.sc-nav .sc-menu > li:last-child > a { border-bottom: 0; }
	.sc-nav .sc-menu__icon { flex-basis: 24px; height: auto; background: none; color: var(--sc-green); }
	.sc-nav .sc-menu__link[aria-current] { background: none; color: var(--sc-green); box-shadow: none; }
	.sc-nav .sc-menu__link::after,
	.sc-nav .sc-menu > li > a::after { display: none; }
	.sc-nav .sc-menu__link[aria-current] .sc-menu__icon { background: none; color: var(--sc-green); }
	/* Categories already appear as tiles above. */
	.sc-nav .sc-menu > li:nth-child(3) { display: none; }

	/* Footer: season + country */
	.sc-nav__end { margin-top: auto; padding: 12px 16px 18px; background: #fff; border-top: 1px solid var(--sc-line); }
	.sc-nav__end .sc-wa { display: none; }
	.sc-nav__end .sc-country { margin-top: 0; }
	.sc-nav__end .sc-nav__season { margin: 0 0 10px; }
}
