/* NextPOS Website Builder - Beautiful Responsive Styles */
/* Modern, mobile-first design for dealer websites */

/* =============================================================================
   CSS Custom Properties (Theme Variables)
   ============================================================================= */

.nextpos-website {
	--np-primary: #6F4E37;
	--np-secondary: #F5F5DC;
	--np-accent: #D4A574;
	--np-hero-overlay: rgba(60,40,20,0.7);
	--np-text: #333333;
	--np-text-light: #666666;
	--np-bg: #ffffff;
	--np-bg-alt: #f8f9fa;
	--np-border: #e9ecef;
	--np-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	--np-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
	--np-radius: 12px;
	--np-radius-sm: 8px;
	--np-transition: all 0.3s ease;
	--np-font-heading: 'Playfair Display', Georgia, serif;
	--np-font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* =============================================================================
   Base Styles
   ============================================================================= */

.nextpos-website {
	font-family: var(--np-font-body);
	color: var(--np-text);
	line-height: 1.6;
	overflow-x: hidden;
}

.nextpos-website h1,
.nextpos-website h2,
.nextpos-website h3,
.nextpos-website h4 {
	font-family: var(--np-font-heading);
	font-weight: 600;
	line-height: 1.3;
	color: var(--np-text);
}

.nextpos-website .container {
	display: block;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	box-sizing: border-box;
}

/* Reset Bootstrap/Frappe inherited styles within our components */
.nextpos-website ul,
.nextpos-website ol {
	list-style: none;
	padding: 0;
	margin: 0;
}

.nextpos-website p {
	margin: 0 0 8px;
}

/* =============================================================================
   Frappe Page Layout Overrides
   - This CSS is only loaded on NextPOS storefront pages via <link> in head_include
   - ALWAYS remove Frappe/Bootstrap container constraints so our CSS controls layout
   - Sections like hero and footer need full viewport width for their backgrounds
   ============================================================================= */

/* Hide Frappe default chrome elements on NextPOS storefront pages only */
.main-section:has(.nextpos-website) .web-header,
.main-section:has(.nextpos-website) .web-footer,
.main-section:has(.nextpos-website) .page-breadcrumbs,
.main-section:has(.nextpos-website) .page-head {
	display: none !important;
}

/* Remove Frappe main section constraints — always expand for our pages */
.main-section:has(.nextpos-website) {
	padding: 0 !important;
	max-width: 100% !important;
}

/* Remove Frappe page body / data-page-container constraints */
.main-section:has(.nextpos-website) [data-page-container],
.main-section:has(.nextpos-website) .container.page-body {
	max-width: 100% !important;
	width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
}

/* Remove Bootstrap .row negative margins and .col padding inside Frappe page body */
.main-section:has(.nextpos-website) .page-body > .row {
	margin: 0 !important;
}

.main-section:has(.nextpos-website) .page-body > .row > div[class*="col"] {
	padding: 0 !important;
	max-width: 100% !important;
	flex: 0 0 100% !important;
}

/* =============================================================================
   Full Width Layout Mode (.np-fullwidth)
   - Content sections use wider containers when enabled
   ============================================================================= */

/* Full-width mode: widen content containers */
.nextpos-website.np-fullwidth .container {
	max-width: 1400px;
	padding: 0 40px;
}

/* =============================================================================
   Hero Section - Full Screen
   ============================================================================= */

.np-hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	color: #fff;
}

.np-hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: var(--np-hero-overlay);
	z-index: 1;
}

.np-hero-content {
	position: relative;
	z-index: 2;
	max-width: 800px;
	padding: 40px 20px;
}

.np-hero h1 {
	font-size: 4rem;
	font-weight: 700;
	margin-bottom: 20px;
	color: #fff;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.np-hero .tagline {
	font-size: 1.5rem;
	margin-bottom: 40px;
	opacity: 0.95;
	font-weight: 300;
}

.np-hero-cta {
	display: flex;
	gap: 16px;
	justify-content: center;
	flex-wrap: wrap;
}

.np-hero-cta .btn {
	padding: 16px 36px;
	font-size: 1rem;
	font-weight: 600;
	border-radius: var(--np-radius);
	transition: var(--np-transition);
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.np-hero-cta .btn-primary {
	background: var(--np-primary);
	color: #fff;
	border: 2px solid var(--np-primary);
}

.np-hero-cta .btn-primary:hover {
	background: transparent;
	color: #fff;
	border-color: #fff;
}

.np-hero-cta .btn-outline {
	background: transparent;
	color: #fff;
	border: 2px solid #fff;
}

.np-hero-cta .btn-outline:hover {
	background: #fff;
	color: var(--np-text);
}

/* Scroll indicator */
.np-hero-scroll {
	position: absolute;
	bottom: 40px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
	animation: bounce 2s infinite;
}

.np-hero-scroll i {
	font-size: 2rem;
	color: #fff;
	opacity: 0.8;
}

@keyframes bounce {
	0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
	40% { transform: translateX(-50%) translateY(-10px); }
	60% { transform: translateX(-50%) translateY(-5px); }
}

/* =============================================================================
   Products/Menu Section
   ============================================================================= */

.np-products {
	padding: 100px 0;
	background: var(--np-bg);
}

.np-products .section-header {
	text-align: center;
	margin-bottom: 60px;
}

.np-products .section-header h2 {
	font-size: 2.5rem;
	margin-bottom: 16px;
}

.np-products .section-header p {
	font-size: 1.1rem;
	color: var(--np-text-light);
	max-width: 600px;
	margin: 0 auto;
}

/* Category Filter */
.np-category-filter {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-bottom: 48px;
	flex-wrap: wrap;
}

.np-category-filter .filter-btn {
	padding: 10px 24px;
	border: 2px solid var(--np-border);
	background: transparent;
	border-radius: 30px;
	font-size: 0.9rem;
	font-weight: 500;
	cursor: pointer;
	transition: var(--np-transition);
}

.np-category-filter .filter-btn:hover,
.np-category-filter .filter-btn.active {
	background: var(--np-primary);
	border-color: var(--np-primary);
	color: #fff;
}

/* Products Grid */
.np-products-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 30px;
}

.np-product-card {
	background: var(--np-bg);
	border-radius: var(--np-radius);
	overflow: hidden;
	box-shadow: var(--np-shadow);
	transition: var(--np-transition);
}

.np-product-card:hover {
	transform: translateY(-8px);
	box-shadow: var(--np-shadow-hover);
}

.np-product-card .product-image {
	position: relative;
	padding-top: 75%;
	overflow: hidden;
}

.np-product-card .product-image img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.np-product-card:hover .product-image img {
	transform: scale(1.05);
}

.np-product-card .product-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	background: var(--np-accent, var(--np-primary));
	color: #fff;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
}

.np-product-card .product-badge.out-of-stock-badge {
	background: #dc3545;
}

/* Out of stock card */
.np-product-card.out-of-stock {
	opacity: 0.7;
}

.np-product-card.out-of-stock .product-image img {
	filter: grayscale(40%);
}

/* Image placeholder when no image */
.np-product-card .product-image-placeholder {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--np-bg-alt);
	color: var(--np-border);
	font-size: 3rem;
}

/* Stock quantity label */
.np-product-card .product-price-stock {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.np-product-card .product-stock-qty {
	font-size: 0.75rem;
	color: var(--np-text-light);
	font-weight: 400;
}

/* Disabled add-to-cart button */
.np-product-card .add-to-cart.disabled {
	background: var(--np-border);
	cursor: not-allowed;
}

.np-product-card .add-to-cart.disabled:hover {
	background: var(--np-border);
	transform: none;
}

.np-product-card .product-info {
	padding: 20px;
}

.np-product-card .product-name {
	font-size: 1.1rem;
	font-weight: 600;
	margin-bottom: 8px;
}

.np-product-card .product-description {
	font-size: 0.9rem;
	color: var(--np-text-light);
	margin-bottom: 16px;
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.np-product-card .product-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.np-product-card .product-price {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--np-primary);
}

.np-product-card .add-to-cart {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: none;
	background: var(--np-primary);
	color: #fff;
	cursor: pointer;
	transition: var(--np-transition);
	display: flex;
	align-items: center;
	justify-content: center;
}

.np-product-card .add-to-cart:hover {
	background: var(--np-text);
	transform: scale(1.1);
}

/* =============================================================================
   About Section
   ============================================================================= */

.np-about {
	padding: 100px 0;
	background: var(--np-bg-alt);
}

.np-about-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
}

.np-about-image {
	position: relative;
	border-radius: var(--np-radius);
	overflow: hidden;
	box-shadow: var(--np-shadow);
}

.np-about-image img {
	width: 100%;
	height: auto;
	display: block;
}

.np-about-image::after {
	content: '';
	position: absolute;
	top: 20px;
	left: 20px;
	right: -20px;
	bottom: -20px;
	border: 3px solid var(--np-primary);
	border-radius: var(--np-radius);
	z-index: -1;
}

.np-about-content h2 {
	font-size: 2.5rem;
	margin-bottom: 24px;
}

.np-about-content p {
	font-size: 1.1rem;
	color: var(--np-text-light);
	margin-bottom: 20px;
	line-height: 1.8;
}

.np-about-features {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-top: 30px;
}

.np-about-feature {
	display: flex;
	align-items: center;
	gap: 12px;
}

.np-about-feature i {
	width: 40px;
	height: 40px;
	background: var(--np-primary);
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1rem;
}

.np-about-feature span {
	font-weight: 500;
}

/* =============================================================================
   Promotion Banner
   ============================================================================= */

.np-promo-banner {
	background: var(--np-accent, var(--np-primary));
	color: #fff;
	text-align: center;
	padding: 14px 20px;
	font-size: 0.95rem;
	font-weight: 600;
	position: relative;
	letter-spacing: 0.02em;
}

.np-promo-banner .container {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
}

.np-promo-text {
	letter-spacing: 0.02em;
}

.np-promo-link {
	color: #fff;
	text-decoration: underline;
	font-weight: 600;
	white-space: nowrap;
	transition: var(--np-transition);
}

.np-promo-link:hover {
	opacity: 0.85;
}

.np-promo-link i {
	margin-left: 4px;
	font-size: 0.8em;
}

/* =============================================================================
   Contact Section
   ============================================================================= */

.np-contact {
	padding: 100px 0;
	background: var(--np-bg-alt);
}

.np-contact .section-header {
	text-align: center;
	margin-bottom: 60px;
}

.np-contact .section-header h2 {
	font-size: 2.5rem;
	margin-bottom: 16px;
}

.np-contact .section-header p {
	font-size: 1.1rem;
	color: var(--np-text-light);
	max-width: 600px;
	margin: 0 auto;
}

.np-contact .np-contact-grid {
	display: grid !important;
	grid-template-columns: 1fr 1fr !important;
	gap: 60px;
	align-items: start;
}

.np-contact .np-contact-info {
	display: flex !important;
	flex-direction: column !important;
	gap: 28px;
}

.np-contact .np-contact-item {
	display: flex !important;
	flex-direction: row !important;
	gap: 20px;
	align-items: flex-start !important;
	text-align: left !important;
	padding: 20px;
	background: var(--np-bg);
	border-radius: var(--np-radius);
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
	transition: var(--np-transition);
}

.np-contact .np-contact-item:hover {
	box-shadow: var(--np-shadow);
	transform: translateY(-2px);
}

/* Hours text — preserve line breaks from plain text input */
.np-hours-text {
	white-space: pre-line;
}

.np-contact .np-contact-item .icon {
	width: 52px;
	min-width: 52px;
	height: 52px;
	background: var(--np-primary);
	color: #fff;
	border-radius: 50%;
	display: flex !important;
	flex-direction: row !important;
	align-items: center;
	justify-content: center;
	font-size: 1.15rem;
	flex-shrink: 0 !important;
}

.np-contact .np-contact-item > div:last-child {
	flex: 1 !important;
	min-width: 0;
	text-align: left !important;
}

.np-contact-item h4 {
	font-size: 0.85rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--np-text-light);
	margin-bottom: 6px;
}

.np-contact-item p {
	color: var(--np-text);
	margin: 0;
	font-size: 1rem;
}

.np-contact-item a {
	color: var(--np-primary);
	text-decoration: none;
	font-weight: 500;
}

.np-contact-item a:hover {
	text-decoration: underline;
}

/* Contact Form */
.np-contact-form {
	background: var(--np-bg);
	padding: 40px;
	border-radius: var(--np-radius);
	box-shadow: var(--np-shadow);
}

.np-contact-form .form-group {
	margin-bottom: 20px;
}

.np-contact-form label {
	display: block;
	font-weight: 600;
	margin-bottom: 8px;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--np-text-light);
}

.np-contact-form input,
.np-contact-form textarea {
	width: 100%;
	padding: 14px 16px;
	border: 2px solid var(--np-border);
	border-radius: var(--np-radius-sm);
	font-size: 1rem;
	font-family: inherit;
	transition: var(--np-transition);
	background: var(--np-bg);
}

.np-contact-form input:focus,
.np-contact-form textarea:focus {
	outline: none;
	border-color: var(--np-primary);
	box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.04);
}

.np-contact-form textarea {
	min-height: 120px;
	resize: vertical;
}

.np-contact-form .btn-submit {
	width: 100%;
	padding: 16px;
	background: var(--np-primary);
	color: #fff;
	border: none;
	border-radius: var(--np-radius-sm);
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: var(--np-transition);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.np-contact-form .btn-submit:hover {
	opacity: 0.9;
	transform: translateY(-1px);
}

/* Map Container */
.np-map {
	margin-top: 30px;
	border-radius: var(--np-radius);
	overflow: hidden;
	height: 400px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.np-map iframe {
	width: 100%;
	height: 100%;
	border: none;
}

/* =============================================================================
   Footer
   ============================================================================= */

.np-footer {
	background: var(--np-text);
	color: #fff;
	padding: 80px 0 30px;
}

/* Force block display on footer container to prevent Frappe/Bootstrap flex override */
footer.np-footer .container,
footer.np-footer > .container,
.np-footer > div.container {
	display: block !important;
	flex-direction: unset !important;
	flex-wrap: unset !important;
}

footer.np-footer .np-footer-grid,
.np-footer .np-footer-grid {
	display: grid !important;
	grid-template-columns: 2fr 1fr 1fr 1fr !important;
	grid-auto-flow: row !important;
	gap: 40px;
	margin-bottom: 50px;
	width: 100% !important;
}

/* Ensure footer grid children don't break the grid */
.np-footer .np-footer-grid > div {
	width: auto !important;
	max-width: none !important;
	float: none !important;
}

.np-footer .np-footer-brand h3 {
	font-family: var(--np-font-heading);
	font-size: 1.5rem;
	color: #fff;
	margin-bottom: 16px;
}

.np-footer .np-footer-brand p {
	color: rgba(255, 255, 255, 0.65);
	line-height: 1.7;
	margin-bottom: 24px;
}

.np-footer .np-footer-social {
	display: flex !important;
	flex-direction: row !important;
	gap: 10px;
}

.np-footer .np-footer-social a {
	width: 40px;
	height: 40px;
	background: rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.7);
	border-radius: 50%;
	display: flex !important;
	flex-direction: row !important;
	align-items: center;
	justify-content: center;
	transition: var(--np-transition);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.np-footer .np-footer-social a:hover {
	background: var(--np-primary);
	color: #fff;
	border-color: var(--np-primary);
}

.np-footer .np-footer-links h4 {
	font-family: var(--np-font-heading);
	color: #fff;
	font-size: 0.85rem;
	margin-bottom: 24px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 600;
}

.np-footer .np-footer-links ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.np-footer .np-footer-links li {
	margin-bottom: 14px;
	color: rgba(255, 255, 255, 0.55);
	font-size: 0.95rem;
}

/* Hours text in footer */
.np-footer .np-footer-hours {
	color: rgba(255, 255, 255, 0.55);
	white-space: pre-line;
	line-height: 1.8;
	margin: 0;
	font-size: 0.95rem;
}

.np-footer .np-footer-links a {
	color: rgba(255, 255, 255, 0.55);
	text-decoration: none;
	transition: var(--np-transition);
}

.np-footer .np-footer-links a:hover {
	color: #fff;
	padding-left: 4px;
}

.np-footer .np-footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding-top: 30px;
	text-align: center;
	color: rgba(255, 255, 255, 0.4);
	font-size: 0.85rem;
}

.np-footer .np-footer-powered {
	margin-top: 8px;
	font-size: 0.8rem;
}

.np-footer .np-footer-powered a {
	color: inherit;
	text-decoration: none;
}

.np-footer .np-footer-powered a:hover {
	color: rgba(255, 255, 255, 0.7);
}

/* =============================================================================
   Shopping Cart
   ============================================================================= */

.np-cart-button {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 60px;
	height: 60px;
	background: var(--np-primary);
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: var(--np-shadow-hover);
	transition: var(--np-transition);
	z-index: 1000;
	border: none;
}

.np-cart-button:hover {
	transform: scale(1.1);
}

.np-cart-button i {
	font-size: 1.5rem;
}

.np-cart-button .cart-count {
	position: absolute;
	top: -5px;
	right: -5px;
	width: 24px;
	height: 24px;
	background: #dc3545;
	color: #fff;
	border-radius: 50%;
	font-size: 0.75rem;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Cart Sidebar */
.np-cart-sidebar {
	position: fixed;
	top: 0;
	right: -400px;
	width: 400px;
	max-width: 100%;
	height: 100vh;
	background: var(--np-bg);
	box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
	z-index: 1001;
	transition: right 0.3s ease;
	display: flex;
	flex-direction: column;
}

.np-cart-sidebar.open {
	right: 0;
}

.np-cart-header {
	padding: 20px;
	border-bottom: 1px solid var(--np-border);
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.np-cart-header h3 {
	margin: 0;
	font-size: 1.25rem;
}

.np-cart-close {
	background: none;
	border: none;
	font-size: 1.5rem;
	cursor: pointer;
	color: var(--np-text-light);
}

.np-cart-items {
	flex: 1;
	overflow-y: auto;
	padding: 20px;
}

.np-cart-item {
	display: flex;
	gap: 15px;
	padding: 15px 0;
	border-bottom: 1px solid var(--np-border);
}

.np-cart-item img {
	width: 60px;
	height: 60px;
	object-fit: cover;
	border-radius: var(--np-radius-sm);
}

.np-cart-item-info {
	flex: 1;
}

.np-cart-item-name {
	font-weight: 600;
	margin-bottom: 4px;
}

.np-cart-item-price {
	color: var(--np-primary);
	font-weight: 600;
}

.np-cart-item-qty {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 8px;
}

.np-cart-item-qty button {
	width: 28px;
	height: 28px;
	border: 1px solid var(--np-border);
	background: none;
	border-radius: 4px;
	cursor: pointer;
}

.np-cart-footer {
	padding: 20px;
	border-top: 1px solid var(--np-border);
}

.np-cart-total {
	display: flex;
	justify-content: space-between;
	font-size: 1.25rem;
	font-weight: 700;
	margin-bottom: 20px;
}

.np-cart-checkout {
	width: 100%;
	padding: 16px;
	background: var(--np-primary);
	color: #fff;
	border: none;
	border-radius: var(--np-radius-sm);
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: var(--np-transition);
}

.np-cart-checkout:hover {
	background: var(--np-text);
}

/* Cart Overlay */
.np-cart-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 1000;
	opacity: 0;
	visibility: hidden;
	transition: var(--np-transition);
}

.np-cart-overlay.open {
	opacity: 1;
	visibility: visible;
}

/* =============================================================================
   Navbar
   ============================================================================= */

/* Fixed site header — holds promo banner + navbar together */
.np-site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
}

.np-navbar {
	position: relative;
	z-index: 100;
	padding: 20px 0;
	transition: var(--np-transition);
}

.np-navbar.scrolled {
	background: var(--np-bg);
	padding: 15px 0;
}

/* Shadow on entire header when scrolled, not just navbar */
.np-site-header:has(.np-navbar.scrolled) {
	box-shadow: var(--np-shadow);
}

/* Fallback for browsers without :has() */
.np-navbar.scrolled {
	box-shadow: var(--np-shadow);
}

.np-navbar .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.np-navbar-brand {
	font-family: var(--np-font-heading);
	font-size: 1.5rem;
	font-weight: 700;
	color: #fff;
	text-decoration: none;
}

.np-navbar.scrolled .np-navbar-brand {
	color: var(--np-text);
}

.np-navbar-links {
	display: flex;
	gap: 30px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.np-navbar-links a {
	color: rgba(255, 255, 255, 0.9);
	text-decoration: none;
	font-weight: 500;
	transition: var(--np-transition);
}

.np-navbar.scrolled .np-navbar-links a {
	color: var(--np-text);
}

.np-navbar-links a:hover {
	color: var(--np-primary);
}

/* Pages without hero: start navbar with solid background + dark text */
.np-navbar.np-no-hero {
	background: var(--np-bg);
	padding: 15px 0;
}

/* Shadow on entire header (below both banner + navbar) for no-hero pages */
.np-site-header:has(.np-navbar.np-no-hero) {
	box-shadow: var(--np-shadow);
}

/* Push first content below fixed header on non-hero pages (shop, checkout).
   Hero pages don't need this — the hero fills 100vh and the header overlays it. */
.np-site-header + section:not(.np-hero),
.np-site-header + .np-checkout {
	padding-top: calc(var(--np-header-height, 80px) + 40px) !important;
}

.np-navbar.np-no-hero .np-navbar-brand {
	color: var(--np-text);
}

.np-navbar.np-no-hero .np-navbar-links a {
	color: var(--np-text);
}

.np-navbar.np-no-hero .np-navbar-toggle {
	color: var(--np-text);
}

/* Mobile menu toggle */
.np-navbar-toggle {
	display: none;
	background: none;
	border: none;
	font-size: 1.5rem;
	color: #fff;
	cursor: pointer;
}

.np-navbar.scrolled .np-navbar-toggle {
	color: var(--np-text);
}

/* =============================================================================
   Responsive Design
   ============================================================================= */

@media (max-width: 992px) {
	.np-hero h1 {
		font-size: 3rem;
	}

	.np-hero .tagline {
		font-size: 1.25rem;
	}

	.np-about-grid,
	.np-contact .np-contact-grid {
		grid-template-columns: 1fr !important;
		gap: 40px;
	}

	.np-about-image::after {
		display: none;
	}

	.np-footer .np-footer-grid {
		grid-template-columns: 1fr 1fr !important;
	}
}

@media (max-width: 768px) {
	.np-hero {
		min-height: 80vh;
		background-attachment: scroll;
	}

	.np-hero h1 {
		font-size: 2.5rem;
	}

	.np-hero .tagline {
		font-size: 1.1rem;
	}

	.np-hero-cta .btn {
		padding: 14px 28px;
		font-size: 0.9rem;
	}

	.np-products,
	.np-about,
	.np-contact {
		padding: 60px 0;
	}

	.np-products .section-header h2,
	.np-about-content h2,
	.np-contact .section-header h2 {
		font-size: 2rem;
	}

	.np-about-features {
		grid-template-columns: 1fr;
	}

	.np-footer .np-footer-grid {
		grid-template-columns: 1fr !important;
		text-align: center;
	}

	.np-footer .np-footer-social {
		justify-content: center;
	}

	.np-navbar-links {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--np-bg);
		flex-direction: column;
		padding: 20px;
		gap: 15px;
		box-shadow: var(--np-shadow);
	}

	.np-navbar-links.open {
		display: flex;
	}

	.np-navbar-links a {
		color: var(--np-text);
	}

	.np-navbar-toggle {
		display: block;
	}

	.np-cart-sidebar {
		width: 100%;
	}
}

@media (max-width: 480px) {
	.np-hero h1 {
		font-size: 2rem;
	}

	.np-hero-cta {
		flex-direction: column;
	}

	.np-hero-cta .btn {
		width: 100%;
	}

	.np-products-grid {
		grid-template-columns: 1fr;
	}

	.np-contact .np-contact-form {
		padding: 25px;
	}

	.np-promo-banner {
		font-size: 0.8rem;
		padding: 10px 16px;
	}

	.np-promo-banner .container {
		flex-direction: column;
		gap: 6px;
	}
}

/* =============================================================================
   Checkout Page
   ============================================================================= */

.np-checkout {
	padding: 120px 0 80px;
	background: var(--np-bg);
	min-height: 80vh;
}

.np-checkout .section-header {
	text-align: center;
	margin-bottom: 48px;
}

.np-checkout .section-header h2 {
	font-size: 2.5rem;
	margin-bottom: 12px;
}

.np-checkout .section-header p {
	color: var(--np-text-light);
	font-size: 1.1rem;
}

.np-checkout-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: start;
}

.np-checkout-form-col h3,
.np-checkout-summary-col h3 {
	font-size: 1.3rem;
	margin-bottom: 20px;
}

/* Order Summary */
.np-order-summary {
	background: var(--np-bg-alt);
	border-radius: var(--np-radius);
	padding: 24px;
}

.np-order-item {
	display: flex;
	gap: 14px;
	align-items: center;
	padding: 14px 0;
	border-bottom: 1px solid var(--np-border);
}

.np-order-item:last-child {
	border-bottom: none;
}

.np-order-item img {
	width: 56px;
	height: 56px;
	object-fit: cover;
	border-radius: var(--np-radius-sm);
	flex-shrink: 0;
}

.np-order-item-details {
	flex: 1;
}

.np-order-item-name {
	font-weight: 600;
	margin-bottom: 2px;
}

.np-order-item-meta {
	font-size: 0.85rem;
	color: var(--np-text-light);
}

.np-order-item-total {
	font-weight: 600;
	color: var(--np-primary);
	white-space: nowrap;
}

.np-order-totals {
	border-top: 2px solid var(--np-border);
	margin-top: 16px;
	padding-top: 16px;
}

.np-order-total-row {
	display: flex;
	justify-content: space-between;
	padding: 6px 0;
	font-size: 0.95rem;
}

.np-order-grand-total {
	font-size: 1.25rem;
	font-weight: 700;
	padding-top: 10px;
	margin-top: 6px;
	border-top: 1px solid var(--np-border);
}

.np-place-order-btn {
	width: 100%;
	padding: 16px;
	margin-top: 24px;
	background: var(--np-primary);
	color: #fff;
	border: none;
	border-radius: var(--np-radius-sm);
	font-size: 1.1rem;
	font-weight: 600;
	cursor: pointer;
	transition: var(--np-transition);
}

.np-place-order-btn:hover {
	background: var(--np-text);
}

.np-place-order-btn:disabled {
	background: var(--np-text-light);
	cursor: not-allowed;
}

.np-checkout-note {
	font-size: 0.8rem;
	color: var(--np-text-light);
	text-align: center;
	margin-top: 12px;
}

/* Order Type Toggle */
.np-order-type-toggle {
	display: flex;
	gap: 12px;
}

.np-order-type-option {
	flex: 1;
	cursor: pointer;
}

.np-order-type-option input[type="radio"] {
	display: none;
}

.np-order-type-label {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 16px;
	border: 2px solid var(--np-border);
	border-radius: var(--np-radius);
	font-weight: 500;
	transition: all 0.2s ease;
	text-align: center;
}

.np-order-type-option input[type="radio"]:checked + .np-order-type-label {
	border-color: var(--np-primary);
	background: var(--np-secondary);
	color: var(--np-primary);
}

/* Order Confirmation */
.np-order-confirmation {
	text-align: center;
	padding: 60px 20px;
	max-width: 600px;
	margin: 0 auto;
}

.np-confirmation-icon {
	margin-bottom: 24px;
}

.np-confirmation-icon i {
	font-size: 5rem;
	color: #28a745;
}

.np-order-confirmation h2 {
	font-size: 2.5rem;
	margin-bottom: 12px;
}

.np-confirmation-message {
	font-size: 1.15rem;
	color: var(--np-text-light);
	margin-bottom: 30px;
}

.np-confirmation-details {
	background: var(--np-bg-alt);
	border-radius: var(--np-radius);
	padding: 24px;
	margin-bottom: 24px;
}

.np-confirmation-details p {
	margin: 8px 0;
	font-size: 1.05rem;
}

.np-confirmation-note {
	color: var(--np-text-light);
	margin-bottom: 30px;
}

.np-confirmation-actions {
	display: flex;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
}

/* Empty Checkout State */
.np-empty-checkout {
	text-align: center;
	padding: 60px 20px;
}

.np-empty-checkout > i {
	font-size: 4rem;
	color: var(--np-text-light);
	margin-bottom: 20px;
	display: block;
}

.np-empty-checkout h3 {
	margin-bottom: 8px;
}

.np-empty-checkout p {
	color: var(--np-text-light);
}

/* Checkout Responsive */
@media (max-width: 768px) {
	.np-checkout {
		padding: 100px 0 60px;
	}

	.np-checkout-grid {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.np-checkout .section-header h2 {
		font-size: 2rem;
	}

	.np-confirmation-actions {
		flex-direction: column;
		align-items: center;
	}

	.np-confirmation-actions a {
		margin-left: 0 !important;
	}
}

/* =============================================================================
   Utility Classes
   ============================================================================= */

.np-text-center { text-align: center; }
.np-text-primary { color: var(--np-primary); }
.np-mt-1 { margin-top: 10px; }
.np-mt-2 { margin-top: 20px; }
.np-mt-3 { margin-top: 30px; }
.np-mb-1 { margin-bottom: 10px; }
.np-mb-2 { margin-bottom: 20px; }
.np-mb-3 { margin-bottom: 30px; }

/* Buttons */
.np-btn {
	display: inline-block;
	padding: 14px 32px;
	text-decoration: none;
	border-radius: var(--np-radius-sm);
	font-weight: 600;
	font-size: 1rem;
	cursor: pointer;
	transition: var(--np-transition);
	text-align: center;
}

.np-btn:hover {
	transform: translateY(-1px);
	opacity: 0.92;
}

.np-btn-primary {
	background: var(--np-primary);
	color: #fff;
	border: none;
}

.np-btn-outline {
	background: transparent;
	border: 2px solid var(--np-primary);
	color: var(--np-primary);
}

.np-btn-outline:hover {
	background: var(--np-primary);
	color: #fff;
}
