/* DreamLance phone fixes (0.18.64) */
@media (max-width: 1120px) {
	/* The menu drawer starts right under the header (it used to start at the very top and cover the logo and buttons). */
	html body .dl-primary-nav,
	html body.admin-bar .dl-primary-nav {
		top: var(--dl-drawer-top, 82px);
		height: calc(100dvh - var(--dl-drawer-top, 82px));
		padding-top: 16px;
		border-top: 1px solid rgba(255, 255, 255, .1);
	}
	/* No smooth-scroll drift and no header sliding in and out while the finger scrolls. */
	html { scroll-behavior: auto; }
	body.dl-hdr-hidden .dl-elementor-location--header,
	body.dl-hdr-hidden > .dl-site-header,
	body.dl-hdr-hidden .dl-site-header { transform: none; }
}
@media (max-width: 680px) {
	/* Slimmer announcement bar. */
	.dl-announce { font-size: 12px; font-weight: 600; line-height: 1.3; }
	.dl-announce .dl-container { min-height: 30px; gap: 8px; padding: 5px 36px 5px 12px; }
	.dl-announce button { right: 8px; width: 22px; height: 22px; font-size: 15px; }
}

/* 0.18.66: product grids on phones - smaller text, tighter gaps, smaller buttons, taller marketplace pictures */
@media (min-width:681px){
	html body .dl-mp-card__media{aspect-ratio:5/4;}
}
@media (max-width:680px){
	/* Marketplace cards */
	html body .dl-mp-card__media{aspect-ratio:1/1;}
	html body .dl-mp-card__body{gap:4px;padding:12px 12px 14px;}
	html body .dl-mp-card__cat{font-size:10px;line-height:1.3;letter-spacing:.02em;}
	html body .dl-mp-card h3{font-size:14px;line-height:1.3;}
	html body .dl-mp-card__inc{font-size:11px;}
	html body .dl-mp-card__price{margin-top:4px;padding-top:0;font-size:16px;line-height:1.2;}
	html body .dl-mp-card__price del{font-size:12px;margin-right:4px;}
	html body .dl-mp-card__actions{gap:6px;margin-top:8px;}
	html body .dl-mp-card .dl-mp-btn{min-height:36px;padding:0 8px;font-size:12.5px;border-radius:10px;}
	html body .dl-mp-card__off{top:8px;left:8px;padding:3px 8px;font-size:10.5px;}
	/* Plugin / theme / product cards */
	html body .dl-product-card__body{padding:16px;}
	html body .dl-product-card__eyebrow{min-height:20px;}
	html body .dl-product-card__eyebrow > span{font-size:9px;letter-spacing:.02em;}
	html body .dl-product-card h3{margin:5px 0 3px;font-size:13px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;letter-spacing:-.01em;}
	html body .dl-product-card__body > p{font-size:11.5px;line-height:1.45;}
	html body .dl-product-card__commercial{padding:12px 0;gap:8px;flex-wrap:wrap;}
	html body .dl-product-card__price strong{font-size:15px;}
	html body .dl-product-card__price small{font-size:9px;}
	html body .dl-product-card__delivery{font-size:10px;gap:4px;}
	html body .dl-product-card__delivery i{width:16px;height:16px;font-size:9px;}
	html body .dl-product-card__actions{padding-top:12px;gap:10px;}
	html body .dl-product-card__cart{min-height:34px;padding:0 12px;font-size:12px;}
	html body .dl-product-card__details{font-size:13px;}
}

@media (max-width:680px){
  html body .dl-section{padding-top:44px;padding-bottom:44px;}
  html body .dl-section-head{margin-bottom:24px;}
  html body .dl-section-head h2,html body section .dl-section-head h2,html body .dl-lang-bn .dl-section-head h2{font-size:24px !important;line-height:1.28 !important;letter-spacing:0 !important;margin-top:6px;}
  html body .dl-section-head > p,html body .dl-section-head p{font-size:15px;line-height:1.55;}
  html body .dl-product-showcase .dl-product-showcase__head h2{font-size:24px !important;}
}

/* 0.18.79 product pages: tighter gaps between sections on phones */
@media (max-width:680px){
  html body section.dl-product-section{padding-top:44px !important;padding-bottom:44px !important;}
  html body .dl-product-landing__hero{padding-bottom:36px !important;}
  html body .dl-product-landing__final{padding-top:52px !important;padding-bottom:56px !important;}
  html body section.dl-product-section .dl-product-purchase-bar{margin-top:22px !important;}
  html body section.dl-mp-claims{padding-top:18px !important;padding-bottom:0 !important;}
  html body section.dl-mp-omp{padding-top:44px !important;padding-bottom:44px !important;}
}
