@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800;900&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Tajawal', 'Cairo', sans-serif;
  background: #e0e5ec;
  direction: rtl;
  min-height: 100vh;
  -webkit-tap-highlight-color: transparent;
}

::-webkit-scrollbar { width: 6px; height: 6px; }

::-webkit-scrollbar-track { background: #e0e5ec; }

::-webkit-scrollbar-thumb { background: #64748b; border-radius: 10px; }

::-webkit-scrollbar-thumb:hover { background: #475569; }

::selection {
  background: #1a237e;
  color: white;
}
/* required styles */

.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
	position: absolute;
	left: 0;
	top: 0;
	}
.leaflet-container {
	overflow: hidden;
	}
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow {
	-webkit-user-select: none;
	   -moz-user-select: none;
	        user-select: none;
	  -webkit-user-drag: none;
	}
/* Prevents IE11 from highlighting tiles in blue */
.leaflet-tile::selection {
	background: transparent;
}
/* Safari renders non-retina tile on retina better with this, but Chrome is worse */
.leaflet-safari .leaflet-tile {
	image-rendering: -webkit-optimize-contrast;
	}
/* hack that prevents hw layers "stretching" when loading new tiles */
.leaflet-safari .leaflet-tile-container {
	width: 1600px;
	height: 1600px;
	-webkit-transform-origin: 0 0;
	}
.leaflet-marker-icon,
.leaflet-marker-shadow {
	display: block;
	}
/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */
/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */
.leaflet-container .leaflet-overlay-pane svg {
	max-width: none !important;
	max-height: none !important;
	}
.leaflet-container .leaflet-marker-pane img,
.leaflet-container .leaflet-shadow-pane img,
.leaflet-container .leaflet-tile-pane img,
.leaflet-container img.leaflet-image-layer,
.leaflet-container .leaflet-tile {
	max-width: none !important;
	max-height: none !important;
	width: auto;
	padding: 0;
	}

.leaflet-container img.leaflet-tile {
	/* See: https://bugs.chromium.org/p/chromium/issues/detail?id=600120 */
	mix-blend-mode: plus-lighter;
}

.leaflet-container.leaflet-touch-zoom {
	-ms-touch-action: pan-x pan-y;
	touch-action: pan-x pan-y;
	}
.leaflet-container.leaflet-touch-drag {
	-ms-touch-action: pinch-zoom;
	/* Fallback for FF which doesn't support pinch-zoom */
	touch-action: none;
	touch-action: pinch-zoom;
}
.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {
	-ms-touch-action: none;
	touch-action: none;
}
.leaflet-container {
	-webkit-tap-highlight-color: transparent;
}
.leaflet-container a {
	-webkit-tap-highlight-color: rgba(51, 181, 229, 0.4);
}
.leaflet-tile {
	filter: inherit;
	visibility: hidden;
	}
.leaflet-tile-loaded {
	visibility: inherit;
	}
.leaflet-zoom-box {
	width: 0;
	height: 0;
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
	z-index: 800;
	}
/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */
.leaflet-overlay-pane svg {
	-moz-user-select: none;
	}

.leaflet-pane         { z-index: 400; }

.leaflet-tile-pane    { z-index: 200; }
.leaflet-overlay-pane { z-index: 400; }
.leaflet-shadow-pane  { z-index: 500; }
.leaflet-marker-pane  { z-index: 600; }
.leaflet-tooltip-pane   { z-index: 650; }
.leaflet-popup-pane   { z-index: 700; }

.leaflet-map-pane canvas { z-index: 100; }
.leaflet-map-pane svg    { z-index: 200; }

.leaflet-vml-shape {
	width: 1px;
	height: 1px;
	}
.lvml {
	behavior: url(#default#VML);
	display: inline-block;
	position: absolute;
	}


/* control positioning */

.leaflet-control {
	position: relative;
	z-index: 800;
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}
.leaflet-top,
.leaflet-bottom {
	position: absolute;
	z-index: 1000;
	pointer-events: none;
	}
.leaflet-top {
	top: 0;
	}
.leaflet-right {
	right: 0;
	}
.leaflet-bottom {
	bottom: 0;
	}
.leaflet-left {
	left: 0;
	}
.leaflet-control {
	float: left;
	clear: both;
	}
.leaflet-right .leaflet-control {
	float: right;
	}
.leaflet-top .leaflet-control {
	margin-top: 10px;
	}
.leaflet-bottom .leaflet-control {
	margin-bottom: 10px;
	}
.leaflet-left .leaflet-control {
	margin-left: 10px;
	}
.leaflet-right .leaflet-control {
	margin-right: 10px;
	}


/* zoom and fade animations */

.leaflet-fade-anim .leaflet-popup {
	opacity: 0;
	-webkit-transition: opacity 0.2s linear;
	   -moz-transition: opacity 0.2s linear;
	        transition: opacity 0.2s linear;
	}
.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
	opacity: 1;
	}
.leaflet-zoom-animated {
	-webkit-transform-origin: 0 0;
	    -ms-transform-origin: 0 0;
	        transform-origin: 0 0;
	}
svg.leaflet-zoom-animated {
	will-change: transform;
}

.leaflet-zoom-anim .leaflet-zoom-animated {
	-webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1);
	   -moz-transition:    -moz-transform 0.25s cubic-bezier(0,0,0.25,1);
	        transition:         transform 0.25s cubic-bezier(0,0,0.25,1);
	}
.leaflet-zoom-anim .leaflet-tile,
.leaflet-pan-anim .leaflet-tile {
	-webkit-transition: none;
	   -moz-transition: none;
	        transition: none;
	}

.leaflet-zoom-anim .leaflet-zoom-hide {
	visibility: hidden;
	}


/* cursors */

.leaflet-interactive {
	cursor: pointer;
	}
.leaflet-grab {
	cursor: -webkit-grab;
	cursor:    -moz-grab;
	cursor:         grab;
	}
.leaflet-crosshair,
.leaflet-crosshair .leaflet-interactive {
	cursor: crosshair;
	}
.leaflet-popup-pane,
.leaflet-control {
	cursor: auto;
	}
.leaflet-dragging .leaflet-grab,
.leaflet-dragging .leaflet-grab .leaflet-interactive,
.leaflet-dragging .leaflet-marker-draggable {
	cursor: move;
	cursor: -webkit-grabbing;
	cursor:    -moz-grabbing;
	cursor:         grabbing;
	}

/* marker & overlays interactivity */
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-image-layer,
.leaflet-pane > svg path,
.leaflet-tile-container {
	pointer-events: none;
	}

.leaflet-marker-icon.leaflet-interactive,
.leaflet-image-layer.leaflet-interactive,
.leaflet-pane > svg path.leaflet-interactive,
svg.leaflet-image-layer.leaflet-interactive path {
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}

/* visual tweaks */

.leaflet-container {
	background: #ddd;
	outline-offset: 1px;
	}
.leaflet-container a {
	color: #0078A8;
	}
.leaflet-zoom-box {
	border: 2px dotted #38f;
	background: rgba(255,255,255,0.5);
	}


/* general typography */
.leaflet-container {
	font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1.5;
	}


/* general toolbar styles */

.leaflet-bar {
	box-shadow: 0 1px 5px rgba(0,0,0,0.65);
	border-radius: 4px;
	}
.leaflet-bar a {
	background-color: #fff;
	border-bottom: 1px solid #ccc;
	width: 26px;
	height: 26px;
	line-height: 26px;
	display: block;
	text-align: center;
	text-decoration: none;
	color: black;
	}
.leaflet-bar a,
.leaflet-control-layers-toggle {
	background-position: 50% 50%;
	background-repeat: no-repeat;
	display: block;
	}
.leaflet-bar a:hover,
.leaflet-bar a:focus {
	background-color: #f4f4f4;
	}
.leaflet-bar a:first-child {
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	}
.leaflet-bar a:last-child {
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
	border-bottom: none;
	}
.leaflet-bar a.leaflet-disabled {
	cursor: default;
	background-color: #f4f4f4;
	color: #bbb;
	}

.leaflet-touch .leaflet-bar a {
	width: 30px;
	height: 30px;
	line-height: 30px;
	}
.leaflet-touch .leaflet-bar a:first-child {
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;
	}
.leaflet-touch .leaflet-bar a:last-child {
	border-bottom-left-radius: 2px;
	border-bottom-right-radius: 2px;
	}

/* zoom control */

.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
	font: bold 18px 'Lucida Console', Monaco, monospace;
	text-indent: 1px;
	}

.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out  {
	font-size: 22px;
	}


/* layers control */

.leaflet-control-layers {
	box-shadow: 0 1px 5px rgba(0,0,0,0.4);
	background: #fff;
	border-radius: 5px;
	}
.leaflet-control-layers-toggle {
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);
	width: 36px;
	height: 36px;
	}
.leaflet-retina .leaflet-control-layers-toggle {
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);
	background-size: 26px 26px;
	}
.leaflet-touch .leaflet-control-layers-toggle {
	width: 44px;
	height: 44px;
	}
.leaflet-control-layers .leaflet-control-layers-list,
.leaflet-control-layers-expanded .leaflet-control-layers-toggle {
	display: none;
	}
.leaflet-control-layers-expanded .leaflet-control-layers-list {
	display: block;
	position: relative;
	}
.leaflet-control-layers-expanded {
	padding: 6px 10px 6px 6px;
	color: #333;
	background: #fff;
	}
.leaflet-control-layers-scrollbar {
	overflow-y: scroll;
	overflow-x: hidden;
	padding-right: 5px;
	}
.leaflet-control-layers-selector {
	margin-top: 2px;
	position: relative;
	top: 1px;
	}
.leaflet-control-layers label {
	display: block;
	font-size: 13px;
	font-size: 1.08333em;
	}
.leaflet-control-layers-separator {
	height: 0;
	border-top: 1px solid #ddd;
	margin: 5px -10px 5px -6px;
	}

/* Default icon URLs */
.leaflet-default-icon-path { /* used only in path-guessing heuristic, see L.Icon.Default */
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=);
	}


/* attribution and scale controls */

.leaflet-container .leaflet-control-attribution {
	background: #fff;
	background: rgba(255, 255, 255, 0.8);
	margin: 0;
	}
.leaflet-control-attribution,
.leaflet-control-scale-line {
	padding: 0 5px;
	color: #333;
	line-height: 1.4;
	}
.leaflet-control-attribution a {
	text-decoration: none;
	}
.leaflet-control-attribution a:hover,
.leaflet-control-attribution a:focus {
	text-decoration: underline;
	}
.leaflet-attribution-flag {
	display: inline !important;
	vertical-align: baseline !important;
	width: 1em;
	height: 0.6669em;
	}
.leaflet-left .leaflet-control-scale {
	margin-left: 5px;
	}
.leaflet-bottom .leaflet-control-scale {
	margin-bottom: 5px;
	}
.leaflet-control-scale-line {
	border: 2px solid #777;
	border-top: none;
	line-height: 1.1;
	padding: 2px 5px 1px;
	white-space: nowrap;
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
	background: rgba(255, 255, 255, 0.8);
	text-shadow: 1px 1px #fff;
	}
.leaflet-control-scale-line:not(:first-child) {
	border-top: 2px solid #777;
	border-bottom: none;
	margin-top: -2px;
	}
.leaflet-control-scale-line:not(:first-child):not(:last-child) {
	border-bottom: 2px solid #777;
	}

.leaflet-touch .leaflet-control-attribution,
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	box-shadow: none;
	}
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	border: 2px solid rgba(0,0,0,0.2);
	background-clip: padding-box;
	}


/* popup */

.leaflet-popup {
	position: absolute;
	text-align: center;
	margin-bottom: 20px;
	}
.leaflet-popup-content-wrapper {
	padding: 1px;
	text-align: left;
	border-radius: 12px;
	}
.leaflet-popup-content {
	margin: 13px 24px 13px 20px;
	line-height: 1.3;
	font-size: 13px;
	font-size: 1.08333em;
	min-height: 1px;
	}
.leaflet-popup-content p {
	margin: 17px 0;
	margin: 1.3em 0;
	}
.leaflet-popup-tip-container {
	width: 40px;
	height: 20px;
	position: absolute;
	left: 50%;
	margin-top: -1px;
	margin-left: -20px;
	overflow: hidden;
	pointer-events: none;
	}
.leaflet-popup-tip {
	width: 17px;
	height: 17px;
	padding: 1px;

	margin: -10px auto 0;
	pointer-events: auto;

	-webkit-transform: rotate(45deg);
	   -moz-transform: rotate(45deg);
	    -ms-transform: rotate(45deg);
	        transform: rotate(45deg);
	}
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
	background: white;
	color: #333;
	box-shadow: 0 3px 14px rgba(0,0,0,0.4);
	}
.leaflet-container a.leaflet-popup-close-button {
	position: absolute;
	top: 0;
	right: 0;
	border: none;
	text-align: center;
	width: 24px;
	height: 24px;
	font: 16px/24px Tahoma, Verdana, sans-serif;
	color: #757575;
	text-decoration: none;
	background: transparent;
	}
.leaflet-container a.leaflet-popup-close-button:hover,
.leaflet-container a.leaflet-popup-close-button:focus {
	color: #585858;
	}
.leaflet-popup-scrolled {
	overflow: auto;
	}

.leaflet-oldie .leaflet-popup-content-wrapper {
	-ms-zoom: 1;
	}
.leaflet-oldie .leaflet-popup-tip {
	width: 24px;
	margin: 0 auto;

	-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
	filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
	}

.leaflet-oldie .leaflet-control-zoom,
.leaflet-oldie .leaflet-control-layers,
.leaflet-oldie .leaflet-popup-content-wrapper,
.leaflet-oldie .leaflet-popup-tip {
	border: 1px solid #999;
	}


/* div icon */

.leaflet-div-icon {
	background: #fff;
	border: 1px solid #666;
	}


/* Tooltip */
/* Base styles for the element that has a tooltip */
.leaflet-tooltip {
	position: absolute;
	padding: 6px;
	background-color: #fff;
	border: 1px solid #fff;
	border-radius: 3px;
	color: #222;
	white-space: nowrap;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	pointer-events: none;
	box-shadow: 0 1px 3px rgba(0,0,0,0.4);
	}
.leaflet-tooltip.leaflet-interactive {
	cursor: pointer;
	pointer-events: auto;
	}
.leaflet-tooltip-top:before,
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	position: absolute;
	pointer-events: none;
	border: 6px solid transparent;
	background: transparent;
	content: "";
	}

/* Directions */

.leaflet-tooltip-bottom {
	margin-top: 6px;
}
.leaflet-tooltip-top {
	margin-top: -6px;
}
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-top:before {
	left: 50%;
	margin-left: -6px;
	}
.leaflet-tooltip-top:before {
	bottom: 0;
	margin-bottom: -12px;
	border-top-color: #fff;
	}
.leaflet-tooltip-bottom:before {
	top: 0;
	margin-top: -12px;
	margin-left: -6px;
	border-bottom-color: #fff;
	}
.leaflet-tooltip-left {
	margin-left: -6px;
}
.leaflet-tooltip-right {
	margin-left: 6px;
}
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	top: 50%;
	margin-top: -6px;
	}
.leaflet-tooltip-left:before {
	right: 0;
	margin-right: -12px;
	border-left-color: #fff;
	}
.leaflet-tooltip-right:before {
	left: 0;
	margin-left: -12px;
	border-right-color: #fff;
	}

/* Printing */

@media print {
	/* Prevent printers from removing background-images of controls. */
	.leaflet-control {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
		}
	}
/* ========================================================
   Aleinia React - Full RTL Neumorphism Design
   ======================================================== */

/* ----- CSS Variables ----- */
:root {
  --bg: #e0e5ec;
  --bg-dark: #0f172a;
  --text-main: #4a5568;
  --text-light: #a0aec0;
  --text-white: #ffffff;
  --accent: #1a237e;
  --accent-light: #3949ab;
  --gold: #fbbf24;
  --shadow-light: 9px 9px 16px rgb(163 177 198 / 0.6);
  --shadow-dark: -9px -9px 16px rgb(255 255 255 / 0.5);
  --shadow-inset: inset 6px 6px 10px 0 rgb(163 177 198 / 0.7), inset -6px -6px 10px 0 rgb(255 255 255 / 0.8);
  --radius: 20px;
  --radius-sm: 12px;
  --header-h: 56px;
}

/* ----- Reset & Base ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Tajawal', 'Cairo', sans-serif;
  background: var(--bg);
  color: var(--text-main);
  direction: rtl;
  min-height: 100vh;
}

/* ========================================================
   TOPBAR
   ======================================================== */

.topbar {
  position: fixed; top: 0; left: 0; right: 0; height: var(--header-h);
  background: var(--bg); z-index: 1000;
  box-shadow: var(--shadow-light), var(--shadow-dark);
  border-bottom: 2px solid rgba(255,255,255,0.2);
}

.topbar-inner {
  max-width: 100%; height: 100%; padding: 0 12px;
  display: flex; align-items: center; gap: 8px;
}

.topbar-left { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.topbar-hamburger {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg); box-shadow: var(--shadow-light), var(--shadow-dark);
  border: none; font-size: 16px; cursor: pointer; color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.topbar-hamburger:active { box-shadow: var(--shadow-inset); }

.topbar-logo { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.topbar-logo-img { height: 32px; width: auto; }
.topbar-logo-text { font-weight: 900; font-size: 16px; color: var(--accent); }

/* Tabs */
.topbar-tabs {
  flex: 1; display: flex; align-items: center; gap: 4px;
  justify-content: center; overflow: hidden;
}

.topbar-tab-scroll {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--bg); box-shadow: var(--shadow-light), var(--shadow-dark);
  border: none; cursor: pointer; font-size: 10px; color: var(--text-main);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

.topbar-tabs-scroll {
  display: flex; gap: 4px; overflow-x: auto; padding: 2px;
  scroll-behavior: smooth; flex: 1; justify-content: center;
}
.topbar-tabs-scroll::-webkit-scrollbar { display: none; }

.topbar-tab {
  padding: 4px 12px; border-radius: 50px; border: none;
  background: transparent; color: var(--text-light); font-size: 12px;
  font-weight: 700; cursor: pointer; white-space: nowrap;
  transition: all 0.2s; display: flex; align-items: center; gap: 4px;
}
.topbar-tab:hover { color: var(--accent); }
.topbar-tab-icon { font-size: 14px; }
.topbar-tab.active {
  background: white; color: var(--accent);
  box-shadow: var(--shadow-light), var(--shadow-dark);
}

/* Right Icons */
.topbar-right { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }

.topbar-icon-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg); box-shadow: var(--shadow-light), var(--shadow-dark);
  border: none; cursor: pointer; font-size: 14px;
  display: flex; align-items: center; justify-content: center; position: relative;
}
.topbar-icon-btn:active { box-shadow: var(--shadow-inset); }

.cart-btn { position: relative; }
.cart-badge {
  position: absolute; top: -2px; right: -2px;
  min-width: 16px; height: 16px; border-radius: 50%;
  background: #ef4444; color: white; font-size: 9px; font-weight: 900;
  display: flex; align-items: center; justify-content: center; padding: 0 3px;
}

/* Search Dropdown */
.topbar-search-wrap { position: relative; }
.topbar-search-dropdown {
  position: absolute; top: 44px; left: 0; width: 300px;
  background: var(--bg); border-radius: var(--radius);
  box-shadow: var(--shadow-light), var(--shadow-dark);
  padding: 12px; z-index: 1001; border: 2px solid rgba(255,255,255,0.3);
}

.topbar-search-input {
  width: 100%; padding: 8px 12px; border-radius: var(--radius-sm);
  border: none; background: var(--bg);
  box-shadow: var(--shadow-inset); outline: none; font-size: 13px;
}

.topbar-search-results { margin-top: 8px; max-height: 250px; overflow-y: auto; }
.search-result-item {
  padding: 8px; border-radius: var(--radius-sm); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  transition: background 0.2s;
}
.search-result-item:hover { background: rgba(255,255,255,0.5); }
.search-result-item small { font-size: 10px; color: var(--text-light); }
.search-result-empty { text-align: center; padding: 12px; font-size: 12px; color: var(--text-light); }

/* User Dropdown */
.topbar-user-wrap { position: relative; }
.topbar-user-dropdown {
  position: absolute; top: 44px; left: 0; width: 200px;
  background: var(--bg); border-radius: var(--radius);
  box-shadow: var(--shadow-light), var(--shadow-dark);
  padding: 12px; z-index: 1001; border: 2px solid rgba(255,255,255,0.3);
}
.user-dropdown-name { font-weight: 900; font-size: 14px; color: var(--accent); margin-bottom: 2px; }
.user-dropdown-role { font-size: 11px; color: var(--text-light); margin-bottom: 8px; }
.user-dropdown-btn {
  width: 100%; padding: 8px; border-radius: var(--radius-sm);
  border: none; background: white; box-shadow: var(--shadow-light), var(--shadow-dark);
  cursor: pointer; font-size: 12px; font-weight: 700; margin-top: 4px;
}
.user-dropdown-btn:active { box-shadow: var(--shadow-inset); }
.user-dropdown-btn.logout { color: #ef4444; }

/* Cart Dropdown */
.topbar-cart-wrap { position: relative; }
.topbar-cart-dropdown {
  position: absolute; top: 44px; left: 0; width: 300px;
  background: var(--bg); border-radius: var(--radius);
  box-shadow: var(--shadow-light), var(--shadow-dark);
  z-index: 1001; overflow: hidden; border: 2px solid rgba(255,255,255,0.3);
}
.cart-dropdown-empty { padding: 24px; text-align: center; font-size: 13px; color: var(--text-light); }
.cart-dropdown-header { padding: 12px; font-weight: 900; font-size: 13px; border-bottom: 1px solid rgba(0,0,0,0.05); }
.cart-dropdown-items { max-height: 250px; overflow-y: auto; }
.cart-dropdown-item {
  display: flex; align-items: center; gap: 8px; padding: 8px 12px;
  border-bottom: 1px solid rgba(0,0,0,0.03);
}
.cart-item-img { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 12px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-item-price { font-size: 11px; color: var(--text-light); }
.cart-item-remove {
  width: 24px; height: 24px; border-radius: 50%; border: none;
  background: #fee2e2; color: #ef4444; cursor: pointer; font-size: 12px;
}
.cart-dropdown-total {
  display: flex; justify-content: space-between; padding: 8px 12px;
  font-weight: 900; font-size: 13px; border-top: 1px solid rgba(0,0,0,0.05);
}
.cart-dropdown-checkout {
  width: 100%; padding: 10px; border: none; background: var(--accent); color: white;
  font-weight: 900; font-size: 13px; cursor: pointer;
}

/* ========================================================
   APP BODY
   ======================================================== */

.app-body {
  margin-top: var(--header-h);
  display: flex;
  height: calc(100vh - var(--header-h));
}

.main-stage {
  flex: 1;
  transition: all 0.3s;
  overflow: hidden;
  display: flex;
}

.main-stage.has-sidebar {
  width: 70%;
}

.main-stage.full {
  width: 100%;
}

.main-content {
  flex: 1;
  overflow-y: auto;
  padding: 0;
}

/* ========================================================
   SIDEBAR
   ======================================================== */

.sidebar {
  width: 30%;
  min-width: 280px;
  background: var(--bg);
  box-shadow: inset var(--shadow-light), inset var(--shadow-dark);
  padding: 8px;
  border-left: 2px solid rgba(255,255,255,0.3);
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.sidebar-overlay {
  display: none;
}
.sidebar-overlay.open {
  display: block;
}
.sidebar-mobile-close {
  background: none; border: none; font-size: 18px; cursor: pointer;
  color: var(--text-light); padding: 4px 8px; border-radius: 50%;
  display: none;
}

.sidebar-promo-video {
  padding: 0;
  overflow: hidden;
  flex-shrink: 0;
  min-height: 200px;
}
.sidebar-promo-video iframe {
  width: 100%;
  aspect-ratio: 9/16;
  display: block;
  border: none;
}
.sidebar-promo-video video {
  width: 100%;
  min-height: 80vh;
  display: block;
  border: none;
  object-fit: cover;
}
.sidebar-promo-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; min-height: 80vh; padding: 32px 16px; text-align: center;
  border: 2px dashed var(--text-light); border-radius: var(--radius-sm);
  color: var(--text-light); font-size: 13px; margin: 8px;
}
.sidebar-promo-placeholder span { font-size: 32px; }

.sidebar-scroll {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
}

.sidebar-section {
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-light), var(--shadow-dark);
  padding: 16px;
}

.sidebar-hero { text-align: center; }

.sidebar-slogan h2 { font-size: 22px; font-weight: 900; color: var(--accent); }
.sidebar-slogan p { font-size: 12px; color: var(--text-light); margin-top: 4px; }

.sidebar-action-btn.active {
  background: var(--accent);
  color: white;
  box-shadow: var(--shadow-light);
}
.sidebar-action-btn {
  width: 100%; padding: 10px; border-radius: 50px;
  border: none; background: var(--bg); box-shadow: var(--shadow-light), var(--shadow-dark);
  cursor: pointer; font-size: 13px; font-weight: 700; margin-top: 8px;
  transition: all 0.2s;
}
.sidebar-action-btn:active { box-shadow: var(--shadow-inset); }
.sidebar-action-btn.primary { background: var(--accent); color: white; box-shadow: var(--shadow-light); }
.sidebar-action-btn.logout { color: #ef4444; }

.sidebar-header {
  display: flex; align-items: center; gap: 8px; margin-bottom: 8px;
}
.sidebar-header h2 { font-size: 18px; font-weight: 900; color: var(--accent); }
.sidebar-badge {
  padding: 2px 10px; border-radius: 50px;
  background: var(--accent); color: white; font-size: 10px; font-weight: 700;
}

.sidebar-logo-wrap {
  display: flex; justify-content: center; margin: 12px 0;
}
.sidebar-logo { width: 80px; height: 80px; border-radius: var(--radius); object-fit: contain; }

.sidebar-video {
  border-radius: var(--radius-sm); overflow: hidden; margin: 8px 0;
}
.sidebar-video iframe { width: 100%; border: none; }
.sidebar-video video { width: 100%; }
.plyr-wrap.portrait { max-height: 70vh; }
.plyr-wrap.portrait video { max-height: 70vh; width: auto; margin: 0 auto; display: block; }
.plyr--video { width: 100%; }
.plyr__video-embed { width: 100%; aspect-ratio: 16/9; position: relative; }
.plyr__video-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.sidebar-video-link {
  display: block; text-align: center; padding: 4px; font-size: 11px;
  color: var(--accent); background: rgba(255,255,255,0.9); text-decoration: none;
}

.sidebar-section-title {
  font-size: 12px; font-weight: 900; color: var(--text-light);
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px;
}

.sidebar-specs { display: flex; flex-direction: column; gap: 6px; }
.spec-row { display: flex; justify-content: space-between; font-size: 13px; padding: 4px 0; border-bottom: 1px solid rgba(0,0,0,0.05); }
.spec-label { color: var(--text-light); }
.spec-value { font-weight: 700; color: var(--accent); }
.sidebar-description { font-size: 13px; line-height: 1.7; color: var(--text-main); white-space: pre-wrap; }

.sidebar-products { display: flex; flex-direction: column; gap: 6px; }
.sidebar-product {
  display: flex; align-items: center; gap: 8px; padding: 6px;
  border-radius: var(--radius-sm); cursor: pointer; transition: all 0.2s;
}
.sidebar-product:hover { background: rgba(255,255,255,0.5); }
.sidebar-product.active { box-shadow: var(--shadow-inset); }
.sidebar-product img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.sidebar-product-name { font-size: 12px; font-weight: 700; }
.sidebar-product-price { font-size: 11px; color: var(--text-light); }

.sidebar-reviews { display: flex; flex-direction: column; gap: 8px; }
.sidebar-review { padding: 8px; border-radius: var(--radius-sm); background: rgba(255,255,255,0.3); }
.sidebar-review-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.sidebar-review-header strong { font-size: 12px; }
.sidebar-review-rating { color: var(--gold); font-size: 11px; }
.sidebar-review-comment { font-size: 12px; color: var(--text-main); margin: 2px 0; }
.sidebar-review-date { font-size: 10px; color: var(--text-light); }
.sidebar-review-form { margin-bottom: 12px; padding: 8px; border-radius: var(--radius-sm); background: rgba(255,255,255,0.2); }
.sidebar-review-input { width: 100%; padding: 6px 8px; border: 1px solid #ddd; border-radius: var(--radius-sm); font-size: 12px; margin-bottom: 6px; box-sizing: border-box; }
.sidebar-review-stars { display: flex; align-items: center; gap: 2px; margin-bottom: 6px; font-size: 12px; }
.sidebar-review-textarea { width: 100%; padding: 6px 8px; border: 1px solid #ddd; border-radius: var(--radius-sm); font-size: 12px; resize: vertical; box-sizing: border-box; }
.sidebar-review-success { font-size: 12px; color: var(--green); margin-top: 4px; }
.review-item { padding: 8px; border-radius: var(--radius-sm); background: rgba(255,255,255,0.3); }
.review-header { display: flex; justify-content: space-between; margin-bottom: 4px; }
.review-user { font-weight: 700; font-size: 12px; }
.review-stars { color: var(--gold); font-size: 11px; }
.review-text { font-size: 12px; color: var(--text-main); }

.sidebar-empty { text-align: center; padding: 12px; font-size: 12px; color: var(--text-light); }

.sidebar-add-btn {
  width: 100%; padding: 12px; border-radius: 50px; border: none;
  background: var(--accent); color: white; font-weight: 900; font-size: 13px;
  cursor: pointer; box-shadow: var(--shadow-light);
  transition: all 0.2s;
}
.sidebar-add-btn:active { box-shadow: var(--shadow-inset); }

.sidebar-whatsapp-btn {
  width: 100%; padding: 12px; border-radius: 50px; border: none;
  background: #25D366; color: white; font-weight: 900; font-size: 13px;
  cursor: pointer; box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  transition: all 0.2s;
}
.sidebar-whatsapp-btn:active { transform: scale(0.97); }

.sidebar-desc { font-size: 13px; color: var(--text-main); line-height: 1.7; margin-top: 8px; }

.sidebar-gallery { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0; }
.sidebar-gallery::-webkit-scrollbar { height: 3px; }
.sidebar-gallery-thumb {
  flex-shrink: 0; width: 64px; height: 64px; border-radius: var(--radius-sm);
  overflow: hidden; border: 2px solid transparent; cursor: pointer; padding: 0; background: none;
  transition: border-color 0.2s;
}
.sidebar-gallery-thumb:hover { border-color: var(--accent); }
.sidebar-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.sidebar-role { font-size: 12px; color: var(--text-light); margin-top: 4px; }

.sidebar-page-info { text-align: right; }
.sidebar-info-item {
  display: flex; align-items: flex-start; gap: 8px; margin-top: 10px;
  font-size: 12px; line-height: 1.6;
}
.sidebar-info-icon { font-size: 16px; flex-shrink: 0; margin-top: 2px; }
.sidebar-info-text { color: var(--text-main); }

/* ========================================================
   HOME
   ======================================================== */

.home-hero {
  position: relative; height: 260px; overflow: hidden;
  margin: 8px; border-radius: var(--radius);
  box-shadow: var(--shadow-light), var(--shadow-dark);
}

.home-hero-bg {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #312e81 100%);
  display: flex; align-items: flex-end; padding: 24px;
}

.home-hero-content { position: relative; z-index: 1; }
.home-hero-tag {
  display: inline-block; padding: 4px 12px; border-radius: 50px;
  background: rgba(59, 130, 246, 0.3); color: white; font-size: 10px;
  font-weight: 900; text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 8px; backdrop-filter: blur(4px);
}
.home-hero-content h1 {
  color: white; font-size: 28px; font-weight: 900;
  margin-bottom: 12px; line-height: 1.3;
}
.home-filter-select {
  padding: 8px 16px; border-radius: 50px; border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1); color: white; font-size: 13px;
  backdrop-filter: blur(8px); outline: none;
}
.home-filter-select option { color: white; background: rgba(15,23,42,0.85); backdrop-filter: blur(12px); }

.home-toolbar {
  display: flex; gap: 8px; margin: 12px 8px;
}
.home-toolbar-btn {
  padding: 6px 16px; border-radius: 50px; border: none;
  background: var(--bg); box-shadow: var(--shadow-light), var(--shadow-dark);
  cursor: pointer; font-size: 12px; font-weight: 700; color: var(--text-main);
}
.home-toolbar-btn.active { box-shadow: var(--shadow-inset); color: var(--accent); }

.home-loading, .home-empty {
  display: flex; align-items: center; justify-content: center;
  padding: 48px; color: var(--text-light); font-size: 14px;
}

.home-website-container {
  height: calc(100vh - var(--header-h) - 100px); margin: 0 8px;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-light), var(--shadow-dark);
}
.home-website-iframe {
  width: 100%; height: 100%; border: none;
}

.home-about { padding: 8px; }
.home-about-card {
  background: var(--bg); border-radius: var(--radius);
  box-shadow: var(--shadow-light), var(--shadow-dark);
  padding: 24px; text-align: center;
}
.home-about-card h2 { font-size: 22px; font-weight: 900; color: var(--accent); margin-bottom: 12px; }
.home-about-card p { font-size: 14px; line-height: 1.8; color: var(--text-main); }

/* Stores Grid */
.stores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
  padding: 8px;
}

.store-card {
  position: relative; height: 240px; border-radius: var(--radius);
  overflow: hidden; cursor: pointer;
  box-shadow: var(--shadow-light), var(--shadow-dark);
  transition: all 0.3s;
}
.store-card:hover { transform: translateY(-4px); }

.store-card-bg {
  position: absolute; inset: 0;
}
.store-card-bg img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.store-card:hover .store-card-bg img { transform: scale(1.05); }
.store-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
}

.store-card-body {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 16px;
}
.store-card-badge {
  display: inline-block; padding: 2px 10px; border-radius: 50px;
  background: rgba(255,255,255,0.2); color: white; font-size: 10px; font-weight: 700;
  backdrop-filter: blur(4px); margin-bottom: 6px;
}
.store-card-body h3 { color: white; font-size: 18px; font-weight: 900; }
.store-card-meta { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.7); font-size: 12px; margin-top: 4px; }

.store-card-arrow {
  position: absolute; bottom: 16px; left: 16px;
  width: 32px; height: 32px; border-radius: 50%;
  background: white; color: var(--accent); display: flex;
  align-items: center; justify-content: center; font-size: 16px; font-weight: 700;
  opacity: 0; transform: translateX(-8px); transition: all 0.3s;
}
.store-card:hover .store-card-arrow { opacity: 1; transform: translateX(0); }

/* ========================================================
   STORE VIEW (3D)
   ======================================================== */

.store-view {
  display: flex;
  height: 100%;
}

.store-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 8px;
}

.store-3d-container {
  flex: 1;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-light), var(--shadow-dark);
  background: var(--bg);
  min-height: 400px;
}

.store-3d-scene {
  width: 100%;
  height: 100%;
}

.store-3d-overlay {
  position: absolute;
  top: 12px; left: 12px; right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: none;
  z-index: 10;
}

.store-3d-info { display: flex; flex-direction: column; gap: 8px; }

.store-3d-actions {
  display: flex; gap: 8px; pointer-events: auto;
}

.store-action-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.9); border: none;
  box-shadow: var(--shadow-light); cursor: pointer;
  font-size: 14px; display: flex; align-items: center; justify-content: center;
}
.store-action-btn.cart-btn {
  background: var(--accent); color: white; width: 44px; height: 44px; font-size: 18px;
}

.sidebar-mobile-tab {
  position: fixed; top: 50%; transform: translateY(-50%);
  z-index: 350; background: none; border: none;
  font-size: 44px; font-weight: 700; cursor: pointer;
  color: var(--accent); opacity: 0.5;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.2s, left 0.2s, right 0.2s;
  width: auto; height: auto; padding: 12px;
}
.sidebar-mobile-tab.on-main { right: 8px; }
.sidebar-mobile-tab.on-sidebar { left: 8px; }
.sidebar-mobile-tab:hover { opacity: 0.9; }

.mobile-sidebar-toggle { display: none; }

.store-back-link {
  background: rgba(255,255,255,0.85); border: none; cursor: pointer;
  font-size: 13px; color: var(--accent); font-weight: 900;
  padding: 6px 14px; border-radius: 20px;
  pointer-events: auto; backdrop-filter: blur(4px);
  display: inline-flex; align-items: center;
  box-shadow: var(--shadow-light);
}
.store-3d-product-info {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  box-shadow: var(--shadow-light);
  pointer-events: auto;
}

.store-3d-product-name { font-size: 14px; font-weight: 900; color: var(--accent); }
.store-3d-product-price { font-size: 12px; color: var(--text-light); margin-top: 2px; }

.store-3d-dock {
  position: absolute;
  bottom: 12px;
  right: 12px;
  left: 12px;
  display: flex;
  gap: 8px;
  padding: 8px;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  box-shadow: var(--shadow-light);
  overflow-x: auto;
  z-index: 10;
}
.store-3d-dock::-webkit-scrollbar { height: 3px; }

.dock-item {
  flex-shrink: 0;
  width: 56px; height: 56px; border-radius: var(--radius-sm);
  overflow: hidden; border: 2px solid transparent; cursor: pointer;
  padding: 0; background: none; transition: all 0.2s;
}
.dock-item.active { border-color: var(--accent); box-shadow: var(--shadow-inset); }
.dock-item img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }

.dock-empty {
  width: 100%; text-align: center; padding: 12px;
  font-size: 12px; color: var(--text-light);
}

.store-action-btn.active {
  background: var(--accent); color: white; box-shadow: 0 0 0 2px rgba(255,255,255,0.5);
}

/* ============ STORE OVERLAY ============ */
.store-overlay {
  position: absolute; inset: 0; z-index: 5;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(12px);
  display: flex; flex-direction: column; overflow-y: auto;
}
.store-overlay-close {
  position: sticky; top: 0; z-index: 1; width: 100%;
  padding: 12px 20px; border: none; background: var(--accent);
  color: #fff; font-size: 14px; font-weight: 600; cursor: pointer;
  text-align: center; flex-shrink: 0;
}
.store-overlay-body {
  flex: 1; padding: 20px;
}

/* ============ IFRAME CONTAINER (for DynamicTabPage + legacy) ============ */
.store-iframe-container {
  position: absolute; inset: 0; z-index: 5;
  border-radius: var(--radius); overflow: hidden;
}
.store-iframe {
  width: 100%; height: 100%; border: none;
}

/* ============ STORE ABOUT (full-screen overlay) ============ */
.store-about-container {
  position: absolute; inset: 0; z-index: 5;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
  border-radius: var(--radius); overflow-y: auto;
  display: flex; align-items: flex-start; justify-content: center;
  padding: 32px 16px;
}
.store-about-content {
  max-width: 600px; width: 100%; text-align: center;
}
.store-about-image {
  width: 100%; max-height: 200px; object-fit: cover;
  border-radius: var(--radius); margin-bottom: 16px;
}
.store-about-content h2 {
  font-size: 24px; font-weight: 900; color: var(--accent); margin-bottom: 8px;
}
.store-about-description {
  font-size: 14px; color: var(--text-light); margin-bottom: 16px;
}
.store-about-text {
  font-size: 14px; color: var(--text-main); line-height: 1.8;
  white-space: pre-wrap; text-align: right;
}

/* ========================================================
   CART PAGE
   ======================================================== */

.cart-page { padding: 16px; max-width: 900px; margin: 0 auto; }

.cart-header { text-align: center; margin-bottom: 24px; }
.cart-header h1 { font-size: 28px; font-weight: 900; color: var(--accent); }
.cart-header-sub { font-size: 13px; color: var(--text-light); margin-top: 4px; }
.cart-header-total { margin-top: 12px; display: flex; justify-content: center; gap: 8px; align-items: baseline; }
.cart-header-total span:first-child { font-size: 12px; color: var(--text-light); }
.cart-total-amount { font-size: 24px; font-weight: 900; color: var(--accent); }

.cart-groups { display: flex; flex-direction: column; gap: 20px; }

.cart-group {
  background: var(--bg); border-radius: var(--radius);
  box-shadow: var(--shadow-light), var(--shadow-dark); overflow: hidden;
}

.cart-group-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px; border-bottom: 1px solid rgba(0,0,0,0.05);
}
.cart-group-header h2 { font-size: 16px; font-weight: 900; color: var(--accent); }
.cart-group-count { font-size: 11px; color: var(--text-light); font-weight: 700; }

.cart-group-items { display: flex; flex-direction: column; }

.cart-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-bottom: 1px solid rgba(0,0,0,0.03);
}
.cart-item-image { width: 60px; height: 60px; border-radius: var(--radius-sm); object-fit: cover; }
.cart-item-details { flex: 1; min-width: 0; }
.cart-item-details h3 { font-size: 14px; font-weight: 700; }
.cart-item-meta { display: flex; gap: 12px; margin-top: 4px; }
.cart-item-price { font-size: 13px; font-weight: 700; color: var(--accent); }
.cart-item-qty-controls { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.cart-qty-btn { width: 30px; height: 30px; border-radius: 50%; border: none; background: var(--bg); box-shadow: var(--shadow-light), var(--shadow-dark); cursor: pointer; font-size: 16px; font-weight: 700; color: var(--accent); display: flex; align-items: center; justify-content: center; }
.cart-qty-btn:active { box-shadow: var(--shadow-inset); }
.cart-qty-value { font-size: 14px; font-weight: 900; color: var(--text-main); min-width: 20px; text-align: center; }
.cart-item-total { text-align: left; flex-shrink: 0; }
.cart-item-subtotal { display: block; font-weight: 900; font-size: 14px; }

.cart-group-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px; background: rgba(0,0,0,0.02);
}
.cart-group-footer span { font-weight: 700; font-size: 14px; }

.cart-checkout-btn {
  padding: 10px 20px; border-radius: 50px; border: none;
  background: #25D366; color: white; font-weight: 900; font-size: 13px;
  cursor: pointer; box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  transition: all 0.2s;
}
.cart-checkout-btn:active { transform: scale(0.97); }
.cart-pay-btn {
  padding: 10px 20px; border-radius: 50px; border: none;
  background: var(--accent); color: white; font-weight: 900; font-size: 13px;
  cursor: pointer; box-shadow: var(--shadow-light);
  transition: all 0.2s;
}
.cart-pay-btn:active { box-shadow: var(--shadow-inset); }

.simulate-btn { background: #ef4444 !important; color: white !important; }
.dock-admin-actions { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: center; gap: 2px; background: rgba(0,0,0,0.6); padding: 2px; border-radius: 8px 8px 0 0; opacity: 0; transition: opacity 0.2s; }
.dock-item:hover .dock-admin-actions { opacity: 1; }
.dock-admin-btn { width: 22px; height: 22px; border-radius: 50%; border: none; font-size: 11px; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.dock-admin-btn.edit { background: #3b82f6; color: white; }
.dock-admin-btn.delete { background: #ef4444; color: white; }
.simulate-banner { position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 9999; background: #dc2626; color: white; padding: 8px 16px; display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 900; }
.simulate-exit-btn { background: rgba(255,255,255,0.2); border: 2px solid white; color: white; padding: 4px 14px; border-radius: 50px; font-size: 12px; font-weight: 700; cursor: pointer; transition: all 0.2s; }
.simulate-exit-btn:active { background: rgba(255,255,255,0.4); }

.cart-back-btn { background: none; border: none; color: var(--accent); font-size: 12px; font-weight: 700; cursor: pointer; padding: 4px 8px; border-radius: 20px; transition: all 0.2s; }
.cart-back-btn:hover { background: rgba(26,35,126,0.08); }
.cart-undo-bar { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; margin: 8px; border-radius: var(--radius-sm); background: #fef3c7; color: #92400e; font-size: 13px; font-weight: 700; }
.cart-undo-btn { background: none; border: none; color: var(--accent); font-weight: 900; font-size: 13px; cursor: pointer; text-decoration: underline; }

/* ========================================================
   AUTH PAGE
   ======================================================== */

.auth-page {
  display: flex; align-items: center; justify-content: center;
  min-height: calc(100vh - var(--header-h)); padding: 16px;
}

.auth-card {
  width: 100%; max-width: 400px;
  background: var(--bg); border-radius: var(--radius);
  box-shadow: var(--shadow-light), var(--shadow-dark);
  padding: 32px;
}

.auth-card h1 { font-size: 24px; font-weight: 900; color: var(--accent); text-align: center; margin-bottom: 20px; }

.auth-error {
  background: #fee2e2; color: #ef4444; padding: 8px 12px;
  border-radius: var(--radius-sm); font-size: 13px; margin-bottom: 16px; text-align: center;
}

.auth-field { margin-bottom: 16px; }
.auth-field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.auth-field input {
  width: 100%; padding: 10px 14px; border: none; border-radius: var(--radius-sm);
  background: var(--bg); box-shadow: var(--shadow-inset); outline: none; font-size: 14px;
}

.auth-submit {
  width: 100%; padding: 12px; border: none; border-radius: 50px;
  background: var(--accent); color: white; font-weight: 900; font-size: 15px;
  cursor: pointer; margin-top: 8px;
}
.auth-submit:disabled { opacity: 0.5; }

.auth-toggle { text-align: center; margin-top: 16px; font-size: 13px; }
.auth-toggle button { background: none; border: none; color: var(--accent); font-weight: 700; cursor: pointer; text-decoration: underline; }

/* ========================================================
   UTILITIES
   ======================================================== */

.page-loading, .page-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 100%; padding: 48px; text-align: center;
}
.page-empty-icon { font-size: 48px; margin-bottom: 16px; }
.page-empty h2 { font-size: 20px; font-weight: 900; color: var(--accent); }
.page-empty p { font-size: 13px; color: var(--text-light); margin-top: 4px; }

/* ========================================================
   IMAGE MODAL
   ======================================================== */

.image-modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.9);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}

.image-modal-close {
  position: absolute; top: 16px; left: 16px; z-index: 10;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: none;
  color: white; font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}

.image-modal-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: none;
  color: white; font-size: 24px; cursor: pointer; z-index: 10;
  display: flex; align-items: center; justify-content: center;
}
.image-modal-prev { right: 16px; }
.image-modal-next { left: 16px; }

.image-modal-content {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
}

.image-modal-img {
  max-width: 90vw; max-height: 90vh;
  border-radius: 12px; object-fit: contain;
  user-select: none; transition: transform 0.05s;
}

.image-modal-counter {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  padding: 6px 14px; border-radius: 50px; background: rgba(0,0,0,0.5);
  color: white; font-size: 13px; font-weight: 700;
}

/* ========================================================
   DYNAMIC TAB PAGE
   ======================================================== */

.dynamic-page { padding: 16px; }
.dynamic-page-header { text-align: center; padding: 24px; }
.dynamic-page-header h1 { font-size: 28px; font-weight: 900; color: var(--accent); }
.dynamic-page-subtitle { font-size: 14px; color: var(--text-light); margin-top: 4px; }
.dynamic-empty { text-align: center; padding: 48px; color: var(--text-light); }

/* ========================================================
   ADMIN PAGE
   ======================================================== */

.admin-page { padding: 20px; max-width: 800px; margin: 0 auto; }
.admin-page h1 { font-size: 24px; font-weight: 900; color: var(--accent); margin-bottom: 16px; }

.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 20px; }
.stat-card {
  background: var(--bg); border-radius: var(--radius);
  box-shadow: var(--shadow-light), var(--shadow-dark);
  padding: 20px; text-align: center; display: flex; flex-direction: column; gap: 8px;
}
.stat-number { font-size: 32px; font-weight: 900; color: var(--accent); }
.stat-label { font-size: 12px; color: var(--text-light); font-weight: 700; }

.admin-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.merchant-tabs-bar { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.admin-tab {
  padding: 8px 20px; border-radius: 50px; border: none;
  background: var(--bg); box-shadow: var(--shadow-light), var(--shadow-dark);
  cursor: pointer; font-weight: 700; font-size: 13px;
}
.admin-tab.active { box-shadow: var(--shadow-inset); color: var(--accent); }

.admin-save-btn {
  width: 100%; padding: 14px; border: none; border-radius: 50px;
  background: var(--accent); color: white; font-weight: 900; font-size: 15px;
  cursor: pointer; margin-top: 24px; box-shadow: var(--shadow-light);
  transition: all 0.2s;
}
.admin-save-btn:active { box-shadow: var(--shadow-inset); }
.admin-save-btn:disabled { opacity: 0.5; }

.admin-list { display: flex; flex-direction: column; gap: 8px; }
.admin-item {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--bg); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-light), var(--shadow-dark);
  padding: 12px 16px;
}
.admin-item-info { display: flex; align-items: center; gap: 8px; }
.admin-item-info strong { font-size: 14px; }
.admin-item-actions { display: flex; gap: 6px; }

.admin-btn {
  padding: 6px 14px; border-radius: 50px; border: none;
  font-size: 11px; font-weight: 700; cursor: pointer;
}
.admin-btn.approve { background: #22c55e; color: white; }
.admin-btn.suspend { background: #f59e0b; color: white; }
.admin-btn.delete { background: #ef4444; color: white; }

.status-badge {
  padding: 2px 8px; border-radius: 50px; font-size: 10px; font-weight: 700;
}
.status-active { background: #dcfce7; color: #166534; }
.status-pending { background: #fef9c3; color: #854d0e; }
.status-frozen { background: #e0f2fe; color: #075985; }
.status-deleted, .status-suspended { background: #fee2e2; color: #991b1b; }
.status-approved { background: #dcfce7; color: #166534; }
.status-rejected { background: #fee2e2; color: #991b1b; }

.admin-role-badge {
  padding: 2px 10px; border-radius: 50px; background: var(--accent);
  color: white; font-size: 10px; font-weight: 700;
}

.admin-section { margin-top: 16px; }
.admin-section h2 { font-size: 18px; font-weight: 900; color: var(--accent); margin-bottom: 12px; }
.admin-section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; flex-wrap: wrap; gap: 8px; }
.admin-section-header h2 { margin-bottom: 0; }
.admin-subtitle { font-size: 14px; font-weight: 700; color: var(--text-main); margin: 16px 0 8px; }
.admin-section-desc { font-size: 12px; color: var(--text-light); margin-bottom: 12px; }
.admin-empty { text-align: center; padding: 24px; color: var(--text-light); font-size: 13px; }
.admin-thumb { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; }
.admin-meta { display: block; font-size: 11px; color: var(--text-light); margin-top: 2px; }
.admin-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex-shrink: 0; }
.admin-filter-select { padding: 6px 12px; border-radius: 50px; border: none; background: var(--bg); box-shadow: var(--shadow-inset); font-size: 12px; outline: none; }
.admin-role-select { padding: 4px 8px; border-radius: 50px; border: 1px solid rgba(0,0,0,0.1); font-size: 11px; background: white; cursor: pointer; }
.admin-tab-icon { font-size: 16px; }
.admin-tab-id { display: block; font-size: 10px; color: var(--text-light); margin-top: 2px; }

.admin-settings { display: flex; flex-direction: column; gap: 8px; }
.admin-setting-row { display: flex; justify-content: space-between; align-items: center; background: var(--bg); border-radius: var(--radius-sm); box-shadow: var(--shadow-light), var(--shadow-dark); padding: 16px; gap: 16px; }
.admin-setting-info strong { font-size: 14px; display: block; }
.admin-setting-info p { font-size: 11px; color: var(--text-light); margin-top: 4px; }
.admin-setting-field { background: var(--bg); border-radius: var(--radius-sm); box-shadow: var(--shadow-light), var(--shadow-dark); padding: 16px; }
.admin-setting-field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.admin-setting-field textarea { width: 100%; padding: 10px 14px; border: none; border-radius: var(--radius-sm); background: var(--bg); box-shadow: var(--shadow-inset); outline: none; font-size: 14px; font-family: inherit; resize: vertical; }

.admin-toggle { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.admin-toggle input { opacity: 0; width: 0; height: 0; }
.admin-toggle-slider { position: absolute; cursor: pointer; inset: 0; background: #ccc; border-radius: 24px; transition: 0.3s; }
.admin-toggle-slider::before { content: ''; position: absolute; height: 18px; width: 18px; left: 3px; bottom: 3px; background: white; border-radius: 50%; transition: 0.3s; }
.admin-toggle input:checked + .admin-toggle-slider { background: var(--accent); }
.admin-toggle input:checked + .admin-toggle-slider::before { transform: translateX(20px); }

.admin-modal-overlay { position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; padding: 16px; }
.admin-modal { background: var(--bg); border-radius: var(--radius); box-shadow: var(--shadow-light), var(--shadow-dark); padding: 24px; width: 100%; max-width: 500px; max-height: 80vh; overflow-y: auto; }
.admin-modal h3 { font-size: 18px; font-weight: 900; color: var(--accent); margin-bottom: 16px; }
.admin-field { margin-bottom: 12px; }
.admin-field label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 4px; color: var(--text-light); }
.admin-field input { width: 100%; padding: 8px 12px; border: none; border-radius: var(--radius-sm); background: var(--bg); box-shadow: var(--shadow-inset); outline: none; font-size: 14px; }
.admin-modal-btns { display: flex; gap: 8px; margin-top: 16px; }
.admin-field-row { display: flex; gap: 12px; }
.admin-field input[type="checkbox"] { width: auto; }
.admin-features-list { display: flex; flex-wrap: wrap; gap: 4px; }
.admin-feature-tag { display: flex; align-items: center; gap: 4px; background: var(--bg); padding: 4px 8px; border-radius: var(--radius-sm); box-shadow: var(--shadow-inset); font-size: 12px; }
.admin-specs-list { margin-top: 4px; }
.admin-spec-row input { width: 100%; padding: 6px 10px; border: none; border-radius: var(--radius-sm); background: var(--bg); box-shadow: var(--shadow-inset); outline: none; font-size: 13px; }
.stat-icon { font-size: 24px; }

.plans-mini-list { display: flex; flex-direction: column; gap: 8px; max-height: 300px; overflow-y: auto; }
.plan-mini-card { background: var(--bg); border-radius: var(--radius-sm); padding: 10px 14px; box-shadow: var(--shadow-light), var(--shadow-dark); border: 2px solid transparent; transition: all 0.2s; }
.plan-mini-card.selected { border-color: var(--accent); box-shadow: var(--shadow-inset); }
.plan-mini-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.plan-mini-header strong { font-size: 14px; }
.plan-mini-header span { font-size: 13px; color: var(--accent); font-weight: 700; }
.plan-mini-features { display: flex; flex-wrap: wrap; gap: 4px; }
.plan-mini-features small { font-size: 11px; color: var(--text-light); }

.perms-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
.perms-group { background: var(--bg-secondary); border-radius: var(--radius-sm); padding: 10px; }
.perms-group-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; font-size: 12px; font-weight: 900; color: var(--accent); }
.perms-quick { display: flex; gap: 2px; }
.perms-quick-btn { background: none; border: none; cursor: pointer; font-size: 11px; padding: 2px; opacity: 0.6; }
.perms-quick-btn:hover { opacity: 1; }
.perms-checkbox { display: flex; align-items: center; gap: 6px; font-size: 12px; padding: 3px 0; cursor: pointer; color: var(--text-main); }
.perms-checkbox input { margin: 0; }

.subscriptions-page { padding: 24px; max-width: 1100px; margin: 0 auto; }
.subscriptions-header { text-align: center; margin-bottom: 32px; }
.subscriptions-header h1 { font-size: 32px; font-weight: 900; color: var(--accent); }
.subscriptions-header p { font-size: 14px; color: var(--text-light); margin-top: 8px; }

.plans-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.plan-card { background: var(--bg); border-radius: var(--radius); box-shadow: var(--shadow-light), var(--shadow-dark); padding: 24px; display: flex; flex-direction: column; position: relative; transition: all 0.3s; }
.plan-card:hover { transform: translateY(-4px); }
.plan-card.highlighted { border: 2px solid var(--accent); }
.plan-card.recommended { border: 2px solid var(--gold); }
.plan-badge { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); padding: 4px 16px; border-radius: 50px; background: var(--gold); color: #0f172a; font-size: 11px; font-weight: 900; white-space: nowrap; }
.plan-header { text-align: center; margin-bottom: 20px; }
.plan-header h3 { font-size: 18px; font-weight: 900; color: var(--accent); margin-bottom: 12px; }
.plan-price { display: flex; align-items: baseline; justify-content: center; gap: 4px; }
.plan-amount { font-size: 36px; font-weight: 900; color: var(--accent); }
.plan-currency { font-size: 16px; font-weight: 700; color: var(--text-main); }
.plan-duration { font-size: 13px; color: var(--text-light); }
.plan-original-price { text-align: center; margin-top: 8px; }
.plan-original-price del { font-size: 14px; color: var(--text-light); }
.plan-discount-badge { display: inline-block; margin-right: 8px; padding: 2px 8px; border-radius: 50px; background: #22c55e; color: white; font-size: 10px; font-weight: 700; }
.plan-features { flex: 1; display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.plan-feature { font-size: 13px; color: var(--text-main); padding: 4px 0; }
.plan-select-btn { width: 100%; padding: 12px; border-radius: 50px; border: none; background: var(--accent); color: white; font-weight: 900; font-size: 14px; cursor: pointer; transition: all 0.2s; }
.plan-select-btn:hover { opacity: 0.9; }
.plan-select-btn:active { transform: scale(0.97); }
.plan-select-btn.cancel { background: #64748b; }

.subscription-confirm-overlay { position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; padding: 16px; }
.subscription-confirm { background: var(--bg); border-radius: var(--radius); box-shadow: var(--shadow-light), var(--shadow-dark); padding: 24px; width: 100%; max-width: 400px; text-align: center; }
.subscription-confirm h3 { font-size: 20px; font-weight: 900; color: var(--accent); margin-bottom: 16px; }
.subscription-confirm p { font-size: 14px; margin-bottom: 8px; }
.subscription-confirm-btns { display: flex; gap: 8px; margin-top: 20px; }

.chat-box { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-light), var(--shadow-dark); background: var(--bg); display: flex; flex-direction: column; height: 400px; }
.chat-header { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid rgba(0,0,0,0.05); }
.chat-header h3 { font-size: 14px; font-weight: 900; color: var(--accent); }
.chat-header-actions { display: flex; align-items: center; gap: 8px; }
.chat-connected { font-size: 11px; color: #22c55e; font-weight: 700; }
.chat-close-btn { width: 28px; height: 28px; border-radius: 50%; border: none; background: var(--bg); box-shadow: var(--shadow-light), var(--shadow-dark); cursor: pointer; font-size: 12px; }
.chat-messages { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.chat-empty { text-align: center; padding: 24px; color: var(--text-light); font-size: 13px; }
.chat-message { max-width: 80%; padding: 8px 12px; border-radius: var(--radius-sm); font-size: 13px; }
.chat-message.own { align-self: flex-end; background: var(--accent); color: white; }
.chat-message.other { align-self: flex-start; background: white; box-shadow: var(--shadow-light); }
.chat-message-sender { font-size: 10px; font-weight: 700; margin-bottom: 4px; opacity: 0.7; }
.chat-message-text { line-height: 1.5; }
.chat-message-time { font-size: 9px; margin-top: 4px; opacity: 0.6; text-align: left; }
.chat-input-area { display: flex; gap: 8px; padding: 12px; border-top: 1px solid rgba(0,0,0,0.05); }
.chat-input { flex: 1; padding: 8px 12px; border: none; border-radius: var(--radius-sm); background: var(--bg); box-shadow: var(--shadow-inset); outline: none; font-size: 13px; font-family: inherit; resize: none; }
.chat-send-btn { padding: 8px 16px; border-radius: 50px; border: none; background: var(--accent); color: white; font-weight: 700; font-size: 13px; cursor: pointer; align-self: flex-end; }
.chat-send-btn:disabled { opacity: 0.4; }
.ad-detail-chat { margin-top: 16px; }
.chat-toggle { background: #6366f1; color: white; }

.location-picker-overlay { position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; padding: 16px; }
.location-picker { background: var(--bg); border-radius: var(--radius); box-shadow: var(--shadow-light), var(--shadow-dark); width: 100%; max-width: 600px; overflow: hidden; }
.location-picker-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid rgba(0,0,0,0.05); }
.location-picker-header h3 { font-size: 16px; font-weight: 900; color: var(--accent); }
.location-picker-close { width: 32px; height: 32px; border-radius: 50%; border: none; background: var(--bg); box-shadow: var(--shadow-light), var(--shadow-dark); cursor: pointer; font-size: 14px; }
.location-picker-map { height: 350px; width: 100%; }
.location-picker-address { padding: 8px 16px; font-size: 12px; color: var(--text-light); }
.location-picker-coords { padding: 4px 16px; font-size: 11px; color: var(--text-light); direction: ltr; text-align: center; }
.location-picker-confirm { width: calc(100% - 32px); margin: 12px 16px 16px; padding: 10px; border-radius: 50px; border: none; background: var(--accent); color: white; font-weight: 900; font-size: 13px; cursor: pointer; }
.ad-form-location-row { display: flex; gap: 8px; }
.ad-form-location-row input { flex: 1; }
.ad-form-map-btn { width: 40px; height: 40px; border-radius: 50%; border: none; background: var(--bg); box-shadow: var(--shadow-light), var(--shadow-dark); cursor: pointer; font-size: 18px; flex-shrink: 0; }

.auth-divider { display: flex; align-items: center; margin: 16px 0; color: var(--text-light); font-size: 12px; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: rgba(0,0,0,0.1); }
.auth-divider span { padding: 0 12px; }
.auth-social { display: flex; flex-direction: column; gap: 8px; }
.auth-social-btn { display: flex; align-items: center; gap: 8px; justify-content: center; padding: 10px; border-radius: 50px; border: none; font-size: 13px; font-weight: 700; cursor: pointer; transition: all 0.2s; }
.auth-social-btn:active { transform: scale(0.98); }
.auth-social-btn.google { background: white; color: #333; box-shadow: var(--shadow-light), var(--shadow-dark); }
.auth-social-btn.apple { background: #1d1d1f; color: white; }
.auth-social-icon { font-size: 18px; font-weight: 900; }
.auth-social-popup { position: fixed; inset: 0; z-index: 3000; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; padding: 16px; }
.auth-social-popup-content { background: var(--bg); border-radius: var(--radius); box-shadow: var(--shadow-light), var(--shadow-dark); padding: 32px; text-align: center; max-width: 360px; width: 100%; }
.auth-social-popup-icon { display: block; font-size: 36px; font-weight: 900; margin-bottom: 12px; }
.auth-social-popup-content h3 { font-size: 20px; font-weight: 900; color: var(--accent); margin-bottom: 8px; }
.auth-social-popup-content p { font-size: 13px; color: var(--text-light); margin-bottom: 20px; line-height: 1.6; }
.auth-forgot-btn { display: block; margin: 8px auto 0; background: none; border: none; color: var(--accent); font-size: 12px; cursor: pointer; text-decoration: underline; }
.auth-merchant-toggle input { width: auto; accent-color: var(--accent); }
.auth-success { background: #dcfce7; color: #166534; padding: 10px; border-radius: var(--radius-sm); font-size: 12px; margin-bottom: 12px; text-align: center; }

.file-uploader { margin: 8px 0; }
.file-uploader-label { display: block; cursor: pointer; }
.file-uploader-btn { padding: 10px 20px; border-radius: 50px; background: var(--bg); box-shadow: var(--shadow-light), var(--shadow-dark); text-align: center; font-size: 13px; font-weight: 700; color: var(--accent); transition: all 0.2s; }
.file-uploader-btn:hover { transform: translateY(-1px); }
.file-uploader-btn.uploading { opacity: 0.5; pointer-events: none; }
.file-uploader-preview { margin-top: 8px; }
.file-uploader-preview img { width: 100px; height: 100px; border-radius: var(--radius-sm); object-fit: cover; }

.maintenance-page { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 16px; background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%); }
.maintenance-card { background: var(--bg); border-radius: var(--radius); box-shadow: var(--shadow-light), var(--shadow-dark); padding: 40px; text-align: center; max-width: 400px; width: 100%; }
.maintenance-icon { font-size: 64px; margin-bottom: 16px; }
.maintenance-card h1 { font-size: 24px; font-weight: 900; color: var(--accent); margin-bottom: 12px; }
.maintenance-message { font-size: 14px; color: var(--text-main); line-height: 1.7; margin-bottom: 20px; }
.maintenance-progress { width: 100%; height: 6px; background: #e2e8f0; border-radius: 10px; overflow: hidden; margin-bottom: 24px; }
.maintenance-bar { width: 60%; height: 100%; background: linear-gradient(90deg, var(--accent), var(--gold)); border-radius: 10px; animation: maintenanceShimmer 2s infinite; }
@keyframes maintenanceShimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(200%); } }
.maintenance-admin-btn { background: none; border: none; color: var(--text-light); font-size: 12px; cursor: pointer; text-decoration: underline; }
.maintenance-login { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.maintenance-login input { width: 100%; padding: 10px 14px; border: none; border-radius: var(--radius-sm); background: var(--bg); box-shadow: var(--shadow-inset); outline: none; font-size: 14px; }
.maintenance-login button { padding: 10px; border-radius: 50px; border: none; background: var(--accent); color: white; font-weight: 700; font-size: 14px; cursor: pointer; }
.maintenance-error { color: #ef4444; font-size: 12px; }

/* ========================================================
   MERCHANT PAGE
   ======================================================== */

.merchant-page { padding: 20px; max-width: 800px; margin: 0 auto; }
.merchant-page h1 { font-size: 24px; font-weight: 900; color: var(--accent); margin-bottom: 16px; }
.merchant-empty { text-align: center; padding: 48px; color: var(--text-light); }
.merchant-empty a { color: var(--accent); font-weight: 700; }

.merchant-stores { display: flex; flex-direction: column; gap: 12px; }

.merchant-store-card {
  background: var(--bg); border-radius: var(--radius);
  box-shadow: var(--shadow-light), var(--shadow-dark);
  padding: 16px; cursor: pointer; transition: all 0.2s;
}
.merchant-store-card:hover { transform: translateY(-2px); }

.merchant-store-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.merchant-store-header h2 { font-size: 18px; font-weight: 900; color: var(--accent); }
.merchant-store-card > p { font-size: 13px; color: var(--text-main); }

.merchant-products { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(0,0,0,0.05); }
.merchant-products h3 { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.merchant-product-list { display: flex; flex-direction: column; gap: 6px; }
.merchant-product-item {
  display: flex; align-items: center; gap: 8px; padding: 8px;
  border-radius: var(--radius-sm); background: rgba(255,255,255,0.3);
}
.merchant-product-item img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.merchant-product-item strong { font-size: 13px; }
.merchant-product-item span { font-size: 12px; color: var(--accent); font-weight: 700; }

.merchant-dashboard { margin-top: 8px; }
.merchant-quick-actions { margin-top: 24px; }
.merchant-quick-actions h3 { font-size: 16px; font-weight: 900; color: var(--accent); margin-bottom: 12px; }
.merchant-actions-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.merchant-action-card { background: var(--bg); border-radius: var(--radius); box-shadow: var(--shadow-light), var(--shadow-dark); padding: 20px; text-align: center; cursor: pointer; transition: all 0.2s; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.merchant-action-card:hover { transform: translateY(-2px); }
.merchant-action-icon { font-size: 28px; }
.merchant-action-card span:last-child { font-size: 13px; font-weight: 700; color: var(--text-main); }

.merchant-stores-list { display: flex; flex-direction: column; gap: 12px; }
.merchant-store-info { display: flex; align-items: center; gap: 12px; }
.merchant-store-logo { width: 48px; height: 48px; border-radius: var(--radius-sm); object-fit: cover; }
.merchant-store-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }

.merchant-form-modal { max-width: 500px; max-height: 90vh; overflow-y: auto; }
.merchant-form-modal textarea { width: 100%; padding: 10px 14px; border: none; border-radius: var(--radius-sm); background: var(--bg); box-shadow: var(--shadow-inset); outline: none; font-size: 14px; font-family: inherit; resize: vertical; }

.admin-textarea { width: 100%; padding: 10px 14px; border: none; border-radius: var(--radius-sm); background: var(--bg); box-shadow: var(--shadow-inset); outline: none; font-size: 14px; font-family: inherit; resize: vertical; }
.admin-input { width: 100%; padding: 10px 14px; border: none; border-radius: var(--radius-sm); background: var(--bg); box-shadow: var(--shadow-inset); outline: none; font-size: 14px; }

/* ========================================================
   AD BOARDS
   ======================================================== */

.ad-board { padding: 16px; }
.ad-board-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px; flex-wrap: wrap; gap: 12px;
}
.ad-board-header-text h1 { font-size: 26px; font-weight: 900; color: var(--accent); }
.ad-board-header-text p { font-size: 13px; color: var(--text-light); margin-top: 4px; }

.ad-board-create-btn {
  padding: 10px 24px; border-radius: 50px; border: none;
  background: var(--accent); color: white; font-weight: 900; font-size: 13px;
  cursor: pointer; box-shadow: var(--shadow-light);
  transition: all 0.2s;
}
.ad-board-create-btn:active { box-shadow: var(--shadow-inset); }

.ad-board-layout { display: flex; gap: 20px; }

.sidebar-education h3 {
  font-size: 15px; font-weight: 900; color: var(--accent); margin-bottom: 10px;
}
.sidebar-education p {
  font-size: 13px; line-height: 1.6; color: var(--text-main); margin-bottom: 12px;
}
.sidebar-education ul { list-style: none; padding: 0; }
.sidebar-education li {
  font-size: 12px; padding: 5px 0; color: var(--text-main);
  border-bottom: 1px solid var(--border); line-height: 1.5;
}
.sidebar-education li:last-child { border-bottom: none; }

.ad-sidebar-horizontal {
  display: flex; flex-direction: column; gap: 10px;
}
.ad-sidebar-card { cursor: pointer; }

.ad-board-main { flex: 1; min-width: 0; }

.ad-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

/* Ad Card */
.ad-card {
  background: var(--bg); border-radius: var(--radius);
  box-shadow: var(--shadow-light), var(--shadow-dark);
  overflow: hidden; cursor: pointer; transition: all 0.2s;
}
.ad-card:hover { transform: translateY(-2px); }

.ad-card-image {
  position: relative; height: 160px; overflow: hidden;
}
.ad-card-image img { width: 100%; height: 100%; object-fit: cover; }
.ad-card-price {
  position: absolute; top: 8px; right: 8px;
  padding: 4px 10px; border-radius: 50px;
  background: var(--accent); color: white;
  font-size: 11px; font-weight: 900;
}
.ad-card-body { padding: 12px; }
.ad-card-body h3 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.ad-card-body p { font-size: 12px; color: var(--text-light); line-height: 1.5; }
.ad-card-meta { display: flex; gap: 12px; margin-top: 8px; font-size: 11px; color: var(--text-light); }

/* Ad Detail */
.ad-detail { padding: 16px; max-width: 800px; margin: 0 auto; }

.ad-detail-hero {
  border-radius: var(--radius); overflow: hidden; cursor: pointer;
  margin: 12px 0; max-height: 500px;
}
.ad-detail-hero img { width: 100%; height: 100%; object-fit: contain; }

.ad-detail-video { border-radius: var(--radius-sm); overflow: hidden; margin: 16px 0; }
.ad-detail-video iframe, .ad-detail-video video { width: 100%; aspect-ratio: 16/9; border: none; }

.ad-detail-gallery {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 8px; margin-top: 12px;
}
.ad-detail-gallery-thumb {
  border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; height: 100px;
}
.ad-detail-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.ad-detail-info { }
.ad-detail-info h1 { font-size: 22px; font-weight: 900; color: var(--accent); }
.ad-detail-price { font-size: 20px; font-weight: 900; color: var(--gold); margin: 8px 0; }
.ad-detail-category {
  display: inline-block; padding: 4px 12px; border-radius: 50px;
  background: var(--accent); color: white; font-size: 11px; font-weight: 700; margin-bottom: 12px;
}
.ad-detail-info p { font-size: 14px; line-height: 1.8; color: var(--text-main); }
.ad-detail-location { margin: 12px 0; font-size: 13px; }

.ad-detail-contact { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.ad-contact-btn {
  padding: 10px 20px; border-radius: 50px; border: none;
  font-weight: 900; font-size: 13px; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
}
.ad-contact-btn { background: #25D366; color: white; }
.ad-contact-btn.call { background: var(--accent); color: white; }

/* Ad Form */
.ad-form-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.5); display: flex;
  align-items: flex-end; justify-content: center;
  overflow-y: auto;
}
.ad-form-modal {
  width: 100%; max-width: 600px; max-height: 90vh; overflow-y: auto;
  background: var(--bg); border-radius: var(--radius) var(--radius) 0 0;
  box-shadow: 0 -8px 32px rgba(0,0,0,0.15);
}
.ad-form-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px; border-bottom: 1px solid rgba(0,0,0,0.05);
  position: sticky; top: 0; background: var(--bg); z-index: 1;
}
.ad-form-header h2 { font-size: 18px; font-weight: 900; color: var(--accent); }
.ad-form-close { width: 32px; height: 32px; border-radius: 50%; border: none;
  background: var(--bg); box-shadow: var(--shadow-light), var(--shadow-dark);
  cursor: pointer; font-size: 14px; }

.ad-form-body { padding: 20px; }
.ad-form-field { margin-bottom: 16px; }
.ad-form-field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 4px; color: var(--text-main); }
.ad-form-field input, .ad-form-field textarea, .ad-form-field select {
  width: 100%; padding: 10px 14px; border: none; border-radius: var(--radius-sm);
  background: var(--bg); box-shadow: var(--shadow-inset); outline: none;
  font-size: 14px; font-family: inherit;
}
.ad-form-field textarea { resize: vertical; min-height: 80px; }
.ad-form-row { display: flex; gap: 12px; }
.ad-form-row .ad-form-field { flex: 1; }
.ad-form-field.checkbox label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.ad-form-field.checkbox input { width: auto; box-shadow: none; }

.ad-form-previews { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.ad-form-previews img { width: 80px; height: 80px; border-radius: var(--radius-sm); object-fit: cover; }

.ad-form-footer {
  padding: 16px 20px; border-top: 1px solid rgba(0,0,0,0.05);
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.ad-form-price { font-size: 13px; color: var(--text-main); }
.ad-form-price strong { color: var(--accent); }
.ad-form-submit {
  padding: 10px 24px; border-radius: 50px; border: none;
  background: var(--accent); color: white; font-weight: 900; font-size: 13px;
  cursor: pointer;
}
.ad-form-submit:disabled { opacity: 0.5; }

/* Page Full (for ad detail full page) */
.page-full { max-width: 1000px; margin: 0 auto; }

/* ========================================================
   SCENE CONTAINER INNER
   ======================================================== */

.scene-container-inner { width: 100%; height: 100%; }

/* ========================================================
   RESPONSIVE
   ======================================================== */

@media (max-width: 768px) {
  .main-stage { width: 100% !important; }
  .topbar-tabs { display: none; }
  .topbar-search-dropdown { width: 260px; left: auto; right: 0; }
  .topbar-cart-dropdown { width: 280px; left: auto; right: 0; }
  .topbar-user-dropdown { left: auto; right: 0; }
  .store-view { flex-direction: column; }
  .store-main { width: 100% !important; }
  .store-main.full { width: 100%; }
  .sidebar {
    position: fixed; top: var(--header-h); right: 0; left: 0; bottom: 0;
    width: 100% !important; height: calc(100vh - var(--header-h));
    z-index: 300; border-left: none;
    background: var(--bg);
  }
  .sidebar-overlay {
  display: none;
}
.sidebar-overlay.open {
  display: block;
}
  .sidebar-mobile-tab:active { opacity: 1; }
  .sidebar-mobile-close { display: block; }
  .mobile-sidebar-toggle { display: flex; }
  .store-3d-container { min-height: 50vh; }
  .home-hero { height: 200px; }
  .home-hero-content h1 { font-size: 20px; }
  .stores-grid { grid-template-columns: 1fr; }
  .cart-group-header { flex-direction: column; gap: 4px; align-items: flex-start; }
  .cart-group-footer { flex-direction: column; gap: 8px; }
  .ad-board-layout { flex-direction: column; }
  .ad-grid { grid-template-columns: 1fr 1fr; }
  .ad-form-row { flex-direction: column; }
}

