/**
 * ST Dollar Shop - Luxury Store Information & Legal Identity Stylesheet
 *
 * Page-Specific CSS for pageStoreInfo.php template
 *
 * @package ST_Dollar_Shop
 * @version 2.0.0
 */

/* ==========================================================================
   1. Page Container & Layout System
   ========================================================================== */
.st-store-info-wrapper {
	direction: rtl;
	text-align: right;
	background-color: #f8fafc;
	min-height: 80vh;
	padding-block-end: 4rem;
}

.st-store-info-container {
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: 1.25rem;
}

/* ==========================================================================
   2. Hero Title Section
   ========================================================================== */
.st-store-hero {
	background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
	color: #ffffff;
	padding-block: 3.5rem 3rem;
	margin-block-end: 2.5rem;
	border-radius: 0 0 24px 24px;
	box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.2);
	position: relative;
	overflow: hidden;
}

.st-store-hero::before {
	content: '';
	position: absolute;
	inset-block-start: -50%;
	inset-inline-end: -20%;
	width: 400px;
	height: 400px;
	background: radial-gradient(circle, rgba(229, 62, 62, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
	pointer-events: none;
}

.st-store-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: rgba(229, 62, 62, 0.15);
	color: #fca5a5;
	border: 1px solid rgba(239, 68, 68, 0.3);
	padding: 0.4rem 1rem;
	border-radius: 9999px;
	font-size: 0.875rem;
	font-weight: 600;
	margin-block-end: 1rem;
}

.st-store-hero__title {
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 800;
	color: #ffffff;
	margin: 0 0 1rem 0;
	line-height: 1.3;
}

.st-store-hero__desc {
	font-size: 1.1rem;
	color: #94a3b8;
	max-width: 750px;
	margin: 0;
	line-height: 1.7;
}

/* ==========================================================================
   3. Grid Architecture & Glassmorphic Cards
   ========================================================================== */
.st-store-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
	margin-block-end: 2.5rem;
}

.st-store-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 1.75rem;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
	display: flex;
	flex-direction: column;
	position: relative;
}

.st-store-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
	border-color: #cbd5e1;
}

.st-store-card__header {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-block-end: 1.25rem;
}

.st-store-card__icon-wrap {
	width: 52px;
	height: 52px;
	border-radius: 12px;
	background: #f1f5f9;
	color: var(--st-primary, #e53e3e);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.st-store-card__title {
	font-size: 1.2rem;
	font-weight: 700;
	color: #0f172a;
	margin: 0;
}

.st-store-card__body {
	color: #475569;
	font-size: 0.975rem;
	line-height: 1.6;
	flex-grow: 1;
}

.st-store-card__footer {
	margin-block-start: 1.5rem;
	padding-block-start: 1rem;
	border-block-start: 1px dashed #e2e8f0;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-wrap: wrap;
}

/* Status Indicator Badges */
.st-store-status-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	border-radius: 8px;
	font-weight: 700;
	font-size: 0.9rem;
}

.st-store-status-badge--open {
	background: #dcfce7;
	color: #15803d;
	border: 1px solid #bbf7d0;
}

.st-store-status-badge--closed {
	background: #fee2e2;
	color: #b91c1c;
	border: 1px solid #fecaca;
}

/* Action Buttons & Links */
.st-store-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.65rem 1.25rem;
	border-radius: 10px;
	font-weight: 600;
	font-size: 0.925rem;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
	cursor: pointer;
	border: none;
}

.st-store-btn--primary {
	background-color: var(--st-primary, #e53e3e);
	color: #ffffff;
}

.st-store-btn--primary:hover {
	background-color: #c53030;
	color: #ffffff;
}

.st-store-btn--whatsapp {
	background-color: #22c55e;
	color: #ffffff;
}

.st-store-btn--whatsapp:hover {
	background-color: #16a34a;
	color: #ffffff;
}

.st-store-btn--outline {
	background-color: #ffffff;
	border: 1px solid #cbd5e1;
	color: #334155;
}

.st-store-btn--outline:hover {
	background-color: #f8fafc;
	border-color: #94a3b8;
	color: #0f172a;
}

/* Copy Button */
.st-copy-btn {
	background: #f1f5f9;
	border: 1px solid #e2e8f0;
	color: #475569;
	border-radius: 6px;
	padding: 0.25rem 0.6rem;
	font-size: 0.8rem;
	font-weight: 600;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	transition: all 0.2s ease;
}

.st-copy-btn:hover {
	background: #e2e8f0;
	color: #0f172a;
}

.st-copy-btn:focus-visible,
.st-store-btn:focus-visible,
a:focus-visible,
button:focus-visible {
	outline: 2px solid var(--st-primary, #e53e3e);
	outline-offset: 2px;
}

/* ==========================================================================
   4. Legal & Corporate Identity Section
   ========================================================================== */
.st-legal-section {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 20px;
	padding: 2.25rem;
	margin-block-end: 2.5rem;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.04);
}

.st-legal-header {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-block-end: 1.75rem;
	padding-block-end: 1rem;
	border-block-end: 1px solid #f1f5f9;
}

.st-legal-header__icon {
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: rgba(229, 62, 62, 0.1);
	color: var(--st-primary, #e53e3e);
	display: flex;
	align-items: center;
	justify-content: center;
}

.st-legal-header__title {
	font-size: 1.35rem;
	font-weight: 800;
	color: #0f172a;
	margin: 0;
}

.st-legal-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1.5rem;
}

.st-legal-item {
	background: #f8fafc;
	border: 1px solid #f1f5f9;
	border-radius: 12px;
	padding: 1.25rem;
}

.st-legal-item__label {
	font-size: 0.85rem;
	font-weight: 600;
	color: #64748b;
	margin-block-end: 0.35rem;
}

.st-legal-item__value {
	font-size: 1.05rem;
	font-weight: 700;
	color: #0f172a;
	word-break: break-word;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
}

/* ==========================================================================
   5. Interactive Map Section
   ========================================================================== */
.st-map-section {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 20px;
	overflow: hidden;
	margin-block-end: 2.5rem;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.04);
}

.st-map-header {
	padding: 1.5rem 2rem;
	background: #ffffff;
	border-block-end: 1px solid #f1f5f9;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
}

.st-map-header__title {
	font-size: 1.25rem;
	font-weight: 700;
	color: #0f172a;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 0.6rem;
}

.st-map-embed {
	position: relative;
	width: 100%;
	height: 380px;
	background: #e2e8f0;
}

.st-map-embed iframe {
	width: 100%;
	height: 100%;
	border: 0;
}

/* ==========================================================================
   6. Accessibility & Motion Respect
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	.st-store-card,
	.st-store-btn,
	.st-copy-btn {
		transition: none !important;
		transform: none !important;
	}
}

/* ==========================================================================
   7. Responsive Adaptations
   ========================================================================== */
@media (max-width: 768px) {
	.st-store-hero {
		padding-block: 2.5rem 2rem;
		border-radius: 0;
	}
	.st-store-grid {
		grid-template-columns: 1fr;
	}
	.st-map-embed {
		height: 280px;
	}
}
