/* My Account Page Styles */

/* Material Symbols Font */
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

.material-symbols-outlined {
	font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
	vertical-align: middle;
	font-family: 'Material Symbols Outlined', sans-serif;
	font-style: normal;
	font-weight: normal;
	font-size: 24px;
	line-height: 1;
	letter-spacing: normal;
	text-transform: none;
	display: inline-block;
	white-space: nowrap;
	word-wrap: normal;
	direction: ltr;
	-webkit-font-feature-settings: 'liga';
	-webkit-font-smoothing: antialiased;
}

/* Poppins Font for My Account - but keep Material Symbols for icons */
.gk-myaccount-wrapper {
	font-family: 'Poppins', sans-serif !important;
}

.gk-myaccount-wrapper *:not(.material-symbols-outlined) {
	font-family: 'Poppins', sans-serif !important;
}

.material-symbols-outlined {
	font-family: 'Material Symbols Outlined', sans-serif !important;
}

/* My Account Wrapper */
.gk-myaccount-wrapper {
	display: flex;
	flex-direction: column;
	gap: 3rem;
	max-width: 1400px;
	margin: 0 auto;
	padding: 3rem 2rem;
}

@media (min-width: 768px) {
	.gk-myaccount-wrapper {
		flex-direction: row;
		padding: 4rem 3rem;
		gap: 4rem;
	}
}

@media (min-width: 1024px) {
	.gk-myaccount-wrapper {
		padding: 4rem 5rem;
	}
}

/* Sidebar */
.gk-myaccount-sidebar {
	width: 100%;
	flex-shrink: 0;
}

@media (min-width: 768px) {
	.gk-myaccount-sidebar {
		width: 280px;
	}
}

.gk-sidebar-inner {
	display: flex;
	flex-direction: column;
	background: #fff;
	padding: 2rem;
	border-radius: 1.5rem;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	border: 1px solid #f2e9eb;
	position: sticky;
	top: 6rem;
}

/* User Info */
.gk-user-info {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	margin-bottom: 2.5rem;
	padding: 0;
}

.gk-user-avatar {
	width: 64px;
	height: 64px;
	border-radius: 9999px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	flex-shrink: 0;
}

.gk-user-details {
	display: flex;
	flex-direction: column;
}

.gk-user-name {
	color: #1a0f12;
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1.2;
	margin: 0;
}

.gk-user-role {
	color: #8f5666;
	font-size: 1.125rem;
	margin-top: 0.5rem;
	margin: 0;
}

/* Navigation */
.gk-nav-menu {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.gk-myaccount-sidebar nav a {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	padding: 1.5rem 1.75rem;
	border-radius: 0.875rem;
	transition: all 0.2s;
	color: #1a0f12;
	text-decoration: none;
	font-size: 1.25rem;
	font-weight: 600;
}

.gk-myaccount-sidebar nav a:hover {
	background-color: #f8f6f6;
}

.gk-myaccount-sidebar nav a.active-nav {
	background-color: #992445;
	color: #fff !important;
}

.gk-myaccount-sidebar nav a.active-nav .material-symbols-outlined {
	opacity: 1;
	font-size: 2rem;
}

.gk-myaccount-sidebar nav a:not(.active-nav) .material-symbols-outlined {
	opacity: 0.7;
	font-size: 2rem;
}

.gk-myaccount-sidebar nav a.gk-nav-logout {
	color: #dc2626;
}

.gk-myaccount-sidebar nav a.gk-nav-logout:hover {
	background-color: #fef2f2;
}

.gk-nav-item {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	padding: 1.5rem 1.75rem;
	border-radius: 0.875rem;
	transition: all 0.2s;
	color: #1a0f12;
	text-decoration: none;
	font-size: 1.25rem;
	font-weight: 600;
}

.gk-nav-item:hover {
	background-color: #f8f6f6;
}

.gk-nav-icon {
	opacity: 0.7;
	font-size: 2rem !important;
}

.gk-nav-icon-active {
	opacity: 1;
	font-size: 2rem !important;
}

/* Content Section */
.gk-myaccount-content {
	flex: 1;
}

.gk-page-header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	margin-bottom: 3rem;
}

.gk-page-title {
	color: #1a0f12;
	font-size: 3rem;
	font-weight: 800;
	letter-spacing: -0.025em;
	margin: 0;
	line-height: 1.2;
}

@media (max-width: 767px) {
	.gk-page-title {
		font-size: 2.25rem;
	}
}

/* Address Description */
.gk-address-description {
	color: #8f5666;
	font-size: 1.125rem;
	margin-bottom: 2.5rem;
	line-height: 1.6;
}

/* Address Grid */
.gk-address-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

@media (min-width: 1024px) {
	.gk-address-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Address Card */
.gk-address-card {
	background: #fff;
	padding: 2rem;
	border-radius: 1rem;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	border: 1px solid #f2e9eb;
	position: relative;
	transition: all 0.2s;
}

.gk-address-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	transform: translateY(-2px);
}

.gk-address-card.gk-address-default {
	border-width: 2px;
	border-color: rgba(153, 36, 69, 0.3);
}

.gk-address-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 1.5rem;
}

.gk-address-badges {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.gk-address-actions {
	display: flex;
	gap: 0.25rem;
}

.gk-address-type-badge {
	padding: 0.625rem 1.25rem;
	border-radius: 9999px;
	font-size: 1rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.gk-address-type-badge .material-symbols-outlined {
	font-size: 1.25rem;
}

.gk-address-type-home {
	background-color: rgba(153, 36, 69, 0.1);
	color: #992445;
}

.gk-address-type-work {
	background-color: #f2e9eb;
	color: #8f5666;
}

.gk-address-default-badge {
	background-color: #dcfce7;
	color: #166534;
	padding: 0.625rem 1.25rem;
	border-radius: 9999px;
	font-size: 0.875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.gk-address-edit {
	padding: 0.75rem;
	border-radius: 0.5rem;
	transition: all 0.2s;
	border: none;
	background: transparent;
	cursor: pointer;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #8f5666;
}

.gk-address-edit:hover {
	background-color: #f8f6f6;
}

.gk-address-edit .material-symbols-outlined {
	font-size: 1.75rem;
}

.gk-address-body {
	margin-bottom: 0.5rem;
}

.gk-address-body > * + * {
	margin-top: 0.5rem;
}

.gk-address-name {
	color: #1a0f12;
	font-weight: 700;
	font-size: 1.625rem;
	margin: 0 0 1rem 0;
}

.gk-address-text {
	color: #8f5666;
	font-size: 1.125rem;
	line-height: 1.75;
	margin: 0;
}

.gk-address-city-state {
	font-weight: 600;
	color: #1a0f12;
	font-size: 1.125rem;
}

.gk-address-footer {
	margin-top: 1.5rem;
	padding-top: 1rem;
	border-top: 1px solid #f2e9eb;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.gk-address-phone {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	color: #8f5666;
	font-size: 1.0625rem;
}

.gk-address-phone .material-symbols-outlined {
	font-size: 1.25rem;
}

.gk-address-empty {
	margin-bottom: 0.5rem;
}

.gk-address-empty-text {
	color: #8f5666;
	font-size: 1.125rem;
	margin: 0 0 1.5rem 0;
	line-height: 1.6;
}

.gk-address-add-link {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	color: #992445;
	font-size: 1.125rem;
	font-weight: 600;
	text-decoration: none;
	margin-top: 1rem;
	transition: color 0.2s;
	padding: 1rem 1.5rem;
	border-radius: 0.5rem;
	background-color: rgba(153, 36, 69, 0.05);
}

.gk-address-add-link:hover {
	color: rgba(153, 36, 69, 0.8);
	background-color: rgba(153, 36, 69, 0.1);
}

.gk-address-add-link .material-symbols-outlined {
	font-size: 1.25rem;
}

/* Order Details Customer Address Styles */
.gk-order-customer-details {
	margin-top: 2rem;
	padding: 2rem;
	background: #fff;
	border-radius: 1rem;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	border: 1px solid #f2e9eb;
}

.gk-order-address-section {
	margin-bottom: 2rem;
}

.gk-order-address-section:last-child {
	margin-bottom: 0;
}

.gk-section-title {
	color: #1a0f12;
	font-size: 2.5rem;
	font-weight: 700;
	margin: 0 0 2rem 0;
	padding-bottom: 1.25rem;
	border-bottom: 2px solid #f2e9eb;
}

.gk-address-details {
	color: #1a0f12;
}

.gk-address-name {
	font-size: 1.875rem;
	font-weight: 600;
	margin: 0 0 1.25rem 0;
	color: #1a0f12;
}

.gk-address-text {
	font-size: 1.5rem;
	line-height: 2;
	margin: 0 0 2rem 0;
	color: #4a4a4a;
}

.gk-address-phone,
.gk-address-email {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin: 1rem 0;
	font-size: 1.375rem;
}

.gk-address-phone a,
.gk-address-email a {
	color: #992445;
	text-decoration: none;
	transition: color 0.2s;
}

.gk-address-phone a:hover,
.gk-address-email a:hover {
	color: rgba(153, 36, 69, 0.8);
	text-decoration: underline;
}

.gk-address-phone .material-symbols-outlined,
.gk-address-email .material-symbols-outlined {
	font-size: 2rem;
	color: #8f5666;
}

.gk-order-addresses-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}

@media (min-width: 768px) {
	.gk-order-addresses-grid {
		grid-template-columns: 1fr 1fr;
	}
}

/* Responsive */
@media (max-width: 767px) {
	.gk-myaccount-wrapper {
		padding: 1.5rem 1rem;
		gap: 2rem;
	}
	
	.gk-myaccount-sidebar > div {
		position: relative;
		top: 0;
	}
	
	.gk-myaccount-wrapper section h2 {
		font-size: 1.5rem;
	}
	
	.gk-page-title {
		font-size: 2rem !important;
	}
}
