/**
 * CREDO-OPT - Modern Styles with Triangle Design
 */

/* ===================== */
/* Variables & Reset     */
/* ===================== */
:root {
	--green: #5ec82a;
	--green-dark: #3d8c1a;
	--green-light: #a8e063;
	--primary: #1a3a6e;
	--primary-dark: #0f2347;
	--primary-light: #2a5298;
	--accent: #5ec82a;
	--bg: #ffffff;
	--surface: #f8fafc;
	--text: #1e293b;
	--text-muted: #64748b;
	--border: #e2e8f0;
	--error: #dc2626;
	--success: #5ec82a;
	--warning: #f59e0b;

	--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
	--shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
	--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);

	--radius: 8px;
	--radius-lg: 12px;

	--font: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	font-size: 14px;
	scroll-behavior: smooth;
}

body {
	font-family: var(--font);
	color: var(--text);
	background: var(--bg);
	line-height: 1.6;
}

a {
	color: var(--primary);
	text-decoration: none;
	transition: color 0.2s;
}

a:hover {
	color: var(--primary-dark);
}

img {
	max-width: 100%;
	height: auto;
}

/* ===================== */
/* Layout                */
/* ===================== */
.container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 20px;
}

.section {
	padding: 60px 0;
}

.section--gray {
	background: var(--surface);
}

.section__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 30px;
}

.section__title {
	font-size: 1.75rem;
	font-weight: 700;
	margin-bottom: 30px;
}

.section__link {
	color: var(--primary);
	font-weight: 500;
}

/* ===================== */
/* Header                */
/* ===================== */
.header {
	background: var(--bg);
	border-bottom: 1px solid var(--border);
	position: sticky;
	top: 0;
	z-index: 100;
}

.header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 70px;
	gap: 20px;
}

.logo {
	font-size: 1.5rem;
	font-weight: 800;
	color: var(--text);
}

.logo__text {
	color: var(--text);
}

.logo__accent {
	color: var(--primary);
}

.nav {
	display: flex;
	gap: 30px;
}

.nav__link {
	color: var(--text);
	font-weight: 500;
	padding: 5px 0;
	position: relative;
}

.nav__link:hover {
	color: var(--primary);
}

.header__actions {
	display: flex;
	align-items: center;
	gap: 20px;
}

.phone {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--text);
	font-weight: 600;
}

.cart-btn {
	position: relative;
	font-size: 1.5rem;
}

.cart-btn__count {
	position: absolute;
	top: -8px;
	right: -8px;
	background: var(--primary);
	color: white;
	font-size: 0.7rem;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.user-btn {
	font-size: 1.5rem;
}

.menu-toggle {
	display: none;
	background: none;
	border: none;
	font-size: 1.5rem;
	cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
	display: none;
	position: fixed;
	top: 70px;
	left: 0;
	right: 0;
	background: var(--bg);
	border-bottom: 1px solid var(--border);
	padding: 20px;
	z-index: 99;
}

.mobile-menu.active {
	display: block;
}

.mobile-menu__nav {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.mobile-menu__nav a {
	font-size: 1.1rem;
	font-weight: 500;
	color: var(--text);
}

/* ===================== */
/* Hero                  */
/* ===================== */
.hero {
	background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
	padding: 80px 0;
	text-align: center;
}

.hero__title {
	font-size: 2.5rem;
	font-weight: 800;
	margin-bottom: 20px;
	color: var(--text);
}

.hero__subtitle {
	font-size: 1.2rem;
	color: var(--text-muted);
	margin-bottom: 30px;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

.hero__actions {
	display: flex;
	gap: 15px;
	justify-content: center;
}

/* ===================== */
/* Buttons               */
/* ===================== */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 24px;
	font-size: 1rem;
	font-weight: 600;
	font-family: var(--font);
	border-radius: var(--radius);
	border: 2px solid transparent;
	cursor: pointer;
	transition: all 0.2s;
}

.btn--primary {
	background: var(--primary);
	color: white;
	border-color: var(--primary);
}

.btn--primary:hover {
	background: var(--primary-dark);
	border-color: var(--primary-dark);
	color: white;
}

.btn--outline {
	background: transparent;
	color: var(--primary);
	border-color: var(--primary);
}

.btn--outline:hover {
	background: var(--primary);
	color: white;
}

.btn--small {
	padding: 8px 16px;
	font-size: 0.9rem;
}

.btn--large {
	padding: 16px 32px;
	font-size: 1.1rem;
}

.btn--disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

/* ===================== */
/* Categories            */
/* ===================== */
.categories-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 20px;
}

.category-card {
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 20px;
	text-align: center;
	transition: all 0.2s;
}

.category-card:hover {
	border-color: var(--primary);
	box-shadow: var(--shadow);
	transform: translateY(-2px);
}

.category-card__image {
	width: 100%;
	height: 120px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 15px;
	border-radius: var(--radius);
	overflow: hidden;
}

.category-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.category-card__placeholder {
	width: 100%;
	height: 100%;
	background: var(--surface);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 3rem;
}

.category-card__title {
	font-size: 1rem;
	font-weight: 600;
	color: var(--text);
}

/* ===================== */
/* Products              */
/* ===================== */
.products-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 24px;
}

.product-card {
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: all 0.2s;
}

.product-card:hover {
	border-color: var(--primary);
	box-shadow: var(--shadow-lg);
}

.product-card__image {
	display: block;
	width: 100%;
	height: 200px;
	background: var(--surface);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.product-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s;
}

.product-card:hover .product-card__image img {
	transform: scale(1.05);
}

.product-card__placeholder {
	font-size: 4rem;
	opacity: 0.3;
}

.product-card__content {
	padding: 16px;
}

.product-card__title {
	display: block;
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--text);
	margin-bottom: 8px;
	line-height: 1.4;
	height: 2.8em;
	overflow: hidden;
}

.product-card__price {
	margin-bottom: 8px;
}

.product-card__price .price {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--text);
}

.product-card__price .price-unit {
	font-size: 0.85rem;
	color: var(--text-muted);
}

.product-card__stock {
	font-size: 0.85rem;
	margin-bottom: 12px;
}

.product-card__stock.in-stock {
	color: var(--success);
}

.product-card__stock.out-of-stock {
	color: var(--error);
}

/* ===================== */
/* Benefits              */
/* ===================== */
.benefits-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 30px;
}

.benefit-card {
	text-align: center;
	padding: 30px;
}

.benefit-card__icon {
	font-size: 3rem;
	margin-bottom: 15px;
}

.benefit-card h3 {
	font-size: 1.1rem;
	font-weight: 700;
	margin-bottom: 10px;
}

.benefit-card p {
	color: var(--text-muted);
	font-size: 0.95rem;
}

/* ===================== */
/* Discount Banner        */
/* ===================== */
.discount-banner {
	background: linear-gradient(
		135deg,
		var(--primary) 0%,
		var(--primary-dark) 100%
	);
	border-radius: var(--radius-lg);
	padding: 40px;
	color: white;
}

.discount-banner h2 {
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 25px;
	text-align: center;
}

.discount-tiers {
	display: flex;
	justify-content: center;
	gap: 40px;
	flex-wrap: wrap;
}

.discount-tier {
	text-align: center;
}

.discount-tier__amount {
	display: block;
	font-size: 2rem;
	font-weight: 800;
}

.discount-tier__condition {
	font-size: 0.95rem;
	opacity: 0.9;
}

.discount-tier--free .discount-tier__amount {
	color: #34d399;
}

/* ===================== */
/* Footer                */
/* ===================== */
.footer {
	background: var(--text);
	color: white;
	padding: 60px 0 30px;
}

.footer__grid {
	display: grid;
	grid-template-columns: 2fr repeat(3, 1fr);
	gap: 40px;
	margin-bottom: 40px;
}

.footer__logo {
	font-size: 1.5rem;
	font-weight: 800;
	color: white;
	display: block;
	margin-bottom: 15px;
}

.footer__logo span {
	color: var(--primary);
}

.footer__col p {
	color: rgba(255, 255, 255, 0.7);
	margin-bottom: 10px;
}

.footer__col h4 {
	font-size: 1rem;
	font-weight: 600;
	margin-bottom: 20px;
}

.footer__col ul {
	list-style: none;
}

.footer__col ul li {
	margin-bottom: 10px;
}

.footer__col a {
	color: rgba(255, 255, 255, 0.7);
}

.footer__col a:hover {
	color: white;
}

.footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 30px;
	display: flex;
	justify-content: space-between;
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.5);
}

.footer__bottom a {
	color: rgba(255, 255, 255, 0.5);
}

.footer__bottom a:hover {
	color: white;
}

/* ===================== */
/* Cart Page             */
/* ===================== */
.cart-page {
	padding: 40px 0;
}

.cart-page h1 {
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: 30px;
}

.cart-empty {
	text-align: center;
	padding: 60px;
}

.cart-empty h2 {
	font-size: 1.5rem;
	margin-bottom: 15px;
}

.cart-empty p {
	color: var(--text-muted);
	margin-bottom: 25px;
}

.cart-table {
	width: 100%;
	border-collapse: collapse;
	background: var(--bg);
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow);
}

.cart-table th,
.cart-table td {
	padding: 16px;
	text-align: left;
	border-bottom: 1px solid var(--border);
}

.cart-table th {
	background: var(--surface);
	font-weight: 600;
}

.cart-summary {
	margin-top: 30px;
	background: var(--surface);
	padding: 24px;
	border-radius: var(--radius-lg);
}

.cart-summary__row {
	display: flex;
	justify-content: space-between;
	margin-bottom: 10px;
}

.cart-summary__row.total {
	font-size: 1.25rem;
	font-weight: 700;
	border-top: 1px solid var(--border);
	padding-top: 15px;
	margin-top: 15px;
}

/* ===================== */
/* Forms                 */
/* ===================== */
.form-group {
	margin-bottom: 20px;
}

.form-group label {
	display: block;
	font-weight: 500;
	margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	font-family: var(--font);
	font-size: 1rem;
	transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
	outline: none;
	border-color: var(--primary);
}

.form-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
}

/* ===================== */
/* Checkout              */
/* ===================== */
.checkout-page {
	padding: 40px 0;
}

.checkout-grid {
	display: grid;
	grid-template-columns: 1fr 400px;
	gap: 40px;
}

.checkout-form {
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 24px;
}

.checkout-sidebar {
	position: sticky;
	top: 90px;
}

.checkout-total {
	background: var(--surface);
	border-radius: var(--radius-lg);
	padding: 24px;
}

.checkout-total h3 {
	font-size: 1.25rem;
	font-weight: 700;
	margin-bottom: 20px;
}

/* ===================== */
/* Product Page          */
/* ===================== */
.product-page {
	padding: 40px 0;
}

.product-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	margin-bottom: 60px;
}

.product-gallery {
	position: relative;
}

.product-gallery__main {
	width: 100%;
	aspect-ratio: 1;
	background: var(--surface);
	border-radius: var(--radius-lg);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	margin-bottom: 15px;
}

.product-gallery__main img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.product-gallery__thumbs {
	display: flex;
	gap: 10px;
}

.product-gallery__thumb {
	width: 80px;
	height: 80px;
	border: 2px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	cursor: pointer;
}

.product-gallery__thumb.active {
	border-color: var(--primary);
}

.product-gallery__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.product-info h1 {
	font-size: 1.75rem;
	font-weight: 700;
	margin-bottom: 15px;
}

.product-info .sku {
	color: var(--text-muted);
	font-size: 0.9rem;
	margin-bottom: 20px;
}

.product-info .price {
	font-size: 2rem;
	font-weight: 800;
	color: var(--primary);
	margin-bottom: 20px;
}

.product-info .price small {
	font-size: 1rem;
	font-weight: 400;
	color: var(--text-muted);
}

.product-attributes {
	margin-bottom: 25px;
}

.product-attribute {
	display: flex;
	padding: 10px 0;
	border-bottom: 1px solid var(--border);
}

.product-attribute__name {
	width: 150px;
	color: var(--text-muted);
}

.product-attribute__value {
	font-weight: 500;
}

.product-actions {
	display: flex;
	gap: 15px;
	margin-bottom: 25px;
}

.quantity-input {
	display: flex;
	align-items: center;
	border: 1px solid var(--border);
	border-radius: var(--radius);
}

.quantity-input button {
	width: 40px;
	height: 48px;
	background: var(--surface);
	border: none;
	font-size: 1.25rem;
	cursor: pointer;
}

.quantity-input input {
	width: 60px;
	height: 48px;
	text-align: center;
	border: none;
	font-size: 1rem;
	font-weight: 600;
}

/* ===================== */
/* Responsive            */
/* ===================== */
@media (max-width: 1024px) {
	.nav {
		display: none;
	}

	.menu-toggle {
		display: block;
	}

	.footer__grid {
		grid-template-columns: 1fr 1fr;
	}

	.product-grid {
		grid-template-columns: 1fr;
	}

	.checkout-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.hero__title {
		font-size: 1.75rem;
	}

	.hero__actions {
		flex-direction: column;
	}

	.categories-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.products-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}

	.product-card__content {
		padding: 12px;
	}

	.benefits-grid {
		grid-template-columns: 1fr;
	}

	.discount-tiers {
		flex-direction: column;
		gap: 20px;
	}

	.footer__grid {
		grid-template-columns: 1fr;
	}

	.footer__bottom {
		flex-direction: column;
		gap: 10px;
		text-align: center;
	}

	.cart-table {
		display: block;
		overflow-x: auto;
	}
}

@media (max-width: 480px) {
	.products-grid {
		grid-template-columns: 1fr;
	}

	.categories-grid {
		grid-template-columns: 1fr 1fr;
	}

	.header__actions .phone {
		display: none;
	}
}

/* ===================== */
/* Triangle Decorations  */
/* ===================== */
.triangles-deco {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	pointer-events: none;
	z-index: 0;
	overflow: hidden;
}

.tri-deco {
	position: absolute;
}

.tri-deco--tl {
	top: -40px;
	left: -40px;
	width: 300px;
	height: 300px;
}

.tri-deco--tr {
	top: 80px;
	right: -60px;
	width: 200px;
	height: 200px;
}

.tri-deco--bl {
	bottom: -60px;
	right: 10%;
	width: 250px;
	height: 250px;
}

.tri-deco svg {
	width: 100%;
	height: 100%;
}

/* ===================== */
/* Logo                 */
/* ===================== */
.logo {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: inherit;
}

.logo__icon {
	width: 40px;
	height: 40px;
	flex-shrink: 0;
}

.logo__icon svg {
	width: 100%;
	height: 100%;
}

.logo__text {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
}

.logo__name {
	font-size: 1.25rem;
	font-weight: 800;
	color: var(--primary-dark);
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.logo__sub {
	font-size: 0.7rem;
	font-weight: 600;
	color: var(--green);
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

/* ===================== */
/* Buttons              */
/* ===================== */
.btn--primary {
	background: var(--green);
	color: white;
	border-color: var(--green);
}

.btn--primary:hover {
	background: var(--green-dark);
	border-color: var(--green-dark);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(94, 200, 42, 0.3);
}

.btn--secondary {
	background: var(--primary);
	color: white;
	border-color: var(--primary);
}

.btn--secondary:hover {
	background: var(--primary-dark);
	border-color: var(--primary-dark);
}

/* ===================== */
/* Header               */
/* ===================== */
.header {
	background: white;
	border-bottom: 1px solid var(--border);
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: var(--shadow-sm);
}

.header__inner {
	display: flex;
	align-items: center;
	gap: 32px;
	padding: 16px 0;
}

.nav {
	display: flex;
	gap: 8px;
}

.nav__link {
	padding: 8px 14px;
	color: var(--text);
	text-decoration: none;
	font-weight: 500;
	border-radius: var(--radius);
	transition: all 0.2s;
}

.nav__link:hover {
	color: var(--green);
	background: rgba(94, 200, 42, 0.06);
}

.header__actions {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-left: auto;
}

.phone {
	display: flex;
	align-items: center;
	gap: 6px;
	color: var(--primary);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.95rem;
}

.phone:hover {
	color: var(--green);
}

.cart-btn {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: var(--radius);
	color: var(--primary);
	transition: all 0.2s;
}

.cart-btn:hover {
	background: rgba(94, 200, 42, 0.1);
	color: var(--green);
}

.cart-btn__count {
	position: absolute;
	top: 2px;
	right: 2px;
	background: var(--green);
	color: white;
	font-size: 0.65rem;
	font-weight: 700;
	min-width: 18px;
	height: 18px;
	border-radius: 9px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 4px;
}

.user-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: var(--radius);
	color: var(--primary);
	transition: all 0.2s;
}

.user-btn:hover {
	background: rgba(94, 200, 42, 0.1);
	color: var(--green);
}

/* ===================== */
/* Hero Section         */
/* ===================== */
.hero {
	background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #1a4a8a 100%);
	color: white;
	padding: 60px 0;
	position: relative;
	overflow: hidden;
	min-height: 400px;
	display: flex;
	align-items: center;
}

.hero::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -10%;
	width: 60%;
	height: 200%;
	background: rgba(94, 200, 42, 0.06);
	transform: rotate(-15deg);
	border-radius: 50%;
}

.hero::after {
	content: '';
	position: absolute;
	bottom: -80px;
	left: -5%;
	width: 400px;
	height: 400px;
	background: rgba(94, 200, 42, 0.05);
	border-radius: 50%;
}

.hero__container {
	position: relative;
	z-index: 1;
}

.hero__title {
	font-size: 3rem;
	font-weight: 800;
	line-height: 1.1;
	margin-bottom: 16px;
	letter-spacing: -0.02em;
}

.hero__subtitle {
	font-size: 1.2rem;
	color: rgba(255,255,255,0.85);
	margin-bottom: 32px;
	max-width: 600px;
}

.hero__actions {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
}

.hero__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 32px;
	border-radius: var(--radius-lg);
	font-weight: 600;
	font-size: 1rem;
	text-decoration: none;
	transition: all 0.2s;
}

.hero__btn--primary {
	background: var(--green);
	color: white;
}

.hero__btn--primary:hover {
	background: var(--green-dark);
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(94, 200, 42, 0.3);
}

.hero__btn--secondary {
	background: rgba(255,255,255,0.1);
	color: white;
	border: 2px solid rgba(255,255,255,0.3);
}

.hero__btn--secondary:hover {
	background: rgba(255,255,255,0.2);
	border-color: rgba(255,255,255,0.5);
}

/* ===================== */
/* Categories Grid      */
/* ===================== */
.categories-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 16px;
}

.category-card {
	position: relative;
	border-radius: var(--radius-lg);
	overflow: hidden;
	aspect-ratio: 1;
	text-decoration: none;
	color: white;
	background: var(--primary);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 20px;
	transition: all 0.3s;
}

.category-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(26, 58, 110, 0.3);
}

.category-card__icon {
	font-size: 2.5rem;
	margin-bottom: 8px;
}

.category-card__name {
	font-weight: 600;
	text-align: center;
	font-size: 0.85rem;
	line-height: 1.3;
}

.category-card__count {
	font-size: 0.75rem;
	opacity: 0.7;
	margin-top: 4px;
}

/* Green triangle overlay */
.category-card::after {
	content: '';
	position: absolute;
	bottom: -20px;
	right: -20px;
	width: 80px;
	height: 80px;
	background: var(--green);
	clip-path: polygon(100% 0, 0 100%, 100% 100%);
	opacity: 0.2;
}

/* ===================== */
/* Product Cards        */
/* ===================== */
.product-card {
	background: white;
	border-radius: var(--radius-lg);
	border: 1px solid var(--border);
	overflow: hidden;
	transition: all 0.3s;
	display: flex;
	flex-direction: column;
}

.product-card:hover {
	border-color: var(--green);
	box-shadow: 0 8px 24px rgba(94, 200, 42, 0.1);
	transform: translateY(-4px);
}

.product-card__image {
	position: relative;
	aspect-ratio: 1;
	overflow: hidden;
	display: block;
}

.product-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s;
}

.product-card:hover .product-card__image img {
	transform: scale(1.05);
}

/* Triangle badge */
.product-card__badge {
	position: absolute;
	top: 12px;
	right: 12px;
	background: var(--green);
	color: white;
	padding: 4px 10px;
	border-radius: var(--radius);
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
}

.product-card__content {
	padding: 16px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.product-card__title {
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--text);
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	line-height: 1.4;
	margin-bottom: 8px;
}

.product-card__title:hover {
	color: var(--green);
}

.product-card__price {
	margin-bottom: 12px;
}

.product-card__price .price {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--primary-dark);
}

/* ===================== */
/* Price Tag            */
/* ===================== */
.price {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--primary-dark);
}

/* ===================== */
/* Quantity Input        */
/* ===================== */
.quantity-input {
	display: flex;
	align-items: center;
	border: 2px solid var(--border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: white;
}

.quantity-btn {
	background: var(--surface);
	border: none;
	padding: 12px 16px;
	cursor: pointer;
	font-size: 1.2rem;
	color: var(--text);
	transition: all 0.2s;
	min-width: 44px;
}

.quantity-btn:hover {
	background: var(--green);
	color: white;
}

#qty {
	border: none;
	width: 80px;
	text-align: center;
	font-size: 1rem;
	font-weight: 600;
	padding: 8px 0;
	-moz-appearance: textfield;
}

#qty::-webkit-outer-spin-button,
#qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
}

/* ===================== */
/* Cart                 */
/* ===================== */
.cart-table {
	width: 100%;
	border-collapse: collapse;
}

.cart-table th {
	text-align: left;
	padding: 12px 16px;
	background: var(--surface);
	font-weight: 600;
	border-bottom: 2px solid var(--border);
}

.cart-table td {
	padding: 16px;
	border-bottom: 1px solid var(--border);
	vertical-align: middle;
}

.cart-table tr:hover td {
	background: rgba(94, 200, 42, 0.03);
}

/* ===================== */
/* Benefits             */
/* ===================== */
.benefit-card {
	background: var(--surface);
	padding: 32px;
	border-radius: var(--radius-lg);
	text-align: center;
	border: 1px solid var(--border);
	transition: all 0.3s;
}

.benefit-card:hover {
	border-color: var(--green);
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(94, 200, 42, 0.08);
}

.benefit-card__icon {
	font-size: 3rem;
	margin-bottom: 16px;
	display: block;
}

.benefit-card__title {
	font-size: 1.1rem;
	font-weight: 700;
	margin-bottom: 8px;
	color: var(--primary-dark);
}

.benefit-card__text {
	color: var(--text-muted);
	font-size: 0.9rem;
}

/* ===================== */
/* Discount Tiers       */
/* ===================== */
.discount-tier {
	flex: 1;
	padding: 24px;
	background: var(--surface);
	border-radius: var(--radius-lg);
	text-align: center;
	border: 2px solid var(--border);
	transition: all 0.3s;
}

.discount-tier--active {
	border-color: var(--green);
	background: rgba(94, 200, 42, 0.05);
}

.discount-tier__amount {
	font-size: 2rem;
	font-weight: 800;
	color: var(--green);
	margin-bottom: 4px;
}

.discount-tier__threshold {
	font-weight: 600;
	color: var(--text);
	margin-bottom: 8px;
}

.discount-tier__label {
	font-size: 0.8rem;
	color: var(--text-muted);
}

/* ===================== */
/* Mobile Menu          */
/* ===================== */
.mobile-menu {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0,0,0,0.5);
	z-index: 999;
}

.mobile-menu--open {
	display: block;
}

.mobile-menu__nav {
	position: absolute;
	top: 0;
	right: 0;
	width: 280px;
	height: 100%;
	background: white;
	padding: 80px 24px 24px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.mobile-menu__nav a {
	padding: 14px 16px;
	color: var(--text);
	text-decoration: none;
	font-weight: 500;
	border-radius: var(--radius);
	transition: all 0.2s;
}

.mobile-menu__nav a:hover {
	background: rgba(94, 200, 42, 0.1);
	color: var(--green);
}

/* ===================== */
/* Section Title        */
/* ===================== */
.section__title {
	font-size: 1.75rem;
	font-weight: 800;
	color: var(--primary-dark);
	margin-bottom: 24px;
}

.section__title span {
	color: var(--green);
}

/* ===================== */
/* Main content z-index */
/* ===================== */
main, .main {
	position: relative;
	z-index: 1;
}

.container {
	position: relative;
	z-index: 1;
}

/* ===================== */
/* Toast Notifications   */
/* ===================== */
.toast {
	position: fixed;
	bottom: 24px;
	right: 24px;
	background: var(--text);
	color: white;
	padding: 16px 24px;
	border-radius: var(--radius-lg);
	font-weight: 500;
	z-index: 9999;
	transform: translateY(100px);
	opacity: 0;
	transition: all 0.3s;
}

.toast--show {
	transform: translateY(0);
	opacity: 1;
}

.toast--success {
	background: var(--green);
}

.toast--error {
	background: var(--error);
}

/* ===================== */
/* Menu Toggle          */
/* ===================== */
.menu-toggle {
	display: none;
	background: none;
	border: none;
	color: var(--primary);
	cursor: pointer;
	padding: 8px;
	border-radius: var(--radius);
}

.menu-toggle:hover {
	background: var(--surface);
}

@media (max-width: 900px) {
	.nav {
		display: none;
	}
	
	.menu-toggle {
		display: flex;
	}
}

@media (max-width: 768px) {
	.hero__title {
		font-size: 2rem;
	}
	
	.hero {
		padding: 40px 0;
		min-height: 300px;
	}
}
