/*
Theme Name: Foodiepress Theme
Description: Custom WooCommerce-synchronized theme for Foodiepress plugin.
Author: Shahzain
Version: 1.0.0
Text Domain: foodiepress
*/


:root {
    --fp-red: #e4002b;
    --fp-black: #000000;
    --fp-white: #ffffff;
    --fp-bg-light: #f4f5f7;
    --fp-border: #e2e2e2;
    --fp-font: 'Inter', sans-serif;
}

a, button, .fp-cat-nav-btn, .fp-order-btn, .fp-burger-btn, .fp-sidebar-close, .fp-theme-toggle button {
	-webkit-tap-highlight-color: transparent;
}

body {
    margin: 0;
    font-family: var(--fp-font);
    background-color: #f0f1f5;
    color: var(--fp-black);
    overflow-x: hidden;
}


@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');


.fp-header {
    background: var(--fp-white);
    padding: 0 20px;
    height: 100px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.fp-header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1440px;
    height: 100%;
    margin: 0 auto;
    gap: 24px;
}


.fp-header-left {
    display: flex;
    align-items: center;
    gap: 15px;
    height: 100%;
}

.fp-burger-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: 24px;
}

.fp-burger-btn .bar {
    display: block;
    height: 4px;
    background-color: var(--fp-black);
    border-radius: 2px;
    transition: width 0.2s ease;
}

.fp-burger-btn .bar-full  { width: 24px; }
.fp-burger-btn .bar-short { width: 18px; }

.fp-logo {
    font-size: 32px;
    font-weight: 900;
    font-style: italic;
    color: var(--fp-red);
    text-decoration: none;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
}

.fp-logo img {
    height: 100px;
    width: auto;
    max-width: 220px;
    min-width: 80px;
    display: block;
    object-fit: contain;
    object-position: left center;
}


.fp-header-center {
    display: flex;
    align-items: center;
    margin-left: 12px;
}

.fp-order-types {
    display: flex;
    gap: 6px;
}

.fp-order-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: 4px;
    background-color: #f4f5f7;
    color: var(--fp-black);
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    border: 1.5px solid transparent;
    transition: all 0.2s ease;
}

.fp-order-btn.active {
    border-color: var(--fp-red);
    background-color: var(--fp-white);
}

.fp-order-btn img {
    height: 20px;
    width: 20px;
    object-fit: contain;
}


.fp-header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.fp-cart-icon {
    position: relative;
    cursor: pointer;
    text-decoration: none;
    color: var(--fp-black);
}

.fp-cart-icon i {
    font-size: 32px;
}

.fp-cart-count {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -20%);
    font-size: 12px;
    font-weight: 700;
}

.fp-login-btn {
    background-color: var(--fp-red);
    color: var(--fp-white);
    padding: 12px 9px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    line-height: 1;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-family: var(--fp-font);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    box-shadow: 0 4px 0 #a3001f;
    transition: box-shadow 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.fp-login-btn:hover {
    background-color: var(--fp-red);
    box-shadow: 0 6px 0 #a3001f;
}

.fp-login-btn:active {
    background-color: var(--fp-red);
    box-shadow: 0 1px 0 #a3001f;
    transform: translateY(3px);
}


.fp-mobile-order-types {
    display: none;
}


.fp-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.45);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.fp-sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.fp-sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100vh;
    background: var(--fp-white);
    z-index: 1050;
    transition: left 0.3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 20px rgba(0,0,0,0.12);
}

.admin-bar .fp-sidebar {
    top: 32px;
    height: calc(100vh - 32px);
}

.admin-bar .fp-sidebar-overlay {
    top: 32px;
}

.fp-sidebar.active {
    left: 0;
}

.fp-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 16px 12px 16px;
    border-bottom: 1px solid var(--fp-border);
}


.fp-theme-toggle {
    display: flex;
    background: var(--fp-white);
    border-radius: 20px;
    padding: 3px;
    border: 1px solid var(--fp-border);
}

.fp-theme-toggle button {
    background: transparent;
    border: none;
    border-radius: 16px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 700;
    font-family: var(--fp-font);
    cursor: pointer;
    color: var(--fp-black);
    transition: all 0.2s;
}

.fp-theme-toggle button.active {
    background: var(--fp-red);
    color: var(--fp-white);
}


.fp-sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fp-sidebar-nav li {
    border-bottom: 1px solid var(--fp-border);
}

.fp-sidebar-nav li:last-child {
    border-bottom: none;
}

.fp-sidebar-nav a {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    color: var(--fp-black);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: background 0.15s;
}

.fp-sidebar-nav a:hover {
    background: #fafafa;
}

.fp-sidebar-nav a i {
    color: var(--fp-red);
    font-size: 20px;
    margin-right: 14px;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.fp-sidebar-nav .fp-nav-icon {
    width: 34px;
    height: 34px;
    background-color: var(--fp-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
    flex-shrink: 0;
}

.fp-sidebar-nav .fp-nav-icon i {
    color: var(--fp-white);
    font-size: 16px;
    margin: 0;
    width: auto;
}

.fp-sidebar-divider {
    height: 1px;
    background: var(--fp-border);
    margin: 4px 0;
}

.fp-sidebar-nav-bottom {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fp-sidebar-nav-bottom li {
    border-bottom: none;
}

.fp-sidebar-nav-bottom a {
    display: block;
    padding: 13px 18px;
    color: var(--fp-black);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: background 0.15s;
}

.fp-sidebar-nav-bottom a:hover {
    background: #fafafa;
    color: var(--fp-red);
}

.fp-sidebar-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 22px;
    color: var(--fp-black);
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    transition: background 0.15s;
}

.fp-sidebar-close:hover {
    background: var(--fp-border);
}


@media (max-width: 991px) {
    .fp-header {
        padding: 0 15px;
    }

    .fp-header-center {
        display: none;
    }

    .fp-cart-icon {
        display: none;
    }

    .fp-mobile-order-types {
        display: flex;
        justify-content: space-between;
        gap: 10px;
        padding: 10px 15px;
        background: var(--fp-white);
        border-bottom: 1px solid var(--fp-border);
    }

    .fp-mobile-order-types .fp-order-btn {
        flex: 1;
        justify-content: center;
        padding: 8px 5px;
        font-size: 12px;
    }

    
    .fp-header-left {
        display: contents;
    }

    
    .fp-header-right {
        display: none;
    }

    .fp-logo {
        font-size: 28px;
    }
}


.fp-footer {
    background: #fff;
    border-top: 1px solid var(--fp-border);
    padding: 40px 20px 0;
    font-family: var(--fp-font);
}

.fp-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.fp-footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
}

.fp-footer-logo {
    text-decoration: none;
}

.fp-footer-logo-img {
    height: 80px;
    width: auto;
    max-width: 280px;
    display: block;
    object-fit: contain;
}

.fp-footer-logo-text {
    font-size: 28px;
    font-weight: 900;
    font-style: italic;
    color: var(--fp-red);
    letter-spacing: -1px;
}

.fp-footer-socials {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fp-social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--fp-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fp-black);
    font-size: 18px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.fp-social-icon:hover {
    background: var(--fp-red);
    color: #fff;
    border-color: var(--fp-red);
}

.fp-social-yt {
    background: #ff0000;
    color: #fff;
    border-color: #ff0000;
}
.fp-social-yt:hover {
    background: #cc0000;
    border-color: #cc0000;
    color: #fff;
}

.fp-footer-middle {
    display: flex;
    gap: 40px;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.fp-footer-col {
    min-width: 160px;
}

.fp-footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fp-footer-col ul li {
    margin-bottom: 12px;
}

.fp-footer-col ul li a {
    color: var(--fp-black);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.15s;
}

.fp-footer-col ul li a:hover {
    color: var(--fp-red);
}

.fp-footer-apps {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-left: auto;
}

.fp-app-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #111;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    padding: 9px 16px;
    min-width: 155px;
    transition: background 0.2s;
}

.fp-app-badge:hover {
    background: #333;
    color: #fff;
}

.fp-app-badge i {
    font-size: 26px;
    flex-shrink: 0;
}

.fp-app-badge span {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    font-size: 15px;
    font-weight: 700;
    font-family: var(--fp-font);
}

.fp-app-badge span small {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.fp-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--fp-border);
    padding: 18px 0 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.fp-footer-copy {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--fp-black);
}

.fp-footer-powered {
    margin: 0;
    text-align: right;
    font-size: 12px;
    color: var(--fp-black);
    line-height: 1.4;
}

.fp-footer-powered strong {
    color: var(--fp-red);
    font-size: 13px;
}

.fp-footer-powered a,
.fp-footer-powered span {
    color: var(--fp-black);
    font-size: 13px;
}

.fp-footer-powered a {
    text-decoration: underline;
    transition: color 0.15s;
}

.fp-footer-powered a:hover {
    color: var(--fp-red);
}

@media (max-width: 768px) {
    .fp-footer-middle {
        flex-direction: column;
        gap: 24px;
    }

    .fp-footer-apps {
        margin-left: 0;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .fp-footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .fp-footer-powered {
        text-align: center;
    }
}


.admin-bar .fp-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .fp-header {
        top: 46px;
    }
}

@media screen and (max-width: 782px) {
    .admin-bar .fp-sidebar {
        top: 46px;
        height: calc(100vh - 46px);
    }
    .admin-bar .fp-sidebar-overlay {
        top: 46px;
    }
}


.fp-scroll-sidebar {
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    width: 12px; 
    z-index: 9999;
    cursor: pointer;
    
}

.fp-scroll-track {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px; 
    background: #d0d0d0;
    border-radius: 3px;
}

.fp-scroll-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: var(--fp-red);
    border-radius: 3px;
    transition: height 0.08s linear;
    will-change: height;
}

.admin-bar .fp-scroll-sidebar {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .fp-scroll-sidebar {
        top: 46px;
    }
}


html {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar {
    display: none;
}


#fp-cat-nav {
    display: none; 
    position: sticky;
    top: 100px;
    z-index: 999;
    background: #f0f1f5;
    border-bottom: none;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#fp-cat-nav-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 15px 20px 8px;
    box-sizing: border-box;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#fp-cat-nav-inner::-webkit-scrollbar {
    display: none;
}

.fp-cat-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
    background: var(--fp-white);
    border: 0;
    border-radius: 6px;
    padding: 10px 15px;
    color: var(--fp-black);
    font-family: var(--fp-font);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.fp-cat-nav-btn:hover {
    background: #e8e9ec;
}

.fp-cat-nav-btn.active {
    background-color: var(--fp-red) !important;
    color: #fff !important;
}


.admin-bar #fp-cat-nav {
    top: 132px; 
}

@media screen and (max-width: 782px) {
    .admin-bar #fp-cat-nav {
        top: 146px; 
    }
}

@media (max-width: 991px) {
    #fp-cat-nav-inner {
        padding: 8px 15px;
        gap: 6px;
        justify-content: flex-start; 
    }

    .fp-cat-nav-btn {
		padding: 7px 14px;
		font-size: 12px;
}
}




html {
	overflow-x: hidden;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

html::-webkit-scrollbar {
	display: none;
}


body {
	overflow-x: unset;
}


body > * {
	max-width: 100vw;
	overflow-x: hidden;
}


.fp-header,
.fp-header-container {
	max-width: 100%;
	overflow: hidden;
}


.fp-mobile-order-types {
	max-width: 100%;
	overflow-x: auto;
	box-sizing: border-box;
}


.fp-footer,
.fp-footer-inner,
.fp-footer-middle {
	max-width: 100%;
	overflow-x: hidden;
	box-sizing: border-box;
}


.fp-sidebar {
	max-width: 85vw;
}


#fp-cat-nav {
	max-width: 100%;
	overflow-x: hidden;
}

#fp-cat-nav-inner {
	overflow-x: auto;
	max-width: 100%;
}


*, *::before, *::after {
	box-sizing: border-box;
}


img, iframe, video, embed {
	max-width: 100%;
	height: auto;
}


#fp-cat-nav-inner {
	scrollbar-width: none;
	-ms-overflow-style: none;
}
#fp-cat-nav-inner::-webkit-scrollbar {
	display: none;
}

.fp-cat-scroll-track {
	display: none; 
	height: 4px;
	background: #e2e2e2;
	border-radius: 3px;
	margin: 0 20px 8px;
	position: relative;
	cursor: pointer;
}


.fp-cat-scroll-track::before {
	content: '';
	position: absolute;
	top: -8px;
	bottom: -8px;
	left: 0;
	right: 0;
}

.fp-cat-scroll-thumb {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	background: #000000;
	border-radius: 3px;
}

@media (max-width: 991px) {
	.fp-cat-scroll-track {
		margin: 0 15px 8px;
	}
}


.fp-header-container {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	width: 100%;
	height: 100%;
	margin: 0;
	gap: 24px;
	padding: 0 20px;
	box-sizing: border-box;
}

.fp-header-right {
	margin-left: auto;
}

#fp-cat-nav-inner {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex-wrap: nowrap;
	gap: 10px;
	width: 100%;
	margin: 0;
	padding: 15px 20px 8px;
	box-sizing: border-box;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

#fp-cat-nav-inner::-webkit-scrollbar {
	display: none;
}

@media (max-width: 991px) {
	.fp-header-container,
	#fp-cat-nav-inner {
		padding-left: 15px;
		padding-right: 15px;
	}
}



.fp-footer-middle {
	display: flex;
	gap: 40px;
	justify-content: center;   
	align-items: flex-start;
	margin-bottom: 32px;
	flex-wrap: wrap;
}

.fp-footer-apps {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-left: 0;            
}

.fp-footer-bottom {
	display: flex;
	align-items: center;
	justify-content: center;   
	gap: 24px;
	border-top: 1px solid var(--fp-border);
	padding: 18px 0 20px;
	flex-wrap: wrap;
}

.fp-footer-powered {
	text-align: left;          
}

@media (max-width: 768px) {
	.fp-footer-middle {
		flex-direction: row;       
		flex-wrap: wrap;
		justify-content: center;
		align-items: flex-start;
		gap: 24px 32px;             
	}

	.fp-footer-col {
		text-align: center;
		min-width: 0;
		flex: 0 1 auto;
	}

	.fp-footer-col ul li {
		margin-bottom: 6px;
	}

	.fp-footer-apps {
		margin-left: 0;
		flex-direction: row;        
		flex-wrap: wrap;
		justify-content: center;
		gap: 10px;
	}

	.fp-footer-bottom {
		flex-direction: column;
		text-align: center;
		gap: 6px;
		padding: 14px 16px 16px;
	}

	.fp-footer-copy {
		word-break: break-word;
		max-width: 100%;
	}

	.fp-footer-powered {
		text-align: center;
	}
}


.fp-sidebar-login {
	padding: 16px 16px 0;
}

.fp-sidebar-login .fp-login-btn {
	display: inline-flex;
}


.fp-sidebar-nav-bottom a:hover {
	background: #9d9d9d;
	color: var(--fp-black);
}



.fp-sidebar-header {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	padding: 16px 16px 12px 16px;
	border-bottom: none;
}


.fp-sidebar-login {
	padding: 16px 16px 0;
	order: -1; 
}

.fp-sidebar-login .fp-login-btn {
	display: inline-flex;
	padding: 10px 24px;
	border-radius: 4px;
}


.fp-sidebar-divider-top {
	height: 1px;
	background: var(--fp-border);
	margin: 12px 0 4px;
}


.fp-sidebar-nav {
	list-style: none;
	padding: 0;
	margin: 0;
}

.fp-sidebar-nav li {
	border-bottom: 1px solid var(--fp-border);
}

.fp-sidebar-nav li:last-child {
	border-bottom: none;
}

.fp-sidebar-nav a {
	display: flex;
	align-items: center;
	padding: 16px 18px;
	color: var(--fp-black);
	text-decoration: none;
	font-size: 16px;
	font-weight: 500;
	transition: background 0.15s;
}

.fp-sidebar-nav a:hover {
	background: #fafafa;
}


.fp-sidebar-divider {
	height: 1px;
	background: var(--fp-border);
	margin: 8px 0;
}


.fp-sidebar-nav-bottom {
	list-style: none;
	padding: 0;
	margin: 0;
}

.fp-sidebar-nav-bottom li {
	border-bottom: none;
}

.fp-sidebar-nav-bottom a {
	display: block;
	padding: 16px 18px;
	color: var(--fp-black);
	text-decoration: none;
	font-size: 16px;
	font-weight: 400;
	transition: background 0.15s;
}

.fp-sidebar-nav-bottom a:hover {
	background: #9d9d9d;
	color: var(--fp-black);
}


.fp-sidebar-nav {
    list-style: none;
    padding: 0 10px; 
    margin: 0;
}

.fp-sidebar-nav li {
    border-bottom: 1px solid var(--fp-border);
}

.fp-sidebar-nav li:last-child {
    border-bottom: none;
}

.fp-sidebar-nav a {
    display: flex;
    align-items: center;
    padding: 16px 12px;
    color: var(--fp-black);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px; 
    transition: background 0.15s, transform 0.18s ease; 
    transform: translateX(0);
}

.fp-sidebar-nav a:hover {
    background: #fafafa;
    transform: translateX(5px); 
}


.fp-sidebar-nav-bottom {
    list-style: none;
    padding: 0 10px; 
    margin: 0;
}

.fp-sidebar-nav-bottom li {
    border-bottom: none;
}

.fp-sidebar-nav-bottom a {
    display: block;
    padding: 16px 12px;
    color: var(--fp-black);
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    border-radius: 8px; 
    transition: background 0.15s, transform 0.18s ease; 
    transform: translateX(0);
}

.fp-sidebar-nav-bottom a:hover {
    background: #e8e9ec; 
    color: var(--fp-black);
    transform: translateX(5px); 
}

.fp-sidebar-divider {
    height: 1px;
    background: var(--fp-border);
    margin: 8px 10px; 
}

.fp-sidebar-login {
    padding: 20px 16px 16px;  
    order: -1;
}

.fp-sidebar-login .fp-login-btn {
    display: inline-flex;
    padding: 10px 24px;
    border-radius: 4px;
}

.fp-sidebar-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 20px 16px 20px 16px;  
    border-bottom: none;
}

.fp-sidebar-login {
    padding: 20px 16px 16px;
    border-bottom: 1px solid var(--fp-border);  
}

.fp-sidebar-login {
    padding: 20px 16px 16px;
    order: -1;
    border-bottom: 1px solid var(--fp-border);
}

.fp-sidebar-login .fp-login-btn {
    display: inline-flex;
    padding: 10px 24px;
    border-radius: 4px;
}

.fp-sidebar-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 20px 16px 20px 16px;
    border-bottom: 1px solid var(--fp-border);  
}

.fp-login-btn {
    background-color: var(--fp-red);
    color: var(--fp-white);
    padding: 13px 20px;          
    box-shadow: 0 5px 0 0 #6b0014;  
    border-radius: 4px;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-family: var(--fp-font);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    
    transform: translateY(0px);
    transition: box-shadow 0.1s ease, transform 0.1s ease;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.fp-login-btn:hover {
    background-color: var(--fp-red);
    box-shadow: 0 7px 0 0 #6b0014;
transform: translateY(-2px);     
    transform: translateY(-1px);
    color: var(--fp-white);
    text-decoration: none;
}

.fp-login-btn:active {
    background-color: #c8001f;
    box-shadow: 0 1px 0 0 #8a0019;
    transform: translateY(4px);  
    color: var(--fp-white);
}

.fp-login-btn {
    background-color: #ea002a;
    color: var(--fp-white);
    padding: 6px 10px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.75;
    letter-spacing: 0px;
    text-transform: uppercase;
    font-family: var(--fp-font);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    
    box-shadow: rgba(0,0,0,0.2) 0px 3px 1px -2px,
                rgba(0,0,0,0.14) 0px 2px 2px 0px,
                rgba(0,0,0,0.12) 0px 1px 5px 0px;
    transition: box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1),
                background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.fp-login-btn:hover {
    background-color: #c8001f;
    color: var(--fp-white);
    text-decoration: none;
    
    box-shadow: rgba(0,0,0,0.2) 0px 2px 4px -1px,
                rgba(0,0,0,0.14) 0px 4px 5px 0px,
                rgba(0,0,0,0.12) 0px 1px 10px 0px;
}

.fp-login-btn:active {
    background-color: #a8001a;
    color: var(--fp-white);
    
    box-shadow: rgba(0,0,0,0.2) 0px 5px 5px -3px,
                rgba(0,0,0,0.14) 0px 8px 10px 1px,
                rgba(0,0,0,0.12) 0px 3px 14px 2px;
}

.fp-login-btn:hover {
    background-color: rgb(198, 40, 40);
    color: var(--fp-white);
    text-decoration: none;
    box-shadow: rgba(0,0,0,0.2) 0px 2px 4px -1px,
                rgba(0,0,0,0.14) 0px 4px 5px 0px,
                rgba(0,0,0,0.12) 0px 1px 10px 0px;
}

/* ============================================
   404 — Order Ticket
   ============================================ */

.fp-404-main {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    padding: 60px 20px;
    box-sizing: border-box;
    width: 100%;
    overflow-x: hidden;
}

.fp-404-wrap {
    width: 100%;
    max-width: 380px;
    display: flex;
    justify-content: center;
}

.fp-ticket {
    position: relative;
    width: 100%;
    background: var(--fp-white);
    border-radius: 6px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.14);
    padding: 34px 30px 30px;
    box-sizing: border-box;
    transform: rotate(-1.2deg);
    font-family: var(--fp-font);
}

.fp-ticket-notch {
    position: absolute;
    left: 0;
    right: 0;
    height: 14px;
    background:
        radial-gradient(circle at 10px 0, transparent 8px, var(--fp-bg-light) 8.5px) repeat-x;
    background-size: 20px 16px;
}

.fp-ticket-notch-top {
    top: -1px;
    transform: rotate(180deg);
}

.fp-ticket-notch-bottom {
    bottom: -1px;
}

.fp-ticket-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    border-bottom: 2px dashed var(--fp-border);
    padding-bottom: 14px;
    margin-bottom: 18px;
}

.fp-ticket-label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: var(--fp-black);
}

.fp-ticket-num {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #9a9a9a;
}

.fp-ticket-stamp {
    position: absolute;
    top: 54px;
    right: 22px;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--fp-red);
    border: 3px solid var(--fp-red);
    border-radius: 8px;
    padding: 2px 10px 4px;
    transform: rotate(9deg);
    opacity: 0.9;
    text-transform: uppercase;
    pointer-events: none;
}

.fp-ticket-body {
    padding-right: 90px;
}

.fp-ticket-line {
    margin: 0 0 4px;
    font-size: 17px;
    font-weight: 700;
    color: var(--fp-black);
    line-height: 1.3;
}

.fp-ticket-sub {
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    color: #8a8a8a;
    font-style: italic;
}

.fp-ticket-divider {
    height: 1px;
    background: var(--fp-border);
    margin: 20px 0;
}

.fp-ticket-divider-dashed {
    height: 0;
    border-top: 2px dashed var(--fp-border);
    background: none;
    margin: 22px 0 20px;
}

.fp-ticket-note {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.6;
    color: #555;
}

.fp-ticket-actions {
    display: flex;
    justify-content: center;
}

.fp-order-cta {
    display: inline-block;
    width: 100%;
    text-align: center;
    background: var(--fp-red);
    color: var(--fp-white);
    font-family: var(--fp-font);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    padding: 13px 20px;
    border-radius: 4px;
    box-shadow: 0 4px 0 #a3001f;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    box-sizing: border-box;
}

.fp-order-cta:hover {
    box-shadow: 0 6px 0 #a3001f;
    transform: translateY(-2px);
}

.fp-order-cta:active {
    box-shadow: 0 1px 0 #a3001f;
    transform: translateY(3px);
}

@media (max-width: 480px) {
    .fp-ticket {
        transform: rotate(0deg);
        padding: 28px 22px 24px;
    }

    .fp-ticket-stamp {
        top: auto;
        right: 20px;
        bottom: 108px;
        font-size: 26px;
    }

    .fp-ticket-body {
        padding-right: 0;
    }
}


/* ============================================
   Generic content templates
   page / single / archive / search
   ============================================ */

.fp-page-main {
    max-width: 760px;
    margin: 0 auto;
    padding: 50px 20px 80px;
    box-sizing: border-box;
    width: 100%;
    overflow-x: hidden;
}

.fp-page-header {
    margin-bottom: 28px;
}

.fp-page-title {
    font-size: 30px;
    font-weight: 800;
    color: var(--fp-black);
    margin: 0 0 8px;
    line-height: 1.25;
}

.fp-page-meta {
    font-size: 13px;
    color: #8a8a8a;
    margin: 0;
}

.fp-page-thumb {
    margin-bottom: 24px;
    border-radius: 8px;
    overflow: hidden;
}

.fp-page-thumb img {
    width: 100%;
    height: auto;
    display: block;
}

.fp-page-content {
    font-size: 16px;
    line-height: 1.75;
    color: #2a2a2a;
}

.fp-page-content p {
    margin: 0 0 18px;
}

.fp-page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

.fp-page-tags {
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid var(--fp-border);
    font-size: 13px;
    color: #8a8a8a;
}

.fp-page-tags a {
    color: var(--fp-red);
    text-decoration: none;
    font-weight: 600;
}

.fp-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.fp-archive-card {
    display: block;
    background: var(--fp-white);
    border: 1px solid var(--fp-border);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.fp-archive-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.fp-archive-card-thumb img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

.fp-archive-card-body {
    padding: 16px;
}

.fp-archive-card-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--fp-black);
}

.fp-archive-card-excerpt {
    font-size: 13.5px;
    line-height: 1.55;
    color: #757575;
    margin: 0;
}

.fp-archive-pagination {
    margin-top: 32px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.fp-archive-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 4px;
    background: var(--fp-white);
    border: 1px solid var(--fp-border);
    color: var(--fp-black);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
}

.fp-archive-pagination .page-numbers.current {
    background: var(--fp-red);
    border-color: var(--fp-red);
    color: var(--fp-white);
}
