/**
 * Estilos Frontend: Galerías Clientes
 * Visualización completa sin recortes (object-fit: contain)
 */

:root {
	--gc-primary: #18181b;
	--gc-primary-hover: #27272a;
	--gc-gold: #c5a880;
	--gc-gold-hover: #b39368;
	--gc-bg: #f8fafc;
	--gc-card-bg: #ffffff;
	--gc-text: #1e293b;
	--gc-text-muted: #64748b;
	--gc-border: #e2e8f0;
	--gc-success: #10b981;
	--gc-error: #ef4444;
	--gc-radius: 8px;
	--gc-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
	--gc-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.gc-app {
	font-family: var(--gc-font);
	color: var(--gc-text);
	background-color: var(--gc-bg);
	padding: 20px 15px 100px 15px;
	max-width: 1400px;
	margin: 0 auto;
	box-sizing: border-box;
}

.gc-app * {
	box-sizing: border-box;
}

/* -------------------------------------------------------------
   CABECERA
------------------------------------------------------------- */
.gc-header {
	background: #ffffff;
	border: 1px solid var(--gc-border);
	border-radius: var(--gc-radius);
	padding: 30px;
	margin-bottom: 30px;
	box-shadow: var(--gc-shadow);
}

.gc-header-inner {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 20px;
}

.gc-badge-client {
	display: inline-block;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	font-weight: 700;
	color: var(--gc-gold);
	margin-bottom: 6px;
}

.gc-title {
	font-size: 28px;
	font-weight: 700;
	margin: 0 0 8px 0;
	color: #0f172a;
	line-height: 1.2;
}

.gc-subtitle {
	font-size: 14px;
	color: var(--gc-text-muted);
	margin: 0;
	line-height: 1.5;
}

.gc-included-pill {
	display: inline-block;
	background: #f1f5f9;
	color: #334155;
	padding: 3px 10px;
	border-radius: 20px;
	margin-left: 8px;
	font-size: 12px;
	border: 1px solid #cbd5e1;
}

.gc-search-box {
	position: relative;
	width: 280px;
}

.gc-search-box svg {
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	color: #94a3b8;
}

.gc-search-box input {
	width: 100%;
	padding: 10px 12px 10px 38px;
	border: 1px solid var(--gc-border);
	border-radius: 6px;
	font-size: 13px;
	outline: none;
	transition: border-color 0.2s;
}

.gc-search-box input:focus {
	border-color: var(--gc-gold);
}

.gc-tabs-bar {
	display: flex;
	gap: 10px;
	margin-top: 25px;
	border-top: 1px solid #f1f5f9;
	padding-top: 20px;
}

.gc-tab-btn {
	background: #f8fafc;
	border: 1px solid var(--gc-border);
	border-radius: 6px;
	padding: 8px 18px;
	font-size: 13px;
	font-weight: 600;
	color: #475569;
	cursor: pointer;
	transition: all 0.2s;
}

.gc-tab-btn:hover {
	background: #f1f5f9;
	color: #0f172a;
}

.gc-tab-btn.active {
	background: var(--gc-primary);
	border-color: var(--gc-primary);
	color: #ffffff;
}

/* -------------------------------------------------------------
   CUADRÍCULA DE FOTOS (Visualización Completa Sin Recortes)
------------------------------------------------------------- */
.gc-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 22px;
}

.gc-grid-item {
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.gc-card {
	background: var(--gc-card-bg);
	border: 1px solid var(--gc-border);
	border-radius: var(--gc-radius);
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0,0,0,0.04);
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.gc-card:hover {
	box-shadow: 0 8px 24px rgba(0,0,0,0.1);
	border-color: #cbd5e1;
}

.gc-card.is-selected {
	border-color: var(--gc-gold);
	box-shadow: 0 0 0 2px var(--gc-gold), 0 8px 20px rgba(197, 168, 128, 0.2);
}

/* CONTENEDOR DE IMAGEN CON PROPORCIÓN ÍNTEGRA */
.gc-img-wrap {
	position: relative;
	width: 100%;
	padding-top: 100%; /* Cuadrado seguro estilo paspartú */
	background: #0f1117; /* Fondo sutil oscuro para realce fotográfico */
	overflow: hidden;
	cursor: pointer;
}

/* IMAGEN ENTERA SIN RECORTAR (object-fit: contain) */
.gc-img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100% !important;
	object-fit: contain; /* AJUSTE COMPLETO SIN RECORTES */
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
	user-select: none;
	-webkit-user-drag: none;
}

.gc-img-wrap:hover .gc-img {
	transform: scale(1.03);
}

/* Badge de Referencia en miniatura */
.gc-ref-badge {
	position: absolute;
	bottom: 8px;
	left: 8px;
	z-index: 3;
	background: rgba(15, 23, 42, 0.85);
	color: #f8fafc;
	font-size: 11px;
	font-family: monospace;
	font-weight: 600;
	padding: 3px 8px;
	border-radius: 4px;
	backdrop-filter: blur(4px);
	border: 1px solid rgba(255,255,255,0.15);
}

/* Indicador de Seleccionada */
.gc-item-status-indicator {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 3;
	background: var(--gc-gold);
	color: #ffffff;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.gc-hover-overlay {
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background: rgba(0,0,0,0.25);
	opacity: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.2s;
	z-index: 2;
}

.gc-img-wrap:hover .gc-hover-overlay {
	opacity: 1;
}

.gc-btn-zoom {
	background: rgba(255,255,255,0.9);
	color: #0f172a;
	border: none;
	border-radius: 50%;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(0,0,0,0.2);
	transition: transform 0.15s;
}

.gc-btn-zoom:hover {
	transform: scale(1.1);
	background: #ffffff;
}

/* Pie de Tarjeta */
.gc-card-footer {
	padding: 12px 14px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: #ffffff;
	border-top: 1px solid #f1f5f9;
}

.gc-card-ref-text {
	font-size: 13px;
	font-weight: 600;
	color: #334155;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.gc-btn-select-toggle {
	background: #f8fafc;
	border: 1px solid var(--gc-border);
	border-radius: 20px;
	padding: 5px 14px;
	font-size: 12px;
	font-weight: 600;
	color: #475569;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	transition: all 0.2s;
}

.gc-btn-select-toggle:hover {
	border-color: #cbd5e1;
	background: #f1f5f9;
}

.gc-btn-select-toggle.is-selected {
	background: #fff1f2;
	border-color: #fecdd3;
	color: #e11d48;
}

.gc-btn-select-toggle.is-selected .gc-icon-heart {
	fill: #e11d48;
	stroke: #e11d48;
}

.gc-btn-add-copies {
	background: #f8fafc;
	border: 1px solid var(--gc-border);
	border-radius: 6px;
	padding: 6px 12px;
	font-size: 12px;
	font-weight: 600;
	color: #334155;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	transition: all 0.2s;
}

.gc-btn-add-copies:hover {
	background: #f1f5f9;
	border-color: #cbd5e1;
}

.gc-btn-add-copies.has-copies {
	background: #f0fdf4;
	border-color: #bbf7d0;
	color: #166534;
}

.gc-copies-count {
	background: #16a34a;
	color: #fff;
	border-radius: 10px;
	padding: 1px 6px;
	font-size: 11px;
}

/* -------------------------------------------------------------
   BARRA FLOTANTE INFERIOR
------------------------------------------------------------- */
.gc-floating-bar {
	position: fixed;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 99;
	width: calc(100% - 30px);
	max-width: 900px;
	background: rgba(15, 23, 42, 0.95);
	backdrop-filter: blur(8px);
	color: #ffffff;
	border-radius: 12px;
	padding: 14px 22px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.3);
	border: 1px solid rgba(255,255,255,0.12);
}

.gc-floating-bar-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 15px;
	flex-wrap: wrap;
}

.gc-floating-info {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}

.gc-floating-stat {
	display: flex;
	align-items: center;
	gap: 8px;
}

.gc-stat-number {
	background: var(--gc-gold);
	color: #111827;
	font-weight: 700;
	font-size: 14px;
	padding: 2px 9px;
	border-radius: 12px;
}

.gc-stat-label {
	font-size: 13px;
	color: #cbd5e1;
}

.gc-floating-total {
	font-size: 14px;
	display: flex;
	align-items: center;
	gap: 6px;
}

.gc-total-amount {
	font-weight: 700;
	font-size: 16px;
	color: #ffffff;
}

.gc-discount-notice {
	font-size: 12px;
	background: rgba(16, 185, 129, 0.2);
	color: #34d399;
	padding: 3px 8px;
	border-radius: 4px;
	border: 1px solid rgba(16, 185, 129, 0.4);
}

.gc-btn-gold {
	background: var(--gc-gold);
	color: #111827;
	font-weight: 700;
	border: none;
	border-radius: 6px;
	padding: 10px 20px;
	font-size: 14px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: background 0.2s, transform 0.1s;
}

.gc-btn-gold:hover {
	background: var(--gc-gold-hover);
}

/* -------------------------------------------------------------
   LIGHTBOX MODAL (Visualización Completa Sin Recortes)
------------------------------------------------------------- */
.gc-lightbox {
	position: fixed;
	top: 0; left: 0; right: 0; bottom: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
}

.gc-lightbox-overlay {
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background: rgba(10, 12, 16, 0.95);
	backdrop-filter: blur(6px);
}

.gc-lightbox-dialog {
	position: relative;
	z-index: 2;
	width: 95vw;
	max-width: 1400px;
	height: 90vh;
	background: #181a20;
	border-radius: 12px;
	overflow: hidden;
	display: flex;
	box-shadow: 0 20px 50px rgba(0,0,0,0.5);
	border: 1px solid rgba(255,255,255,0.1);
}

.gc-lightbox-close {
	position: absolute;
	top: 15px;
	right: 15px;
	z-index: 25;
	background: rgba(0,0,0,0.5);
	border: 1px solid rgba(255,255,255,0.2);
	color: #fff;
	font-size: 26px;
	line-height: 1;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	touch-action: manipulation;
}

.gc-lightbox-close:hover {
	background: rgba(255,255,255,0.2);
}

.gc-lightbox-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 20;
	background: rgba(0,0,0,0.5);
	border: 1px solid rgba(255,255,255,0.15);
	color: #fff;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s;
	touch-action: manipulation;
}

.gc-lightbox-nav:hover {
	background: rgba(255,255,255,0.25);
	transform: translateY(-50%) scale(1.08);
}

.gc-lightbox-prev { left: 20px; }
.gc-lightbox-next { right: calc(360px + 20px); }

.gc-lightbox-body {
	display: flex;
	width: 100%;
	height: 100%;
}

/* Área de Imagen en Lightbox */
.gc-lightbox-media {
	flex: 1;
	height: 100%;
	background: #0d0f12;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px 40px;
	position: relative;
	overflow: hidden;
}

.gc-lightbox-img-container {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.gc-lightbox-image {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain; /* ENTERA EN CUALQUIER PANTALLA */
	box-shadow: 0 10px 35px rgba(0,0,0,0.6);
	user-select: none;
	-webkit-user-drag: none;
}

/* Barra Lateral de Controles en Lightbox */
.gc-lightbox-sidebar {
	width: 360px;
	background: #1e222b;
	color: #ffffff;
	border-left: 1px solid rgba(255,255,255,0.08);
	padding: 25px;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
}

.gc-lightbox-sidebar h4 {
	color: #f8fafc;
	font-size: 13px;
	font-weight: 700;
	margin: 0 0 10px 0;
	letter-spacing: 0.3px;
	text-transform: uppercase;
}

.gc-lightbox-sidebar .gc-form-group label {
	color: #cbd5e1;
	font-size: 12px;
	font-weight: 500;
	margin-bottom: 5px;
}

.gc-lightbox-sidebar .gc-form-group input,
.gc-lightbox-sidebar .gc-form-group textarea {
	background: #111318;
	border: 1px solid rgba(255, 255, 255, 0.15);
	color: #ffffff;
	border-radius: 6px;
	padding: 9px 12px;
	width: 100%;
}

.gc-lightbox-sidebar .gc-form-group input:focus,
.gc-lightbox-sidebar .gc-form-group textarea:focus {
	border-color: var(--gc-gold);
}

.gc-lb-header h3 {
	margin: 0 0 5px 0;
	font-size: 18px;
	color: #ffffff;
}

.gc-lb-counter {
	font-size: 12px;
	color: #94a3b8;
}

.gc-lb-mode-box {
	margin-top: 25px;
	flex: 1;
}

.gc-btn-select-main {
	background: #2a303c;
	color: #ffffff;
	border: 1px solid rgba(255,255,255,0.15);
	border-radius: 6px;
	padding: 12px 18px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	transition: all 0.2s;
}

.gc-btn-select-main:hover {
	background: #374151;
}

.gc-btn-select-main.is-selected {
	background: #e11d48;
	border-color: #e11d48;
}

.gc-btn-select-main.is-selected svg {
	fill: #ffffff;
}

/* Selector de Tamaños en Lightbox */
.gc-sizes-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 12px;
}

.gc-size-row {
	background: #282e3a;
	border: 1px solid rgba(255,255,255,0.08);
	border-radius: 6px;
	padding: 10px 12px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
}

.gc-size-name {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #f8fafc;
	word-break: break-word;
}

.gc-size-price {
	font-size: 12px;
	color: var(--gc-gold);
}

.gc-qty-control {
	display: flex;
	align-items: center;
	gap: 8px;
}

.gc-qty-btn {
	background: #374151;
	color: #fff;
	border: none;
	width: 32px;
	height: 32px;
	border-radius: 6px;
	cursor: pointer;
	font-size: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	touch-action: manipulation;
	user-select: none;
	-webkit-user-select: none;
	transition: background 0.15s, transform 0.1s;
}

.gc-qty-btn:hover {
	background: #4b5563;
}

.gc-qty-btn:active {
	transform: scale(0.92);
	background: #4b5563;
}

.gc-qty-val {
	font-weight: 700;
	min-width: 22px;
	text-align: center;
	font-size: 14px;
	color: #ffffff;
}

/* -------------------------------------------------------------
   CAJÓN LATERAL DE RESUMEN / CHECKOUT (Drawer)
------------------------------------------------------------- */
.gc-drawer {
	position: fixed;
	top: 0; left: 0; right: 0; bottom: 0;
	z-index: 1100;
	display: flex;
	justify-content: flex-end;
}

.gc-drawer-overlay {
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background: rgba(0,0,0,0.5);
	backdrop-filter: blur(3px);
}

.gc-drawer-dialog {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 500px;
	height: 100%;
	background: #ffffff;
	display: flex;
	flex-direction: column;
	box-shadow: -10px 0 30px rgba(0,0,0,0.2);
}

.gc-drawer-header {
	padding: 20px;
	border-bottom: 1px solid var(--gc-border);
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.gc-drawer-header h2 {
	margin: 0;
	font-size: 18px;
	color: #0f172a;
}

.gc-drawer-close {
	background: none;
	border: none;
	font-size: 26px;
	color: #64748b;
	cursor: pointer;
	line-height: 1;
}

.gc-drawer-body {
	flex: 1;
	overflow-y: auto;
	padding: 20px;
}

.gc-drawer-section {
	margin-bottom: 25px;
}

.gc-section-title {
	font-size: 14px;
	font-weight: 700;
	color: #0f172a;
	border-bottom: 1px solid #f1f5f9;
	padding-bottom: 8px;
	margin-bottom: 14px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.gc-btn-link {
	background: none;
	border: none;
	color: #ef4444;
	font-size: 12px;
	cursor: pointer;
	padding: 0;
}

.gc-drawer-items-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.gc-drawer-item-row {
	display: flex;
	gap: 12px;
	padding: 10px;
	background: #f8fafc;
	border-radius: 6px;
	border: 1px solid #e2e8f0;
	align-items: center;
}

.gc-drawer-item-thumb {
	width: 50px;
	height: 50px;
	border-radius: 4px;
	object-fit: contain;
	background: #0f1117;
}

.gc-drawer-item-info {
	flex: 1;
}

.gc-drawer-item-ref {
	font-size: 13px;
	font-weight: 700;
	display: block;
}

.gc-drawer-item-detail {
	font-size: 12px;
	color: #64748b;
}

.gc-btn-remove-item {
	background: none;
	border: none;
	color: #94a3b8;
	cursor: pointer;
	padding: 6px;
}

.gc-btn-remove-item:hover {
	color: #ef4444;
}

/* Opciones de Radio / Envío / Pago */
.gc-radio-box {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 12px 14px;
	background: #f8fafc;
	border: 1px solid var(--gc-border);
	border-radius: 6px;
	margin-bottom: 8px;
	cursor: pointer;
	transition: all 0.2s;
}

.gc-radio-box.active {
	border-color: var(--gc-primary);
	background: #ffffff;
	box-shadow: 0 0 0 1px var(--gc-primary);
}

.gc-radio-box input {
	margin-top: 3px;
}

.gc-radio-content {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.gc-radio-content strong {
	font-size: 13px;
	color: #0f172a;
}

.gc-radio-content small, .gc-radio-content span {
	font-size: 12px;
	color: #64748b;
}

.gc-shipping-free-badge {
	background: #dcfce7;
	color: #15803d;
	font-size: 11px;
	font-weight: 700;
	padding: 2px 7px;
	border-radius: 4px;
	display: inline-block;
	margin-right: 4px;
}

.gc-shipping-threshold-hint {
	display: block;
	font-size: 11px;
	color: #16a34a;
	margin-top: 3px;
	font-weight: normal;
}

/* Cuadro de Totales */
.gc-totals-box {
	background: #f8fafc;
	border: 1px solid var(--gc-border);
	border-radius: 6px;
	padding: 15px;
	margin-bottom: 25px;
}

.gc-total-row {
	display: flex;
	justify-content: space-between;
	font-size: 13px;
	padding: 4px 0;
	color: #475569;
}

.gc-row-discount {
	color: #059669;
	font-weight: 600;
}

.gc-row-final {
	border-top: 1px solid var(--gc-border);
	margin-top: 8px;
	padding-top: 10px;
	font-size: 16px;
	font-weight: 700;
	color: #0f172a;
}

/* Campos de Formulario */
.gc-form-group {
	margin-bottom: 14px;
}

.gc-form-group label {
	display: block;
	font-size: 12px;
	font-weight: 600;
	color: #334155;
	margin-bottom: 5px;
}

.gc-form-group input, .gc-form-group textarea {
	width: 100%;
	padding: 9px 12px;
	border: 1px solid var(--gc-border);
	border-radius: 6px;
	font-size: 13px;
	color: #0f172a;
	outline: none;
	background: #ffffff;
}

.gc-form-group input:focus, .gc-form-group textarea:focus {
	border-color: var(--gc-primary);
}

.gc-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.gc-drawer-footer {
	padding: 16px 20px;
	border-top: 1px solid var(--gc-border);
	background: #f8fafc;
}

.gc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: none;
	border-radius: 6px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	transition: all 0.2s;
}

.gc-btn-primary {
	background: var(--gc-primary);
	color: #ffffff;
}

.gc-btn-primary:hover {
	background: var(--gc-primary-hover);
}

.gc-btn-block {
	width: 100%;
}

.gc-btn-large {
	padding: 14px 20px;
	font-size: 15px;
}

.gc-alert {
	padding: 10px 14px;
	border-radius: 6px;
	font-size: 13px;
	margin-top: 10px;
}

.gc-alert-error {
	background: #fef2f2;
	color: #991b1b;
	border: 1px solid #fecaca;
}

/* -------------------------------------------------------------
   MODAL DE ÉXITO
------------------------------------------------------------- */
.gc-modal {
	position: fixed;
	top: 0; left: 0; right: 0; bottom: 0;
	z-index: 1200;
	background: rgba(0,0,0,0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.gc-modal-dialog {
	background: #ffffff;
	border-radius: 10px;
	max-width: 480px;
	width: 100%;
	padding: 35px 25px;
	text-align: center;
	box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.gc-success-icon {
	margin-bottom: 15px;
}

.gc-modal-content h2 {
	margin: 0 0 10px 0;
	font-size: 22px;
	color: #0f172a;
}

.gc-success-message {
	font-size: 14px;
	color: #475569;
	line-height: 1.6;
	margin-bottom: 25px;
}

/* -------------------------------------------------------------
   PANTALLA DE LOGIN POR CONTRASEÑA
------------------------------------------------------------- */
.gc-login-wrapper {
	max-width: 460px;
	margin: 60px auto;
	padding: 0 15px;
	font-family: var(--gc-font);
}

.gc-login-card {
	background: #ffffff;
	border: 1px solid var(--gc-border);
	border-radius: 10px;
	padding: 35px;
	box-shadow: 0 10px 25px rgba(0,0,0,0.06);
	text-align: center;
}

.gc-login-icon {
	color: var(--gc-gold);
	margin-bottom: 15px;
}

.gc-login-header h2 {
	margin: 0 0 8px 0;
	font-size: 22px;
	color: #0f172a;
}

.gc-login-header p {
	font-size: 13px;
	color: #64748b;
	margin: 0 0 25px 0;
}

.gc-login-form .gc-form-group {
	text-align: left;
}

.gc-login-footer {
	margin-top: 25px;
	font-size: 12px;
	color: #94a3b8;
}

/* Responsive */
@media (max-width: 900px) {
	.gc-lightbox {
		padding: 0;
		z-index: 999999;
	}

	.gc-lightbox-dialog {
		width: 100vw;
		max-width: 100vw;
		height: 100vh;
		height: 100dvh;
		max-height: 100dvh;
		border-radius: 0;
		border: none;
		margin: 0;
		display: flex;
		flex-direction: column;
		overflow: hidden;
		background: #111318;
	}

	.gc-lightbox-body {
		display: flex;
		flex-direction: column;
		width: 100%;
		height: 100%;
		overflow: hidden;
	}

	/* Fotografía en la parte superior: proporción ideal para móvil (44vh) */
	.gc-lightbox-media {
		flex: 0 0 44vh;
		height: 44vh;
		min-height: 200px;
		max-height: 50vh;
		width: 100%;
		padding: 10px 14px;
		background: #08090c;
		position: relative;
		display: flex;
		align-items: center;
		justify-content: center;
		overflow: hidden;
	}

	.gc-lightbox-img-container {
		width: 100%;
		height: 100%;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.gc-lightbox-image {
		max-width: 100%;
		max-height: 100%;
		width: auto;
		height: auto;
		object-fit: contain;
		display: block;
		box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
		user-select: none;
		-webkit-user-drag: none;
	}

	/* Panel inferior con tamaños y notas: desplazamiento suave táctil */
	.gc-lightbox-sidebar {
		flex: 1 1 auto;
		min-height: 0;
		height: auto;
		width: 100%;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		background: #181a20;
		border-left: none;
		border-top: 1px solid rgba(255, 255, 255, 0.12);
		padding: 14px 16px 30px 16px;
		box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.3);
	}

	.gc-lb-header {
		display: flex;
		justify-content: space-between;
		align-items: center;
		margin-bottom: 8px;
	}

	.gc-lb-header h3 {
		font-size: 15px;
		margin: 0;
		color: #ffffff;
	}

	.gc-lb-counter {
		font-size: 12px;
		color: #94a3b8;
	}

	.gc-lb-mode-box {
		margin-top: 10px;
	}

	.gc-size-row {
		padding: 8px 12px;
	}

	/* Botones táctiles cómodos para dedos en móvil */
	.gc-qty-btn {
		width: 38px;
		height: 38px;
		font-size: 19px;
		border-radius: 6px;
	}

	.gc-qty-val {
		min-width: 26px;
		font-size: 15px;
	}

	/* Flechas de navegación centradas en el área de la fotografía */
	.gc-lightbox-nav {
		top: 22vh;
		transform: translateY(-50%);
		width: 38px;
		height: 38px;
		background: rgba(0, 0, 0, 0.65);
		border: 1px solid rgba(255, 255, 255, 0.25);
		z-index: 25;
	}

	.gc-lightbox-prev {
		left: 8px;
	}

	.gc-lightbox-next {
		right: 8px;
	}

	/* Botón de cerrar modal en esquina superior de la foto */
	.gc-lightbox-close {
		top: 10px;
		right: 10px;
		width: 36px;
		height: 36px;
		font-size: 22px;
		background: rgba(0, 0, 0, 0.7);
		border: 1px solid rgba(255, 255, 255, 0.25);
		z-index: 35;
	}
}

/* Modo Apaisado (Landscape) en Móviles y Tablets */
@media (max-width: 900px) and (orientation: landscape) {
	.gc-lightbox-body {
		flex-direction: row;
	}

	.gc-lightbox-media {
		flex: 1;
		height: 100%;
		max-height: 100%;
	}

	.gc-lightbox-sidebar {
		width: 340px;
		height: 100%;
		border-top: none;
		border-left: 1px solid rgba(255, 255, 255, 0.12);
	}

	.gc-lightbox-nav {
		top: 50%;
	}

	.gc-lightbox-next {
		right: calc(340px + 10px);
	}
}

@media (max-width: 600px) {
	.gc-grid {
		grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
		gap: 12px;
	}
	.gc-card-footer {
		padding: 8px 10px;
	}
	.gc-btn-select-toggle {
		padding: 4px 8px;
		font-size: 11px;
	}
	.gc-search-box {
		width: 100%;
	}
}

/* -------------------------------------------------------------
   BANNER Y BADGES DE COPIAS INCLUIDAS EN LA SESIÓN
------------------------------------------------------------- */
.gc-included-header-banner {
	margin-top: 20px;
	background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
	border: 1px solid #334155;
	border-left: 5px solid var(--gc-gold);
	border-radius: var(--gc-radius);
	padding: 16px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 15px;
	color: #ffffff;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.gc-included-banner-icon {
	font-size: 28px;
	line-height: 1;
}

.gc-included-banner-content {
	flex: 1;
	min-width: 250px;
}

.gc-included-banner-title {
	font-size: 16px;
	color: #f8fafc;
	margin-bottom: 4px;
}

.gc-included-banner-title strong {
	color: var(--gc-gold);
}

.gc-included-banner-desc {
	font-size: 13px;
	color: #94a3b8;
	line-height: 1.4;
}

.gc-included-status-pill {
	background: #334155;
	color: #f1f5f9;
	padding: 6px 16px;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.5px;
	white-space: nowrap;
	transition: all 0.2s ease;
	border: 1px solid #475569;
}

.gc-included-status-pill.is-completed {
	background: #059669;
	border-color: #10b981;
	color: #ffffff;
}

/* Badge de tamaño incluido en Lightbox */
.gc-badge-size-included {
	background: #ecfdf5;
	color: #065f46;
	border: 1px solid #a7f3d0;
	font-size: 11px;
	font-weight: 700;
	padding: 2px 6px;
	border-radius: 4px;
	display: inline-block;
}

.gc-size-row.is-included-size {
	background: rgba(197, 168, 128, 0.08);
	border-left: 3px solid var(--gc-gold);
	padding-left: 8px;
}

/* Fila de copias incluidas en Drawer */
.gc-row-included {
	color: #059669 !important;
	font-weight: 600;
}

