:root {
	--bg: #ffffff;
	--text: #141517;
	--muted: #666b73;
	--line: #e9edf1;
	--card: #ffffff;
	--chip: #f5f7fa;
	--chip-border: #e5e9ee;
	--chip-active: #e31b23;
	--chip-active-ink: #fff;
	--brand: #e03131;
	--brand-2: #ff6b6b;
	--rating: #f5a524;
	--shadow: 0 10px 24px rgba(16,24,40,.08);
	--radius: 18px;
	--radius-sm: 12px;
	--radius-lg: 26px;
}

* {
	box-sizing: border-box;
    text-wrap-mode: inherit !important;
}

html,body {
	height: 100%
}

body {
	margin: 0;
	font-size: 16px;
	color: var(--text);
	background: var(--bg);
    font-family: 'Fira Sans';
}
a:hover{
    background-color: transparent;
    text-decoration: none;
    cursor: pointer;
}
.chip.is-active:hover{
    color: #fff;
}

a {
	color: inherit;
	text-decoration: none
}

img {
	display: block;
	max-width: 100%;
	height: auto
}

.container {
	width: min(1440px, 92%);
	margin: 0 auto
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	height: 44px;
	padding: 0 16px;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: #fff;
	cursor: pointer
}

.btn--brand {
	border: none;
	background: linear-gradient(180deg, var(--brand), #d62828);
	color: #fff;
	box-shadow: var(--shadow)
}

.btn--ghost {
	background: #fff
}

  /* Header */
.header {
	position: sticky;
	top: 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 99999;
}

.nav {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 12px 0
}

.brand {
	display: flex;
	align-items: center;
	gap: 10px
}

.logo {
	width: 36px;
	height: 36px;
	border-radius: 12px;
	display: grid;
	place-items: center;
	background: #fff;
	border: 1px solid var(--line);
	box-shadow: var(--shadow)
}

.logo svg {
	width: 22px;
	height: 22px;
	fill: var(--brand)
}

.brand b {
	font-weight: 800;
	font-size: 20px
}

.nav-links {
	margin-left: auto;
	display: flex;
	gap: 18px;
	align-items: center
}

.nav-links a {
	padding: 8px 10px;
	border-radius: 10px;
	color: #2d333a;
	font-weight: 600
}

.nav-links a:hover {
	background: #f4f6f8
}

.nav-actions {
	display: flex;
	gap: 10px;
	align-items: center
}

.icon-btn {
	width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	border: 1px solid var(--line);
	background: #fff
}

.icon-btn svg {
	width: 18px;
	height: 18px;
	fill: #1f2328
}

  /* Hero */
.hero {
	position: relative;
	min-height: 525px;
	color: #fff;
	display: flex;
	align-items: center
}
.hero_cateogry{
    min-height: calc(100vh - 550px);
    align-items: start;
    padding-top: 85px;
    flex-direction: column;
}
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: url('../images/bg2.png') center/cover no-repeat
}
.pack_btn_pc {
    margin-top: 24px;
}
.pack_btn_pc a {
    background-color: #1a73e8;
    border-radius: 8px;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 15px 15px;
    width: 98%;
    display: block;
    text-align: center;
    color: #fff;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 314px;
    margin: 14px auto;
    font-weight: 700;
}

.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,.65), rgba(0,0,0,0.65))
}

.hero-inner {
	position: relative;
	z-index: 2;
	padding: 30px 0 36px;
	width: 98%
}

  /* Search bar (unified container like the image) */
.searchbar {
	display: flex;
	align-items: center;
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
	padding: 4px;
	gap: 0;
    max-width: 1100px;
    margin: 0 auto;
}

.search-container {
	display: flex;
	align-items: center;
	flex: 1;
	background: transparent;
	border-radius: 8px;
	padding: 0 4px;
	gap: 12px;
    position: relative;
}
.__search_sug_box {
    position: absolute;
    width: 100%;
    background: #ffffff;
    z-index: 99999;
    color: #333333;
    left: 0;
    top: calc(100% + 3px);
    border-radius: 7px;
    display: none;
    width: 100%;
    margin-left: 0;
    box-shadow: 0 0 5px 1px rgba(0,0,0,.3);
    font-size: 15px;
}
.__search_sug_item {
    font-size: 13px;
    padding: 8px 14px;
    border-bottom: 1px solid #ebebeb;
    cursor: pointer;
}
.search-icon {
	flex-shrink: 0;
	opacity: 0.6;
}

.search-input {
	flex: 1;
	border: none;
	outline: none;
	background: transparent;
	font-size: 16px;
	color: #1f2937;
	padding: 12px 0;
}

.search-input::placeholder {
	color: #6b7280;
}

.search-submit {
	background: #e53e3e;
	border: none;
	border-radius: 8px;
	padding: 12px 40px;
	color: white;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.2s;
	flex-shrink: 0;
}

.search-submit:hover {
	background: #dc2626;
}

.search-submit svg {
	width: 23px;
	height: 23px;
	fill: white;
}
.ad-placeholder {
    font-size: 16px;
    color: #888;
    font-style: italic;
    text-align: center;
}
.bt_ads{
    border: 1px solid #d3d3d3;
    min-width: 320px;
}
/* Remove old search bar styles */
/* .search-pill, .select-pill, .search-btn styles can be removed */
@media (max-width: 960px) {
	.searchbar {
		grid-template-columns: 1fr 1fr;
		grid-auto-rows: 54px
	}
}

  /* Section headings */
.section {
	padding: 10px 0
}

.section.center {
	text-align: center
}

.section h2 {
	font-size: 36px;
	margin: 0 0 8px;
    font-weight: 700;
}

.section p.lead {
	margin: 0;
	color: #000000;
    font-size: 16px;
    /* font-weight: 700; */
}

  /* Category filter chips */
.chip-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	margin-top: 5px;
    margin-bottom: 20px;
}

.chip {
	background: #fff;
	border: 1px solid var(--chip-border);
	border-radius: 999px;
	padding: 10px 16px;
	color: #2a2f36;
	font-weight: 700
}

.chip.is-active {
	background: var(--brand);
	color: #fff;
	border-color: transparent
}

  /* Cards grid */
.grid {
	display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 30px;
}
.template_box{
    display: flex;
    justify-content: space-between;
}
.tb_right{
    width: 336px;
}
.tb_left{
    width: calc(100% - 346px);
}
.mt50{
    margin-top: 50px;
}
.w100{
    width: 100%;
}
@media (max-width: 1200px) {
	.grid {
		grid-template-columns: repeat(3, 1fr)
	}
}

@media (max-width: 900px) {
	.grid {
		grid-template-columns: repeat(2, 1fr);
        gap: 7px;
	}
    .list_grid{
        grid-template-columns: repeat(1, 1fr) !important;
    }
}

.card {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 18px;
	box-shadow: var(--shadow);
	overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
	transition: box-shadow 0.3s ease;
    cursor: pointer;
}

.thumb {
	position: relative;
	aspect-ratio: 4/3;
	overflow: hidden
}

.thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover
}

.badge-rating {
	position: absolute;
	top: 12px;
	left: 12px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #fff;
	color: #0f1720;
	border-radius: 999px;
	padding: 6px 10px;
	font-weight: 800;
	box-shadow: var(--shadow)
}

.badge-rating svg {
	width: 14px;
	height: 14px;
	fill: var(--rating)
}

.fav, .bookmark {
	position: absolute;
	right: 12px;
	background: #fff;
	width: 42px;
	height: 42px;
	display: grid;
	place-items: center;
	border-radius: 999px;
	border: 1px solid var(--line)
}

.fav {
	top: 12px
}

.bookmark {
	top: 60px
}

.fav svg, .bookmark svg {
	width: 18px;
	height: 18px;
	fill: #e03131
}

.card-body {
	padding: 8px;
}

.kicker {
	color: #e03131;
	font-weight: 800;
	font-size: 14px;
	margin-bottom: 6px
}

.title {
	margin: 0 0 10px;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 700;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.p90{
    padding: 85px 0;
}

.meta {
	display: flex;
	gap: 16px;
	align-items: center;
	color: #667085;
	font-size: 14px
}

.meta span {
	display: inline-flex;
	align-items: center;
	gap: 6px
}

.meta svg {
	width: 16px;
	height: 16px;
	fill: #98a2b3
}

  /* Cuisines grid */
.cuisines {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
	margin-top: 24px
}



.cuisine {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 13px;
	text-align: center;
	box-shadow: var(--shadow);
    cursor: pointer;
}

.flag {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	margin: 0 auto 10px;
	overflow: hidden
}

.cuisine b {
	display: block
}

.cuisine small {
	color: #6b7280
}

  /* Popular tags band */
.band {
	background: #f5f6f8;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	padding: 56px 10px;
}

.tags {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	margin-top: 18px
}

.tag {
	background: #fff;
	border: 1px solid var(--chip-border);
	border-radius: 999px;
	padding: 10px 16px;
	font-weight: 800
}

  /* Footer */
.footer {
    padding: 40px 0;
    color: #6b7280;
    background: #ffffff;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.footer .social {
    display: flex;
    gap: 10px;
}

.footer .social .icon-btn {
    background: #f5f5f5;
    border: 1px solid #e5e5e5;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all 0.2s;
}

.footer .social .icon-btn:hover {
    background: #e5e5e5;
}

.footer .social .icon-btn svg {
    width: 18px;
    height: 18px;
    fill: #1f2328;
}

.footer .menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.footer .menu a {
    color: #2d333a;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s;
}

.footer .menu a:hover {
    color: #e31b23;
}

.footer-divider {
    height: 1px;
    background: #e5e5e5;
    margin: 20px 0;
}
.title_top{
    font-size: 30px;
    text-align: center;
    margin-bottom: 10px;
    font-weight: 700;
}
.title_des{
    font-size: 16px;
    text-align: center;
    max-width: 780px;
    margin: 0 auto;
    width: 100%;
    font-weight: 700;
}

.footer-description {
    text-align: center;
    margin: 30px 0;
}

.footer-description p {
    color: #000000;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    margin: 0 auto;
    margin-bottom: 10px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

.copyright {
    color: #2d333a;
    font-size: 14px;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    border-radius: 6px;
    display: grid;
    place-items: center;
}

.logo-icon svg {
    width: 20px;
    height: 20px;
    fill: white;
}

.brand-text {
    color: #e31b23;
    font-weight: 700;
    font-size: 18px;
}
.card a:hover h2{
    color: #000000 !important;
}

@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1440px;
    }
}
@media (max-width: 768px) {
    .container{
        width: 96%;
    }
    
    .cuisine {
        padding: 10px;
    }

    .p90{
        padding: 10px 0;
    }
    .cuisines{
        gap: 5px;
    }
    .footer-top {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer .menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Sidebar Styles */
.sidebar-section {
    margin-bottom: 30px;
}

.sidebar-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 20px 0;
    text-align: left;
}

.featured-recipes {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.recipe-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(16,24,40,.04);
    transition: all 0.2s ease;
    cursor: pointer;
}

.recipe-item:hover {
    box-shadow: 0 4px 12px rgba(16,24,40,.08);
    transform: translateY(-2px);
}

.recipe-thumb {
    overflow: hidden;
    flex-shrink: 0;
    font-weight: 700;
}

.recipe-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recipe-info {
    flex: 1;
    min-width: 0;
}

.recipe-category {
    font-size: 12px;
    font-weight: 600;
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.recipe-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recipe-rating {
    display: flex;
    align-items: center;
}

.stars {
    color: var(--rating);
    font-size: 12px;
    letter-spacing: 1px;
}
.details_page{
    padding-top: 90px;
}
.pills {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    margin: 12px 0 20px;
}
.pill {
    display: flex
;
    align-items: center;
    gap: 0;
    background: #fff;
    border-radius: 3px;
    padding: 13px;
    border: 2px solid #fff;
    box-shadow: 0px 0px 5px rgba(35, 33, 33, 0.12), 1px -2px 10px 1px rgba(53, 49, 49, 0.27);
}
.loupe {
    width: 16px;
    height: 16px;
    border: 2px solid #c5c0c0;
    border-radius: 50%;
    position: relative;
    display: inline-block;
}
.loupe::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 2px;
    background: #c5c0c0;
    right: -6px;
    bottom: -1px;
    transform: rotate(45deg);
}
.pill-text {
    font-weight: 600;
    font-size: 15px;
    margin: 0 20px;
    font-weight: 700;
    
}
.arrow {
    margin-left: auto;
}
img {
    display: block;
    width: 100%;
    height: auto;
}


/* Mobile Responsive for Sidebar */
@media (max-width: 1200px) {
    .template_box {
        flex-direction: column;
    }
    
    .tb_right {
        width: 100%;
        margin-top: 40px;
    }
    
    .tb_left {
        width: 100%;
    }
    
    .featured-recipes {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 16px;
    }
    
   
}

@media (max-width: 768px) {
    .pack_btn_pc a{
        max-width: 80%;
        margin: 0 auto;
        padding: 13px;
        font-size: 16px;
    }
    .pack_btn_pc{
        margin-top: 0;
    }
    .featured-recipes {
        grid-template-columns: 1fr;
    }
    
    .recipe-item {
        padding: 16px;
    }
    
    .recipe-title {
        font-size: 15px;
    }
}

/* Pagination Styles */
.fy_box {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    padding: 20px 0;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(16,24,40,.04);
    border: 1px solid var(--line);
    box-shadow: none;
    border: none;
}

.pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    background: #fff;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    cursor: pointer;
}

.pagination-btn:hover {
    background: #f8f9fa;
    border-color: var(--line);
    transform: translateY(-1px);
}

.pagination-btn--active {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
    box-shadow: 0 2px 4px rgba(224, 49, 35, 0.2);
}

.pagination-btn--active:hover {
    background: #d62828;
    border-color: #d62828;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(224, 49, 35, 0.3);
}

.pagination-ellipsis {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    color: var(--muted);
    font-weight: 600;
    font-size: 14px;
}
.recipe-content {
    /* border: 1px solid #e0e0e0; */
    padding: 0 5px;
}
.recipe-header {
    display: flex
;
    gap: 10px;
    margin-bottom: 10px;
    align-items: flex-start;
}
.recipe-title-top {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
    margin-top: 0;
}
.recipe-description {
    line-height: 1.7;
    color: #555;
}
.share {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
    padding: 20px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}
.share-btn {
    display: flex
;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    color: white;
    transition: all 0.3s ease;
}
.share-facebook {
    background-color: #1877f2;
}
.share-pinterest {
    background-color: #e60023;
}
.share-twitter {
    background-color: #1da1f2;
}
.share-print {
    background-color: #6c757d;
}
.share-btn i {
    font-size: 16px;
}
.logo_img{
    height: 55px;
}
.details_header,.rsc_header{
    border-bottom: 1px solid #d3d3d3;
}
.details_header .nav_header,.rsc_header .nav_header{
    padding: 0;
}
.search-input-s-rsc .searchbar{
    padding: 0;
}
.search-input-s-rsc .search-submit{
    padding: 5px 20px;
}
.search-input-s-rsc .search-input{
    padding: 2px 0;
}
.search-input-s-rsc{
    width: calc(100% - 200px);
    max-width: 768px;
    margin: 0;
}
.recipe-content table{
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(16, 24, 40, 0.08);
    border: 1px solid var(--line);
}

.recipe-content table th {
    background: linear-gradient(135deg, var(--brand), #d62828);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    padding: 16px 20px;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}

.recipe-content table td {
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
    line-height: 1.5;
    color: var(--text);
    vertical-align: top;
}

.recipe-content table tr:last-child td {
    border-bottom: none;
}

.recipe-content table tr:nth-child(even) {
    background: #fafbfc;
}

/* .recipe-content table tr:hover {
    background: #f8f9fa;
    transform: translateY(-1px);
    transition: all 0.2s ease;
}

.recipe-content table tr:hover td {
    color: var(--brand);
} */
.ads_box{
    margin: 10px auto;
    text-align: center;
    position: relative;
    z-index: 999;
}
.container_deails h2,.container_deails h3{
    font-size: 19px;
}
.auto_info{
    font-size: 13px;
    color: #000000;
    font-weight: 700;
    margin: 5px 0;
}
.container_deails{
    font-size: 16px;
}
.list_card{
    flex-direction:row;
}
.list_card .thumb{
    width: 40%;
}
.list_card .card-body{
    width: 60%;
    padding: 20px 8px;
}
.list_grid{
    grid-template-columns: repeat(2, 1fr);
    margin-top: 5px;
}
.title_des_top{
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
    color: #000;
    font-weight: 100;
}
.bgs_box{
    position: relative;
}
.bgs_box_img{
    height: 200px;
    border-radius: 5px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
.btn_box_a{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    z-index: 99;
}
.bgs_mc{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.quiz-header {
    background: #2c2c2c;
    padding: 30px 20px;
    text-align: center;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    color: #fff;
}
.category_search{
    margin-top: 15px;
}
@media (max-width: 768px) {
    .quiz-header{
        padding: 15px;
    }
    .recipe-content table {
        font-size: 14px;
        margin: 15px 0;
    }
    
    .recipe-content table th,
    .recipe-content table td {
        padding: 12px 15px;
    }
    
    .recipe-content table th {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .recipe-content table {
        border-radius: 8px;
    }
    
    .recipe-content table th,
    .recipe-content table td {
        padding: 10px 12px;
        font-size: 13px;
    }
}

/* Mobile Responsive for Pagination */
@media (max-width: 1200px) {
    .cuisines {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 768px) {
    .hero-inner{
        padding-top: 60px !important;
    }
    .hero_cateogry .hero-inner{
        padding-top: 10px !important;
        padding: 10px;
    }
    .details_page{
        padding-top: 40px;
    }
    .pills{
        grid-template-columns: 1fr;
    }
    .nav_header{
        padding: 3px 0 !important;
        flex-wrap: nowrap;
        gap: 0px;
    }
    .search-input{
        font-size: 13px;
    }
    .header_search{
        padding: 0;
        width:calc(100% - 60px);
        border-radius: 8px;
        gap: 10px;
    }
    .header_search .search-input{
        padding: 7px 0;
    }
    .header_search .search-submit{
        padding: 5px 15px;
    }
    .search-submit svg{
        width: 14px;
        height: 20px;
    }
    .logo_img{
        height: 30px;
        width: auto;
    }
    .icon-btn{
        width: 30px;
        height: 30px;
    }
    .search-submit{
        padding: 6px 15px;
    }
    .search-input{
        padding: 6px 0;
    }
    .recipe-header{
        flex-wrap:wrap;
        flex-direction: column-reverse;
        padding: 0;
      }
    .container_deails{
        max-width: 99% !important;
    }
    .recipe-header{
        flex-wrap:wrap;
        flex-direction: column-reverse;
        padding: 0;
    }
    .hero_cateogry{
        padding-top: 50px;
        min-height: 390px !important;
    }
    .section_search{
        padding-top: 0 !important;
    }
    .title_top{
        margin-bottom: 2px;
    }
    .title_des{
        font-size: 12px;
    }
    .container, .container-sm{
        max-width: 96%;
        padding: 0;
    }
    .tag{
        width: 45%;
    }
    .cuisines {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .cuisine b{
        font-size: 12px;
    }
    .title_top{
        font-size: 22px;
    }
    .hero{
        min-height: 435px;
    }
    .section h2{
        font-size: 20px;
    }
    .section p.lead{
        font-size: 13px;
    }
    .chip{
        font-size: 13px;
        padding: 5px 11px;
    }
    .pagination {
        flex-wrap: wrap;
        gap: 6px;
        padding: 6px;
    }
    
    .pagination-btn {
        min-width: 36px;
        height: 36px;
        padding: 0 8px;
        font-size: 13px;
    }
    
    .pagination-ellipsis {
        min-width: 36px;
        height: 36px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .pagination {
        gap: 4px;
        padding: 4px;
    }
    
    .pagination-btn {
        min-width: 32px;
        height: 32px;
        padding: 0 6px;
        font-size: 12px;
    }
    
    .pagination-ellipsis {
        min-width: 32px;
        height: 32px;
        font-size: 12px;
    }
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #1a73e8;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
  }
  
  .back-to-top.show {
    opacity: 1;
    visibility: visible;
  }
  
  .back-to-top:hover {
    background-color: #1a73e8;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
  }
  
  @media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
  }

.next_prv_blog {
    margin: 40px 0;
    padding: 20px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.navigation-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 12px;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(16, 24, 40, 0.04);
    min-width: 140px;
    justify-content: center;
    background: #1da1f2;
    color: #fff;
    border-color: #1a73e8;
}

.nav-btn:hover {
    background: #1a73e8;
    color: #fff;
    border-color: #1a73e8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(224, 49, 35, 0.2);
}

.nav-btn svg {
    flex-shrink: 0;
}

.prev-btn {
    flex-direction: row;
}

.next-btn {
    flex-direction: row-reverse;
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

@media (max-width: 768px) {
    .navigation-buttons {
        gap: 15px;
    }
    
    .nav-btn {
        min-width: auto;
        padding: 3px 18px;
        font-size: 15px;
        width: max-content;
    }
    
    .next_prv_blog {
        margin: 30px 0;
        padding: 15px 0;
    }
}