/* =========================================================
   Parfumery Mega Menu — styling only. No content here.
   Structure and text all come from Appearance > Menus.
   ========================================================= */

.pf-mega-item {
	position: relative;
}

.pf-mega-trigger {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.pf-mega-caret {
	width: 8px;
	height: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	margin-top: -3px;
	transition: transform 0.2s ease;
}

.pf-mega-item.pf-mega-open .pf-mega-caret {
	transform: rotate(-135deg);
	margin-top: 3px;
}

.pf-mega-panel {
	position: absolute;
	left: 50%;
	top: 100%;
	transform: translateX(-50%);
	width: 900px;
	max-width: 90vw;
	background: #ffffff;
	border-top: 3px solid #2a1a12;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.18s ease;
	z-index: 999;
}

.pf-mega-item.pf-mega-open .pf-mega-panel {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

/* Columns lay out side by side automatically, however many
   column-header items you add under Shop in wp-admin. */
.pf-mega-inner {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 40px;
	padding: 40px 48px;
}

.pf-mega-col {
	text-align: center;
}

.pf-mega-col-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	margin-bottom: 22px;
	padding-bottom: 16px;
	border-bottom: 2px solid #d9c7a8;
	text-decoration: none;
	color: #2a1a12;
}

.pf-mega-col-icon {
	display: block;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background-color: #f2e9dc;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 26px 26px;
}

/* Add more icon-* classes here as you tag more columns in wp-admin */
.icon-gift {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23433223' stroke-width='1.6'%3E%3Crect x='3' y='8' width='18' height='13' rx='1'/%3E%3Cpath d='M3 12h18'/%3E%3Cpath d='M12 8v13'/%3E%3Cpath d='M12 8c-1.5-4-6-4-6-1s3 1 6 1'/%3E%3Cpath d='M12 8c1.5-4 6-4 6-1s-3 1-6 1'/%3E%3C/svg%3E");
}

.icon-calendar {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23433223' stroke-width='1.6'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3Cpath d='M8 3v4'/%3E%3Cpath d='M16 3v4'/%3E%3C/svg%3E");
}

.icon-bottle {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23433223' stroke-width='1.6'%3E%3Crect x='8' y='9' width='8' height='12' rx='1.5'/%3E%3Cpath d='M10 9V6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v3'/%3E%3Cpath d='M9.5 4h5'/%3E%3C/svg%3E");
}

.pf-mega-col-title {
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.pf-mega-col-links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.pf-mega-col-link a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 4px;
	color: #4a4a4a;
	text-decoration: none;
	font-size: 14px;
	border-bottom: 1px solid #f0e9de;
	transition: color 0.15s ease;
}

.pf-mega-col-link a:hover {
	color: #2a1a12;
}

.pf-mega-link-arrow {
	opacity: 0.5;
}

/* A column with no children yet will just show its header with
   no list underneath — no placeholder text is invented for you. */

/* Mobile: stack into a full-width accordion */
@media (max-width: 782px) {
	.pf-mega-panel {
		position: static;
		transform: none;
		width: 100%;
		max-width: none;
		box-shadow: none;
		border-top: none;
	}
	.pf-mega-inner {
		grid-template-columns: 1fr;
		gap: 24px;
		padding: 16px;
	}
}
