/* ==========================================================================
   Global Styles - Nosači Farova
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties
   -------------------------------------------------------------------------- */

:root {
	/* Colors */
	--color-primary: #d50616;
	--color-primary-dark: #a30411;
	--color-primary-rgb: 213, 6, 22;
	--color-dark: #0a0a0a;
	--color-dark-2: #1a1a1a;
	--color-dark-3: #2d2d2d;
	--color-text: #333333;
	--color-text-light: #6b6b6b;
	--color-light: #f5f5f5;
	--color-light-2: #e8e8e8;
	--color-white: #ffffff;
	--color-border: #e0e0e0;

	/* Typography */
	--font-heading: 'Montserrat', sans-serif;
	--font-body: 'Inter', sans-serif;

	/* Layout */
	--container-width: 1200px;
	--header-height: 80px;
	--transition: 0.3s ease;
	--radius: 8px;
	--radius-lg: 16px;
	--shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	--shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
}

/* --------------------------------------------------------------------------
   CSS Reset
   -------------------------------------------------------------------------- */

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

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--color-text);
	background-color: var(--color-white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img,
picture,
video,
svg {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

input,
button,
textarea,
select {
	font: inherit;
}

ul,
ol {
	list-style: none;
}

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

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

table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-heading);
	font-weight: 700;
	line-height: 1.2;
	color: var(--color-dark);
}

h1 {
	font-size: 3rem;
}

h2 {
	font-size: 2.25rem;
}

h3 {
	font-size: 1.75rem;
}

h4 {
	font-size: 1.25rem;
}

h5 {
	font-size: 1.1rem;
}

h6 {
	font-size: 1rem;
}

p {
	margin-bottom: 1rem;
}

p:last-child {
	margin-bottom: 0;
}

strong,
b {
	font-weight: 700;
}

/* --------------------------------------------------------------------------
   Layout Utilities
   -------------------------------------------------------------------------- */

.container {
	max-width: var(--container-width);
	margin-left: auto;
	margin-right: auto;
	padding-left: 20px;
	padding-right: 20px;
}

.section {
	padding: 80px 0;
}

.section--dark {
	background-color: var(--color-dark);
	color: var(--color-white);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--dark h5,
.section--dark h6 {
	color: var(--color-white);
}

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

.section-header {
	text-align: center;
	margin-bottom: 60px;
}

.section-title {
	font-size: 2.25rem;
	font-weight: 800;
	position: relative;
	display: inline-block;
}

.section-title::after {
	content: '';
	display: block;
	width: 60px;
	height: 4px;
	background-color: var(--color-primary);
	margin: 15px auto 0;
	border-radius: 2px;
}

.section-subtitle {
	color: var(--color-text-light);
	font-size: 1.1rem;
	max-width: 600px;
	margin: 15px auto 0;
	line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Page Hero Banner (shared across all pages)
   -------------------------------------------------------------------------- */

.page-hero {
	background-color: var(--color-dark);
	padding: 60px 0;
	text-align: center;
	position: relative;
	overflow: hidden;
	min-height: 250px;
	display: flex;
	align-items: center;
}

.page-hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-2) 50%, var(--color-dark-3) 100%);
	z-index: 0;
}

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

.page-hero h1 {
	color: var(--color-white);
	font-size: 2.5rem;
	font-family: var(--font-heading);
	font-weight: 800;
	margin-bottom: 10px;
	letter-spacing: -0.5px;
}

.page-hero .shop-breadcrumb {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	font-size: 0.95rem;
}

.page-hero .shop-breadcrumb a {
	color: rgba(255, 255, 255, 0.6);
	transition: color var(--transition);
}

.page-hero .shop-breadcrumb a:hover {
	color: var(--color-white);
}

.page-hero .shop-breadcrumb .shop-breadcrumb__separator {
	color: rgba(255, 255, 255, 0.3);
	margin: 0 10px;
	font-size: 0.85rem;
}

.page-hero .shop-breadcrumb .shop-breadcrumb__current {
	color: var(--color-primary);
	font-weight: 500;
}

/* --------------------------------------------------------------------------
   Button Styles
   -------------------------------------------------------------------------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 32px;
	border-radius: var(--radius);
	font-weight: 600;
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.4;
	cursor: pointer;
	border: 2px solid transparent;
	transition: all var(--transition);
	text-align: center;
	white-space: nowrap;
}

.btn:focus-visible {
	outline: 3px solid var(--color-primary);
	outline-offset: 2px;
}

.btn svg {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

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

.btn--primary:hover {
	background-color: var(--color-primary-dark);
	border-color: var(--color-primary-dark);
	color: var(--color-white);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(var(--color-primary-rgb), 0.35);
}

/* Outline */
.btn--outline {
	background-color: transparent;
	border: 2px solid var(--color-primary);
	color: var(--color-primary);
}

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

/* Outline White */
.btn--outline-white {
	background-color: transparent;
	border: 2px solid var(--color-white);
	color: var(--color-white);
}

.btn--outline-white:hover {
	background-color: var(--color-white);
	color: var(--color-dark);
	transform: translateY(-2px);
}

/* Dark */
.btn--dark {
	background-color: var(--color-dark);
	color: var(--color-white);
	border-color: var(--color-dark);
}

.btn--dark:hover {
	background-color: var(--color-dark-2);
	border-color: var(--color-dark-2);
	color: var(--color-white);
	transform: translateY(-2px);
}

/* Large */
.btn--large {
	padding: 18px 40px;
	font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   Form Styles
   -------------------------------------------------------------------------- */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="url"],
textarea,
select {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	font-family: var(--font-body);
	font-size: 1rem;
	color: var(--color-text);
	background-color: var(--color-white);
	transition: border-color var(--transition), box-shadow var(--transition);
	appearance: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="url"]:focus,
textarea:focus,
select:focus {
	outline: none;
	border-color: var(--color-primary);
	box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.15);
}

textarea {
	min-height: 120px;
	resize: vertical;
}

select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 40px;
}

label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
	color: var(--color-dark);
	font-size: 0.95rem;
}

::placeholder {
	color: var(--color-text-light);
	opacity: 0.7;
}

/* --------------------------------------------------------------------------
   Accessibility
   -------------------------------------------------------------------------- */

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	position: fixed;
	top: 5px;
	left: 5px;
	z-index: 100000;
	display: block;
	width: auto;
	height: auto;
	padding: 15px 23px 14px;
	clip: auto;
	background-color: var(--color-white);
	border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
	color: var(--color-dark);
	font-size: 0.875rem;
	font-weight: 700;
	line-height: normal;
	text-decoration: none;
}

:focus-visible {
	outline: 3px solid var(--color-primary);
	outline-offset: 2px;
}

button:focus:not(:focus-visible),
a:focus:not(:focus-visible),
input:focus:not(:focus-visible),
select:focus:not(:focus-visible),
textarea:focus:not(:focus-visible) {
	outline: none;
}

/* --------------------------------------------------------------------------
   Selection
   -------------------------------------------------------------------------- */

::selection {
	background-color: rgba(var(--color-primary-rgb), 0.15);
	color: var(--color-dark);
}

/* --------------------------------------------------------------------------
   Scrollbar
   -------------------------------------------------------------------------- */

::-webkit-scrollbar {
	width: 8px;
}

::-webkit-scrollbar-track {
	background-color: var(--color-light);
}

::-webkit-scrollbar-thumb {
	background-color: var(--color-light-2);
	border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
	background-color: var(--color-text-light);
}

/* Firefox scrollbar */
* {
	scrollbar-width: thin;
	scrollbar-color: var(--color-light-2) var(--color-light);
}

/* --------------------------------------------------------------------------
   Scroll Reveal Animation
   -------------------------------------------------------------------------- */

.reveal {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.revealed {
	opacity: 1;
	transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Scroll to Top Button
   -------------------------------------------------------------------------- */

.scroll-to-top {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 44px;
	height: 44px;
	background-color: var(--color-primary);
	color: var(--color-white);
	border: none;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 900;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all var(--transition);
	box-shadow: var(--shadow);
}

.scroll-to-top--visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.scroll-to-top:hover {
	background-color: var(--color-primary-dark);
	transform: translateY(-3px);
}

.scroll-to-top svg {
	width: 20px;
	height: 20px;
}

/* --------------------------------------------------------------------------
   Body Lock (for mobile menu)
   -------------------------------------------------------------------------- */

body.menu-open {
	overflow: hidden;
}

/* --------------------------------------------------------------------------
   WooCommerce Overrides - Base
   -------------------------------------------------------------------------- */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	border-top-color: var(--color-primary);
}

.woocommerce-message::before {
	color: var(--color-primary);
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce .button {
	font-family: var(--font-body);
	font-weight: 600;
	border-radius: var(--radius);
}

/* --------------------------------------------------------------------------
   404 Page
   -------------------------------------------------------------------------- */

.error-404 {
	padding: 100px 0;
	text-align: center;
	min-height: 60vh;
	display: flex;
	align-items: center;
}

.error-404__content {
	max-width: 500px;
	margin: 0 auto;
}

.error-404__number {
	font-family: var(--font-heading);
	font-size: 8rem;
	font-weight: 900;
	line-height: 1;
	color: var(--color-primary);
	display: block;
	margin-bottom: 10px;
	opacity: 0.15;
}

.error-404__title {
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: 16px;
}

.error-404__description {
	color: var(--color-text-light);
	font-size: 1rem;
	line-height: 1.7;
	margin-bottom: 30px;
}

.error-404__search {
	margin-bottom: 24px;
}

.error-404__search .search-form {
	display: flex;
	gap: 8px;
	max-width: 400px;
	margin: 0 auto;
}

.error-404__search .search-field {
	flex: 1;
}

.error-404__search .search-submit {
	padding: 12px 24px;
	background: var(--color-primary);
	color: white;
	border: none;
	border-radius: var(--radius);
	font-weight: 600;
	cursor: pointer;
	transition: background var(--transition);
}

.error-404__search .search-submit:hover {
	background: var(--color-primary-dark);
}

/* --------------------------------------------------------------------------
   Thank You Page
   -------------------------------------------------------------------------- */

.thankyou-page {
	padding: 60px 0;
	max-width: 700px;
	margin: 0 auto;
}

.thankyou-page__success,
.thankyou-page__failed {
	text-align: center;
	margin-bottom: 40px;
}

.thankyou-page__icon {
	margin-bottom: 20px;
}

.thankyou-page__icon--success {
	color: #27ae60;
}

.thankyou-page__icon--success svg {
	margin: 0 auto;
}

.thankyou-page__icon--error {
	color: var(--color-primary);
}

.thankyou-page__icon--error svg {
	margin: 0 auto;
}

.thankyou-page__title {
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: 12px;
}

.thankyou-page__details {
	background: var(--color-light);
	border-radius: var(--radius-lg);
	padding: 30px;
	margin-bottom: 30px;
}

.thankyou-page__details h3 {
	font-size: 1.1rem;
	font-weight: 700;
	margin-bottom: 20px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--color-border);
}

.thankyou-page__details .order_details {
	display: grid;
	gap: 12px;
}

.thankyou-page__details .order_details li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 8px 0;
	border-bottom: 1px solid var(--color-border);
}

.thankyou-page__details .order_details li:last-child {
	border-bottom: none;
}

.thankyou-page__label {
	color: var(--color-text-light);
	font-size: 0.95rem;
}

.thankyou-page__actions {
	display: flex;
	gap: 16px;
	justify-content: center;
	margin-top: 30px;
}

/* --------------------------------------------------------------------------
   WooCommerce Cart & Checkout Styles
   -------------------------------------------------------------------------- */

.woocommerce-cart .site-main,
.woocommerce-checkout .site-main {
	padding: 40px 0;
}


.page-title {
	margin-bottom: 20px;
}

.woocommerce table.shop_table {
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	overflow: hidden;
	width: 100%;
}

.woocommerce table.shop_table th {
	background: var(--color-light);
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 14px 16px;
	border-bottom: 1px solid var(--color-border);
}

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

.woocommerce table.shop_table img {
	width: 60px;
	height: 60px;
	object-fit: cover;
	border-radius: var(--radius);
}

.woocommerce .cart_totals,
.woocommerce-checkout #order_review {
	background: var(--color-light);
	border-radius: var(--radius-lg);
	padding: 30px;
}

.woocommerce .cart_totals h2,
.woocommerce-checkout #order_review_heading {
	font-size: 1.25rem;
	font-weight: 700;
	margin-bottom: 20px;
}

.woocommerce .wc-proceed-to-checkout .checkout-button,
.woocommerce #place_order {
	background: var(--color-primary) !important;
	color: white !important;
	border-radius: var(--radius) !important;
	padding: 16px 40px !important;
	font-weight: 700 !important;
	font-size: 1.05rem !important;
	width: 100%;
	border: none !important;
	transition: background var(--transition) !important;
}

.woocommerce .wc-proceed-to-checkout .checkout-button:hover,
.woocommerce #place_order:hover {
	background: var(--color-primary-dark) !important;
}

.woocommerce .quantity .qty {
	width: 70px;
	text-align: center;
	padding: 8px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
}

.woocommerce a.remove {
	color: var(--color-primary) !important;
	font-size: 1.5rem;
	font-weight: 700;
}

.woocommerce .coupon .input-text {
	max-width: 200px;
}

.woocommerce .coupon .button {
	background: var(--color-dark) !important;
	color: white !important;
	border: none !important;
	padding: 12px 24px !important;
	border-radius: var(--radius) !important;
}

/* Checkout form */
.woocommerce-checkout .form-row {
	margin-bottom: 16px;
}

.woocommerce-checkout .form-row label {
	font-weight: 600;
	margin-bottom: 6px;
	display: block;
}

.woocommerce-checkout .form-row .input-text,
.woocommerce-checkout .form-row select {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
}

.woocommerce-checkout .col2-set {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
}

@media (max-width: 768px) {
	.woocommerce-checkout .col2-set {
		grid-template-columns: 1fr;
	}

	.thankyou-page__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.error-404__number {
		font-size: 5rem;
	}
}

/* WooCommerce Notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	padding: 16px 20px;
	margin-bottom: 20px;
	border-radius: var(--radius);
	font-size: 0.95rem;
}

.woocommerce-message {
	background: #eafaf1;
	border-left: 4px solid #27ae60;
	color: #1e7e34;
}

.woocommerce-info {
	background: #e8f4fd;
	border-left: 4px solid #3498db;
	color: #1a6ea6;
}

.woocommerce-error {
	background: #fdeaea;
	border-left: 4px solid var(--color-primary);
	color: #a30411;
}

.woocommerce-message a,
.woocommerce-info a {
	font-weight: 600;
}

/* --------------------------------------------------------------------------
   WooCommerce Blocks - Cart & Checkout
   -------------------------------------------------------------------------- */

/* Cart & Checkout container */
.wc-block-cart,
.wc-block-checkout {
	font-family: var(--font-body);
	padding: 0;
}

/* Sidebar layout - MUST be 2 columns: main left, sidebar right */
.wc-block-components-sidebar-layout {
	display: flex !important;
	flex-wrap: nowrap !important;
	gap: 40px;
	align-items: flex-start;
}

.wc-block-components-sidebar-layout > .wc-block-components-main {
	flex: 1;
	min-width: 0;
}

.wc-block-components-sidebar-layout > .wc-block-components-sidebar {
	flex: 0 0 380px;
	max-width: 380px;
}

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

.wc-block-cart-items__header th {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 12px 0;
	border-bottom: 2px solid var(--color-border);
	color: var(--color-text-light);
}

.wc-block-cart-items__row {
	border-bottom: 1px solid var(--color-border);
}

.wc-block-cart-items__row td {
	padding: 20px 0;
	vertical-align: top;
}

/* Cart item image */
.wc-block-cart-item__image {
	width: 80px;
	padding-right: 16px;
}

.wc-block-cart-item__image img {
	width: 80px;
	height: 80px;
	object-fit: cover;
	border-radius: var(--radius);
	border: 1px solid var(--color-border);
}

/* Product name */
.wc-block-components-product-name {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 1rem;
	color: var(--color-dark);
	text-decoration: none;
	transition: color var(--transition);
}

.wc-block-components-product-name:hover {
	color: var(--color-primary);
}

/* Prices */
.wc-block-components-product-price__value,
.wc-block-formatted-money-amount {
	font-family: var(--font-heading);
	font-weight: 700;
	color: var(--color-dark);
}

/* Product metadata (variations) */
.wc-block-components-product-details {
	margin-top: 6px;
}

.wc-block-components-product-details__name {
	font-weight: 600;
	color: var(--color-text-light);
	font-size: 0.85rem;
}

.wc-block-components-product-details__value {
	font-size: 0.85rem;
	color: var(--color-text);
}

/* Quantity selector */
.wc-block-components-quantity-selector {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	overflow: hidden;
}

.wc-block-components-quantity-selector__input {
	width: 50px;
	text-align: center;
	border: none;
	padding: 8px 4px;
	font-weight: 600;
	font-size: 0.95rem;
	-moz-appearance: textfield;
}

.wc-block-components-quantity-selector__input::-webkit-inner-spin-button,
.wc-block-components-quantity-selector__input::-webkit-outer-spin-button {
	-webkit-appearance: none;
}

.wc-block-components-quantity-selector__button {
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--color-light);
	border: none;
	cursor: pointer;
	font-size: 1.1rem;
	color: var(--color-text);
	transition: background var(--transition), color var(--transition);
}

.wc-block-components-quantity-selector__button:hover {
	background: var(--color-primary);
	color: var(--color-white);
}

.wc-block-components-quantity-selector__button:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

/* Remove link */
.wc-block-cart-item__remove-link {
	display: inline-flex;
	align-items: center;
	margin-left: 12px;
	color: var(--color-text-light);
	background: none;
	border: none;
	cursor: pointer;
	padding: 4px;
	border-radius: var(--radius);
	transition: color var(--transition), background var(--transition);
}

.wc-block-cart-item__remove-link:hover {
	color: var(--color-primary);
	background: rgba(var(--color-primary-rgb), 0.05);
}

.wc-block-cart-item__remove-link svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

/* Cart sidebar / totals */
.wc-block-cart__sidebar,
.wc-block-checkout__sidebar {
	background: var(--color-light);
	border-radius: var(--radius-lg);
	padding: 24px 20px;
}

.wc-block-cart .wp-block-woocommerce-cart-order-summary-block {
	font-size: var(--wp--preset--font-size--small, 14px);
	line-height: 1.4;
	padding: 20px;
	border-bottom: none;
}

.wc-block-cart__totals-title,
.wc-block-components-checkout-order-summary__title-text {
	font-family: var(--font-heading);
	font-size: 1.2rem;
	font-weight: 700;
	margin-bottom: 16px;
}

/* Totals items */
.wc-block-components-totals-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 0;
}

.wc-block-components-totals-item__label {
	font-weight: 500;
	color: var(--color-text);
}

.wc-block-components-totals-footer-item {
	border-top: none;
	margin-top: 0;
	padding-top: 12px;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 1.1rem;
}

.wc-block-components-totals-footer-item-tax-value {
	font-size: 1.2rem;
	font-weight: 800;
	color: var(--color-primary);
}

/* Proceed to checkout / Place order button */
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
	background: var(--color-primary) !important;
	color: var(--color-white) !important;
	border: none !important;
	border-radius: var(--radius) !important;
	padding: 16px 32px !important;
	font-family: var(--font-heading) !important;
	font-weight: 700 !important;
	font-size: 1rem !important;
	width: 100%;
	cursor: pointer;
	transition: background 0.3s ease !important;
	text-decoration: none;
}

.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover {
	background: var(--color-primary-dark) !important;
}

/* Coupon panel */
.wc-block-components-totals-coupon .wc-block-components-panel__button {
	font-weight: 500;
	color: var(--color-primary);
	font-size: 0.9rem;
}

/* Checkout step titles */
.wc-block-components-checkout-step__title {
	font-family: var(--font-heading);
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--color-dark);
}

/* Checkout focus accent */
.wc-block-components-text-input input:focus,
.wc-blocks-components-select__select:focus {
	border-color: var(--color-primary) !important;
}

.wc-block-components-text-input input,
.wc-blocks-components-select__select {
	border-color: var(--color-border) !important;
}

/* Return to cart link */
.wc-block-components-checkout-return-to-cart-button {
	color: var(--color-text-light);
	font-weight: 500;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	transition: color var(--transition);
}

.wc-block-components-checkout-return-to-cart-button:hover {
	color: var(--color-primary);
}

/* Checkout order summary block */
.wp-block-woocommerce-checkout-order-summary-block {
	border: none !important;
}

.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title {
	border-top: none !important;
	border-bottom: none !important;
}

@container (max-width: 699px) {
	.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title {
		cursor: pointer;
		padding: 0 20px 20px 20px;
	}
}

/* Order summary in checkout sidebar */
.wc-block-components-order-summary-item {
	display: flex;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid var(--color-border);
}

.wc-block-components-order-summary-item__image img {
	width: 48px;
	height: 48px;
	object-fit: cover;
	border-radius: var(--radius);
}

.wc-block-components-order-summary-item__quantity {
	position: absolute;
	top: -4px;
	right: -4px;
	width: 20px;
	height: 20px;
	background: var(--color-primary);
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.7rem;
	font-weight: 700;
}

/* Notice banners */
.wc-block-components-notice-banner {
	padding: 14px 18px;
	border-radius: var(--radius);
	margin-bottom: 16px;
	font-size: 0.9rem;
}

.wc-block-components-notice-banner.is-error {
	background: #fdeaea;
	border-left: 4px solid var(--color-primary);
}

/* Checkbox styling */
.wc-block-components-checkbox__input {
	accent-color: var(--color-primary);
}

.wc-block-components-checkbox__label {
	font-size: 0.9rem;
	color: var(--color-text-light);
}

/* Responsive */
@media (max-width: 768px) {
	.wc-block-components-sidebar-layout {
		flex-direction: column !important;
		flex-wrap: wrap !important;
	}

	.wc-block-components-sidebar-layout > .wc-block-components-sidebar {
		flex: 1 1 100%;
		max-width: 100%;
	}

	.wc-block-cart__sidebar,
	.wc-block-checkout__sidebar {
		margin-top: 20px;
	}
}

/* --------------------------------------------------------------------------
   WooCommerce Blocks Translations (via CSS for block-generated text)
   -------------------------------------------------------------------------- */

/* Note: Block text translations should be handled in WooCommerce settings >
   General > Language or via 'gettext' filter. CSS cannot translate block text. */

/* --------------------------------------------------------------------------
   Responsive Typography
   -------------------------------------------------------------------------- */

@media (max-width: 768px) {
	h1 {
		font-size: 2.25rem;
	}

	h2 {
		font-size: 1.75rem;
	}

	h3 {
		font-size: 1.5rem;
	}

	h4 {
		font-size: 1.15rem;
	}

	.page-hero {
		padding: 40px 0;
	}

	.page-hero h1 {
		font-size: 2rem;
	}

	.section {
		padding: 50px 0;
	}

	.section-header {
		margin-bottom: 40px;
	}

	.section-title {
		font-size: 1.75rem;
	}

	.section-subtitle {
		font-size: 1rem;
	}

	.btn {
		padding: 12px 24px;
		font-size: 0.95rem;
	}

	.btn--large {
		padding: 14px 30px;
		font-size: 1rem;
	}
}
