/* Smoking Aces — Negozio: Galleria (sma_store_gallery) */

.sma-sgl-wrap { --sma-sgl-bg:#EFEDEC; --sma-sgl-title:#1C1A16; --sma-sgl-eyebrow:#8A857E; --sma-sgl-dot:#B9D62F; }

.sma-sgl {
	width: 100%;
	box-sizing: border-box;
	background: var(--sma-sgl-bg);
	padding: clamp(40px, 5vw, 88px) clamp(16px, 3vw, 48px);
	font-family: 'Plus Jakarta Sans', sans-serif;
	-webkit-font-smoothing: antialiased;
}

.sma-sgl__max { max-width: 1600px; margin: 0 auto; }

.sma-sgl__eyebrow {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-bottom: clamp(12px, 1.2vw, 18px);
	font-weight: 700;
	font-size: clamp(11px, 0.85vw, 13px);
	line-height: 1.4;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--sma-sgl-eyebrow);
}
.sma-sgl__dot { width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: var(--sma-sgl-dot); display: block; }

.sma-sgl__title {
	margin: 0 0 clamp(24px, 3vw, 48px);
	font-family: Manrope, sans-serif;
	font-weight: 800;
	font-size: clamp(28px, 3.2vw, 44px);
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: var(--sma-sgl-title);
	text-wrap: balance;
}

.sma-sgl__featured {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(14px, 1.4vw, 22px);
}

.sma-sgl__side { display: grid; grid-template-rows: 1fr 1fr; gap: clamp(14px, 1.4vw, 22px); }

.sma-sgl__grid {
	margin-top: clamp(14px, 1.4vw, 22px);
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(14px, 1.4vw, 22px);
}

.sma-sgl__img {
	width: 100%;
	border-radius: clamp(12px, 1.2vw, 18px);
	background-color: #D9D6D3;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
.sma-sgl__main { aspect-ratio: 0.98; }
.sma-sgl__side .sma-sgl__img { aspect-ratio: 2.03; height: 100%; }
.sma-sgl__grid .sma-sgl__img { aspect-ratio: 1.33; }

/* ===== Tablet / Mobile ===== */
@media (max-width: 900px) {
	.sma-sgl-wrap .sma-sgl__featured { grid-template-columns: minmax(0, 1fr) !important; }
	.sma-sgl-wrap .sma-sgl__main { aspect-ratio: 1.33 !important; }
	.sma-sgl-wrap .sma-sgl__side { grid-template-rows: none !important; }
	.sma-sgl-wrap .sma-sgl__grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

/* ===== Zoom / lightbox ===== */
.sma-sgl__img[data-zoom-src] { cursor: zoom-in; }

.sma-sgl-lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: clamp(16px, 3vw, 48px);
	background: rgba(16, 15, 13, 0.92);
	cursor: zoom-out;
}
.sma-sgl-lightbox.is-open { display: flex; }
.sma-sgl-lightbox__img {
	width: 100%;
	height: 100%;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	border-radius: 8px;
}
.sma-sgl-lightbox__close {
	position: absolute;
	top: clamp(12px, 2vw, 28px);
	right: clamp(12px, 2vw, 28px);
	width: 44px;
	height: 44px;
	border: none;
	border-radius: 50%;
	background: #E6FD56;
	color: #1C1A16;
	font-size: 22px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
}
