/* =================================================================
   Unlockafe Price Menu Widget Styles
   ================================================================= */

/* --- 1. Root Variables & Globals --- */
.elementor-widget-unlockafe-price-menu {
	--primary-color: #E67E22;
	--secondary-color: #3498DB;
	--dark-color: #2C3E50;
	--light-color: #FFFFFF;
	--grey-color: #BDC3C7;
	--text-light-grey: #7F8C8D;
	font-family: 'Poppins', sans-serif;
}

.elementor-widget-unlockafe-price-menu .section-container {
	max-width: 1100px;
	margin: 0 auto;
	padding: 3rem 1.5rem;
}

/* --- 2. Animations --- */
.elementor-widget-unlockafe-price-menu .animate-on-scroll {
	opacity: 0; /* Start hidden */
	transform: translateY(30px);
	transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.elementor-widget-unlockafe-price-menu .animate-on-scroll.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* --- 3. Section Header --- */
.elementor-widget-unlockafe-price-menu .section-title {
	text-align: center;
	margin-bottom: 3rem;
}
.elementor-widget-unlockafe-price-menu .section-title h2 {
	font-family: 'Playfair Display', serif;
	font-size: 3rem;
	font-weight: 700;
	color: var(--dark-color);
	margin: 0 0 0.5rem 0;
}
.elementor-widget-unlockafe-price-menu .section-title p {
	font-size: 1.1rem;
	color: var(--text-light-grey);
	max-width: 600px;
	margin: 1rem auto 0;
}
.elementor-widget-unlockafe-price-menu .section-title .icon-title-svg {
	display: block;
	margin: 0 auto 0.5rem auto;
	fill: var(--primary-color);
}

/* --- 4. Layouts --- */

/* Base Grid Container */
.elementor-widget-unlockafe-price-menu .grid-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

/* Layout 1: Price Menu Card */
.elementor-widget-unlockafe-price-menu .price-menu-card {
	background-color: var(--light-color);
	border-radius: 12px;
	padding: 1.5rem;
	display: flex;
	align-items: center;
	gap: 1.5rem;
	box-shadow: 0 4px 20px rgba(0,0,0,0.05);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.elementor-widget-unlockafe-price-menu .price-menu-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
.elementor-widget-unlockafe-price-menu .price-menu-card img {
	width: 70px;
	height: 70px;
	border-radius: 50%;
	object-fit: cover;
}
.elementor-widget-unlockafe-price-menu .price-menu-card .info { flex-grow: 1; }
.elementor-widget-unlockafe-price-menu .price-menu-card h3 { font-size: 1.2rem; font-weight: 600; margin: 0; }
.elementor-widget-unlockafe-price-menu .price-menu-card p { font-size: 0.9rem; color: var(--text-light-grey); margin: 0.25rem 0 0 0; }
.elementor-widget-unlockafe-price-menu .price-menu-card .price { font-size: 1.2rem; font-weight: 700; color: var(--primary-color); }

/* Layout 2: Recipe Card */
.elementor-widget-unlockafe-price-menu .recipe-card {
	background-color: var(--light-color);
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.07);
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	display: flex; flex-direction: column; height: 100%;
}
.elementor-widget-unlockafe-price-menu .recipe-card:hover { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(0,0,0,0.1); }
.elementor-widget-unlockafe-price-menu .recipe-card img { width: 100%; height: 220px; object-fit: cover; transition: transform 0.4s ease; }
.elementor-widget-unlockafe-price-menu .recipe-card:hover img { transform: scale(1.05); }
.elementor-widget-unlockafe-price-menu .recipe-card .content { padding: 1.5rem; flex-grow: 1; display: flex; flex-direction: column; }
.elementor-widget-unlockafe-price-menu .recipe-card h3 { font-size: 1.3rem; font-weight: 600; margin: 0 0 0.5rem 0; }
.elementor-widget-unlockafe-price-menu .recipe-card p { font-size: 0.9rem; color: var(--text-light-grey); margin: 0 0 1.5rem 0; line-height: 1.6; flex-grow: 1; }
.elementor-widget-unlockafe-price-menu .recipe-card .footer { display: flex; justify-content: space-between; align-items: center; }
.elementor-widget-unlockafe-price-menu .recipe-card .price { font-size: 1.3rem; font-weight: 700; color: var(--primary-color); }
.elementor-widget-unlockafe-price-menu .recipe-card .icon { border: 1px solid var(--grey-color); border-radius: 8px; padding: 0.5rem; cursor: pointer; }
.elementor-widget-unlockafe-price-menu .recipe-card .icon svg { fill: var(--text-light-grey); vertical-align: middle; }

/* Layout 3: Popular Items (Dark Section) */
.elementor-widget-unlockafe-price-menu .dark-section { background-color: var(--dark-color); border-radius: 16px; }
.elementor-widget-unlockafe-price-menu .dark-section .section-title h2 { color: var(--light-color); }
.elementor-widget-unlockafe-price-menu .dark-section .section-title p { color: var(--grey-color); }
.elementor-widget-unlockafe-price-menu .popular-item { display: flex; align-items: center; gap: 1.5rem; padding: 1.25rem 0; border-bottom: 1px solid #34495E; }
.elementor-widget-unlockafe-price-menu .dark-section .grid-layout { padding: 0 1.5rem; }
.elementor-widget-unlockafe-price-menu .popular-item:last-child { border-bottom: none; }
.elementor-widget-unlockafe-price-menu .popular-item img { width: 80px; height: 80px; border-radius: 12px; object-fit: cover; }
.elementor-widget-unlockafe-price-menu .popular-item .info { flex-grow: 1; }
.elementor-widget-unlockafe-price-menu .popular-item h3 { font-size: 1.1rem; font-weight: 600; color: var(--light-color); margin: 0; }
.elementor-widget-unlockafe-price-menu .popular-item p { font-size: 0.9rem; color: var(--grey-color); margin: 0.25rem 0 0 0; }
.elementor-widget-unlockafe-price-menu .popular-item .price { font-size: 1.2rem; font-weight: 700; color: var(--primary-color); }

/* Layout 4: Split Menu */
.elementor-widget-unlockafe-price-menu .burger-menu-layout { display: grid; grid-template-columns: 1fr; align-items: center; gap: 2rem; }
.elementor-widget-unlockafe-price-menu .burger-menu-column { display: flex; flex-direction: column; gap: 2rem; }
.elementor-widget-unlockafe-price-menu .burger-menu-item { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.elementor-widget-unlockafe-price-menu .burger-menu-item .info { flex-shrink: 0; }
.elementor-widget-unlockafe-price-menu .burger-menu-item h3 { font-size: 1.2rem; margin: 0; }
.elementor-widget-unlockafe-price-menu .burger-menu-item p { font-size: 0.9rem; color: var(--text-light-grey); margin: 0.25rem 0 0 0; }
.elementor-widget-unlockafe-price-menu .dots { flex-grow: 1; border-bottom: 2px dotted var(--grey-color); transform: translateY(-4px); }
.elementor-widget-unlockafe-price-menu .burger-menu-item .price { font-size: 1.2rem; color: var(--primary-color); font-weight: 600; flex-shrink: 0; }
.elementor-widget-unlockafe-price-menu .burger-image-container { text-align: center; }
.elementor-widget-unlockafe-price-menu .burger-image-container img { max-width: 100%; width: 350px; filter: drop-shadow(0 20px 25px rgba(0,0,0,0.2)); transition: transform 0.5s ease; }
.elementor-widget-unlockafe-price-menu .burger-image-container:hover img { transform: scale(1.05) rotate(-3deg); }

/* --- 5. Carousel Layout --- */
.elementor-widget-unlockafe-price-menu .carousel-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.elementor-widget-unlockafe-price-menu .carousel-title { font-family: 'Playfair Display', serif; font-size: 2.5rem; margin: 0; }
.elementor-widget-unlockafe-price-menu .swiper-navigation-wrapper { display: none; } /* Hidden on mobile */
.elementor-widget-unlockafe-price-menu .swiper-container { width: 100%; padding-bottom: 3rem; overflow: visible; }
.elementor-widget-unlockafe-price-menu .swiper-slide { height: auto; }
.elementor-widget-unlockafe-price-menu .carousel-card .img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 Aspect Ratio */
    overflow: hidden;
}

.elementor-widget-unlockafe-price-menu .carousel-card .img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.elementor-widget-unlockafe-price-menu .carousel-card:hover .img-wrapper img {
    transform: scale(1.05);
}
.elementor-widget-unlockafe-price-menu .carousel-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: var(--light-color);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.elementor-widget-unlockafe-price-menu .carousel-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.elementor-widget-unlockafe-price-menu .card-content {
    padding: 1.5rem;
    flex-grow: 1;
    text-align: left;
}

.elementor-widget-unlockafe-price-menu .card-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0 0 0.5rem 0;
}

.elementor-widget-unlockafe-price-menu .card-content p {
    font-size: 0.9rem;
    color: var(--text-light-grey);
    margin: 0;
    line-height: 1.5;
}

.elementor-widget-unlockafe-price-menu .carousel-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem 1.5rem;
}

.elementor-widget-unlockafe-price-menu .carousel-footer .price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.elementor-widget-unlockafe-price-menu .add-btn {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
    border-radius: 50px;
    padding: 0.6rem 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.elementor-widget-unlockafe-price-menu .add-btn:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}
.elementor-widget-unlockafe-price-menu .swiper-button-next, .elementor-widget-unlockafe-price-menu .swiper-button-prev { width: 44px; height: 44px; border-radius: 50%; background-color: var(--light-color); color: var(--dark-color); box-shadow: 0 4px 10px rgba(0,0,0,0.1); position: absolute; top: 0; margin-top: 0; transition: all 0.3s; }
.elementor-widget-unlockafe-price-menu .swiper-button-prev { left: 0; }
.elementor-widget-unlockafe-price-menu .swiper-button-next { right: 0; }
.elementor-widget-unlockafe-price-menu .swiper-button-next:hover, .elementor-widget-unlockafe-price-menu .swiper-button-prev:hover { background-color: var(--primary-color); color: var(--light-color); }
.elementor-widget-unlockafe-price-menu .swiper-button-next::after, .elementor-widget-unlockafe-price-menu .swiper-button-prev::after { font-size: 1.2rem; }
.elementor-widget-unlockafe-price-menu .swiper-pagination { position: absolute; bottom: 0; width: 100%; }
.elementor-widget-unlockafe-price-menu .swiper-pagination-bullet { width: 10px; height: 10px; background-color: var(--grey-color); opacity: 0.7; transition: all 0.3s ease; }
.elementor-widget-unlockafe-price-menu .swiper-pagination-bullet-active { background-color: var(--primary-color); opacity: 1; transform: scale(1.2); }

/* --- 6. Responsive Breakpoints --- */
/* Tablet */
@media (min-width: 768px) {
	/* List, Popular, and Full Menu layouts get 2 columns */
	.elementor-widget-unlockafe-price-menu .grid-layout:not(.recipe-grid) {
		grid-template-columns: repeat(2, 1fr);
	}
    /* Recipe card layout gets 3 columns */
    .elementor-widget-unlockafe-price-menu .recipe-grid {
		grid-template-columns: repeat(3, 1fr);
	}
	.elementor-widget-unlockafe-price-menu .swiper-navigation-wrapper { 
		display: block;
		position: relative;
		width: 100px;
		height: 44px;
	}
}

/* Desktop */
@media (min-width: 992px) {
    /* Split menu layout */
	.elementor-widget-unlockafe-price-menu .burger-menu-layout {
		grid-template-columns: 1fr auto 1fr;
	}
}