/**
 * WooCommerce — Single product & shop cards
 * Matches product detail layout (gallery + summary, tabs, related)
 */

/* -------------------------------------------------------------------------- */
/* Page shell                                                                 */
/* -------------------------------------------------------------------------- */

.qadsia-woocommerce {
	padding: 40px 0 80px;
	background: #fff;
}

.qadsia-woocommerce .woocommerce-notices-wrapper {
	margin-bottom: 24px;
}

.qadsia-woocommerce .woocommerce-message,
.qadsia-woocommerce .woocommerce-info,
.qadsia-woocommerce .woocommerce-error {
	border-radius: 0;
	border-top: 3px solid #FDB913;
	background: #fafafa;
}

/* -------------------------------------------------------------------------- */
/* Single product top: gallery + summary                                      */
/* -------------------------------------------------------------------------- */

.qadsia-single-product .qadsia-product-top {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: 48px 56px;
	align-items: start;
	margin-bottom: 56px;
}

/* RTL: grid auto-flow places gallery on the right when html is rtl */

.qadsia-single-product .woocommerce-product-gallery {
	position: relative;
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
}

.qadsia-single-product .woocommerce-product-gallery__wrapper {
	margin: 0;
}

.qadsia-single-product .woocommerce-product-gallery__image {
	background: #f7f7f7;
	margin: 0;
}

.qadsia-single-product .woocommerce-product-gallery__image img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: contain;
	aspect-ratio: 1 / 1;
	background: #f7f7f7;
}

.qadsia-single-product .woocommerce-product-gallery .flex-viewport {
	background: #f7f7f7;
}

.qadsia-single-product .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
	position: absolute;
	top: 16px;
	inset-inline-start: 16px;
	z-index: 9;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
	display: flex;
	align-items: center;
	justify-content: center;
	text-indent: -9999px;
	overflow: hidden;
}

.qadsia-single-product .woocommerce-product-gallery .woocommerce-product-gallery__trigger::before {
	content: "";
	position: absolute;
	width: 14px;
	height: 14px;
	border: 2px solid #222;
	border-radius: 50%;
	top: 9px;
	inset-inline-start: 9px;
}

.qadsia-single-product .woocommerce-product-gallery .woocommerce-product-gallery__trigger::after {
	content: "";
	position: absolute;
	width: 7px;
	height: 2px;
	background: #222;
	transform: rotate(45deg);
	top: 22px;
	inset-inline-start: 20px;
}

.qadsia-single-product .flex-control-thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
}

.qadsia-single-product .flex-control-thumbs li {
	width: calc(25% - 9px);
	float: none;
	margin: 0;
}

.qadsia-single-product .flex-control-thumbs img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	background: #f7f7f7;
	opacity: 0.55;
	border: 1px solid transparent;
	cursor: pointer;
}

.qadsia-single-product .flex-control-thumbs img.flex-active,
.qadsia-single-product .flex-control-thumbs img:hover {
	opacity: 1;
	border-color: #ddd;
}

.qadsia-single-product .onsale {
	position: absolute;
	top: 16px;
	inset-inline-end: 16px;
	z-index: 8;
	background: #FDB913;
	color: #2C1F00;
	border-radius: 0;
	min-height: auto;
	line-height: 1;
	padding: 8px 12px;
	font-weight: 700;
	font-size: 13px;
}

/* -------------------------------------------------------------------------- */
/* Summary column                                                             */
/* -------------------------------------------------------------------------- */

.qadsia-single-product .summary.entry-summary {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
	padding: 0;
}

.qadsia-single-product .product_title.entry-title {
	font-size: clamp(26px, 3vw, 34px);
	font-weight: 800;
	line-height: 1.25;
	color: #111;
	margin: 0 0 14px;
	font-family: "Instrument Sans", "Mulish", sans-serif;
}

.qadsia-single-product .woocommerce-product-rating {
	margin-bottom: 12px;
}

.qadsia-single-product p.price,
.qadsia-single-product span.price,
.qadsia-single-product .summary > .price {
	display: block;
	font-size: 28px;
	font-weight: 800;
	color: #1faa4a;
	margin: 0 0 16px;
	line-height: 1.2;
	font-family: "Mulish", "Instrument Sans", sans-serif;
	direction: ltr;
	unicode-bidi: isolate;
	text-align: right;
}

.qadsia-single-product p.price del,
.qadsia-single-product span.price del {
	opacity: 0.45;
	font-size: 0.7em;
	margin-inline-end: 8px;
	color: #666;
}

.qadsia-single-product p.price ins,
.qadsia-single-product span.price ins {
	text-decoration: none;
	color: #1faa4a;
}

.qadsia-single-product .woocommerce-product-details__short-description {
	margin: 0 0 22px;
}

.qadsia-single-product .woocommerce-product-details__short-description p {
	margin: 0;
	font-size: 15px;
	line-height: 1.7;
	color: #555;
}

/* Variations */
.qadsia-single-product .variations_form {
	margin: 0;
}

.qadsia-single-product table.variations {
	width: 100%;
	margin: 0 0 8px;
	border: 0;
}

.qadsia-single-product table.variations tbody tr {
	display: block;
	margin-bottom: 14px;
}

.qadsia-single-product table.variations th,
.qadsia-single-product table.variations td {
	display: block;
	padding: 0;
	border: 0;
	background: transparent;
	text-align: start;
}

.qadsia-single-product table.variations label {
	display: block;
	font-size: 14px;
	font-weight: 700;
	color: #222;
	margin-bottom: 8px;
}

.qadsia-single-product table.variations select {
	width: 100%;
	max-width: 100%;
	height: 48px;
	padding: 0 14px;
	border: 1px solid #d8d8d8;
	border-radius: 4px;
	background: #fff;
	font-size: 15px;
	color: #222;
	appearance: auto;
}

.qadsia-single-product table.variations .reset_variations {
	display: inline-block;
	margin-top: 6px;
	font-size: 13px;
	color: #888;
	text-decoration: underline;
}

.qadsia-single-product .woocommerce-variation-availability,
.qadsia-single-product .stock {
	margin: 10px 0 16px;
	font-size: 14px;
	font-weight: 600;
	color: #1faa4a;
}

.qadsia-single-product .stock.out-of-stock {
	color: #c0392b;
}

/* Quantity + Add to cart */
.qadsia-single-product form.cart {
	margin: 0 0 24px;
}

.qadsia-single-product form.cart .woocommerce-variation-add-to-cart,
.qadsia-single-product form.cart:not(.variations_form) {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 12px;
}

.qadsia-single-product form.cart .quantity {
	float: none;
	margin: 0;
	width: 88px;
	flex: 0 0 88px;
}

.qadsia-single-product form.cart .quantity .qty {
	width: 100%;
	height: 52px;
	border: 1px solid #d8d8d8;
	border-radius: 4px;
	text-align: center;
	font-size: 16px;
	font-weight: 600;
	background: #fff;
	color: #111;
}

.qadsia-single-product form.cart .single_add_to_cart_button,
.qadsia-single-product form.cart button.button.alt {
	flex: 1 1 auto;
	min-width: 180px;
	height: 52px;
	margin: 0 !important;
	padding: 0 24px;
	border: 0;
	border-radius: 4px;
	background: #111 !important;
	color: #fff !important;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.01em;
	cursor: pointer;
	transition: background 0.25s ease, color 0.25s ease;
}

.qadsia-single-product form.cart .single_add_to_cart_button:hover,
.qadsia-single-product form.cart button.button.alt:hover {
	background: #FDB913 !important;
	color: #2C1F00 !important;
}

.qadsia-single-product form.cart .single_add_to_cart_button.disabled,
.qadsia-single-product form.cart .single_add_to_cart_button:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

/* Meta */
.qadsia-single-product .product_meta {
	padding-top: 18px;
	border-top: 1px solid #ececec;
	font-size: 14px;
	color: #666;
	line-height: 1.8;
}

.qadsia-single-product .product_meta > span {
	display: block;
}

.qadsia-single-product .product_meta a {
	color: #222;
	font-weight: 600;
}

.qadsia-single-product .product_meta a:hover {
	color: #FDB913;
}

/* -------------------------------------------------------------------------- */
/* Tabs                                                                       */
/* -------------------------------------------------------------------------- */

.qadsia-single-product .woocommerce-tabs {
	margin: 0 0 64px;
	clear: both;
}

.qadsia-single-product .woocommerce-tabs ul.tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	list-style: none;
	margin: 0 0 28px;
	padding: 0;
	border: 0;
	border-bottom: 1px solid #e5e5e5;
	background: transparent;
}

.qadsia-single-product .woocommerce-tabs ul.tabs::before,
.qadsia-single-product .woocommerce-tabs ul.tabs::after {
	display: none;
}

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

.qadsia-single-product .woocommerce-tabs ul.tabs li::before,
.qadsia-single-product .woocommerce-tabs ul.tabs li::after {
	display: none;
}

.qadsia-single-product .woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 14px 20px;
	font-size: 15px;
	font-weight: 700;
	color: #888;
	border: 0;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
}

.qadsia-single-product .woocommerce-tabs ul.tabs li.active a,
.qadsia-single-product .woocommerce-tabs ul.tabs li a:hover {
	color: #111;
	border-bottom-color: #111;
}

.qadsia-single-product .woocommerce-tabs .panel {
	margin: 0;
	padding: 0;
	border: 0;
	box-shadow: none;
	background: transparent;
}

.qadsia-single-product .woocommerce-tabs .panel h2 {
	font-size: 22px;
	font-weight: 800;
	margin: 0 0 16px;
	color: #111;
}

.qadsia-single-product .woocommerce-tabs .panel p,
.qadsia-single-product .woocommerce-Tabs-panel--description {
	font-size: 15px;
	line-height: 1.85;
	color: #555;
}

.qadsia-single-product .woocommerce-tabs .woocommerce-product-attributes {
	width: 100%;
	border: 0;
}

.qadsia-single-product .woocommerce-tabs .woocommerce-product-attributes th,
.qadsia-single-product .woocommerce-tabs .woocommerce-product-attributes td {
	border: 0;
	border-bottom: 1px solid #eee;
	padding: 12px 0;
	background: transparent;
	font-size: 14px;
}

/* -------------------------------------------------------------------------- */
/* Related products                                                           */
/* -------------------------------------------------------------------------- */

.qadsia-related-products {
	margin-top: 8px;
	padding-top: 8px;
}

.qadsia-related-title {
	font-size: 26px;
	font-weight: 800;
	color: #111;
	margin: 0 0 28px;
}

.qadsia-related-products ul.products,
.qadsia-woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px 22px;
	list-style: none;
	margin: 0;
	padding: 0;
	clear: both;
}

.qadsia-related-products ul.products::before,
.qadsia-related-products ul.products::after,
.qadsia-woocommerce ul.products::before,
.qadsia-woocommerce ul.products::after {
	display: none;
}

.qadsia-related-products ul.products li.product,
.qadsia-woocommerce ul.products li.product {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
	padding: 0;
}

.qadsia-product-card__inner {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
}

.qadsia-product-card__media {
	display: block;
	background: #f5f5f5;
	overflow: hidden;
}

.qadsia-product-card__media img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}

.qadsia-product-card:hover .qadsia-product-card__media img {
	transform: scale(1.03);
}

.qadsia-product-card__body {
	padding: 16px 4px 0;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.qadsia-product-card__title {
	display: block;
	font-size: 15px;
	font-weight: 700;
	color: #111;
	line-height: 1.4;
	margin-bottom: 8px;
}

.qadsia-product-card__title:hover {
	color: #FDB913;
}

.qadsia-product-card__price {
	font-size: 15px;
	font-weight: 700;
	color: #c9a227;
	margin-bottom: 14px;
	direction: ltr;
	unicode-bidi: isolate;
	text-align: right;
}

.qadsia-product-card__price .amount,
.qadsia-product-card__price .woocommerce-Price-amount {
	color: #c9a227;
}

.qadsia-product-card__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: auto;
	width: 100%;
	min-height: 44px;
	padding: 10px 14px;
	border: 0;
	border-radius: 4px;
	background: #ececec !important;
	color: #222 !important;
	font-size: 14px;
	font-weight: 700;
	text-align: center;
	transition: background 0.25s ease, color 0.25s ease;
}

.qadsia-product-card__btn:hover {
	background: #111 !important;
	color: #fff !important;
}

/* Hide default loop chrome when using custom card */
.qadsia-product-card .onsale,
.qadsia-product-card .button:not(.qadsia-product-card__btn),
.qadsia-product-card .added_to_cart {
	display: none;
}

/* -------------------------------------------------------------------------- */
/* Breadcrumbs                                                                */
/* -------------------------------------------------------------------------- */

.qadsia-woocommerce .woocommerce-breadcrumb {
	font-size: 13px;
	color: #999;
	margin: 0 0 28px;
}

.qadsia-woocommerce .woocommerce-breadcrumb a {
	color: #666;
}

.qadsia-woocommerce .woocommerce-breadcrumb a:hover {
	color: #FDB913;
}

/* -------------------------------------------------------------------------- */
/* Shop archive                                                               */
/* -------------------------------------------------------------------------- */

.qadsia-woocommerce .woocommerce-result-count,
.qadsia-woocommerce .woocommerce-ordering {
	margin-bottom: 24px;
}

.qadsia-woocommerce .woocommerce-ordering select {
	height: 44px;
	padding: 0 14px;
	border: 1px solid #d8d8d8;
	border-radius: 4px;
	background: #fff;
}

.qadsia-woocommerce .woocommerce-pagination {
	margin-top: 40px;
	text-align: center;
}

.qadsia-woocommerce .woocommerce-pagination ul {
	display: inline-flex;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.qadsia-woocommerce .woocommerce-pagination ul li a,
.qadsia-woocommerce .woocommerce-pagination ul li span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 10px;
	border: 1px solid #e5e5e5;
	color: #222;
	font-weight: 600;
}

.qadsia-woocommerce .woocommerce-pagination ul li span.current {
	background: #111;
	border-color: #111;
	color: #fff;
}

/* -------------------------------------------------------------------------- */
/* Cart                                                                       */
/* -------------------------------------------------------------------------- */

.qadsia-woocommerce .woocommerce-cart-form {
	margin-bottom: 40px;
}

.qadsia-woocommerce table.shop_table {
	width: 100%;
	border-collapse: collapse;
	border: 1px solid #ececec;
	margin-bottom: 24px;
}

.qadsia-woocommerce table.shop_table th,
.qadsia-woocommerce table.shop_table td {
	padding: 16px 14px;
	border-bottom: 1px solid #ececec;
	text-align: start;
	vertical-align: middle;
}

.qadsia-woocommerce table.shop_table thead th {
	background: #fafafa;
	font-size: 14px;
	font-weight: 700;
	color: #222;
}

.qadsia-woocommerce table.shop_table .product-thumbnail img {
	width: 72px;
	height: auto;
}

.qadsia-woocommerce table.shop_table .product-name a {
	color: #111;
	font-weight: 700;
}

.qadsia-woocommerce table.shop_table .product-remove a {
	color: #999;
	font-size: 22px;
	line-height: 1;
}

.qadsia-woocommerce table.shop_table .product-remove a:hover {
	color: #c0392b;
}

.qadsia-woocommerce table.shop_table .quantity .qty {
	width: 70px;
	height: 42px;
	text-align: center;
	border: 1px solid #d8d8d8;
	border-radius: 4px;
}

.qadsia-woocommerce .actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-top: 8px;
}

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

.qadsia-woocommerce .coupon label {
	font-weight: 700;
	margin: 0;
}

.qadsia-woocommerce .coupon input.input-text {
	height: 44px;
	min-width: 180px;
	padding: 0 14px;
	border: 1px solid #d8d8d8;
	border-radius: 4px;
}

.qadsia-woocommerce .cart-collaterals {
	margin-top: 32px;
}

.qadsia-woocommerce .cart_totals,
.qadsia-woocommerce .woocommerce-checkout-review-order {
	background: #fafafa;
	border: 1px solid #ececec;
	padding: 24px;
}

.qadsia-woocommerce .cart_totals h2,
.qadsia-woocommerce #order_review_heading {
	font-size: 22px;
	font-weight: 800;
	margin: 0 0 18px;
}

.qadsia-woocommerce .wc-proceed-to-checkout {
	margin-top: 18px;
}

.qadsia-woocommerce .wc-proceed-to-checkout .checkout-button,
.qadsia-woocommerce #place_order,
.qadsia-woocommerce .button,
.qadsia-woocommerce button.button,
.qadsia-woocommerce a.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 22px;
	border: 0;
	border-radius: 4px;
	background: #111 !important;
	color: #fff !important;
	font-weight: 700;
	cursor: pointer;
}

.qadsia-woocommerce .wc-proceed-to-checkout .checkout-button:hover,
.qadsia-woocommerce #place_order:hover,
.qadsia-woocommerce .button:hover,
.qadsia-woocommerce button.button:hover,
.qadsia-woocommerce a.button:hover {
	background: #FDB913 !important;
	color: #2C1F00 !important;
}

/* -------------------------------------------------------------------------- */
/* Checkout — classic Arabic layout (reference design)                        */
/* -------------------------------------------------------------------------- */

.qadsia-site-content .woocommerce-checkout article > h1,
.qadsia-woocommerce.woocommerce-checkout article > h1,
body.woocommerce-checkout .qadsia-site-content article > h1 {
	display: none;
}

.qadsia-classic-checkout .qadsia-checkout-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 40px;
	align-items: start;
}

.qadsia-classic-checkout .qadsia-checkout-heading {
	font-size: 24px;
	font-weight: 800;
	margin: 0 0 24px;
	color: #111;
}

.qadsia-classic-checkout .qadsia-checkout-subheading {
	font-size: 20px;
	font-weight: 800;
	margin: 28px 0 16px;
	color: #111;
}

.qadsia-classic-checkout .qadsia-checkout-notes {
	margin-top: 8px;
}

.qadsia-classic-checkout .woocommerce-billing-fields h3,
.qadsia-classic-checkout .woocommerce-shipping-fields,
.qadsia-classic-checkout .woocommerce-shipping-fields__field-wrapper,
.qadsia-classic-checkout #ship-to-different-address,
.qadsia-classic-checkout .woocommerce-additional-fields {
	display: none !important;
}

.qadsia-classic-checkout #order_review,
.qadsia-site-content .qadsia-classic-checkout #order_review,
.qadsia-woocommerce .qadsia-classic-checkout #order_review {
	background: transparent;
	border: 0;
	padding: 0;
	position: static;
}

.qadsia-classic-checkout table.shop_table.woocommerce-checkout-review-order-table {
	border: 1px solid #ddd;
	border-collapse: collapse;
	margin-bottom: 24px;
}

.qadsia-classic-checkout table.shop_table.woocommerce-checkout-review-order-table th,
.qadsia-classic-checkout table.shop_table.woocommerce-checkout-review-order-table td {
	border: 1px solid #ddd;
	padding: 12px 16px;
	vertical-align: middle;
}

.qadsia-classic-checkout table.shop_table.woocommerce-checkout-review-order-table thead th {
	background: #fafafa;
	font-weight: 700;
}

.qadsia-classic-checkout #payment {
	background: transparent;
	border: 0;
	padding: 0;
}

.qadsia-classic-checkout #payment .payment_methods {
	border: 0;
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
}

.qadsia-classic-checkout #payment .payment_methods li {
	border: 1px solid #e8e8e8;
	border-radius: 4px;
	margin-bottom: 10px;
	padding: 12px 16px;
}

.qadsia-classic-checkout #payment .payment_box {
	background: #f3f0ff;
	border-radius: 4px;
	margin-top: 10px;
	padding: 12px 16px;
}

.qadsia-classic-checkout #payment .place-order {
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: flex-start;
}

.qadsia-classic-checkout #place_order,
.qadsia-site-content .qadsia-classic-checkout #place_order {
	width: 100%;
	max-width: 280px;
	margin-inline-end: auto;
	margin-inline-start: 0;
	display: flex;
	background: #2d9b3c !important;
	color: #fff !important;
	font-size: 16px;
	font-weight: 700;
	min-height: 52px;
	border-radius: 4px;
}

.qadsia-classic-checkout #place_order:hover,
.qadsia-site-content .qadsia-classic-checkout #place_order:hover {
	background: #248532 !important;
	color: #fff !important;
}

.qadsia-classic-checkout .form-row-first,
.qadsia-classic-checkout .form-row-last {
	width: 48%;
	display: inline-block;
	vertical-align: top;
}

.qadsia-classic-checkout .form-row-first {
	margin-inline-end: 4%;
}

.qadsia-classic-checkout .form-row-wide {
	clear: both;
	width: 100%;
}

@media (max-width: 991px) {
	.qadsia-classic-checkout .qadsia-checkout-grid {
		grid-template-columns: 1fr;
	}

	.qadsia-classic-checkout .form-row-first,
	.qadsia-classic-checkout .form-row-last {
		width: 100%;
		margin-inline-end: 0;
	}
}

/* Legacy checkout grid (non-classic) */
.qadsia-woocommerce form.checkout:not(.qadsia-classic-checkout) {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: 32px;
	align-items: start;
}

.qadsia-woocommerce form.checkout #customer_details .col-1,
.qadsia-woocommerce form.checkout #customer_details .col-2 {
	width: 100%;
	float: none;
}

.qadsia-woocommerce .woocommerce-billing-fields h3,
.qadsia-woocommerce .woocommerce-shipping-fields h3,
.qadsia-woocommerce .woocommerce-additional-fields h3 {
	font-size: 20px;
	font-weight: 800;
	margin-bottom: 16px;
}

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

.qadsia-woocommerce .form-row input.input-text,
.qadsia-woocommerce .form-row textarea,
.qadsia-woocommerce .form-row select,
.qadsia-woocommerce .select2-container .select2-selection--single {
	width: 100%;
	min-height: 46px;
	border: 1px solid #d8d8d8;
	border-radius: 4px;
}

.qadsia-woocommerce #order_review {
	position: sticky;
	top: 24px;
}

/* -------------------------------------------------------------------------- */
/* My Account                                                                 */
/* -------------------------------------------------------------------------- */

.qadsia-woocommerce .woocommerce-MyAccount-navigation {
	float: none;
	width: 100%;
	margin-bottom: 28px;
}

.qadsia-woocommerce .woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.qadsia-woocommerce .woocommerce-MyAccount-navigation ul li a {
	display: block;
	padding: 10px 16px;
	border: 1px solid #e5e5e5;
	font-weight: 600;
	color: #444;
}

.qadsia-woocommerce .woocommerce-MyAccount-navigation ul li.is-active a,
.qadsia-woocommerce .woocommerce-MyAccount-navigation ul li a:hover {
	background: #111;
	border-color: #111;
	color: #fff;
}

.qadsia-woocommerce .woocommerce-MyAccount-content {
	float: none;
	width: 100%;
}

.qadsia-woocommerce .woocommerce-orders-table__cell-order-actions a {
	margin-inline-end: 8px;
}

/* -------------------------------------------------------------------------- */
/* Notices — button placement                                                 */
/* -------------------------------------------------------------------------- */

.qadsia-woocommerce .woocommerce-message .button,
.qadsia-woocommerce .woocommerce-info .button {
	float: inline-end;
	margin-inline-start: 12px;
}

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

.qadsia-woocommerce .wp-block-post-title,
.qadsia-woocommerce .entry-title,
.qadsia-woocommerce .woocommerce-products-header__title {
	font-size: clamp(28px, 4vw, 40px);
	font-weight: 800;
	margin: 0 0 32px;
	color: #111;
}

.qadsia-site-content .wc-block-cart,
.qadsia-woocommerce .wc-block-cart,
.qadsia-site-content .wc-block-components-sidebar-layout,
.qadsia-woocommerce .wc-block-components-sidebar-layout {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 40px;
	width: 100%;
}

.qadsia-site-content .wc-block-cart__main,
.qadsia-woocommerce .wc-block-cart__main,
.qadsia-site-content .wc-block-components-main,
.qadsia-woocommerce .wc-block-components-main {
	flex: 1 1 auto;
	min-width: 0;
	max-width: calc(100% - 420px);
}

.qadsia-site-content .wc-block-cart__sidebar,
.qadsia-woocommerce .wc-block-cart__sidebar,
.qadsia-site-content .wc-block-components-sidebar,
.qadsia-woocommerce .wc-block-components-sidebar {
	flex: 0 0 380px;
	width: 100%;
	max-width: 420px;
}

.qadsia-site-content .wc-block-cart__sidebar,
.qadsia-woocommerce .wc-block-cart__sidebar,
.qadsia-site-content .wc-block-components-sidebar .wc-block-components-panel,
.qadsia-woocommerce .wc-block-components-sidebar .wc-block-components-panel,
.qadsia-site-content .wc-block-checkout__sidebar,
.qadsia-woocommerce .wc-block-checkout__sidebar {
	background: #fafafa;
	border: 1px solid #ececec;
	padding: 24px;
}

.qadsia-site-content .wc-block-cart-items,
.qadsia-woocommerce .wc-block-cart-items {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
}

.qadsia-site-content .wc-block-cart-items__header-product,
.qadsia-woocommerce .wc-block-cart-items__header-product,
.qadsia-site-content .wc-block-cart-item__product,
.qadsia-woocommerce .wc-block-cart-item__product {
	width: auto;
}

.qadsia-site-content .wc-block-cart-items__header-total,
.qadsia-woocommerce .wc-block-cart-items__header-total,
.qadsia-site-content .wc-block-cart-item__total,
.qadsia-woocommerce .wc-block-cart-item__total {
	width: 140px;
	min-width: 140px;
	max-width: 140px;
}

.qadsia-site-content .wc-block-cart-items__header th,
.qadsia-woocommerce .wc-block-cart-items__header th {
	padding: 12px 0;
	border-bottom: 2px solid #111;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.qadsia-woocommerce .wc-block-cart-items__row {
	border-bottom: 1px solid #ececec;
}

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

.qadsia-woocommerce .wc-block-cart-item__wrap {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	width: 100%;
}

.qadsia-woocommerce .wc-block-cart-item__image img {
	width: 72px;
	height: 72px;
	object-fit: cover;
	border-radius: 4px;
}

.qadsia-woocommerce .wc-block-cart-item__product-metadata {
	flex: 1;
	min-width: 0;
}

.qadsia-woocommerce .wc-block-cart-item__product-name {
	font-weight: 700;
	font-size: 15px;
	margin-bottom: 6px;
}

.qadsia-woocommerce .wc-block-cart-item__prices {
	color: #c9a227;
	font-weight: 700;
	margin-bottom: 4px;
}

.qadsia-woocommerce .wc-block-cart-item__quantity {
	margin-top: 12px;
}

.qadsia-woocommerce .wc-block-cart-item__total {
	font-weight: 700;
	color: #c9a227;
	white-space: nowrap;
}

.qadsia-woocommerce .wc-block-components-totals-item,
.qadsia-woocommerce .wc-block-components-order-summary-item {
	padding: 10px 0;
}

.qadsia-woocommerce .wc-block-components-text-input input,
.qadsia-woocommerce .wc-block-components-text-input label,
.qadsia-woocommerce .wc-block-components-combobox input,
.qadsia-woocommerce .wc-block-components-combobox label,
.qadsia-woocommerce .wc-block-components-checkbox label {
	width: 100%;
}

.qadsia-woocommerce .wc-block-components-text-input input,
.qadsia-woocommerce .wc-block-components-combobox input {
	min-height: 48px;
	border: 1px solid #d8d8d8;
	border-radius: 4px;
	padding: 12px 14px;
}

.qadsia-woocommerce .wc-block-components-button:not(.is-link) {
	min-height: 48px;
	border-radius: 4px;
	background: #111 !important;
	color: #fff !important;
	font-weight: 700;
}

.qadsia-woocommerce .wc-block-components-button:not(.is-link):hover {
	background: #FDB913 !important;
	color: #2C1F00 !important;
}

/* Classic cart — two columns */
.qadsia-woocommerce.woocommerce-cart .woocommerce {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	align-items: flex-start;
}

.qadsia-woocommerce.woocommerce-cart .woocommerce-cart-form {
	flex: 1 1 0;
	min-width: min(100%, 620px);
	margin-bottom: 0;
}

.qadsia-woocommerce.woocommerce-cart .cart-collaterals {
	flex: 0 0 380px;
	width: 100%;
	max-width: 420px;
	margin-top: 0;
}

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

@media (max-width: 991px) {
	.qadsia-single-product .qadsia-product-top {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.qadsia-related-products ul.products,
	.qadsia-woocommerce ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.qadsia-woocommerce form.checkout:not(.qadsia-classic-checkout) {
		grid-template-columns: 1fr;
	}

	.qadsia-woocommerce .wc-block-cart__main,
	.qadsia-woocommerce .wc-block-components-main {
		max-width: 100%;
	}

	.qadsia-woocommerce .wc-block-cart__sidebar,
	.qadsia-woocommerce .wc-block-components-sidebar,
	.qadsia-woocommerce.woocommerce-cart .cart-collaterals {
		flex: 1 1 100%;
		max-width: 100%;
	}
}

@media (max-width: 575px) {
	.qadsia-woocommerce {
		padding: 24px 0 56px;
	}

	.qadsia-single-product .product_title.entry-title {
		font-size: 24px;
	}

	.qadsia-single-product p.price,
	.qadsia-single-product .summary > .price {
		font-size: 22px;
	}

	.qadsia-single-product form.cart .woocommerce-variation-add-to-cart,
	.qadsia-single-product form.cart:not(.variations_form) {
		flex-direction: column;
	}

	.qadsia-single-product form.cart .quantity {
		width: 100%;
		flex-basis: auto;
	}

	.qadsia-single-product .woocommerce-tabs ul.tabs li a {
		padding: 12px 14px;
		font-size: 13px;
	}

	.qadsia-related-products ul.products,
	.qadsia-woocommerce ul.products {
		grid-template-columns: 1fr 1fr;
		gap: 18px 12px;
	}

	.qadsia-related-title {
		font-size: 22px;
	}

	.qadsia-woocommerce .actions {
		flex-direction: column;
		align-items: stretch;
	}

	.qadsia-woocommerce .coupon {
		width: 100%;
	}
}
