/*
Theme Name:       Paint Store Theme
Theme URI:        https://example.com/paint-store
Author:           Anthony
Author URI:       https://example.com
Description:      A custom WooCommerce theme for the Paint Store plugin. Features Valspar-inspired PLP pages with sidebar filters, horizontal product cards, and branded styling.
Version:          1.1
Requires at least: 6.0
Requires PHP:     7.4
License:          GPL v2 or later
License URI:      https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:      paint-store-theme
Tags:             woocommerce, e-commerce, paint, full-width-template

This theme is designed to work alongside the Paint Store Core plugin.
*/

/* ======================================
   GLOBAL RESET & BASE STYLES
   ====================================== */

:root {
	--ps-navy: #002b49;
	--ps-navy-light: #003d6b;
	--ps-blue: #5b9bd5;
	--ps-blue-hover: #4a8ac4;
	--ps-green: #4a8c3f;
	--ps-text: #333;
	--ps-text-light: #555;
	--ps-text-muted: #999;
	--ps-border: #e0e0e0;
	--ps-bg-light: #f5f5f5;
	--ps-white: #fff;
	--ps-radius: 8px;
	--ps-font: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--ps-font-heading: 'Anton', sans-serif;
}

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

body {
	font-family: var(--ps-font);
	color: var(--ps-text);
	background: var(--ps-white);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	width: 100vw;
	max-width: 100vw;
	overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--ps-font-heading);
	font-weight: 400;
	text-transform: uppercase;
}

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

a:hover {
	color: var(--ps-blue);
}

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

.site-container {
	max-width: 99vw;
	margin: 0 auto;
	padding: 0 20px;
}

/* ======================================
   HEADER: TIER 1 - ANNOUNCEMENT BAR
   ====================================== */

.ps-announcement-bar {
	background: var(--ps-navy);
	color: var(--ps-white);
	font-size: 15px;
	line-height: 1;
}

.ps-announcement-inner {
	max-width: 99vw;
	margin: 0 auto;
	padding: 14px 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.ps-announcement-text {
	margin: 0;
	text-align: center;
}

.ps-announcement-text a {
	color: var(--ps-white);
	text-decoration: underline;
	font-weight: 600;
	margin-left: 6px;
}

.ps-announcement-text a:hover {
	opacity: 0.85;
}

.ps-announcement-close {
	position: absolute;
	right: 20px;
	background: none;
	border: none;
	color: var(--ps-white);
	font-size: 22px;
	cursor: pointer;
	padding: 0 4px;
	line-height: 1;
	opacity: 0.7;
}

.ps-announcement-close:hover {
	opacity: 1;
}

/* ======================================
   HEADER: TIER 2 - UTILITY BAR
   ====================================== */

.ps-utility-bar {
	background: #e6e8e9;
	font-size: 14px;
	border-bottom: 1px solid #d4d6d8;
}

.ps-utility-inner {
	max-width: 99vw;
	margin: 0 auto;
	padding: 12px 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.ps-utility-left a,
.ps-utility-right a {
	color: var(--ps-navy);
	font-weight: 500;
	text-decoration: none;
	padding: 4px 0;
}

.ps-utility-left a:hover,
.ps-utility-right a:hover {
	text-decoration: underline;
}

.ps-utility-right {
	display: flex;
	gap: 28px;
}

/* ======================================
   HEADER: TIER 3 - MAIN NAVIGATION
   ====================================== */

.ps-main-header {
	background: var(--ps-white);
	border-bottom: 1px solid #e0e0e0;
	position: sticky;
	top: 0;
	z-index: 1000;
}

.ps-header-inner {
	max-width: 99vw;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	align-items: center;
	height: 80px;
	gap: 40px;
}

/* Logo */
.ps-logo a {
	color: var(--ps-navy);
	font-size: 28px;
	font-weight: 800;
	letter-spacing: -0.5px;
	text-decoration: none;
	white-space: nowrap;
	font-family: var(--ps-font-heading);
	text-transform: uppercase;
}

/* Primary Nav */
.ps-primary-nav {
	flex: 1;
}

.ps-primary-nav ul,
.ps-menu-list {
	list-style: none;
	display: flex;
	gap: 6px;
	margin: 0;
	padding: 0;
}

.ps-primary-nav li a,
.ps-menu-list li a {
	color: var(--ps-navy);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	padding: 10px 14px;
	border-radius: 4px;
	transition: background 0.2s;
	white-space: nowrap;
}

.ps-primary-nav li a:hover,
.ps-primary-nav li.current-menu-item a,
.ps-menu-list li a:hover,
.ps-menu-list li.current-menu-item > a {
	background: rgba(0, 46, 93, 0.06);
	color: var(--ps-navy);
}

/* Header Actions (Search + Cart) */
.ps-header-actions {
	display: flex;
	align-items: center;
	gap: 16px;
}

/* Search Field */
.ps-header-search form {
	display: flex;
	align-items: center;
}

.ps-search-input {
	width: 140px;
	padding: 9px 14px;
	border: 2px solid #ced1d4;
	border-right: none;
	border-radius: 30px 0 0 30px;
	font-size: 14px;
	color: var(--ps-text);
	outline: none;
	background: var(--ps-white);
	font-family: var(--ps-font);
	transition: width 0.3s, border-color 0.2s;
}

.ps-search-input:focus {
	border-color: var(--ps-navy);
	width: 180px;
}

.ps-search-btn {
	background: #ced1d4;
	border: 2px solid #ced1d4;
	border-left: none;
	border-radius: 0 30px 30px 0;
	padding: 8px 14px;
	cursor: pointer;
	display: flex;
	align-items: center;
	color: var(--ps-navy);
	transition: background 0.2s;
}

.ps-search-btn:hover {
	background: #bfc2c5;
	border-color: #bfc2c5;
}

/* Header Icons */
.ps-header-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	color: var(--ps-navy);
	transition: background 0.2s;
	position: relative;
}

.ps-header-icon:hover {
	background: #f0f0f0;
	color: var(--ps-navy);
}

.ps-cart-count {
	position: absolute;
	top: 2px;
	right: 2px;
	background: var(--ps-blue);
	color: var(--ps-white);
	font-size: 10px;
	font-weight: 700;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* ======================================
   FOOTER
   ====================================== */

.site-footer {
	background: var(--ps-navy);
	color: rgba(255, 255, 255, 0.7);
	padding: 40px 20px;
	margin-top: 60px;
	text-align: center;
	font-size: 14px;
}

.site-footer a {
	color: rgba(255, 255, 255, 0.9);
}

/* ======================================
   HERO BANNER
   ====================================== */

.ps-hero-banner {
	background-color: #002E5D;
	padding: 55px 0;
	text-align: left;
}

.ps-hero-inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 20px;
}

.ps-hero-title {
	color: var(--ps-white);
	font-family: var(--ps-font-heading);
	font-size: 4rem;
	/* 64px equivalent */
	font-weight: 400;
	letter-spacing: 4px;
	margin: 0;
	text-transform: uppercase;
}

/* ======================================
   PLP LAYOUT (Sidebar + Content)
   ====================================== */

.ps-plp-wrapper {
	display: flex;
	gap: 30px;
	max-width: 99vw;
	margin: 30px auto;
	padding: 0 20px;
	align-items: flex-start;
}

/* ======= SIDEBAR ======= */

.ps-plp-sidebar {
	width: 260px;
	min-width: 260px;
	background: var(--ps-bg-light);
	border-radius: var(--ps-radius);
	padding: 20px;
	position: sticky;
	top: 90px;
	max-height: calc(100vh - 110px);
	overflow-y: auto;
}

.ps-sidebar-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 16px;
	padding-bottom: 12px;
	border-bottom: 2px solid #ddd;
}

.ps-sidebar-title {
	font-size: 18px;
	font-weight: 700;
	color: var(--ps-navy);
}

.ps-clear-all {
	font-size: 13px;
	color: var(--ps-blue);
	font-weight: 600;
	text-decoration: underline;
}

/* Accordion Filters */

.ps-filter-accordion {
	border-bottom: 1px solid #ddd;
}

.ps-accordion-header {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 14px 0;
	background: none;
	border: none;
	cursor: pointer;
	font-size: 14px;
	font-weight: 700;
	color: var(--ps-navy);
	text-align: left;
	font-family: var(--ps-font);
}

.ps-accordion-header:hover {
	color: var(--ps-blue);
}

.ps-accordion-icon::after {
	content: "−";
	font-size: 20px;
	font-weight: 300;
	color: var(--ps-navy);
	display: inline-block;
	width: 24px;
	height: 24px;
	line-height: 22px;
	text-align: center;
	border: 1px solid var(--ps-navy);
	border-radius: 50%;
}

.ps-filter-accordion:not(.ps-open) .ps-accordion-icon::after {
	content: "+";
}

.ps-accordion-body {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease, padding 0.3s ease;
}

.ps-open .ps-accordion-body {
	max-height: 500px;
	padding-bottom: 14px;
}

/* Checkboxes */

.ps-checkbox-label {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 7px 0;
	cursor: pointer;
	font-size: 14px;
	color: var(--ps-text);
}

.ps-checkbox-label:hover {
	color: var(--ps-navy);
}

.ps-checkbox {
	width: 18px;
	height: 18px;
	accent-color: var(--ps-navy);
	cursor: pointer;
	border-radius: 3px;
}

/* ======= PRODUCT LIST ======= */

.ps-plp-content {
	flex: 1;
	min-width: 0;
}

/* ======================================
   PRODUCT CARD (Horizontal / List View)
   ====================================== */

.ps-product-card {
	display: flex;
	gap: 35px;
	padding: 40px 0;
	border-bottom: 1px solid var(--ps-border);
	align-items: flex-start;
}

.ps-product-card:first-child {
	padding-top: 10px;
}

.ps-card-image-col {
	width: 350px;
	min-width: 350px;
	text-align: center;
}

.ps-card-image-col a {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #F7F8F8;
	padding: 20px;
	border-radius: 4px;
	height: 400px;
	box-sizing: border-box;
}

.ps-card-image-col img {
	width: 80%;
	max-height: 100%;
	height: auto;
	display: block;
	object-fit: contain;
	transition: transform 0.3s ease;
}

.ps-card-image-col:hover img {
	transform: scale(1.03);
}

.ps-card-content-col {
	flex: 1;
	min-width: 0;
}

.ps-card-title {
	margin: 0 0 10px;
	font-family: var(--ps-font-heading);
	font-size: 24px;
	font-weight: 400;
	line-height: 1.3;
	text-transform: uppercase;
}

.ps-card-title a {
	color: var(--ps-navy);
}

.ps-card-title a:hover {
	color: var(--ps-blue);
}

/* Star Rating */

.ps-card-rating {
	display: flex;
	align-items: center;
	gap: 3px;
	margin-bottom: 16px;
}

.ps-star {
	font-size: 20px;
	line-height: 1;
}

.ps-star-full {
	color: var(--ps-green);
}

.ps-star-half {
	color: var(--ps-green);
	opacity: 0.5;
}

.ps-star-empty {
	color: #ccc;
}

.ps-rating-num {
	font-size: 15px;
	color: var(--ps-text-light);
	margin-left: 8px;
	font-weight: 600;
}

.ps-no-rating {
	font-size: 13px;
	color: var(--ps-text-muted);
	font-style: italic;
}

/* Short Description */

.ps-card-description {
	margin: 0 0 16px;
	font-size: 15px;
	color: #444;
	line-height: 1.7;
}

.ps-card-description ul,
.ps-card-description ol {
	margin: 4px 0;
	padding: 0 0 0 22px;
}

.ps-card-description li {
	line-height: 1.8;
}

.ps-card-description p {
	margin: 0 0 8px;
}

/* Sheens */

.ps-card-sheens {
	margin-bottom: 20px;
	font-size: 15px;
	color: var(--ps-text);
}

.ps-card-sheens strong {
	display: block;
	color: var(--ps-navy);
	margin-bottom: 2px;
	font-size: 14px;
}

/* Card Buttons */

.ps-card-buttons {
	display: flex;
	gap: 14px;
}

.ps-card-btn {
	display: inline-block;
	padding: 11px 52px;
	border-radius: 25px;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	letter-spacing: 0.5px;
	transition: all 0.2s ease;
	text-align: center;
	min-width: 160px;
}

.ps-btn-view {
	background: #002E5D;
	color: #ffffff;
	border: 2px solid #002E5D;
}

.ps-btn-view:hover {
	background: #63B5E5;
	border-color: #63B5E5;
	color: #ffffff;
}

.ps-btn-buy {
	background: #002E5D;
	color: #ffffff;
	border: 2px solid #002E5D;
}

.ps-btn-buy:hover {
	background: #63B5E5;
	border-color: #63B5E5;
	color: #ffffff;
}

/* ======================================
   HIDE DEFAULT WOOCOMMERCE ELEMENTS
   ====================================== */

.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product a.add_to_cart_button,
.woocommerce .woocommerce-ordering,
.woocommerce .woocommerce-result-count,
.woocommerce-products-header,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .star-rating {
	display: none !important;
}

.woocommerce ul.products {
	display: flex !important;
	flex-direction: column !important;
	gap: 0 !important;
}

.woocommerce ul.products li.product {
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
	border: none !important;
	background: transparent !important;
	box-shadow: none !important;
}

.woocommerce ul.products li.product:hover {
	transform: none !important;
}

/* ======================================
   WOO SINGLE PRODUCT (let plugin handle)
   ====================================== */

.single-product .site-container {
	max-width: 99vw;
}

/* ======================================
   INFINITE SCROLL
   ====================================== */

#ps-infinite-sentinel {
	display: flex;
	justify-content: center;
	padding: 30px 0;
}

.ps-loading-spinner {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 14px;
	color: var(--ps-text-muted);
	font-family: var(--ps-font);
}

.ps-spinner {
	width: 24px;
	height: 24px;
	border: 3px solid #e0e0e0;
	border-top-color: var(--ps-navy);
	border-radius: 50%;
	animation: ps-spin 0.7s linear infinite;
}

@keyframes ps-spin {
	to { transform: rotate(360deg); }
}

/* Mobile Filter Toggle Button - hidden on desktop */
.ps-mobile-filter-toggle {
	display: none;
}

/* Sidebar close button - hidden on desktop */
.ps-sidebar-close {
	display: none;
}

.ps-sidebar-header-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

/* ======================================
   RESPONSIVE
   ====================================== */

@media (max-width: 768px) {
	.ps-plp-wrapper {
		flex-direction: column;
	}

	/* Mobile Filter Toggle Button */
	.ps-mobile-filter-toggle {
		display: flex;
		align-items: center;
		gap: 8px;
		padding: 12px 20px;
		background: var(--ps-navy);
		color: var(--ps-white);
		border: none;
		border-radius: var(--ps-radius);
		font-size: 15px;
		font-weight: 700;
		font-family: var(--ps-font);
		cursor: pointer;
		width: 100%;
		justify-content: center;
		transition: background 0.2s;
		margin-bottom: 0;
	}

	.ps-mobile-filter-toggle:hover {
		background: var(--ps-blue);
	}

	.ps-mobile-filter-toggle.ps-filter-active {
		background: var(--ps-blue);
	}

	/* Sidebar hidden by default on mobile */
	.ps-plp-sidebar {
		display: none;
		width: 100%;
		min-width: unset;
		position: static;
		animation: ps-slide-down 0.3s ease;
	}

	/* Sidebar visible when toggled */
	.ps-plp-sidebar.ps-sidebar-open {
		display: block;
	}

	/* Show close button on mobile */
	.ps-sidebar-close {
		display: flex;
		align-items: center;
		justify-content: center;
		background: none;
		border: 1px solid #ccc;
		border-radius: 50%;
		width: 30px;
		height: 30px;
		font-size: 16px;
		cursor: pointer;
		color: var(--ps-text);
		transition: background 0.2s, color 0.2s;
		padding: 0;
		line-height: 1;
	}

	.ps-sidebar-close:hover {
		background: var(--ps-navy);
		color: var(--ps-white);
		border-color: var(--ps-navy);
	}

	/* All filter accordions start collapsed on mobile (JS removes ps-open on load) */

	/* Slide-down animation */
	@keyframes ps-slide-down {
		from {
			opacity: 0;
			transform: translateY(-10px);
		}
		to {
			opacity: 1;
			transform: translateY(0);
		}
	}

	.ps-product-card {
		flex-direction: column;
		gap: 20px;
	}

	.ps-card-image-col {
		width: 100%;
		min-width: unset;
	}

	.ps-hero-banner {
		padding: 30px 20px;
	}

	.ps-hero-title {
		font-size: 24px;
		letter-spacing: 2px;
	}

	.ps-card-buttons {
		flex-direction: column;
	}

	.ps-card-btn {
		min-width: unset;
		width: 100%;
	}

	/* Header responsive */
	.ps-utility-inner {
		flex-direction: column;
		gap: 8px;
		text-align: center;
	}

	.ps-utility-right {
		gap: 16px;
	}

	.ps-header-inner {
		flex-wrap: wrap;
		height: auto;
		padding: 12px 20px;
		gap: 12px;
	}

	.ps-primary-nav ul {
		flex-wrap: wrap;
		gap: 4px;
	}

	.ps-search-input {
		width: 100px;
	}

	.ps-search-input:focus {
		width: 130px;
	}
}

/* ======================================
   CART PAGE REDESIGN
   ====================================== */

.woocommerce-cart .site-container {
	max-width: 1200px;
}

.ps-cart-container {
	display: flex;
	gap: 30px;
	margin: 40px 0 80px;
	align-items: flex-start;
}

.ps-cart-main {
	flex: 1;
	min-width: 0;
}

.ps-cart-sidebar {
	width: 340px;
	min-width: 340px;
	position: sticky;
	top: 100px;
}

/* Cart Header */
.ps-cart-header {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 20px;
	padding-bottom: 10px;
}

.ps-cart-header h2 {
	font-family: var(--ps-font);
	font-weight: 700;
	font-size: 26px;
	text-transform: none;
	color: #000;
	margin: 0;
}

.ps-cart-header-actions a {
	color: #444;
	font-size: 14px;
	text-decoration: underline;
	margin: 0 4px;
}

.ps-cart-header-actions a:hover {
	color: var(--ps-blue);
}

/* Cart Items Container */
.ps-cart-items {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.ps-cart-item {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	overflow: hidden;
}

/* Fulfillment Header in Item */
.ps-cart-item-fulfillment-header {
	padding: 15px 20px;
	border-bottom: 1px solid #e0e0e0;
	font-size: 16px;
	font-weight: 700;
	background: #fdfdfd;
}

/* Card Body */
.ps-cart-item-card {
	display: flex;
	padding: 24px 20px 0;
	gap: 24px;
	margin-bottom: 24px;
}

/* Image Col */
.ps-cart-item-image {
	width: 140px;
	display: flex;
	flex-direction: column;
	gap: 15px;
	align-items: center;
}

.ps-cart-item-image-inner {
	width: 140px;
	height: 140px;
	background: #e8e0d5;
	/* default */
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ps-cart-item-image-inner img {
	max-width: 80%;
	max-height: 80%;
}

.ps-cart-item-actions-left {
	display: flex;
	flex-direction: column;
	gap: 10px;
	text-align: center;
}

.ps-toggle-details {
	background: none;
	border: none;
	color: #0076D6;
	font-weight: 600;
	font-size: 13px;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 0;
}

.ps-toggle-details:hover {
	text-decoration: underline;
}

.ps-save-later {
	font-size: 13px;
	color: #0076D6;
	text-decoration: underline;
}

/* Center Col */
.ps-cart-item-center {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ps-cart-item-title {
	font-size: 16px;
	font-weight: 400;
	color: #333;
	line-height: 1.4;
	margin-bottom: 8px;
}

.ps-cart-item-title a {
	color: #333;
}

.ps-cart-item-meta {
	font-size: 12px;
	color: #666;
	line-height: 1.5;
	margin-bottom: 12px;
}

/* Quantity */
.ps-cart-item-quantity .quantity {
	display: inline-flex;
	border: 1px solid #ccc;
	border-radius: 4px;
	overflow: hidden;
}

.ps-cart-item-quantity .quantity input {
	width: 45px;
	text-align: center;
	border: none;
	background: #fff;
	padding: 6px 0;
	font-size: 14px;
	outline: none;
	font-family: var(--ps-font);
}

.ps-cart-item-quantity .quantity input::-webkit-outer-spin-button,
.ps-cart-item-quantity .quantity input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* Fulfillment Col */
.ps-cart-item-fulfillment-column {
	width: 190px;
}

.ps-cart-item-fulfillment-options {
	margin-top: -3px;
	/* visual alignment tweak */
}

.ps-fulfillment-option {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 18px;
}

.ps-fulfillment-option input[type="radio"] {
	margin-top: 3px;
}

.ps-fulfillment-option label {
	font-size: 13px;
	line-height: 1.4;
	color: #333;
}

.ps-fulfillment-option label strong {
	color: #2e8b57;
	/* Lowe's Green for 'Today' */
}

/* Price Remove Col */
.ps-cart-item-price-remove {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	justify-content: flex-end;
	min-width: 100px;
}

.ps-cart-item-price {
	font-size: 18px;
	font-weight: 700;
	color: #000;
}

.ps-remove-item {
	font-size: 24px !important;
	color: #0076D6 !important;
	line-height: 1;
	cursor: pointer;
}

.ps-remove-item:hover {
	color: #005a9c !important;
}

.ps-metadata-table td {
	color: #444;
	padding: 5px 0;
}

/* ORDER SUMMARY SIDEBAR */
.ps-order-summary {
	background: #fff;
	padding: 24px;
	border-radius: 8px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.ps-order-summary h2 {
	font-family: var(--ps-font);
	font-size: 24px;
	font-weight: 700;
	text-align: center;
	margin: 0 0 20px;
	color: #111;
	text-transform: none;
	border-bottom: 1px solid #ddd;
	padding-bottom: 18px;
}

.ps-summary-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 0;
	font-size: 15px;
	color: #222;
}

.ps-row-subtotal {
	padding-top: 5px;
}

.ps-row-fees {
	border-bottom: 1px solid #ddd;
	padding-bottom: 18px;
	margin-bottom: 12px;
}

.ps-row-tax {
	padding-bottom: 18px;
	border-bottom: 1px solid #ddd;
}

.ps-text-muted {
	color: #666;
}

.ps-tooltip-btn {
	background: none;
	border: none;
	color: #444;
	cursor: pointer;
	padding: 0;
	margin-left: 2px;
	vertical-align: middle;
	display: inline-flex;
}

.ps-tooltip-btn svg {
	width: 14px;
	height: 14px;
}

.ps-tooltip-btn:hover {
	color: #000;
}

.ps-promo-code-toggle {
	margin: 15px 0 10px;
	padding: 5px 0 20px;
	border-bottom: 1px solid #ddd;
}

.ps-promo-code-toggle a {
	color: #0076D6;
	font-size: 16px;
	font-weight: 700;
	display: flex;
	align-items: center;
	gap: 6px;
}

.ps-chevron,
.ps-chevron-blue {
	font-size: 14px;
	font-weight: 400;
	line-height: 1;
}

.ps-chevron {
	color: #333;
}

.ps-chevron-blue {
	color: #0076D6;
}

.ps-summary-total {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 20px 0 25px;
}

.ps-total-label {
	font-size: 18px;
	font-weight: 700;
	color: #000;
}

.ps-total-value {
	font-size: 20px;
	font-weight: 700;
	color: #000;
}

/* Checkout Buttons */
.ps-checkout-actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ps-start-checkout-btn {
	background: #008744;
	color: #fff;
	border-radius: 6px;
	padding: 16px;
	text-align: center;
	font-weight: 700;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	font-size: 16px;
	border: none;
	cursor: pointer;
	text-decoration: none;
	transition: background 0.2s;
}

.ps-start-checkout-btn:hover {
	background: #006633;
	color: #fff;
}

.ps-checkout-divider {
	text-align: center;
	position: relative;
	margin: 12px 0;
}

.ps-checkout-divider::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 1px;
	background: #e0e0e0;
	z-index: 1;
}

.ps-checkout-divider span {
	background: #fdfdfd;
	padding: 0 12px;
	color: #333;
	font-size: 13px;
	position: relative;
	z-index: 2;
}

.ps-apple-pay-btn {
	background: #000;
	color: #fff;
	border-radius: 6px;
	padding: 15px;
	font-weight: 400;
	font-size: 18px;
	border: none;
	cursor: pointer;
	transition: background 0.2s;
}

.ps-apple-pay-btn strong {
	font-weight: 700;
}

.ps-apple-pay-btn:hover {
	background: #333;
}

.ps-paypal-btn {
	background: #ffc439;
	color: #003087;
	border-radius: 6px;
	padding: 15px;
	font-weight: 700;
	font-size: 16px;
	border: none;
	cursor: pointer;
	transition: background 0.2s;
}

.ps-paypal-btn:hover {
	background: #e5a918;
}

.ps-terms-text {
	font-size: 12px;
	color: #666;
	text-align: center;
	margin-top: 15px;
	line-height: 1.5;
}

.ps-terms-text a {
	color: #0076D6;
	text-decoration: underline;
}

@media (max-width: 768px) {
	.ps-cart-container {
		flex-direction: column;
	}

	.ps-cart-sidebar {
		width: 100%;
		position: static;
	}

	.ps-cart-item-card {
		flex-direction: column;
	}

	.ps-cart-item-image {
		width: 100%;
		flex-direction: row;
		align-items: flex-start;
	}

	.ps-cart-item-fulfillment-column {
		width: 100%;
	}

	.ps-cart-item-price-remove {
		justify-content: space-between;
		width: 100%;
		margin-top: 20px;
	}
}

/* ==========================================
   WOOCOMMERCE MY ACCOUNTOVERRIDES
   ========================================== */
.woocommerce-account .woocommerce-MyAccount-navigation {
	float: none !important;
	width: 100% !important;
}

.woocommerce-account .woocommerce-MyAccount-content {
	float: none !important;
	width: 100% !important;
}

/* Ensure the nav list remains horizontal on all screens */
.woocommerce-account .woocommerce-MyAccount-navigation ul {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	padding-left: 0;
	margin-bottom: 0;
}