/* =========================================================================
   ParsiDate — WooCommerce styles
   Plain CSS on purpose: this file must keep working if/when the Tailwind
   Play CDN is removed from header.php.
   ========================================================================= */

:root {
	/* Shop width. Set --pd-wc-max to "none" for true edge-to-edge full width. */
	--pd-wc-max: 1560px;
	--pd-wc-pad: 24px;

	--pd-brand: #3858e9;
	--pd-brand-dark: #2a45c4;
	--pd-brand-soft: rgba(56, 88, 233, .10);
	--pd-ink: #1e1e1e;
	--pd-body: #555555;
	--pd-muted: #767676;
	--pd-faint: #a5a5a5;
	--pd-line: #e5e5e5;
	--pd-surface: #f6f6f6;
	--pd-radius: 22px;
	--pd-radius-sm: 14px;
	--pd-shadow: 0 20px 44px rgba(30, 30, 30, .08);
}

/* -------------------------------------------------------------------------
   1. Full-width containers
   ---------------------------------------------------------------------- */
.pd-wc-container {
	width: 100%;
	max-width: var(--pd-wc-max);
	margin-inline: auto;
	padding-inline: var(--pd-wc-pad);
	padding-block: 8px 64px;
}

.pd-wc-shop .pd-wc-container,
.pd-wc-single .pd-wc-container ,
.pd-wc-page-wrap{
	box-sizing: border-box;
	max-width: 1200px;
	padding-left: 2rem;
	padding-right: 2rem;
}

/* Cart / checkout / account run through page.php */
.pd-wc-page-wrap {
	width: 100%;
	max-width: var(--pd-wc-max);
	margin-inline: auto;
	padding-inline: var(--pd-wc-pad);
	padding-block: 32px 72px;
	
	max-width: 1200px;
	padding-left: 2rem;
	padding-right: 2rem;
}

.pd-wc-page-title {
	font-weight: 900;
	font-size: clamp(28px, 4.6vw, 44px);
	color: var(--pd-ink);
	text-align: center;
	line-height: 1.25;
	margin: 16px 0 28px;
}

/* Kill the theme's decorative blobs on checkout — they hurt readability. */
.woocommerce-checkout [aria-hidden="true"][class*="animate-[blob"] {
	display: none;
}

/* -------------------------------------------------------------------------
   2. Breadcrumb
   ---------------------------------------------------------------------- */
.pd-breadcrumb {
	font-size: 13px;
	color: var(--pd-muted);
	margin: 0 0 22px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.pd-breadcrumb a {
	color: var(--pd-muted);
	text-decoration: none;
	transition: color .2s;
}

.pd-breadcrumb a:hover {
	color: var(--pd-brand);
}

.pd-crumb-sep {
	color: var(--pd-faint);
}

/* -------------------------------------------------------------------------
   3. Shop toolbar (sorting removed — result count only)
   ---------------------------------------------------------------------- */
.pd-shop-toolbar {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0 0 24px;
}

.pd-shop-toolbar:empty {
	display: none;
}

.woocommerce-result-count {
	margin: 0;
	font-size: 13.5px;
	color: var(--pd-muted);
	background: var(--pd-surface);
	border: 1px solid var(--pd-line);
	border-radius: 999px;
	padding: 7px 16px;
}

/* Belt and braces: if a plugin re-adds the sorting form, keep it hidden. */
.woocommerce-ordering {
	display: none !important;
}

/* -------------------------------------------------------------------------
   4. Product grid
   ---------------------------------------------------------------------- */
.woocommerce ul.products,
ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 26px;
	list-style: none;
	margin: 0 0 48px;
	padding: 0;
}

ul.products.columns-1 { grid-template-columns: minmax(0, 1fr); }
ul.products.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
ul.products.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
ul.products.columns-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
ul.products.columns-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

ul.products::before,
ul.products::after {
	content: none !important;
}

/* -------------------------------------------------------------------------
   5. Product card
   ---------------------------------------------------------------------- */
.pd-product,
ul.products li.product {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--pd-line);
	border-radius: var(--pd-radius);
	overflow: hidden;
	list-style: none;
	margin: 0 !important;
	padding: 0 !important;
	width: auto !important;
	float: none !important;
	transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

ul.products li.product:hover {
	border-color: rgba(56, 88, 233, .4);
	box-shadow: var(--pd-shadow);
	transform: translateY(-3px);
}

.pd-product__media {
	position: relative;
	background: var(--pd-surface);
	overflow: hidden;
}

.pd-product__link {
	display: block;
	width: 100%;
	height: 100%;
	text-decoration: none;
}

.pd-product__media img,
ul.products li.product img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	margin: 0 !important;
	border-radius: 0;
	transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}

ul.products li.product:hover .pd-product__media img {
	transform: scale(1.06);
}

/* Sale badge */
.pd-product__media .onsale,
ul.products li.product .onsale,
.pd-product__cat{
	position: absolute;
	inset-block-start: 12px;
	inset-inline-start: 12px;
	z-index: 2;
	background: var(--pd-brand);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	padding: 7px 12px;
	border-radius: 999px;
	margin: 0;
	min-height: 0;
	min-width: 0;
	box-shadow: 0 6px 18px rgba(56, 88, 233, .32);
	top: 15px !important;
	left: 15px !important;
}

.pd-product__cat{
	left: auto !important;
	right: 10px !important;
	top: 9px !important;
}

/* Out of stock veil */
.pd-product.outofstock .pd-product__media::after {
	content: "ناموجود";
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, .72);
	color: var(--pd-ink);
	font-weight: 800;
	font-size: 15px;
}

.pd-product__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 20px;
	gap: 0;
}

/*.pd-product__cat {
	align-self: flex-start;
	background: var(--pd-brand-soft);
	color: var(--pd-brand);
	font-size: 11px;
	font-weight: 600;
	padding: 3px 10px;
	border-radius: 6px;
	text-decoration: none;
}*/

.pd-product__title-link {
	text-decoration: none;
}

.woocommerce-loop-product__title,
ul.products li.product .woocommerce-loop-product__title {
	font-size: 22px !important;
	font-weight: 800;
	line-height: 1.65;
	color: var(--pd-ink);
	margin: 0;
	padding: 0;
	transition: color .2s;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

ul.products li.product:hover .woocommerce-loop-product__title {
	color: var(--pd-brand);
}

/* Rating */
ul.products li.product .star-rating {
	font-size: 13px;
	margin: 2px 0;
	color: #f59e0b;
	float: none;
	display: none
}

/* Price */
ul.products li.product .price {
	margin: 2px 0 0;
	color: var(--pd-ink) !important;
	font-size: 17px !important;
	font-weight: 800;
	display: flex;
	align-items: baseline;
	gap: 8px;
	flex-wrap: wrap;
}

ul.products li.product .price del {
	color: var(--pd-faint);
	font-size: 14px;
	font-weight: 500;
	opacity: 1;
}

ul.products li.product .price ins {
	background: transparent;
	text-decoration: none;
	color: var(--pd-brand);
	font-weight: 800;
}

.pd-product__actions {
	margin-top: auto;
	padding-top: 14px;
}

/* -------------------------------------------------------------------------
   6. Buttons
   ---------------------------------------------------------------------- */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.wc-block-components-button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: var(--pd-brand);
	color: #fff;
	font-family: inherit;
	font-weight: 700;
	font-size: 14.5px;
	line-height: 1.5;
	padding: 13px 22px;
	border: 0;
	border-radius: var(--pd-radius-sm);
	text-decoration: none;
	cursor: pointer;
	transition: background .2s ease, box-shadow .2s ease, transform .12s ease;
	box-shadow: 0 6px 18px rgba(56, 88, 233, .24);
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.wc-block-components-button:hover {
	background: var(--pd-brand-dark);
	color: #fff;
}

.woocommerce a.button:active,
.woocommerce button.button:active {
	transform: translateY(1px);
}

.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
	background: var(--pd-brand);
	color: #fff;
}

/* Secondary / ghost */
.woocommerce a.button.wc-backward,
.woocommerce .cart .button.wc-backward,
.woocommerce a.added_to_cart {
	background: #fff;
	color: var(--pd-ink);
	border: 1px solid var(--pd-line);
	box-shadow: none;
}

.woocommerce a.button.wc-backward:hover,
.woocommerce a.added_to_cart:hover {
	background: var(--pd-surface);
	color: var(--pd-brand);
	border-color: var(--pd-brand);
}

/* Loop add to cart fills the card footer */
ul.products li.product .button {
	width: 100%;
	font-size: 14px;
	padding: 12px 16px;
	text-align: center
}

ul.products li.product .added_to_cart {
	display: block;
	width: 100%;
	text-align: center;
	margin-top: 8px;
	font-size: 13px;
}

.woocommerce button.button.loading::after,
.woocommerce a.button.loading::after {
	inset-inline-end: 12px;
}

/* Disabled */
.woocommerce button.button:disabled,
.woocommerce button.button.disabled {
	background: var(--pd-line);
	color: var(--pd-muted);
	box-shadow: none;
	cursor: not-allowed;
}

/* -------------------------------------------------------------------------
   7. Pagination
   ---------------------------------------------------------------------- */
.woocommerce nav.woocommerce-pagination {
	margin: 8px 0 0;
	text-align: center;
}

.woocommerce nav.woocommerce-pagination ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	border: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.woocommerce nav.woocommerce-pagination ul li {
	border: 0;
	margin: 0;
	overflow: visible;
	float: none;
	display: inline-flex;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border: 1px solid var(--pd-line);
	border-radius: var(--pd-radius-sm);
	background: #fff;
	color: var(--pd-ink);
	font-weight: 700;
	font-size: 14px;
	text-decoration: none;
	transition: .2s;
}

.woocommerce nav.woocommerce-pagination ul li a:hover {
	border-color: var(--pd-brand);
	color: var(--pd-brand);
	background: #fff;
}

.woocommerce nav.woocommerce-pagination ul li span.current {
	background: var(--pd-brand);
	border-color: var(--pd-brand);
	color: #fff;
}

/* -------------------------------------------------------------------------
   8. Single product — full-width two-column layout
   ---------------------------------------------------------------------- */
.pd-wc-single div.product {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: 48px;
	align-items: start;
	margin: 0 0 56px;
}

.pd-wc-single div.product::before,
.pd-wc-single div.product::after {
	content: none;
}

/* Default: every direct child (tabs, related, upsells, notices) spans full
   width. The gallery and summary are then pinned into the top two columns.
   Written this way so unknown children from plugins never break the grid. */
.pd-wc-single div.product > * {
	grid-column: 1 / -1;
}

.pd-wc-single div.product > .woocommerce-product-gallery {
	grid-column: 1;
	grid-row: 1;
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
	position: relative;
}

.pd-wc-single div.product > .summary {
	grid-column: 2;
	grid-row: 1;
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
}

/* Sale badge floats over the gallery instead of claiming its own grid row. */
.pd-wc-single div.product > .onsale {
	position: absolute;
	inset-block-start: 16px;
	inset-inline-start: 16px;
	z-index: 4;
	grid-column: auto;
	background: var(--pd-brand);
	color: #fff;
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1;
	padding: 8px 14px;
	border-radius: 999px;
	margin: 0;
	min-height: 0;
	min-width: 0;
	box-shadow: 0 6px 18px rgba(56, 88, 233, .32);
}

/* Gallery */
.woocommerce-product-gallery__wrapper {
	margin: 0;
}

.woocommerce-product-gallery .woocommerce-product-gallery__image img {
	border-radius: var(--pd-radius);
	border: 1px solid var(--pd-line);
	display: block;
	width: 100%;
	height: auto;
}

.woocommerce-product-gallery .flex-control-thumbs {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 10px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

.woocommerce-product-gallery .flex-control-thumbs li {
	width: 100% !important;
	float: none !important;
	margin: 0;
	list-style: none;
}

.woocommerce-product-gallery .flex-control-thumbs img {
	border-radius: 12px;
	border: 1px solid var(--pd-line);
	opacity: .62;
	transition: .2s;
	width: 100%;
	height: auto;
}

.woocommerce-product-gallery .flex-control-thumbs img:hover,
.woocommerce-product-gallery .flex-control-thumbs img.flex-active {
	opacity: 1;
	border-color: var(--pd-brand);
}

.woocommerce-product-gallery__trigger {
	position: absolute;
	inset-block-start: 14px;
	inset-inline-end: 14px;
	z-index: 5;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: #fff;
	border: 1px solid var(--pd-line);
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	color: var(--pd-ink);
	font-size: 0;
}

.woocommerce-product-gallery__trigger::after {
	content: "⤢";
	font-size: 18px;
	line-height: 1;
}

/* Summary */
.pd-wc-single .product_title {
	font-size: clamp(24px, 3.2vw, 36px);
	font-weight: 900;
	color: var(--pd-ink);
	line-height: 1.35;
	margin: 0 0 14px;
}

.pd-wc-single .summary .price {
	font-size: 26px;
	font-weight: 900;
	color: var(--pd-ink);
	margin: 0 0 18px;
	display: flex;
	align-items: baseline;
	gap: 12px;
	flex-wrap: wrap;
}

.pd-wc-single .summary .price del {
	font-size: 18px;
	font-weight: 500;
	color: var(--pd-faint);
	opacity: 1;
}

.pd-wc-single .summary .price ins {
	background: transparent;
	text-decoration: none;
	color: var(--pd-brand);
}

.woocommerce-product-details__short-description {
	color: var(--pd-body);
	font-size: 15px;
	line-height: 2;
	margin: 0 0 22px;
	padding: 0 0 22px;
	border-block-end: 1px solid var(--pd-line);
}

.woocommerce-product-rating {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	font-size: 13px;
}

.woocommerce-product-rating .woocommerce-review-link {
	color: var(--pd-muted);
	text-decoration: none;
}

/* Quantity + add to cart row */
.pd-wc-single form.cart {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin: 0 0 22px;
}

.pd-wc-single form.cart.variations_form {
	display: block;
}

.woocommerce .quantity .qty {
	width: 84px;
	height: 50px;
	text-align: center;
	border: 1px solid var(--pd-line);
	border-radius: var(--pd-radius-sm);
	background: #fff;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	color: var(--pd-ink);
}

.pd-wc-single form.cart .single_add_to_cart_button {
	height: 50px;
	flex: 1;
	min-width: 200px;
}

/* Variations table */
.woocommerce table.variations {
	width: 100%;
	margin: 0 0 18px;
	border: 0;
}

.woocommerce table.variations th,
.woocommerce table.variations td {
	border: 0;
	padding: 8px 0;
	vertical-align: middle;
}

.woocommerce table.variations th {
	font-weight: 700;
	color: var(--pd-ink);
	font-size: 14px;
	width: 110px;
}

.woocommerce .reset_variations {
	font-size: 13px;
	color: var(--pd-muted);
}

.woocommerce .woocommerce-variation-price {
	margin: 0 0 14px;
}

/* Product meta */
.product_meta {
	font-size: 13.5px;
	color: var(--pd-muted);
	line-height: 2.2;
	padding-block-start: 18px;
	border-block-start: 1px solid var(--pd-line);
}

.product_meta a {
	color: var(--pd-body);
	text-decoration: none;
}

.product_meta a:hover {
	color: var(--pd-brand);
}

/* -------------------------------------------------------------------------
   9. Tabs, reviews, related
   ---------------------------------------------------------------------- */
.woocommerce-tabs {
	margin: 8px 0 56px;
}

.woocommerce-tabs ul.tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0 0 22px;
	padding: 0;
	border-block-end: 1px solid var(--pd-line);
}

.woocommerce-tabs ul.tabs::before,
.woocommerce-tabs ul.tabs::after,
.woocommerce-tabs ul.tabs li::before,
.woocommerce-tabs ul.tabs li::after {
	content: none !important;
	display: none !important;
}

.woocommerce-tabs ul.tabs li {
	background: transparent;
	border: 0;
	border-radius: 0;
	margin: 0;
	padding: 0;
}

.woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 12px 18px;
	font-weight: 700;
	font-size: 15px;
	color: var(--pd-muted);
	text-decoration: none;
	border-block-end: 2px solid transparent;
	margin-block-end: -1px;
	transition: .2s;
}

.woocommerce-tabs ul.tabs li.active a,
.woocommerce-tabs ul.tabs li a:hover {
	color: var(--pd-brand);
	border-block-end-color: var(--pd-brand);
}

.woocommerce-Tabs-panel {
	color: var(--pd-body);
	font-size: 15.5px;
	line-height: 2.05;
}

.woocommerce-Tabs-panel h2 {
	font-size: 22px;
	font-weight: 800;
	color: var(--pd-ink);
	margin: 0 0 14px;
}

.woocommerce-Tabs-panel p {
	margin: 0 0 1.1em;
}

.woocommerce-Tabs-panel ul,
.woocommerce-Tabs-panel ol {
	padding-inline-start: 1.4em;
	margin: 0 0 1.2em;
}

.woocommerce table.shop_attributes {
	border: 1px solid var(--pd-line);
	border-radius: var(--pd-radius-sm);
	overflow: hidden;
	border-collapse: separate;
	border-spacing: 0;
	width: 100%;
}

.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td {
	border: 0;
	border-block-end: 1px solid var(--pd-line);
	padding: 12px 16px;
	font-size: 14px;
	text-align: start;
}

.woocommerce table.shop_attributes th {
	background: var(--pd-surface);
	font-weight: 700;
	color: var(--pd-ink);
	width: 200px;
}

.woocommerce table.shop_attributes tr:last-child th,
.woocommerce table.shop_attributes tr:last-child td {
	border-block-end: 0;
}

/* Reviews */
.woocommerce #reviews #comments ol.commentlist {
	list-style: none;
	padding: 0;
	margin: 0 0 24px;
}

.woocommerce #reviews #comments ol.commentlist li {
	margin: 0 0 16px;
}

.woocommerce #reviews #comments ol.commentlist li .comment_container {
	background: #fff;
	border: 1px solid var(--pd-line);
	border-radius: var(--pd-radius-sm);
	padding: 18px;
	display: flex;
	gap: 14px;
}

.woocommerce #reviews #comments ol.commentlist li img.avatar {
	position: static;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 0;
	padding: 0;
	background: var(--pd-surface);
}

.woocommerce #reviews #comments ol.commentlist li .comment-text {
	border: 0;
	padding: 0;
	margin: 0;
	border-radius: 0;
	flex: 1;
}

/* Related / upsells / cross-sells headings */
.related > h2,
.upsells > h2,
.cross-sells > h2,
.woocommerce .cart-collaterals h2 {
	font-size: 24px;
	font-weight: 900;
	color: var(--pd-ink);
	margin: 0 0 22px;
}

/* -------------------------------------------------------------------------
   10. Notices
   ---------------------------------------------------------------------- */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-notice {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	background: var(--pd-surface);
	border: 1px solid var(--pd-line);
	border-inline-start: 3px solid var(--pd-brand);
	border-radius: var(--pd-radius-sm);
	color: var(--pd-ink);
	font-size: 14.5px;
	line-height: 1.9;
	padding: 16px 20px;
	margin: 0 0 24px;
	list-style: none;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
	content: none;
}

.woocommerce-error {
	border-inline-start-color: #dc2626;
	background: rgba(220, 38, 38, .05);
}

.woocommerce-message {
	border-inline-start-color: #059669;
	background: rgba(5, 150, 105, .05);
}

.woocommerce-message .button,
.woocommerce-info .button {
	margin-inline-start: auto;
	padding: 9px 16px;
	font-size: 13.5px;
}

/* -------------------------------------------------------------------------
   11. Form fields (shared by cart, checkout, account)
   ---------------------------------------------------------------------- */
.woocommerce form .form-row {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0 0 16px;
	padding: 0;
}

.woocommerce form .form-row label {
	font-size: 13.5px;
	font-weight: 600;
	color: var(--pd-ink);
}

.woocommerce form .form-row .required {
	color: #dc2626;
	text-decoration: none;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce .select2-container .select2-selection--single,
.wc-block-components-text-input input,
.wc-block-components-select select {
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	border: 1px solid var(--pd-line);
	border-radius: var(--pd-radius-sm);
	background: #fff;
	font-family: inherit;
	font-size: 15px;
	color: var(--pd-ink);
	transition: border-color .2s, box-shadow .2s;
	box-sizing: border-box;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus,
.wc-block-components-text-input input:focus {
	outline: none;
	border-color: var(--pd-brand);
	box-shadow: 0 0 0 3px var(--pd-brand-soft);
}

.woocommerce form .form-row textarea {
	min-height: 110px;
	line-height: 1.9;
}

.woocommerce .select2-container .select2-selection--single {
	display: flex;
	align-items: center;
}

.woocommerce .select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 46px;
}

.woocommerce-form__label-for-checkbox {
	flex-direction: row !important;
	align-items: center;
	gap: 8px;
}

/* -------------------------------------------------------------------------
   12. Cart — classic (shortcode) layout, full width
   ---------------------------------------------------------------------- */
.woocommerce-cart .pd-wc-page-wrap .woocommerce {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 32px;
}

.woocommerce-cart .woocommerce-cart-form {
	width: 100%;
}

.woocommerce table.shop_table {
	width: 100%;
	border: 1px solid var(--pd-line);
	border-radius: var(--pd-radius);
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	background: #fff;
	margin: 0 0 26px;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
	border: 0;
	border-block-end: 1px solid var(--pd-line);
	padding: 16px 18px;
	font-size: 14.5px;
	text-align: start;
	vertical-align: middle;
}

.woocommerce table.shop_table thead th {
	background: var(--pd-surface);
	font-weight: 800;
	color: var(--pd-ink);
	font-size: 13.5px;
}

.woocommerce table.shop_table tbody tr:last-child td {
	border-block-end: 0;
}

.woocommerce table.cart img,
.woocommerce-cart table.cart img {
	width: 74px;
	height: 74px;
	object-fit: cover;
	border-radius: 12px;
	border: 1px solid var(--pd-line);
}

.woocommerce table.cart td.product-name a {
	color: var(--pd-ink);
	font-weight: 700;
	text-decoration: none;
}

.woocommerce table.cart td.product-name a:hover {
	color: var(--pd-brand);
}

.woocommerce a.remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 8px;
	background: var(--pd-surface);
	color: var(--pd-muted) !important;
	font-size: 18px;
	line-height: 1;
	text-decoration: none;
}

.woocommerce a.remove:hover {
	background: #dc2626;
	color: #fff !important;
}

.woocommerce table.cart td.actions {
	background: var(--pd-surface);
}

.woocommerce .coupon {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	align-items: center;
}

.woocommerce .coupon #coupon_code {
	width: 220px;
	min-height: 46px;
	padding: 10px 14px;
	border: 1px solid var(--pd-line);
	border-radius: var(--pd-radius-sm);
	font-family: inherit;
}

/* Cart totals */
/* Flex, not grid: with no cross-sells a two-column grid would leave a dead
   column and strand the totals box on the wrong side. */
.woocommerce .cart-collaterals {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	gap: 32px;
	align-items: flex-start;
}

.woocommerce .cart-collaterals .cross-sells {
	flex: 1 1 420px;
	min-width: 0;
	width: auto !important;
	float: none !important;
}

.woocommerce .cart-collaterals .cart_totals {
	flex: 0 1 420px;
	min-width: 280px;
	margin-inline-start: auto;
	width: auto !important;
	float: none !important;
	background: #fff;
	border: 1px solid var(--pd-line);
	border-radius: var(--pd-radius);
	padding: 24px;
	box-sizing: border-box;
}

.woocommerce .cart_totals table.shop_table {
	border: 0;
	margin: 0 0 18px;
}

.woocommerce .cart_totals table.shop_table th,
.woocommerce .cart_totals table.shop_table td {
	padding: 12px 0;
}

.woocommerce .wc-proceed-to-checkout {
	padding: 0;
}

.woocommerce .wc-proceed-to-checkout a.checkout-button {
	width: 100%;
	font-size: 16px;
	padding: 16px 24px;
}

/* -------------------------------------------------------------------------
   13. Checkout — classic (shortcode) layout, full width
   ---------------------------------------------------------------------- */
.woocommerce-checkout form.checkout {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	gap: 40px;
	align-items: start;
}

/* Unknown children (notice groups, plugin panels) span the full width; the
   three known blocks are then pinned explicitly. */
.woocommerce-checkout form.checkout > * {
	grid-column: 1 / -1;
}

.woocommerce-checkout form.checkout > #customer_details {
	grid-column: 1;
	grid-row: 1 / span 2;
	width: 100% !important;
	float: none !important;
}

.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2 {
	width: 100% !important;
	float: none !important;
	margin: 0 0 24px;
}

.woocommerce-checkout h3 {
	font-size: 19px;
	font-weight: 800;
	color: var(--pd-ink);
	margin: 0 0 16px;
}

.woocommerce-checkout form.checkout > #order_review_heading {
	grid-column: 2;
	grid-row: 1;
	margin: 0 0 16px;
}

.woocommerce-checkout form.checkout > #order_review {
	grid-column: 2;
	grid-row: 2;
	width: 100% !important;
	float: none !important;
	background: #fff;
	border: 1px solid var(--pd-line);
	border-radius: var(--pd-radius);
	padding: 24px;
	position: sticky;
	top: 96px;
}

.woocommerce-checkout #order_review table.shop_table {
	border: 0;
	margin: 0 0 18px;
}

.woocommerce-checkout #order_review table.shop_table th,
.woocommerce-checkout #order_review table.shop_table td {
	padding: 12px 0;
}

.woocommerce-checkout #payment {
	background: var(--pd-surface);
	border-radius: var(--pd-radius-sm);
	padding: 18px;
}

.woocommerce-checkout #payment ul.payment_methods {
	border: 0;
	padding: 0;
	margin: 0 0 14px;
	list-style: none;
}

.woocommerce-checkout #payment ul.payment_methods li {
	margin: 0 0 10px;
	background: #fff;
	border: 1px solid var(--pd-line);
	border-radius: 12px;
	padding: 14px;
}

.woocommerce-checkout #payment div.payment_box {
	background: transparent;
	margin: 10px 0 0;
	padding: 0;
	font-size: 13.5px;
	color: var(--pd-muted);
}

.woocommerce-checkout #payment div.payment_box::before {
	content: none;
}

.woocommerce-checkout #payment .form-row.place-order {
	padding: 0;
	margin: 0;
}

.woocommerce-checkout #place_order {
	width: 100%;
	font-size: 16px;
	padding: 16px 24px;
}

/* Order received / thank you */
.woocommerce-order .woocommerce-order-overview {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 14px;
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
	border: 0;
}

.woocommerce-order .woocommerce-order-overview li {
	background: #fff;
	border: 1px solid var(--pd-line);
	border-radius: var(--pd-radius-sm);
	padding: 16px;
	font-size: 13px;
	color: var(--pd-muted);
	border-inline-end: 1px solid var(--pd-line) !important;
	float: none;
	margin: 0;
	text-align: start;
}

.woocommerce-order .woocommerce-order-overview li strong {
	display: block;
	margin-top: 6px;
	font-size: 16px;
	color: var(--pd-ink);
}

/* -------------------------------------------------------------------------
   14. Cart & Checkout BLOCKS (WooCommerce 8.3+ default)
   ---------------------------------------------------------------------- */
.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout {
	max-width: 100% !important;
	width: 100%;
	margin-inline: 0;
}

.wc-block-cart,
.wc-block-checkout {
	max-width: 100%;
}

.wc-block-components-sidebar-layout {
	gap: 40px;
}

.wc-block-components-main {
	padding-inline-end: 0;
}

.wc-block-components-sidebar {
	padding-inline-start: 0;
}

.wc-block-components-sidebar .wc-block-components-totals-wrapper,
.wc-block-cart__sidebar .wc-block-components-panel,
.wc-block-checkout__sidebar {
	background: #fff;
	border: 1px solid var(--pd-line);
	border-radius: var(--pd-radius);
}

.wc-block-components-title,
.wc-block-checkout__form .wc-block-components-title {
	font-family: inherit !important;
	font-weight: 800;
	color: var(--pd-ink);
}

.wc-block-components-button:not(.is-link) {
	border-radius: var(--pd-radius-sm);
	background: var(--pd-brand);
	color: #fff;
	font-family: inherit;
	font-weight: 700;
}

.wc-block-components-button:not(.is-link):hover {
	background: var(--pd-brand-dark);
}

.wc-block-components-text-input input,
.wc-block-components-textarea,
.wc-block-components-combobox-control input {
	border-radius: var(--pd-radius-sm) !important;
	border-color: var(--pd-line) !important;
	font-family: inherit !important;
}

.wc-block-components-product-image img {
	border-radius: 12px;
	border: 1px solid var(--pd-line);
}

.wc-block-cart-items__row td,
.wc-block-cart-items thead th {
	border-color: var(--pd-line);
}

/* -------------------------------------------------------------------------
   15. My account
   ---------------------------------------------------------------------- */
.woocommerce-account .woocommerce {
	display: grid;
	grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
	gap: 32px;
	align-items: start;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
	width: 100% !important;
	float: none !important;
	background: #fff;
	border: 1px solid var(--pd-line);
	border-radius: var(--pd-radius);
	padding: 14px;
	position: sticky;
	top: 96px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 11px 14px;
	border-radius: 12px;
	color: var(--pd-body);
	font-size: 14.5px;
	font-weight: 600;
	text-decoration: none;
	transition: .2s;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
	background: var(--pd-surface);
	color: var(--pd-brand);
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
	background: var(--pd-brand);
	color: #fff;
}

.woocommerce-account .woocommerce-MyAccount-content {
	width: 100% !important;
	float: none !important;
	background: #fff;
	border: 1px solid var(--pd-line);
	border-radius: var(--pd-radius);
	padding: 28px;
	font-size: 15px;
	line-height: 2;
	color: var(--pd-body);
}

/* Login / register forms */
.woocommerce-account:not(.logged-in) .woocommerce {
	grid-template-columns: minmax(0, 1fr);
	max-width: 520px;
	margin-inline: auto;
}

.woocommerce form.login,
.woocommerce form.register,
.woocommerce form.lost_reset_password {
	background: #fff;
	border: 1px solid var(--pd-line);
	border-radius: var(--pd-radius);
	padding: 28px;
	margin: 0;
}

/* -------------------------------------------------------------------------
   17. Empty state
   ---------------------------------------------------------------------- */
.pd-empty {
	background: #fff;
	border: 1px solid var(--pd-line);
	border-radius: var(--pd-radius);
	padding: 48px 24px;
	text-align: center;
}

.pd-empty__title {
	font-size: 18px;
	font-weight: 800;
	color: var(--pd-ink);
	margin: 0 0 8px;
}

.pd-empty__text {
	font-size: 14px;
	color: var(--pd-muted);
	margin: 0;
}

/* -------------------------------------------------------------------------
   18. Responsive
   ---------------------------------------------------------------------- */
@media (max-width: 1280px) {
	ul.products,
	ul.products.columns-5,
	ul.products.columns-6 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 1024px) {
	:root {
		--pd-wc-pad: 18px;
	}

	.pd-wc-single div.product {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}

	.pd-wc-single div.product > .woocommerce-product-gallery,
	.pd-wc-single div.product > .summary {
		grid-column: 1;
	}

	.woocommerce-checkout form.checkout {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}

	.woocommerce-checkout form.checkout > #order_review_heading,
	.woocommerce-checkout form.checkout > #order_review,
	.woocommerce-checkout form.checkout > #customer_details {
		grid-column: 1 / -1;
		grid-row: auto;
		position: static;
	}

	.woocommerce .cart-collaterals {
		grid-template-columns: minmax(0, 1fr);
	}

	.woocommerce-account .woocommerce {
		grid-template-columns: minmax(0, 1fr);
	}

	.woocommerce-account .woocommerce-MyAccount-navigation {
		position: static;
	}

	.wc-block-components-sidebar-layout {
		gap: 24px;
	}
}

@media (max-width: 768px) {
	ul.products,
	ul.products.columns-3,
	ul.products.columns-4,
	ul.products.columns-5,
	ul.products.columns-6 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}

	.pd-product__body {
		padding: 14px;
		gap: 6px;
	}

	.woocommerce-loop-product__title {
		font-size: 14.5px;
	}

	ul.products li.product .price {
		font-size: 15px;
	}

	/* Stacked cart table on small screens */
	.woocommerce-cart table.shop_table_responsive thead {
		display: none;
	}

	.woocommerce-cart table.shop_table_responsive tr {
		display: block;
		border-block-end: 1px solid var(--pd-line);
		padding: 14px 0;
	}

	.woocommerce-cart table.shop_table_responsive td {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		border: 0;
		padding: 8px 16px;
		text-align: start;
	}

	.woocommerce-cart table.shop_table_responsive td::before {
		content: attr(data-title);
		font-weight: 700;
		color: var(--pd-ink);
		font-size: 13px;
	}

	.woocommerce-cart table.shop_table_responsive td.product-remove::before,
	.woocommerce-cart table.shop_table_responsive td.product-thumbnail::before {
		content: none;
	}

	.pd-wc-single form.cart .single_add_to_cart_button {
		min-width: 0;
	}
}

@media (max-width: 480px) {
	.woocommerce .coupon {
		flex-direction: column;
		align-items: stretch;
	}

	.woocommerce .coupon #coupon_code {
		width: 100%;
	}

	.woocommerce .coupon .button {
		width: 100%;
	}
}
.woocommerce-message{
  padding: 10px !important;
  gap: 0 !important;
}

.woocommerce-message .wc-forward{
  margin-right: auto !important;
  padding: 10px 18px !important;
}


/* =========================================================
   parsidate.com
   Blog comments + WooCommerce product tabs and reviews
   CSS only. No template or PHP changes required.

   Verified live on 2026-09-12 against:
     /parsidate-wordpress-plugin-settings/   (blog comments)
     /product/پلاگین-بازخوردها/              (product tabs and reviews)

   Written as plain CSS on purpose. Every border-* colour utility
   except border-line is missing from the compiled output.css on
   this site (border-brand, border-ink, border-red-500, ring-brand
   and bg-brandDark all resolve to nothing), so Tailwind classes
   cannot be relied on here.

   Load AFTER the theme stylesheet and after woocommerce.css.
   ========================================================= */

:root {
  --pd-brand: #3858e9;
  --pd-brand-dark: #2b45bd;
  --pd-ink: #1e1e1e;
  --pd-muted: #767676;
  --pd-line: #e5e5e5;
  --pd-surface: #f6f6f6;
  --pd-star: #f5a623;
  --pd-danger: #dc2626;
}


/* =========================================================
   PART 1 - BLOG COMMENTS
   ========================================================= */

/* ---------------------------------------------------------
   1.1 Focus visibility (WCAG 2.1 AA, 2.4.7)
   The markup applies outline-none, and focus:border-brand is not
   in the compiled CSS, so a focused field is currently identical
   to an idle one. Verified by computed style: outline-style none,
   border unchanged at #E5E5E5.
   --------------------------------------------------------- */
.parsidate-comments #commentform input[type="text"],
.parsidate-comments #commentform input[type="email"],
.parsidate-comments #commentform input[type="url"],
.parsidate-comments #commentform textarea {
  transition: border-color .15s ease, box-shadow .15s ease;
}

.parsidate-comments #commentform input[type="text"]:focus,
.parsidate-comments #commentform input[type="email"]:focus,
.parsidate-comments #commentform input[type="url"]:focus,
.parsidate-comments #commentform textarea:focus,
.parsidate-comments #commentform input[type="checkbox"]:focus-visible,
.parsidate-comments #submit:focus-visible,
.parsidate-comments .comment-reply-link:focus-visible,
.parsidate-comments #cancel-comment-reply-link:focus-visible {
  outline: 2px solid var(--pd-brand);
  outline-offset: 2px;
  border-color: var(--pd-brand);
  box-shadow: 0 0 0 4px rgba(56, 88, 233, .14);
}

/* Keyboard users get the ring, mouse users get the border only */
.parsidate-comments #commentform input:focus:not(:focus-visible),
.parsidate-comments #commentform textarea:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
  border-color: var(--pd-brand);
}

/* ---------------------------------------------------------
   1.2 Submit button states
   hover:bg-brandDark in the markup is dead, brandDark is not in
   the compiled CSS under either spelling.
   --------------------------------------------------------- */
.parsidate-comments #submit:hover {
  background-color: var(--pd-brand-dark);
}

.parsidate-comments #submit:active {
  transform: translateY(1px);
}

.parsidate-comments #submit[disabled],
.parsidate-comments #submit:disabled {
  opacity: .55;
  cursor: not-allowed;
}

/* ---------------------------------------------------------
   1.3 Bidi handling for Latin text inside RTL comments
   Bare URLs currently wrap with the slash landing on the wrong
   side of the line.
   --------------------------------------------------------- */
.parsidate-comments .comment-content a[href^="http"],
.parsidate-comments .comment-content code,
.parsidate-comments .comment-content pre {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-align: left;
}

.parsidate-comments .comment-content pre {
  display: block;
  padding: 12px 14px;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.9;
  background: var(--pd-surface);
  border: 1px solid var(--pd-line);
  border-radius: 12px;
}

.parsidate-comments .comment-content code {
  padding: 1px 6px;
  font-size: 13px;
  background: var(--pd-surface);
  border: 1px solid var(--pd-line);
  border-radius: 6px;
}

.parsidate-comments .comment-content pre code {
  padding: 0;
  background: none;
  border: 0;
}

.parsidate-comments .comment-content blockquote {
  margin: 12px 0;
  padding: 4px 14px 4px 0;
  border-right: 3px solid var(--pd-line);
  color: var(--pd-muted);
}

/* ---------------------------------------------------------
   1.4 States that have never rendered on this site
   /wp-json/wp/v2/comments returns an empty array, so none of
   these branches has ever been seen on screen.
   --------------------------------------------------------- */
.parsidate-comments .comment-awaiting-moderation {
  display: inline-block;
  margin-bottom: 8px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
  color: #92400e;
  background: #fff4e5;
  border-radius: 999px;
}

.parsidate-comments .no-comments,
.parsidate-comments .comment-form-closed {
  margin: 0 0 24px;
  padding: 18px 20px;
  font-size: 15px;
  line-height: 2;
  text-align: center;
  color: var(--pd-muted);
  background: var(--pd-surface);
  border: 1px dashed var(--pd-line);
  border-radius: 16px;
}

.parsidate-comments .comment-navigation,
.parsidate-comments .comments-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 20px 0;
}

.parsidate-comments .comment-navigation a,
.parsidate-comments .comments-pagination a,
.parsidate-comments .comments-pagination .current {
  padding: 8px 14px;
  font-size: 14px;
  color: var(--pd-ink);
  text-decoration: none;
  border: 1px solid var(--pd-line);
  border-radius: 12px;
}

.parsidate-comments .comments-pagination .current {
  color: #fff;
  background: var(--pd-brand);
  border-color: var(--pd-brand);
}

.parsidate-comments .pingback .comment-body,
.parsidate-comments .trackback .comment-body {
  padding: 12px 16px;
  font-size: 14px;
  color: var(--pd-muted);
  background: transparent;
  border: 1px dashed var(--pd-line);
  border-radius: 12px;
}

.parsidate-comments .pingback .comment-body a,
.parsidate-comments .trackback .comment-body a {
  color: var(--pd-brand);
}

/* ---------------------------------------------------------
   1.5 Form details
   --------------------------------------------------------- */
.parsidate-comments .required {
  color: var(--pd-danger);
}

.parsidate-comments .comment-form-cookies-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  accent-color: var(--pd-brand);
  cursor: pointer;
}

.parsidate-comments .comment-form-cookies-consent label {
  font-size: 14px;
  line-height: 1.9;
  color: var(--pd-muted);
  cursor: pointer;
}

/* Cancel reply link inherits the h3 size today */
.parsidate-comments #cancel-comment-reply-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--pd-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.parsidate-comments #cancel-comment-reply-link:hover {
  color: var(--pd-danger);
}

.parsidate-comments .comment-reply-link:hover {
  color: #fff;
  background: var(--pd-brand);
}

/* Screen-reader utility, kept so any sr-only markup the theme
   already outputs behaves correctly */
.parsidate-comments .screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.parsidate-comments .screen-reader-text:focus {
  position: static !important;
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  clip-path: none;
}

/* ---------------------------------------------------------
   1.6 Responsive
   Not verified below ~1500px, the audit window would not resize
   smaller. Test on a real device before shipping.
   --------------------------------------------------------- */
@media (max-width: 640px) {
  .parsidate-comments .comment-form-author,
  .parsidate-comments .comment-form-email {
    width: 100% !important;
  }

  .parsidate-comments #commentform input[type="text"],
  .parsidate-comments #commentform input[type="email"],
  .parsidate-comments #commentform input[type="url"],
  .parsidate-comments #commentform textarea {
    width: 100%;
    font-size: 16px; /* stops iOS Safari zooming on focus */
  }

  .parsidate-comments ol.children {
    padding-right: 12px;
  }

  .parsidate-comments .comment-body {
    padding: 14px;
  }

  .parsidate-comments #submit {
    width: 100%;
    justify-content: center;
  }
}


/* =========================================================
   PART 2 - WOOCOMMERCE PRODUCT TABS
   ========================================================= */

.woocommerce-tabs.wc-tabs-wrapper {
  margin-top: 40px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs,
.woocommerce-tabs ul.tabs.wc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--pd-line);
}

/* woocommerce.css targets these as
   .woocommerce div.product .woocommerce-tabs ul.tabs li,
   so the reset has to match that specificity or it silently loses.
   Without this the tabs keep their grey #E9E6ED pill and #CFC8D8 border. */
.woocommerce div.product .woocommerce-tabs ul.tabs li,
.woocommerce #content div.product .woocommerce-tabs ul.tabs li {
  margin: 0;
  padding: 0;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}


.woocommerce div.product .woocommerce-tabs ul.tabs li a,
.woocommerce-tabs ul.tabs.wc-tabs li a {
  display: block;
  position: relative;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--pd-muted);
  text-decoration: none;
  border-radius: 12px 12px 0 0;
  transition: color .15s ease, background-color .15s ease;
}


.woocommerce-tabs ul.tabs.wc-tabs li a:focus-visible {
  outline: 2px solid var(--pd-brand);
  outline-offset: 2px;
}

/* ---------------------------------------------------------
   2.1 Description panel
   It currently runs the full 1136px container, roughly 150
   characters per line at desktop.
   --------------------------------------------------------- */

.woocommerce-Tabs-panel > h2 {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 800;
  color: var(--pd-ink);
}

.woocommerce-Tabs-panel p {
  margin: 0 0 16px;
}

.woocommerce-Tabs-panel ul,
.woocommerce-Tabs-panel ol {
  margin: 0 0 16px;
  padding-inline-start: 0;
  padding-inline-end: 22px;
}

.woocommerce-Tabs-panel li {
  margin-bottom: 8px;
}

.woocommerce-Tabs-panel a {
  color: var(--pd-brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.woocommerce-Tabs-panel code,
.woocommerce-Tabs-panel a[href^="http"] {
  direction: ltr;
  unicode-bidi: isolate;
  overflow-wrap: anywhere;
}

/* The reviews panel is a list, not prose, but the list and the
   form still need to share one column width */
.woocommerce-Tabs-panel--reviews {
  max-width: none;
}



/* =========================================================
   PART 3 - PRODUCT REVIEWS
   ========================================================= */

#reviews .woocommerce-Reviews-title {
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 800;
  color: var(--pd-ink);
}

#reviews ol.commentlist {
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

#reviews ol.commentlist::before,
#reviews ol.commentlist::after,
#reviews ol.commentlist li .comment-text::before,
#reviews ol.commentlist li .comment-text::after {
  display: none !important;
  content: none !important;
}

#reviews ol.commentlist li {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  background: transparent;
  border: 0;
}

/* Match the blog comment card */
#reviews ol.commentlist li .comment_container {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--pd-line);
  border-radius: 20px;
}

#reviews ol.commentlist li img.avatar {
  position: static;
  float: none;
  width: 48px;
  height: 48px;
  margin: 0;
  padding: 0;
  background: var(--pd-surface);
  border: 0;
  border-radius: 50%;
  box-shadow: none;
}

#reviews ol.commentlist li .comment-text {
  margin: 0;
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
}

#reviews .comment-text p.meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--pd-muted);
}

#reviews .comment-text .woocommerce-review__author {
  font-size: 15px;
  font-weight: 800;
  color: var(--pd-ink);
}

#reviews .comment-text .woocommerce-review__dash {
  color: var(--pd-line);
}

#reviews .comment-text .woocommerce-review__published-date {
  font-size: 13px;
  color: var(--pd-muted);
}

#reviews .comment-text .description {
  font-size: 15px;
  line-height: 2;
  color: var(--pd-ink);
}

#reviews .comment-text .description p:last-child {
  margin-bottom: 0;
}

#reviews .comment-text .description a[href^="http"],
#reviews .comment-text .description code {
  direction: ltr;
  unicode-bidi: isolate;
  overflow-wrap: anywhere;
}

#reviews .woocommerce-review__verified {
  display: inline-block;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  color: #1b7a3d;
  background: #e8f5ec;
  border-radius: 999px;
}

#reviews .comment-awaiting-moderation {
  display: inline-block;
  margin-bottom: 8px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
  color: #92400e;
  background: #fff4e5;
  border-radius: 999px;
}

#reviews .woocommerce-noreviews {
  margin: 0 0 24px;
  padding: 18px 20px;
  font-size: 15px;
  text-align: center;
  color: var(--pd-muted);
  background: var(--pd-surface);
  border: 1px dashed var(--pd-line);
  border-radius: 16px;
}

/* ---------------------------------------------------------
   3.1 Star rating on existing reviews
   --------------------------------------------------------- */
#reviews .comment-text .star-rating {
  float: none;
  margin: 0 0 6px;
  font-size: 14px;
  color: var(--pd-star);
  direction: ltr;
}

#reviews .comment-text .star-rating::before {
  color: var(--pd-line);
}

#reviews .comment-text .star-rating span::before {
  color: var(--pd-star);
}

/* ---------------------------------------------------------
   3.2 Review form
   This is the real bug on the product page. Tailwind preflight
   sets border-width:0 on every element, and the theme only styles
   the BLOG comment form through utility classes in comments.php.
   The review form comes from WooCommerce's own template, so
   #author, #email and #comment render with border:0, padding:0 and
   a white background on white. Measured live: border 0px, padding
   0px, height 32px. The fields are invisible on screen.
   --------------------------------------------------------- */
#review_form_wrapper {
  margin-inline-start: 0;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--pd-line);
  border-radius: 24px;
}

#review_form #reply-title.comment-reply-title {
  display: block;
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 800;
  color: var(--pd-ink);
}

#review_form #reply-title small {
  font-size: 14px;
  font-weight: 500;
}

#review_form #cancel-comment-reply-link {
  color: var(--pd-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

#review_form #cancel-comment-reply-link:hover {
  color: var(--pd-danger);
}

#review_form .comment-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#review_form .comment-form p,
#review_form .comment-form div.comment-form-rating {
  margin: 0;
}

#review_form .comment-notes {
  font-size: 13px;
  line-height: 1.9;
  color: var(--pd-muted);
}

#review_form .comment-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--pd-ink);
}

#review_form .required {
  color: var(--pd-danger);
}

/* The actual fix: give the fields a visible box again */
#review_form .comment-form input[type="text"],
#review_form .comment-form input[type="email"],
#review_form .comment-form input[type="url"],
#review_form .comment-form textarea,
#review_form .comment-form select {
  width: 100%;
  max-width: 100%;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.8;
  color: var(--pd-ink);
  background: #fff;
  border: 1px solid var(--pd-line);
  border-radius: 16px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}

#review_form .comment-form textarea {
  min-height: 140px;
  resize: vertical;
}

/* Focus visibility, WCAG 2.1 AA 2.4.7 */
#review_form .comment-form input[type="text"]:focus,
#review_form .comment-form input[type="email"]:focus,
#review_form .comment-form input[type="url"]:focus,
#review_form .comment-form textarea:focus,
#review_form .comment-form select:focus,
#review_form .comment-form input[type="checkbox"]:focus-visible,
#review_form .comment-form input[type="submit"]:focus-visible,
#review_form p.stars a:focus-visible {
  border-color: var(--pd-brand);
  outline: 2px solid var(--pd-brand);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(56, 88, 233, .14);
}

/* Name and email side by side on desktop */
@media (min-width: 641px) {
  #review_form .comment-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  #review_form .comment-notes,
  #review_form .comment-form-rating,
  #review_form .comment-form-comment,
  #review_form .comment-form-cookies-consent,
  #review_form .form-submit {
    grid-column: 1 / -1;
  }
}

/* Rating stars in the form.
   Do NOT add flex-direction: row-reverse here to "fix RTL".
   woocommerce.css already handles fill and empty with
   p.stars a:hover ~ a::before, which runs in DOM order. Reversing
   the visual order breaks that mapping. Colour only. */
#review_form .comment-form-rating label {
  margin-bottom: 8px;
}

#review_form p.stars {
  display: inline-block;
  margin: 0;
}

#review_form p.stars a {
  color: var(--pd-star);
}

#review_form p.stars a::before {
  color: inherit;
}

#review_form p.stars a:hover {
  color: var(--pd-brand-dark);
}

/* Keep the select reachable by screen readers, hidden visually,
   which is what WooCommerce intends once its JS is active */
#review_form .comment-form-rating select#rating {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

#review_form .comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

#review_form .comment-form-cookies-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 4px;
  accent-color: var(--pd-brand);
  cursor: pointer;
}

#review_form .comment-form-cookies-consent label {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.9;
  color: var(--pd-muted);
  cursor: pointer;
}

/* flex-end reads as LEFT in RTL, which is where the blog comment
   form already puts its submit button. Kept consistent on purpose. */
#review_form .form-submit {
  display: flex;
  justify-content: flex-end;
}

#review_form input[type="submit"]#submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  background: var(--pd-brand);
  border: 0;
  border-radius: 16px;
  cursor: pointer;
  transition: background-color .15s ease;
}

#review_form input[type="submit"]#submit:hover {
  background: var(--pd-brand-dark);
}

#review_form input[type="submit"]#submit:active {
  transform: translateY(1px);
}

/* ---------------------------------------------------------
   3.3 Responsive
   --------------------------------------------------------- */
@media (max-width: 640px) {
  .woocommerce div.product .woocommerce-tabs ul.tabs li a,
  .woocommerce-tabs ul.tabs.wc-tabs li a {
    padding: 10px 14px;
    font-size: 14px;
  }

  .woocommerce-Tabs-panel {
    font-size: 15px;
    line-height: 2;
  }

  #reviews ol.commentlist li .comment_container {
    grid-template-columns: 40px 1fr;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 16px;
  }

  #reviews ol.commentlist li img.avatar {
    width: 40px;
    height: 40px;
  }

  #review_form_wrapper {
    padding: 18px 16px;
    border-radius: 18px;
  }

  #review_form .comment-form input[type="text"],
  #review_form .comment-form input[type="email"],
  #review_form .comment-form input[type="url"],
  #review_form .comment-form textarea {
    font-size: 16px; /* stops iOS Safari zooming on focus */
  }

  #review_form input[type="submit"]#submit {
    width: 100%;
    justify-content: center;
  }
}


/* =========================================================
   MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  .parsidate-comments *,
  .woocommerce-tabs *,
  #reviews *,
  #review_form * {
    transition: none !important;
  }
}















/* =====================================================================
   parsidate.com - Cart page (WooCommerce Cart Block)
   CSS only. No markup changes required.
   Paste into: Appearance > Customize > Additional CSS, or the theme's
   style.css / a child-theme stylesheet.
   ===================================================================== */

.wp-block-woocommerce-cart{
  --pd-primary:#3858e9;
  --pd-primary-dark:#2a45c6;
  --pd-primary-soft:rgba(56,88,233,.08);
  --pd-ink:#1e1e1e;
  --pd-muted:#6b7280;
  --pd-line:#e6e8ef;
  --pd-line-soft:#f0f2f7;
  --pd-surface:#fff;
  --pd-surface-soft:#f8f9fc;
  --pd-radius:16px;
  --pd-radius-sm:12px;
  --pd-gutter:40px;
  --pd-sidebar:370px;
}

/* ---------------------------------------------------------------------
   1) LAYOUT: cart table and totals side by side
   The block sets main 65% + sidebar 35% = 100%, then the theme adds a
   40px flex gap on top of that, so the sidebar overflows and wraps to a
   new line. Killing the column gap and driving the widths with flex
   keeps both columns on one row.
   --------------------------------------------------------------------- */
@media (min-width:900px){
  .wp-block-woocommerce-cart .wc-block-components-sidebar-layout{
    display:flex;
    flex-wrap:nowrap;
    align-items:flex-start;
    column-gap:0;
    row-gap:0;
  }

  .wp-block-woocommerce-cart .wc-block-components-main{
    flex:1 1 auto;
    width:auto;
    min-width:0;
    padding-inline-start:0;
    padding-inline-end:var(--pd-gutter);
  }

  .wp-block-woocommerce-cart .wc-block-components-sidebar{
    flex:0 0 var(--pd-sidebar);
    width:var(--pd-sidebar);
    max-width:40%;
    padding:0;
    position:sticky;
    top:24px;
  }
}

@media (max-width:899px){
  .wp-block-woocommerce-cart .wc-block-components-sidebar-layout{
    flex-wrap:wrap;
    column-gap:0;
    row-gap:28px;
  }
  .wp-block-woocommerce-cart .wc-block-components-main,
  .wp-block-woocommerce-cart .wc-block-components-sidebar{
    flex:1 1 100%;
    width:100%;
    max-width:100%;
    padding-inline:0;
  }
}

/* ---------------------------------------------------------------------
   2) PAGE TITLE
   --------------------------------------------------------------------- */
.pd-wc-page-title{
  margin-bottom:28px;
  letter-spacing:-.02em;
}

/* ---------------------------------------------------------------------
   3) CART TABLE
   --------------------------------------------------------------------- */
.wp-block-woocommerce-cart .wc-block-cart-items{
  border-collapse:separate;
  border-spacing:0;
  width:100%;
  background:var(--pd-surface);
  border:1px solid var(--pd-line);
  border-radius:var(--pd-radius);
  overflow:hidden;
}

.wp-block-woocommerce-cart .wc-block-cart-items__header{
  background:#f4f6fa;
}

.wp-block-woocommerce-cart .wc-block-cart-items__header th{
  background:#f4f6fa;
  padding:14px 18px;
  font-size:12.5px;
  font-weight:700;
  color:var(--pd-muted);
  letter-spacing:.02em;
  border:0;
  border-bottom:1px solid var(--pd-line);
  white-space:nowrap;
  padding:10px 18px !important;;
}

.wp-block-woocommerce-cart .wc-block-cart-items__row td{
  padding:10px 10px !important;;
  border:0;
  border-bottom:1px solid var(--pd-line-soft);
  vertical-align:top;
}

.wp-block-woocommerce-cart .wc-block-cart-items__row:last-child td{
  border-bottom:0;
}

.wp-block-woocommerce-cart .wc-block-cart-items__row:hover{
  background:rgba(56,88,233,.02);
}

/* product thumbnail */
.wp-block-woocommerce-cart .wc-block-cart-item__image{
  width:96px;
  padding-inline-end:0;
}
.wp-block-woocommerce-cart .wc-block-cart-item__image img{
  width:80px;
  height:80px;
  object-fit:cover;
  border-radius:var(--pd-radius-sm);
  border:1px solid var(--pd-line);
  background:var(--pd-surface-soft);
  transition:transform .25s ease;
}
.wp-block-woocommerce-cart .wc-block-cart-items__row:hover .wc-block-cart-item__image img{
  transform:scale(1.03);
}

/* product name */
.wp-block-woocommerce-cart .wc-block-components-product-name{
  display:inline-block;
  font-size:16px;
  font-weight:700;
  line-height:1.6;
  color:var(--pd-ink);
  text-decoration:none;
  transition:color .18s ease;
}
.wp-block-woocommerce-cart .wc-block-components-product-name:hover{
  color:var(--pd-primary);
}

/* prices inside the row */
.wp-block-woocommerce-cart .wc-block-cart-item__prices{
  margin-top:6px;
  font-size:14px;
}
.wp-block-woocommerce-cart .wc-block-components-product-price__regular{
  color:var(--pd-muted);
  opacity:.75;
  margin-inline-end:8px;
}
.wp-block-woocommerce-cart .wc-block-components-product-price__value.is-discounted{
  color:var(--pd-ink);
  font-weight:700;
}

/* short description / metadata */
.wp-block-woocommerce-cart .wc-block-components-product-metadata{
  margin-top:6px;
  font-size:13px;
  line-height:1.9;
  color:var(--pd-muted);
}
.wp-block-woocommerce-cart .wc-block-components-product-metadata p{
  margin:0;
}

/* line total column */
.wp-block-woocommerce-cart .wc-block-cart-item__total{
  text-align:start;
  white-space:nowrap;
}
.wp-block-woocommerce-cart .wc-block-cart-item__total .wc-block-components-product-price{
  font-size:16px;
  font-weight:700;
  color:var(--pd-ink);
}

/* "you save" badge */
.wp-block-woocommerce-cart .wc-block-components-sale-badge{
  display:inline-block;
  margin-top:8px;
  padding:4px 10px;
  border-radius:999px;
  background:rgba(16,150,90,.10);
  color:#0f8a54;
  font-size:12px;
  font-weight:700;
  line-height:1.7;
  border:0;
}

/* ---------------------------------------------------------------------
   4) QUANTITY STEPPER
   --------------------------------------------------------------------- */
.wp-block-woocommerce-cart .wc-block-cart-item__quantity{
  margin-top:14px;
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
}

.wp-block-woocommerce-cart .wc-block-components-quantity-selector{
  display:inline-flex;
  align-items:center;
  width:auto;
  min-width:118px;
  margin:0;
  border:1px solid var(--pd-line);
  border-radius:999px;
  background:var(--pd-surface);
  overflow:hidden;
  transition:border-color .18s ease, box-shadow .18s ease;
}
.wp-block-woocommerce-cart .wc-block-components-quantity-selector::after{
  display:none;
}
.wp-block-woocommerce-cart .wc-block-components-quantity-selector:focus-within{
  border-color:var(--pd-primary);
  box-shadow:0 0 0 3px var(--pd-primary-soft);
}

.wp-block-woocommerce-cart .wc-block-components-quantity-selector__button{
  width:38px;
  height:38px;
  min-width:38px;
  padding:0;
  border:0;
  background:transparent;
  color:var(--pd-ink);
  font-size:18px;
  line-height:1;
  opacity:1;
  cursor:pointer;
  transition:background .18s ease, color .18s ease;
}
.wp-block-woocommerce-cart .wc-block-components-quantity-selector__button:hover:not(:disabled){
  background:var(--pd-primary-soft);
  color:var(--pd-primary);
}
.wp-block-woocommerce-cart .wc-block-components-quantity-selector__button:disabled{
  opacity:.35;
  cursor:not-allowed;
}

.wp-block-woocommerce-cart .wc-block-components-quantity-selector__input{
  width:42px;
  min-width:42px;
  height:38px;
  padding:0;
  border:0;
  background:transparent;
  text-align:center;
  font-size:15px;
  font-weight:700;
  color:var(--pd-ink);
  -moz-appearance:textfield;
}
.wp-block-woocommerce-cart .wc-block-components-quantity-selector__input:focus{
  outline:0;
  box-shadow:none;
}
.wp-block-woocommerce-cart .wc-block-components-quantity-selector__input::-webkit-outer-spin-button,
.wp-block-woocommerce-cart .wc-block-components-quantity-selector__input::-webkit-inner-spin-button{
  -webkit-appearance:none;
  margin:0;
}

/* remove (trash) button */
.wp-block-woocommerce-cart .wc-block-cart-item__remove-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  padding:0;
  border:0;
  border-radius:50%;
  background:transparent;
  color:#9aa1ae;
  font-size:13px;
  text-decoration:none;
  cursor:pointer;
  transition:background .18s ease, color .18s ease;
}
.wp-block-woocommerce-cart .wc-block-cart-item__remove-link:hover{
  background:rgba(220,38,38,.08);
  color:#dc2626;
}
.wp-block-woocommerce-cart .wc-block-cart-item__remove-link svg{
  width:18px;
  height:18px;
  fill:currentColor;
}

/* ---------------------------------------------------------------------
   5) SIDEBAR: totals card
   --------------------------------------------------------------------- */
.wp-block-woocommerce-cart .wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-block{
  background:var(--pd-surface);
  border:1px solid var(--pd-line);
  border-radius:var(--pd-radius);
  padding:22px;
  box-shadow:0 1px 2px rgba(16,24,40,.04);
}

.wp-block-woocommerce-cart .wc-block-cart__totals-title{
  display:block;
  margin:0 0 16px;
  padding:0;
  font-size:15px;
  font-weight:700;
  color:var(--pd-ink);
  text-align:start;
  letter-spacing:0;
}

.wp-block-woocommerce-cart .wc-block-components-totals-wrapper{
  padding:16px 0;
  border-top:1px solid var(--pd-line-soft);
}
.wp-block-woocommerce-cart .wc-block-components-totals-wrapper:first-of-type{
  padding-top:0;
  border-top:0;
  border: 0;
}
.wp-block-woocommerce-cart .wc-block-components-totals-wrapper:last-child{
  padding-bottom:0;
}
.wp-block-woocommerce-cart .wc-block-components-totals-wrapper:has(.wc-block-components-totals-footer-item){
  border-top:0;
}
.wp-block-woocommerce-cart .wc-block-components-totals-wrapper::after{
  display:none;
}

.wp-block-woocommerce-cart .wc-block-components-totals-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  font-size:14px;
  color:var(--pd-muted);
}

.wp-block-woocommerce-cart .wc-block-components-totals-item.wc-block-components-totals-footer-item{
  padding:16px;
  margin:0;
  border:0;
  border-radius:var(--pd-radius-sm);
  background:var(--pd-surface-soft);
  font-size:15px;
}
.wp-block-woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__label{
  font-weight:700;
  color:var(--pd-ink);
}
.wp-block-woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value{
  font-size:20px;
  font-weight:800;
  color:var(--pd-primary);
  letter-spacing:-.01em;
}
.wp-block-woocommerce-cart .wc-block-components-totals-item__description{
  flex:1 1 100%;
  margin-top:4px;
  font-size:12px;
  color:var(--pd-muted);
}
.wp-block-woocommerce-cart .wc-block-components-totals-item__description:empty{
  display:none;
}

/* ---------------------------------------------------------------------
   6) COUPON: dropdown toggle + input box
   --------------------------------------------------------------------- */
.wp-block-woocommerce-cart .wc-block-components-totals-coupon{
  padding:0;
  border:1px solid var(--pd-line);
  border-radius:var(--pd-radius-sm);
  background:var(--pd-surface-soft);
  overflow:hidden;
  transition:border-color .2s ease, background .2s ease;
}
.wp-block-woocommerce-cart .wc-block-components-totals-coupon:hover{
  border-color:#d4d8e6;
}

/* the toggle row.
   The theme forces padding-right:0 !important on this element, so the
   padding here needs !important to win. */
.wp-block-woocommerce-cart .wc-block-components-totals-coupon .wc-block-components-panel__button{
  padding:14px 16px !important;
}
.wp-block-woocommerce-cart .wc-block-components-panel__button{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  width:100%;
  margin:0;
  padding:14px 16px;
  background:transparent;
  border:0;
  font-size:14px;
  font-weight:600;
  color:var(--pd-ink);
  text-align:start;
  cursor:pointer;
  transition:color .18s ease;
}
.wp-block-woocommerce-cart .wc-block-components-panel__button:hover{
  color:var(--pd-primary);
}
.wp-block-woocommerce-cart .wc-block-components-panel__button:focus-visible{
  outline:2px solid var(--pd-primary);
  outline-offset:-2px;
  border-radius:var(--pd-radius-sm);
}

/* chevron */
.wp-block-woocommerce-cart .wc-block-components-panel__button > svg{
  position:static;          /* block CSS pins it with position:absolute */
  inset:auto;
  flex:0 0 auto;
  width:20px;
  height:20px;
  margin:0;
  fill:currentColor;
  transform:none;
  transition:transform .25s ease;
}
.wp-block-woocommerce-cart .wc-block-components-panel__button[aria-expanded="true"] > svg{
  transform:rotate(180deg);
}

/* expanded area */
.wp-block-woocommerce-cart .wc-block-components-panel__content{
  padding:0 16px 16px;
  margin:0;
  background:transparent;
}

.wp-block-woocommerce-cart .wc-block-components-totals-coupon__form{
  display:flex;
  align-items:stretch;
  gap:10px;
  margin:0;
  flex-wrap:wrap;
}

.wp-block-woocommerce-cart .wc-block-components-totals-coupon__input{
  flex:1 1 170px;
  min-width:0;
  margin:0;
}

/* text field */
.wp-block-woocommerce-cart .wc-block-components-text-input{
  position:relative;
  margin:0;
}
.wp-block-woocommerce-cart .wc-block-components-text-input input[type="text"],
.wp-block-woocommerce-cart .wc-block-components-text-input input{
  width:100%;
  height:48px;
  padding:18px 14px 6px;
  border:1px solid var(--pd-line);
  border-radius:10px;
  background:var(--pd-surface);
  font-family:inherit;
  font-size:14px;
  color:var(--pd-ink);
  box-shadow:none;
  transition:border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.wp-block-woocommerce-cart .wc-block-components-text-input input:hover{
  border-color:#d4d8e6;
}
.wp-block-woocommerce-cart .wc-block-components-text-input input:focus{
  outline:0;
  border-color:var(--pd-primary);
  box-shadow:0 0 0 3px var(--pd-primary-soft);
  background:var(--pd-surface);
}

.wp-block-woocommerce-cart .wc-block-components-text-input label{
  inset-inline-start:14px;
  inset-inline-end:auto;
  font-size:14px;
  color:var(--pd-muted);
  transition:transform .18s ease, font-size .18s ease, color .18s ease;
}
.wp-block-woocommerce-cart .wc-block-components-text-input.is-active label{
  font-size:11px;
  color:var(--pd-muted);
}
.wp-block-woocommerce-cart .wc-block-components-text-input.is-active input:focus + label{
  color:var(--pd-primary);
}

/* apply button */
.wp-block-woocommerce-cart .wc-block-components-totals-coupon__button{
  flex:0 0 auto;
  height:48px;
  min-width:96px;
  padding:0 20px;
  border:0;
  border-radius:10px;
  background:var(--pd-primary);
  color:#fff;
  font-family:inherit;
  font-size:14px;
  font-weight:700;
  line-height:48px;
  cursor:pointer;
  transition:background .18s ease, transform .12s ease, box-shadow .18s ease;
}
.wp-block-woocommerce-cart .wc-block-components-totals-coupon__button:hover:not(:disabled){
  background:var(--pd-primary-dark);
  box-shadow:0 6px 16px rgba(56,88,233,.24);
}
.wp-block-woocommerce-cart .wc-block-components-totals-coupon__button:active:not(:disabled){
  transform:translateY(1px);
}
.wp-block-woocommerce-cart .wc-block-components-totals-coupon__button:disabled{
  opacity:.5;
  cursor:not-allowed;
}

/* applied coupon chips */
.wp-block-woocommerce-cart .wc-block-components-chip{
  border-radius:999px;
  background:var(--pd-primary-soft);
  border:1px solid rgba(56,88,233,.25);
  color:var(--pd-primary);
  font-size:13px;
  font-weight:600;
  padding:5px 12px;
}
.wp-block-woocommerce-cart .wc-block-components-chip__remove{
  color:currentColor;
}

/* ---------------------------------------------------------------------
   7) CHECKOUT BUTTON
   --------------------------------------------------------------------- */
.wp-block-woocommerce-cart .wc-block-cart__submit-container{
  padding:0;
  margin-top:16px;
}

.wp-block-woocommerce-cart .wc-block-cart__submit-button{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:54px;
  border-radius:14px;
  background:var(--pd-primary);
  color:#fff;
  font-size:15px;
  font-weight:700;
  box-shadow:0 6px 18px rgba(56,88,233,.22);
  transition:background .18s ease, box-shadow .18s ease, transform .12s ease;
}
.wp-block-woocommerce-cart .wc-block-cart__submit-button:hover{
  background:var(--pd-primary-dark);
  box-shadow:0 10px 26px rgba(56,88,233,.30);
}
.wp-block-woocommerce-cart .wc-block-cart__submit-button:active{
  transform:translateY(1px);
  box-shadow:0 4px 12px rgba(56,88,233,.24);
}
.wp-block-woocommerce-cart .wc-block-cart__submit-button:focus-visible{
  outline:3px solid rgba(56,88,233,.35);
  outline-offset:2px;
}

/* ---------------------------------------------------------------------
   8) NOTICES
   --------------------------------------------------------------------- */
.wp-block-woocommerce-cart .wc-block-components-notice-banner{
  border-radius:var(--pd-radius-sm);
  font-size:14px;
}

/* ---------------------------------------------------------------------
   9) SMALL SCREENS
   --------------------------------------------------------------------- */
@media (max-width:560px){
  .wp-block-woocommerce-cart .wc-block-cart-items__row td{
    padding:16px 12px;
  }
  .wp-block-woocommerce-cart .wc-block-cart-item__image{
    width:72px;
  }
  .wp-block-woocommerce-cart .wc-block-cart-item__image img{
    width:64px;
    height:64px;
  }
  .wp-block-woocommerce-cart .wc-block-components-totals-coupon__form{
    flex-direction:column;
  }
  .wp-block-woocommerce-cart .wc-block-components-totals-coupon__button{
    width:100%;
  }
  .wp-block-woocommerce-cart .wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-block{
    padding:18px;
  }
}












/* =====================================================================
   parsidate.com - Cart page (WooCommerce Cart Block)
   CSS only. No markup changes required.
   Paste into: Appearance > Customize > Additional CSS, or the theme's
   style.css / a child-theme stylesheet.
   ===================================================================== */

.wp-block-woocommerce-cart{
  --pd-primary:#3858e9;
  --pd-primary-dark:#2a45c6;
  --pd-primary-soft:rgba(56,88,233,.08);
  --pd-ink:#1e1e1e;
  --pd-muted:#6b7280;
  --pd-line:#e6e8ef;
  --pd-line-soft:#f0f2f7;
  --pd-surface:#fff;
  --pd-surface-soft:#f8f9fc;
  --pd-radius:16px;
  --pd-radius-sm:12px;
  --pd-gutter:40px;
  --pd-sidebar:370px;
}

/* ---------------------------------------------------------------------
   1) LAYOUT: cart table and totals side by side
   The block sets main 65% + sidebar 35% = 100%, then the theme adds a
   40px flex gap on top of that, so the sidebar overflows and wraps to a
   new line. Killing the column gap and driving the widths with flex
   keeps both columns on one row.
   --------------------------------------------------------------------- */
@media (min-width:900px){
  .wp-block-woocommerce-cart .wc-block-components-sidebar-layout{
    display:flex;
    flex-wrap:nowrap;
    align-items:flex-start;
    column-gap:0;
    row-gap:0;
  }

  .wp-block-woocommerce-cart .wc-block-components-main{
    flex:1 1 auto;
    width:auto;
    min-width:0;
    padding-inline-start:0;
    padding-inline-end:var(--pd-gutter);
  }

  .wp-block-woocommerce-cart .wc-block-components-sidebar{
    flex:0 0 var(--pd-sidebar);
    width:var(--pd-sidebar);
    max-width:40%;
    padding:0;
    position:sticky;
    top:24px;
  }
}

@media (max-width:899px){
  .wp-block-woocommerce-cart .wc-block-components-sidebar-layout{
    flex-wrap:wrap;
    column-gap:0;
    row-gap:28px;
  }
  .wp-block-woocommerce-cart .wc-block-components-main,
  .wp-block-woocommerce-cart .wc-block-components-sidebar{
    flex:1 1 100%;
    width:100%;
    max-width:100%;
    padding-inline:0;
  }
}

/* ---------------------------------------------------------------------
   2) PAGE TITLE
   --------------------------------------------------------------------- */
.pd-wc-page-title{
  margin-bottom:28px;
  letter-spacing:-.02em;
}

/* ---------------------------------------------------------------------
   3) CART TABLE
   --------------------------------------------------------------------- */
.wp-block-woocommerce-cart .wc-block-cart-items{
  border-collapse:separate;
  border-spacing:0;
  width:100%;
  background:var(--pd-surface);
  border:1px solid var(--pd-line);
  border-radius:var(--pd-radius);
  overflow:hidden;
}

.wp-block-woocommerce-cart .wc-block-cart-items__header{
  background:#f4f6fa;
}

.wp-block-woocommerce-cart .wc-block-cart-items__header th{
  background:#f4f6fa;
  padding:14px 18px;
  font-size:12.5px;
  font-weight:700;
  color:var(--pd-muted);
  letter-spacing:.02em;
  border:0;
  border-bottom:1px solid var(--pd-line);
  white-space:nowrap;
}

.wp-block-woocommerce-cart .wc-block-cart-items__row td{
  padding:20px 18px;
  border:0;
  border-bottom:1px solid var(--pd-line-soft);
  vertical-align:top;
}

.wp-block-woocommerce-cart .wc-block-cart-items__row:last-child td{
  border-bottom:0;
}

.wp-block-woocommerce-cart .wc-block-cart-items__row:hover{
  background:rgba(56,88,233,.02);
}

/* product thumbnail */
.wp-block-woocommerce-cart .wc-block-cart-item__image{
  width:96px;
  padding-inline-end:0;
}
.wp-block-woocommerce-cart .wc-block-cart-item__image img{
  width:80px;
  height:80px;
  object-fit:cover;
  border-radius:var(--pd-radius-sm);
  border:1px solid var(--pd-line);
  background:var(--pd-surface-soft);
  transition:transform .25s ease;
}
.wp-block-woocommerce-cart .wc-block-cart-items__row:hover .wc-block-cart-item__image img{
  transform:scale(1.03);
}

/* product name */
.wp-block-woocommerce-cart .wc-block-components-product-name{
  display:inline-block;
  font-size:16px;
  font-weight:700;
  line-height:1.6;
  color:var(--pd-ink);
  text-decoration:none;
  transition:color .18s ease;
}
.wp-block-woocommerce-cart .wc-block-components-product-name:hover{
  color:var(--pd-primary);
}

/* prices inside the row */
.wp-block-woocommerce-cart .wc-block-cart-item__prices{
  margin-top:6px;
  font-size:14px;
}
.wp-block-woocommerce-cart .wc-block-components-product-price__regular{
  color:var(--pd-muted);
  opacity:.75;
  margin-inline-end:8px;
}
.wp-block-woocommerce-cart .wc-block-components-product-price__value.is-discounted{
  color:var(--pd-ink);
  font-weight:700;
}

/* short description / metadata */
.wp-block-woocommerce-cart .wc-block-components-product-metadata{
  margin-top:6px;
  font-size:13px;
  line-height:1.9;
  color:var(--pd-muted);
}
.wp-block-woocommerce-cart .wc-block-components-product-metadata p{
  margin:0;
}

/* line total column */
.wp-block-woocommerce-cart .wc-block-cart-item__total{
  text-align:start;
  white-space:nowrap;
}
.wp-block-woocommerce-cart .wc-block-cart-item__total .wc-block-components-product-price{
  font-size:16px;
  font-weight:700;
  color:var(--pd-ink);
}

/* "you save" badge */
.wp-block-woocommerce-cart .wc-block-components-sale-badge{
  display:inline-block;
  margin-top:8px;
  padding:4px 10px;
  border-radius:999px;
  background:rgba(16,150,90,.10);
  color:#0f8a54;
  font-size:12px;
  font-weight:700;
  line-height:1.7;
  border:0;
}

/* ---------------------------------------------------------------------
   4) QUANTITY STEPPER
   --------------------------------------------------------------------- */
.wp-block-woocommerce-cart .wc-block-cart-item__quantity{
  margin-top:14px;
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
}

.wp-block-woocommerce-cart .wc-block-components-quantity-selector{
  display:inline-flex;
  align-items:center;
  width:auto;
  min-width:118px;
  margin:0;
  border:1px solid var(--pd-line);
  border-radius:999px;
  background:var(--pd-surface);
  overflow:hidden;
  transition:border-color .18s ease, box-shadow .18s ease;
}
.wp-block-woocommerce-cart .wc-block-components-quantity-selector::after{
  display:none;
}
.wp-block-woocommerce-cart .wc-block-components-quantity-selector:focus-within{
  border-color:var(--pd-primary);
  box-shadow:0 0 0 3px var(--pd-primary-soft);
}

.wp-block-woocommerce-cart .wc-block-components-quantity-selector__button{
  width:38px;
  height:38px;
  min-width:38px;
  padding:0;
  border:0;
  background:transparent;
  color:var(--pd-ink);
  font-size:18px;
  line-height:1;
  opacity:1;
  cursor:pointer;
  transition:background .18s ease, color .18s ease;
}
.wp-block-woocommerce-cart .wc-block-components-quantity-selector__button:hover:not(:disabled){
  background:var(--pd-primary-soft);
  color:var(--pd-primary);
}
.wp-block-woocommerce-cart .wc-block-components-quantity-selector__button:disabled{
  opacity:.35;
  cursor:not-allowed;
}

.wp-block-woocommerce-cart .wc-block-components-quantity-selector__input{
  width:42px;
  min-width:42px;
  height:38px;
  padding:0;
  border:0;
  background:transparent;
  text-align:center;
  font-size:15px;
  font-weight:700;
  color:var(--pd-ink);
  -moz-appearance:textfield;
}
.wp-block-woocommerce-cart .wc-block-components-quantity-selector__input:focus{
  outline:0;
  box-shadow:none;
}
.wp-block-woocommerce-cart .wc-block-components-quantity-selector__input::-webkit-outer-spin-button,
.wp-block-woocommerce-cart .wc-block-components-quantity-selector__input::-webkit-inner-spin-button{
  -webkit-appearance:none;
  margin:0;
}

/* remove (trash) button */
.wp-block-woocommerce-cart .wc-block-cart-item__remove-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  padding:0;
  border:0;
  border-radius:50%;
  background:transparent;
  color:#9aa1ae;
  font-size:13px;
  text-decoration:none;
  cursor:pointer;
  transition:background .18s ease, color .18s ease;
}
.wp-block-woocommerce-cart .wc-block-cart-item__remove-link:hover{
  background:rgba(220,38,38,.08);
  color:#dc2626;
}
.wp-block-woocommerce-cart .wc-block-cart-item__remove-link svg{
  width:18px;
  height:18px;
  fill:currentColor;
}

/* ---------------------------------------------------------------------
   5) SIDEBAR: totals card
   --------------------------------------------------------------------- */
.wp-block-woocommerce-cart .wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-block{
  background:var(--pd-surface);
  border:1px solid var(--pd-line);
  border-radius:var(--pd-radius);
  padding:22px;
  box-shadow:0 1px 2px rgba(16,24,40,.04);
}

.wp-block-woocommerce-cart .wc-block-cart__totals-title{
  display:block;
  margin:0 0 16px;
  padding:0;
  font-size:15px;
  font-weight:700;
  color:var(--pd-ink);
  text-align:start;
  letter-spacing:0;
}

.wp-block-woocommerce-cart .wc-block-components-totals-wrapper{
  /* the theme puts a border + radius + white background on every wrapper,
     which double-boxes each row inside the card */
  border:0;
  border-radius:0;
  background:transparent;
  padding:16px 0;
  border-top:1px solid var(--pd-line-soft);
}
.wp-block-woocommerce-cart .wc-block-components-totals-wrapper:empty,
.wp-block-woocommerce-cart .wc-block-components-totals-wrapper:not(:has(*)){
  display:none;
}
.wp-block-woocommerce-cart .wc-block-components-totals-wrapper:first-of-type{
  padding-top:0;
  border-top:0;
}
.wp-block-woocommerce-cart .wc-block-components-totals-wrapper:last-child{
  padding-bottom:0;
}
.wp-block-woocommerce-cart .wc-block-components-totals-wrapper:has(.wc-block-components-totals-footer-item){
  border-top:0;
}
.wp-block-woocommerce-cart .wc-block-components-totals-wrapper::after{
  display:none;
}

.wp-block-woocommerce-cart .wc-block-components-totals-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  font-size:14px;
  color:var(--pd-muted);
}

.wp-block-woocommerce-cart .wc-block-components-totals-item.wc-block-components-totals-footer-item{
  padding:16px;
  margin:0;
  border:0;
  border-radius:var(--pd-radius-sm);
  background:var(--pd-surface-soft);
  font-size:15px;
}
.wp-block-woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__label{
  font-weight:700;
  color:var(--pd-ink);
}
.wp-block-woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value{
  font-size:20px;
  font-weight:800;
  color:var(--pd-primary);
  letter-spacing:-.01em;
}
.wp-block-woocommerce-cart .wc-block-components-totals-item__description{
  flex:1 1 100%;
  margin-top:4px;
  font-size:12px;
  color:var(--pd-muted);
}
.wp-block-woocommerce-cart .wc-block-components-totals-item__description:empty{
  display:none;
}

/* ---------------------------------------------------------------------
   6) COUPON: dropdown toggle + input box
   --------------------------------------------------------------------- */
.wp-block-woocommerce-cart .wc-block-components-totals-coupon{
  padding:0;
  border:1px solid var(--pd-line);
  border-radius:var(--pd-radius-sm);
  background:var(--pd-surface-soft);
  overflow:hidden;
  transition:border-color .2s ease, background .2s ease;
}
.wp-block-woocommerce-cart .wc-block-components-totals-coupon:hover{
  border-color:#d4d8e6;
}

/* the toggle row.
   The theme forces padding-right:0 !important on this element, so the
   padding here needs !important to win. */
.wp-block-woocommerce-cart .wc-block-components-totals-coupon .wc-block-components-panel__button{
  padding:14px 16px !important;
}
.wp-block-woocommerce-cart .wc-block-components-panel__button{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  width:100%;
  margin:0;
  padding:14px 16px;
  background:transparent;
  border:0;
  font-size:14px;
  font-weight:600;
  color:var(--pd-ink);
  text-align:start;
  cursor:pointer;
  transition:color .18s ease;
}
.wp-block-woocommerce-cart .wc-block-components-panel__button:hover{
  color:var(--pd-primary);
}
.wp-block-woocommerce-cart .wc-block-components-panel__button:focus-visible{
  outline:2px solid var(--pd-primary);
  outline-offset:-2px;
  border-radius:var(--pd-radius-sm);
}

/* chevron */
.wp-block-woocommerce-cart .wc-block-components-panel__button > svg{
  position:static;          /* block CSS pins it with position:absolute */
  inset:auto;
  flex:0 0 auto;
  width:20px;
  height:20px;
  margin:0;
  fill:currentColor;
  transform:none;
  transition:transform .25s ease;
}
.wp-block-woocommerce-cart .wc-block-components-panel__button[aria-expanded="true"] > svg{
  transform:rotate(180deg);
}

/* expanded area */
.wp-block-woocommerce-cart .wc-block-components-panel__content{
  padding:0 16px 16px;
  margin:0;
  background:transparent;
}

.wp-block-woocommerce-cart .wc-block-components-totals-coupon__form{
  display:flex;
  align-items:stretch;
  gap:10px;
  margin:0;
  flex-wrap:wrap;
}

.wp-block-woocommerce-cart .wc-block-components-totals-coupon__input{
  flex:1 1 170px;
  min-width:0;
  margin:0;
}

/* text field */
.wp-block-woocommerce-cart .wc-block-components-text-input{
  position:relative;
  margin:0;
}
.wp-block-woocommerce-cart .wc-block-components-text-input input[type="text"],
.wp-block-woocommerce-cart .wc-block-components-text-input input{
  width:100%;
  height:48px;
  padding:18px 14px 6px;
  border:1px solid var(--pd-line);
  border-radius:10px;
  background:var(--pd-surface);
  font-family:inherit;
  font-size:14px;
  color:var(--pd-ink);
  box-shadow:none;
  transition:border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.wp-block-woocommerce-cart .wc-block-components-text-input input:hover{
  border-color:#d4d8e6;
}
.wp-block-woocommerce-cart .wc-block-components-text-input input:focus{
  outline:0;
  border-color:var(--pd-primary);
  box-shadow:0 0 0 3px var(--pd-primary-soft);
  background:var(--pd-surface);
}

.wp-block-woocommerce-cart .wc-block-components-text-input label{
  inset-inline-start:14px;
  inset-inline-end:auto;
  font-size:14px;
  color:var(--pd-muted);
  transition:transform .18s ease, font-size .18s ease, color .18s ease;
}
.wp-block-woocommerce-cart .wc-block-components-text-input.is-active label{
  font-size:11px;
  color:var(--pd-muted);
}
.wp-block-woocommerce-cart .wc-block-components-text-input.is-active input:focus + label{
  color:var(--pd-primary);
}

/* apply button */
.wp-block-woocommerce-cart .wc-block-components-totals-coupon__button{
  flex:0 0 auto;
  height:48px;
  min-width:96px;
  padding:0 20px;
  border:0;
  border-radius:10px;
  background:var(--pd-primary);
  color:#fff;
  font-family:inherit;
  font-size:14px;
  font-weight:700;
  line-height:48px;
  cursor:pointer;
  transition:background .18s ease, transform .12s ease, box-shadow .18s ease;
}
.wp-block-woocommerce-cart .wc-block-components-totals-coupon__button:hover:not(:disabled){
  background:var(--pd-primary-dark);
  box-shadow:0 6px 16px rgba(56,88,233,.24);
}
.wp-block-woocommerce-cart .wc-block-components-totals-coupon__button:active:not(:disabled){
  transform:translateY(1px);
}
.wp-block-woocommerce-cart .wc-block-components-totals-coupon__button:disabled{
  opacity:.5;
  cursor:not-allowed;
}

/* applied coupon chips */
.wp-block-woocommerce-cart .wc-block-components-chip{
  border-radius:999px;
  background:var(--pd-primary-soft);
  border:1px solid rgba(56,88,233,.25);
  color:var(--pd-primary);
  font-size:13px;
  font-weight:600;
  padding:5px 12px;
}
.wp-block-woocommerce-cart .wc-block-components-chip__remove{
  color:currentColor;
}

/* ---------------------------------------------------------------------
   7) CHECKOUT BUTTON
   --------------------------------------------------------------------- */
.wp-block-woocommerce-cart .wc-block-cart__submit-container{
  padding:0;
  margin-top:16px;
}

.wp-block-woocommerce-cart .wc-block-cart__submit-button{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:54px;
  border-radius:14px;
  background:var(--pd-primary);
  color:#fff;
  font-size:15px;
  font-weight:700;
  box-shadow:0 6px 18px rgba(56,88,233,.22);
  transition:background .18s ease, box-shadow .18s ease, transform .12s ease;
}
.wp-block-woocommerce-cart .wc-block-cart__submit-button:hover{
  background:var(--pd-primary-dark);
  box-shadow:0 10px 26px rgba(56,88,233,.30);
}
.wp-block-woocommerce-cart .wc-block-cart__submit-button:active{
  transform:translateY(1px);
  box-shadow:0 4px 12px rgba(56,88,233,.24);
}
.wp-block-woocommerce-cart .wc-block-cart__submit-button:focus-visible{
  outline:3px solid rgba(56,88,233,.35);
  outline-offset:2px;
}

/* ---------------------------------------------------------------------
   8) NOTICES
   --------------------------------------------------------------------- */
.wp-block-woocommerce-cart .wc-block-components-notice-banner{
  border-radius:var(--pd-radius-sm);
  font-size:14px;
}

/* ---------------------------------------------------------------------
   9) SMALL SCREENS
   --------------------------------------------------------------------- */
@media (max-width:560px){
  .wp-block-woocommerce-cart .wc-block-cart-items__row td{
    padding:16px 12px;
  }
  .wp-block-woocommerce-cart .wc-block-cart-item__image{
    width:72px;
  }
  .wp-block-woocommerce-cart .wc-block-cart-item__image img{
    width:64px;
    height:64px;
  }
  .wp-block-woocommerce-cart .wc-block-components-totals-coupon__form{
    flex-direction:column;
  }
  .wp-block-woocommerce-cart .wc-block-components-totals-coupon__button{
    width:100%;
  }
  .wp-block-woocommerce-cart .wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-block{
    padding:18px;
  }
}


/* =====================================================================
   parsidate.com - CHECKOUT page (WooCommerce Checkout Block)
   Same CSS-only approach. Safe to keep in the same stylesheet.
   ===================================================================== */

.wp-block-woocommerce-checkout{
  --pd-primary:#3858e9;
  --pd-primary-dark:#2a45c6;
  --pd-primary-soft:rgba(56,88,233,.08);
  --pd-ink:#1e1e1e;
  --pd-muted:#6b7280;
  --pd-line:#e6e8ef;
  --pd-line-soft:#f0f2f7;
  --pd-surface:#fff;
  --pd-surface-soft:#f8f9fc;
  --pd-radius:16px;
  --pd-radius-sm:12px;
  --pd-gutter:40px;
  --pd-sidebar:380px;
}

/* ---------------------------------------------------------------------
   1) LAYOUT: form and order summary side by side
   Same root cause as the cart: 65% + 35% + a 40px theme column-gap
   overflows the row, so the summary wraps underneath.
   --------------------------------------------------------------------- */
@media (min-width:900px){
  .wp-block-woocommerce-checkout .wc-block-components-sidebar-layout{
    display:flex;
    flex-wrap:nowrap;
    align-items:flex-start;
    column-gap:0;
    row-gap:0;
  }
  .wp-block-woocommerce-checkout .wc-block-components-main{
    flex:1 1 auto;
    width:auto;
    min-width:0;
    padding-inline-start:0;
    padding-inline-end:var(--pd-gutter);
  }
  .wp-block-woocommerce-checkout .wc-block-components-sidebar{
    flex:0 0 var(--pd-sidebar);
    width:var(--pd-sidebar);
    max-width:42%;
    padding:0;
    position:sticky;
    top:24px;
  }
}

@media (max-width:899px){
  .wp-block-woocommerce-checkout .wc-block-components-sidebar-layout{
    flex-wrap:wrap;
    column-gap:0;
    row-gap:28px;
  }
  .wp-block-woocommerce-checkout .wc-block-components-main,
  .wp-block-woocommerce-checkout .wc-block-components-sidebar{
    flex:1 1 100%;
    width:100%;
    max-width:100%;
    padding-inline:0;
  }
}

/* ---------------------------------------------------------------------
   2) FORM STEPS
   --------------------------------------------------------------------- */
.wp-block-woocommerce-checkout .wc-block-components-checkout-step{
  padding:0 0 26px;
  margin:0 0 26px;
  border-bottom:1px solid var(--pd-line-soft);
}
.wp-block-woocommerce-checkout .wc-block-components-checkout-step:last-of-type{
  border-bottom:0;
  margin-bottom:0;
}
.wp-block-woocommerce-checkout .wc-block-components-checkout-step__heading{
  margin-bottom:14px;
}
.wp-block-woocommerce-checkout .wc-block-components-checkout-step__title{
  font-size:17px;
  font-weight:800;
  color:var(--pd-ink);
  letter-spacing:-.01em;
}
.wp-block-woocommerce-checkout .wc-block-components-checkout-step__description,
.wp-block-woocommerce-checkout .wc-block-components-address-form__address_1-description,
.wp-block-woocommerce-checkout .wc-block-components-checkout-step__description-animated-container{
  font-size:13px;
  color:var(--pd-muted);
}
.wp-block-woocommerce-checkout .wc-block-components-address-form,
.wp-block-woocommerce-checkout .wc-block-components-form{
  row-gap:14px;
}

/* ---------------------------------------------------------------------
   3) INPUTS AND DROPDOWNS
   Selects shipped with a 4px radius while inputs had 14px. Unified here.
   --------------------------------------------------------------------- */
.wp-block-woocommerce-checkout .wc-block-components-text-input input,
.wp-block-woocommerce-checkout .wc-blocks-components-select__select{
  height:52px;
  padding:20px 14px 6px;
  border:1px solid var(--pd-line);
  border-radius:var(--pd-radius-sm);
  background:var(--pd-surface);
  font-family:inherit;
  font-size:14.5px;
  color:var(--pd-ink);
  box-shadow:none;
  transition:border-color .18s ease, box-shadow .18s ease;
}
.wp-block-woocommerce-checkout .wc-block-components-text-input input:hover,
.wp-block-woocommerce-checkout .wc-blocks-components-select__select:hover{
  border-color:#d4d8e6;
}
.wp-block-woocommerce-checkout .wc-block-components-text-input input:focus,
.wp-block-woocommerce-checkout .wc-blocks-components-select__select:focus{
  outline:0;
  border-color:var(--pd-primary);
  box-shadow:0 0 0 3px var(--pd-primary-soft);
}
.wp-block-woocommerce-checkout .wc-block-components-text-input label,
.wp-block-woocommerce-checkout .wc-blocks-components-select__label{
  inset-inline-start:14px;
  inset-inline-end:auto;
  font-size:14px;
  color:var(--pd-muted);
}
.wp-block-woocommerce-checkout .wc-blocks-components-select__container{
  border:0;
}
.wp-block-woocommerce-checkout .wc-blocks-components-select__expand{
  inset-inline-end:14px;
  inset-inline-start:auto;
  color:var(--pd-muted);
  transition:transform .2s ease;
}
.wp-block-woocommerce-checkout .wc-block-components-checkbox__label,
.wp-block-woocommerce-checkout .wc-block-components-checkout-step__content label{
  font-size:14px;
}

/* ---------------------------------------------------------------------
   4) ORDER SUMMARY CARD
   The theme puts a border + 16px radius + white background on every
   .wc-block-components-totals-wrapper, which double-boxes each row
   inside the card. Neutralised here, dividers done with border-top.
   --------------------------------------------------------------------- */
.wp-block-woocommerce-checkout .wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block{
  background:var(--pd-surface);
  border:1px solid var(--pd-line);
  border-radius:var(--pd-radius);
  padding:22px;
  box-shadow:0 1px 2px rgba(16,24,40,.04);
}
.wp-block-woocommerce-checkout .wc-block-components-sidebar .wc-block-components-totals-wrapper{
  border:0;
  border-radius:0;
  background:transparent;
  padding:16px 0;
  border-top:1px solid var(--pd-line-soft);
}
.wp-block-woocommerce-checkout .wc-block-components-sidebar .wc-block-components-totals-wrapper:first-of-type{
  padding-top:0;
  border-top:0;
}
.wp-block-woocommerce-checkout .wc-block-components-sidebar .wc-block-components-totals-wrapper:last-child{
  padding-bottom:0;
}
.wp-block-woocommerce-checkout .wc-block-components-sidebar .wc-block-components-totals-wrapper:has(.wc-block-components-totals-footer-item){
  border-top:0;
}
/* empty discount / fee wrappers still reserve height */
.wp-block-woocommerce-checkout .wc-block-components-sidebar .wc-block-components-totals-wrapper:empty,
.wp-block-woocommerce-checkout .wc-block-components-sidebar .wc-block-components-totals-wrapper:not(:has(*)){
  display:none;
}

.wp-block-woocommerce-checkout .wc-block-components-order-summary{
  padding:0;
}
.wp-block-woocommerce-checkout .wc-block-components-order-summary__button-text,
.wp-block-woocommerce-checkout .wc-block-components-checkout-order-summary__title-text{
  font-size:15px;
  font-weight:700;
  color:var(--pd-ink);
}
.wp-block-woocommerce-checkout .wc-block-components-order-summary-item{
  padding:14px 0;
  border-bottom:1px solid var(--pd-line-soft);
}
.wp-block-woocommerce-checkout .wc-block-components-order-summary-item:last-child{
  border-bottom:0;
  padding-bottom:0;
}
.wp-block-woocommerce-checkout .wc-block-components-order-summary-item__image img{
  border-radius:10px;
  border:1px solid var(--pd-line);
}
.wp-block-woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-name,
.wp-block-woocommerce-checkout .wc-block-components-order-summary-item__total-price{
  font-size:14.5px;
  font-weight:700;
  color:var(--pd-ink);
}
.wp-block-woocommerce-checkout .wc-block-components-sale-badge{
  display:inline-block;
  margin-top:6px;
  padding:4px 10px;
  border-radius:999px;
  background:rgba(16,150,90,.10);
  color:#0f8a54;
  font-size:12px;
  font-weight:700;
  border:0;
}

.wp-block-woocommerce-checkout .wc-block-components-totals-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding-inline:0;
  font-size:14px;
  color:var(--pd-muted);
}
.wp-block-woocommerce-checkout .wc-block-components-totals-item.wc-block-components-totals-footer-item{
  padding:16px;
  border:0;
  border-radius:var(--pd-radius-sm);
  background:var(--pd-surface-soft);
}
.wp-block-woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__label{
  font-weight:700;
  color:var(--pd-ink);
}
.wp-block-woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value{
  font-size:20px;
  font-weight:800;
  color:var(--pd-primary);
}
.wp-block-woocommerce-checkout .wc-block-components-totals-item__description:empty{
  display:none;
}

/* ---------------------------------------------------------------------
   5) COUPON PANEL (same theme !important quirk as the cart)
   --------------------------------------------------------------------- */
.wp-block-woocommerce-checkout .wc-block-components-totals-coupon{
  border:1px solid var(--pd-line);
  border-radius:var(--pd-radius-sm);
  background:var(--pd-surface-soft);
  overflow:hidden;
}
.wp-block-woocommerce-checkout .wc-block-components-totals-coupon .wc-block-components-panel__button{
  padding:14px 16px !important;
}
.wp-block-woocommerce-checkout .wc-block-components-panel__button{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  width:100%;
  margin:0;
  background:transparent;
  border:0;
  font-size:14px;
  font-weight:600;
  color:var(--pd-ink);
  text-align:start;
  cursor:pointer;
}
.wp-block-woocommerce-checkout .wc-block-components-panel__button:hover{
  color:var(--pd-primary);
}
.wp-block-woocommerce-checkout .wc-block-components-panel__button > svg{
  position:static;
  inset:auto;
  flex:0 0 auto;
  width:20px;
  height:20px;
  margin:0;
  fill:currentColor;
  transform:none;
  transition:transform .25s ease;
}
.wp-block-woocommerce-checkout .wc-block-components-panel__button[aria-expanded="true"] > svg{
  transform:rotate(180deg);
}
.wp-block-woocommerce-checkout .wc-block-components-panel__content{
  padding:0 16px 16px;
}
.wp-block-woocommerce-checkout .wc-block-components-totals-coupon__form{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.wp-block-woocommerce-checkout .wc-block-components-totals-coupon__input{
  flex:1 1 170px;
  min-width:0;
}
.wp-block-woocommerce-checkout .wc-block-components-totals-coupon__button{
  flex:0 0 auto;
  height:52px;
  min-width:96px;
  padding:0 20px;
  border:0;
  border-radius:var(--pd-radius-sm);
  background:var(--pd-primary);
  color:#fff;
  font-family:inherit;
  font-size:14px;
  font-weight:700;
  cursor:pointer;
  transition:background .18s ease;
}
.wp-block-woocommerce-checkout .wc-block-components-totals-coupon__button:hover:not(:disabled){
  background:var(--pd-primary-dark);
}

/* ---------------------------------------------------------------------
   6) NOTICES AND PLACE ORDER
   --------------------------------------------------------------------- */
.wp-block-woocommerce-checkout .wc-block-components-notice-banner{
  border-radius:var(--pd-radius-sm);
  align-items:center;
  font-size:14px;
}
.wp-block-woocommerce-checkout .wc-block-checkout__actions{
  padding:0;
  margin-top:20px;
}
.wp-block-woocommerce-checkout .wc-block-components-checkout-place-order-button{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:56px;
  border-radius:14px;
  background:var(--pd-primary);
  color:#fff;
  font-size:15.5px;
  font-weight:700;
  box-shadow:0 6px 18px rgba(56,88,233,.22);
  transition:background .18s ease, box-shadow .18s ease, transform .12s ease;
}
.wp-block-woocommerce-checkout .wc-block-components-checkout-place-order-button:hover{
  background:var(--pd-primary-dark);
  box-shadow:0 10px 26px rgba(56,88,233,.30);
}
.wp-block-woocommerce-checkout .wc-block-components-checkout-place-order-button:active{
  transform:translateY(1px);
}
.wp-block-woocommerce-checkout .wc-block-components-checkout-place-order-button:focus-visible{
  outline:3px solid rgba(56,88,233,.35);
  outline-offset:2px;
}

@media (max-width:560px){
  .wp-block-woocommerce-checkout .wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block{
    padding:18px;
  }
  .wp-block-woocommerce-checkout .wc-block-components-totals-coupon__form{
    flex-direction:column;
  }
  .wp-block-woocommerce-checkout .wc-block-components-totals-coupon__button{
    width:100%;
  }
}