/* Akam Consult — pastel WooCommerce: My Account, cart, checkout (classic + block). */

.akc-shop {
	--akc-glass: color-mix(in srgb, #fff 84%, transparent);
	--akc-r: 26px;
	--akc-r-sm: 16px;
	--akc-shadow: 0 24px 50px -36px rgba(30, 40, 35, .35);
}
.akc-shop .woocommerce,
.akc-shop .wp-block-woocommerce-cart,
.akc-shop .wp-block-woocommerce-checkout { font-family: var(--pc-font); color: var(--pc-text); }

/* ---------- Shared: cards, buttons, inputs ---------- */
.akc-shop .woocommerce a:not(.button):not(.pcrs-btn):not(.akc-card-btn):not(.akc-card-arrow) { color: var(--pc-primary-dark); }

.akc-shop .woocommerce .button,
.akc-shop .woocommerce button.button,
.akc-shop .woocommerce input.button,
.akc-shop .woocommerce a.button,
.akc-shop .woocommerce .button.alt,
.akc-shop #place_order,
.akc-shop .wc-block-components-button:not(.is-link) {
	background: var(--pc-primary-dark) !important; color: #fff !important; border: 0 !important;
	border-radius: var(--akc-r-sm) !important; padding: 12px 22px; font-family: inherit; font-weight: 700;
	box-shadow: 0 14px 26px -18px var(--pc-primary-dark); transition: filter .2s ease, transform .2s ease;
	text-decoration: none !important;
}
.akc-shop .woocommerce .button:hover,
.akc-shop #place_order:hover,
.akc-shop .wc-block-components-button:not(.is-link):hover { filter: brightness(1.1); transform: translateY(-1px); }
.akc-shop .woocommerce .button:disabled,
.akc-shop .woocommerce .button[disabled] { opacity: .5; background: var(--pc-muted) !important; box-shadow: none; }

.akc-shop .woocommerce input.input-text,
.akc-shop .woocommerce input[type="text"],
.akc-shop .woocommerce input[type="email"],
.akc-shop .woocommerce input[type="tel"],
.akc-shop .woocommerce input[type="password"],
.akc-shop .woocommerce input[type="number"],
.akc-shop .woocommerce select,
.akc-shop .woocommerce textarea,
.akc-shop .select2-container .select2-selection--single,
.akc-shop .wc-block-components-text-input input,
.akc-shop .wc-block-components-combobox .wc-block-components-combobox-control input,
.akc-shop .wc-blocks-components-select__select {
	border: 1px solid var(--pc-border) !important; border-radius: 14px !important; background: #fff !important;
	min-height: 50px; padding: 10px 16px; font-family: inherit; color: var(--pc-text); box-shadow: none !important;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.akc-shop .woocommerce textarea { min-height: 110px; }
.akc-shop .select2-container .select2-selection--single .select2-selection__rendered { line-height: 28px; }
.akc-shop .select2-container .select2-selection--single .select2-selection__arrow { top: 12px; left: 10px; }
.akc-shop .woocommerce input:focus,
.akc-shop .woocommerce select:focus,
.akc-shop .woocommerce textarea:focus,
.akc-shop .wc-block-components-text-input input:focus {
	border-color: var(--pc-primary) !important; box-shadow: 0 0 0 4px color-mix(in srgb, var(--pc-primary) 18%, transparent) !important; outline: none;
}
.akc-shop .woocommerce form .form-row label { font-size: 13px; color: var(--pc-muted); margin-bottom: 6px; }
.akc-shop .woocommerce form .form-row .required { color: #d06a6a; }

.akc-shop .woocommerce-message,
.akc-shop .woocommerce-info,
.akc-shop .woocommerce-error {
	border: 0 !important; border-radius: var(--akc-r-sm); background: var(--akc-glass) !important;
	box-shadow: var(--akc-shadow); color: var(--pc-text); border-inline-start: 4px solid var(--pc-primary) !important;
}
.akc-shop .woocommerce-error { border-inline-start-color: #d06a6a !important; }
.akc-shop .woocommerce-message::before,
.akc-shop .woocommerce-info::before { color: var(--pc-primary); }

.akc-shop .woocommerce table.shop_table {
	border: 0; border-radius: var(--akc-r); overflow: hidden; border-collapse: separate; border-spacing: 0;
	background: var(--akc-glass); box-shadow: var(--akc-shadow);
}
.akc-shop .woocommerce table.shop_table th { background: color-mix(in srgb, var(--pc-soft) 70%, #fff); color: var(--pc-muted); font-weight: 700; font-size: 13px; padding: 16px 18px; border: 0; }
.akc-shop .woocommerce table.shop_table td { border: 0; border-top: 1px solid color-mix(in srgb, var(--pc-border) 70%, transparent); padding: 16px 18px; background: transparent; }
.akc-shop .woocommerce table.shop_table tr:first-child td { border-top: 0; }

/* ---------- My Account ---------- */
.akc-shop-account .woocommerce { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 28px; align-items: start; }
.akc-shop-account .woocommerce::before, .akc-shop-account .woocommerce::after { display: none; }
.akc-shop-account .woocommerce > :not(.woocommerce-MyAccount-navigation):not(.woocommerce-MyAccount-content) { grid-column: 1 / -1; }
.akc-shop-account .woocommerce-MyAccount-navigation,
.akc-shop-account .woocommerce-MyAccount-content { float: none !important; width: auto !important; }

.akc-account-nav {
	position: sticky; top: 24px; background: var(--akc-glass); backdrop-filter: blur(10px);
	border: 1px solid color-mix(in srgb, #fff 60%, var(--pc-border)); border-radius: var(--akc-r); padding: 18px; box-shadow: var(--akc-shadow);
}
.admin-bar .akc-account-nav { top: 56px; }
.akc-account-user { display: flex; align-items: center; gap: 12px; padding: 6px 6px 16px; margin-bottom: 10px; border-bottom: 1px dashed var(--pc-border); }
.akc-account-user > div { display: flex; flex-direction: column; min-width: 0; }
.akc-account-user strong { color: var(--pc-primary-dark); }
.akc-account-user small { color: var(--pc-muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: right; }
.akc-account-avatar { width: 52px; height: 52px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--pc-soft); flex: none; }
.akc-account-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.akc-account-nav li { margin: 0; padding: 0; list-style: none; }
.akc-account-nav li::before, .akc-account-nav li::marker { content: none; }
.akc-account-nav a {
	display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px;
	color: var(--pc-text) !important; text-decoration: none !important; font-weight: 500; transition: background-color .2s ease, color .2s ease;
}
.akc-nav-icon { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--pc-soft) 80%, #fff); color: var(--pc-primary-dark); flex: none; transition: inherit; }
.akc-nav-icon .pcrs-i { width: 18px; height: 18px; }
.akc-account-nav a:hover { background: color-mix(in srgb, var(--pc-soft) 60%, transparent); }
.akc-account-nav .is-active a { background: var(--pc-primary-dark); color: #fff !important; box-shadow: 0 14px 26px -18px var(--pc-primary-dark); }
.akc-account-nav .is-active .akc-nav-icon { background: rgba(255,255,255,.18); color: #fff; }
.akc-account-nav .woocommerce-MyAccount-navigation-link--customer-logout a { color: #c0616b !important; }
.akc-account-nav .woocommerce-MyAccount-navigation-link--customer-logout .akc-nav-icon { background: #fbe9ea; color: #c0616b; }

.akc-shop-account .woocommerce-MyAccount-content {
	background: var(--akc-glass); backdrop-filter: blur(10px); border: 1px solid color-mix(in srgb, #fff 60%, var(--pc-border));
	border-radius: var(--akc-r); padding: 28px; box-shadow: var(--akc-shadow); min-width: 0;
}
.akc-shop-account .woocommerce-MyAccount-content table.shop_table { box-shadow: none; background: #fff; }
.akc-shop-account .woocommerce-MyAccount-content > p:first-child { margin-top: 0; }

/* Dashboard */
.akc-dash { display: flex; flex-direction: column; gap: 26px; }
.akc-dash-hello {
	display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 26px 28px; border-radius: 22px;
	background: linear-gradient(135deg, var(--pc-soft), color-mix(in srgb, var(--pc-accent) 18%, #fff));
	position: relative; overflow: hidden;
}
.akc-dash-hello::after { content: ""; position: absolute; width: 200px; height: 200px; border-radius: 50%; left: -60px; bottom: -110px; background: rgba(255,255,255,.55); }
.akc-dash-hello h2 { margin: 12px 0 6px; font-size: var(--pc-fs-h2); color: var(--pc-primary-dark); }
.akc-dash-hello p { margin: 0; color: var(--pc-muted); }
.akc-dash-logout { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #c0616b !important; text-decoration: none !important; background: #fff; border-radius: 99px; padding: 6px 14px; }
.akc-dash-logout .pcrs-i { width: 16px; height: 16px; }

.akc-dash-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.akc-stat {
	display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 18px; border-radius: 20px;
	background: linear-gradient(160deg, var(--akc-from), var(--akc-to)); border: 1px solid color-mix(in srgb, #fff 60%, var(--akc-accent));
}
.akc-stat strong { font-size: 20px; color: color-mix(in srgb, var(--pc-text) 80%, #000); margin-top: 8px; line-height: 1.5; }
.akc-stat strong .woocommerce-Price-currencySymbol { font-size: 12px; font-weight: 500; }
.akc-stat small { color: var(--pc-muted); }

.akc-dash-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.akc-dash-head h3 { margin: 0; font-size: var(--pc-fs-h3); color: var(--pc-primary-dark); }
.akc-dash .akc-grid { gap: 20px; }
.akc-dash .akc-card-media { width: min(60%, 220px); }

.akc-orders { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.akc-orders li {
	display: grid; grid-template-columns: auto 1fr auto auto auto; gap: 14px; align-items: center;
	padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid color-mix(in srgb, var(--pc-border) 70%, transparent);
}
.akc-order-no { font-weight: 700; color: var(--pc-primary-dark); }
.akc-order-date { color: var(--pc-muted); font-size: 13px; }
.akc-order-total { font-weight: 700; }
.akc-status { font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 99px; background: var(--pc-soft); color: var(--pc-primary-dark); white-space: nowrap; }
.akc-status-completed { background: #e3f3e6; color: #2f7a43; }
.akc-status-processing { background: #e5eef9; color: #3b6aa0; }
.akc-status-on-hold, .akc-status-pending { background: #fbf1dc; color: #9a7322; }
.akc-status-cancelled, .akc-status-failed, .akc-status-refunded { background: #fbe9ea; color: #b14c55; }

.akc-dash-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.akc-quick {
	display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 18px; background: #fff;
	border: 1px solid color-mix(in srgb, var(--pc-border) 70%, transparent); text-decoration: none !important; color: var(--pc-text) !important;
	transition: transform .2s ease, box-shadow .2s ease; --akc-accent: var(--pc-primary-dark);
}
.akc-quick:hover { transform: translateY(-3px); box-shadow: var(--akc-shadow); }
.akc-quick > span:last-child { display: flex; flex-direction: column; }
.akc-quick small { color: var(--pc-muted); font-size: 12px; }

/* Logged-out: login / register */
.akc-shop-account:not(.logged-in) .woocommerce { display: block; max-width: 980px; margin: 0 auto; }
.akc-shop-account .u-columns.col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.akc-shop-account .u-columns.col2-set::before, .akc-shop-account .u-columns.col2-set::after { display: none; }
.akc-shop-account .u-columns .u-column1, .akc-shop-account .u-columns .u-column2 { float: none; width: auto; }
.akc-shop-account .woocommerce-form-login,
.akc-shop-account .woocommerce-form-register,
.akc-shop-account .woocommerce-ResetPassword {
	background: var(--akc-glass); border: 1px solid color-mix(in srgb, #fff 60%, var(--pc-border)) !important;
	border-radius: var(--akc-r) !important; padding: 28px !important; box-shadow: var(--akc-shadow); margin: 0 !important;
}
.akc-shop-account .woocommerce h2 { color: var(--pc-primary-dark); font-size: var(--pc-fs-h2); }

/* ---------- Cart (classic) ---------- */
.akc-shop-cart .woocommerce-cart-form { margin-bottom: 28px; }
.akc-shop-cart table.cart img { width: 64px; border-radius: 14px; }
.akc-shop-cart table.cart .product-name a { font-weight: 700; text-decoration: none; }
.akc-shop-cart table.cart a.remove {
	width: 32px; height: 32px; line-height: 30px; border-radius: 50%; color: #c0616b !important;
	background: #fbe9ea; font-size: 20px; transition: background-color .2s ease, color .2s ease;
}
.akc-shop-cart table.cart a.remove:hover { background: #c0616b; color: #fff !important; }
.akc-shop-cart table.cart td.actions .coupon { display: flex; gap: 8px; align-items: center; }
.akc-shop-cart table.cart td.actions .coupon .input-text { width: 200px; min-height: 46px; }
.akc-shop-cart table.cart td.actions > .button { background: transparent !important; color: var(--pc-primary-dark) !important; border: 1px solid var(--pc-border) !important; box-shadow: none; }
.akc-shop-cart .cart-collaterals .cart_totals {
	float: none; width: auto; max-width: 460px; background: var(--akc-glass); border-radius: var(--akc-r); padding: 24px; box-shadow: var(--akc-shadow);
}
.akc-shop-cart .cart-collaterals .cart_totals h2 { font-size: var(--pc-fs-h3); color: var(--pc-primary-dark); margin-top: 0; }
.akc-shop-cart .cart-collaterals .cart_totals table.shop_table { box-shadow: none; background: transparent; }
.akc-shop-cart .wc-proceed-to-checkout .checkout-button { display: block; width: 100%; font-size: 17px !important; padding: 16px !important; border-radius: 18px !important; }

/* ---------- Checkout (classic) ---------- */
.akc-shop-checkout form.checkout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.akc-shop-checkout form.checkout > * { grid-column: 1 / -1; }
.akc-shop-checkout form.checkout > #customer_details { grid-column: 1; grid-row: span 2; }
.akc-shop-checkout form.checkout > #order_review_heading { grid-column: 2; margin: 0; }
.akc-shop-checkout form.checkout > #order_review { grid-column: 2; }
.akc-shop-checkout #customer_details,
.akc-shop-checkout #order_review {
	background: var(--akc-glass); backdrop-filter: blur(10px); border: 1px solid color-mix(in srgb, #fff 60%, var(--pc-border));
	border-radius: var(--akc-r); padding: 26px; box-shadow: var(--akc-shadow);
}
.akc-shop-checkout #customer_details .col-1, .akc-shop-checkout #customer_details .col-2 { float: none; width: 100%; }
.akc-shop-checkout #customer_details::before, .akc-shop-checkout #customer_details::after { display: none; }
.akc-shop-checkout h3, .akc-shop-checkout #order_review_heading { color: var(--pc-primary-dark); font-size: var(--pc-fs-h3); }
.akc-shop-checkout #order_review table.shop_table { box-shadow: none; background: #fff; }
.akc-shop-checkout #payment { background: color-mix(in srgb, var(--pc-soft) 60%, #fff) !important; border-radius: 20px !important; }
.akc-shop-checkout #payment div.payment_box { background: #fff !important; border-radius: 14px; color: var(--pc-text); }
.akc-shop-checkout #payment div.payment_box::before { border-bottom-color: #fff !important; }
.akc-shop-checkout #payment ul.payment_methods { border-bottom-color: var(--pc-border); }
.akc-shop-checkout #place_order { width: 100%; font-size: 17px !important; padding: 16px !important; border-radius: 18px !important; float: none; }
.akc-shop-checkout .woocommerce-form-coupon-toggle .woocommerce-info { margin-bottom: 18px; }
.akc-shop-checkout form.checkout_coupon { border: 0 !important; background: var(--akc-glass); border-radius: var(--akc-r-sm) !important; box-shadow: var(--akc-shadow); }

/* ---------- Block cart & checkout ---------- */
.akc-shop .wc-block-cart,
.akc-shop .wc-block-checkout { gap: 28px; }
.akc-shop .wc-block-cart__main,
.akc-shop .wc-block-cart__sidebar,
.akc-shop .wc-block-checkout__main,
.akc-shop .wc-block-checkout__sidebar {
	background: var(--akc-glass); border-radius: var(--akc-r); padding: 24px !important; box-shadow: var(--akc-shadow);
	border: 1px solid color-mix(in srgb, #fff 60%, var(--pc-border));
}
.akc-shop .wc-block-cart-items { border: 0 !important; }
.akc-shop .wc-block-cart-item__image img { border-radius: 14px; }
.akc-shop .wc-block-components-product-name { color: var(--pc-primary-dark) !important; font-weight: 700; text-decoration: none; }
.akc-shop .wc-block-components-totals-item__label,
.akc-shop .wc-block-components-title { color: var(--pc-primary-dark); }
.akc-shop .wc-block-cart__submit-button,
.akc-shop .wc-block-components-checkout-place-order-button { width: 100%; min-height: 56px; font-size: 17px; }
.akc-shop .wc-block-components-radio-control__option { border-radius: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
	.akc-shop-account .woocommerce { grid-template-columns: minmax(0, 1fr); }
	.akc-account-nav { position: static; }
	.akc-account-nav ul { flex-direction: row; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
	.akc-account-nav ul::-webkit-scrollbar { display: none; }
	.akc-account-nav a { white-space: nowrap; flex-direction: column; gap: 6px; font-size: 12px; padding: 8px 10px; }
	.akc-dash-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.akc-shop-checkout form.checkout { grid-template-columns: minmax(0, 1fr); }
	.akc-shop-checkout form.checkout > #customer_details,
	.akc-shop-checkout form.checkout > #order_review_heading,
	.akc-shop-checkout form.checkout > #order_review { grid-column: 1; grid-row: auto; }
}
@media (max-width: 640px) {
	.akc-shop-account .woocommerce-MyAccount-content { padding: 18px; }
	.akc-dash-hello { flex-direction: column; padding: 20px; }
	.akc-dash-links { grid-template-columns: minmax(0, 1fr); }
	.akc-orders li { grid-template-columns: 1fr auto; }
	.akc-order-date, .akc-orders .pcrs-btn { grid-column: 1 / -1; }
	.akc-shop-account .u-columns.col2-set { grid-template-columns: minmax(0, 1fr); }
	.akc-shop-cart table.cart td.actions .coupon { flex-wrap: wrap; }
	.akc-shop-cart table.cart td.actions .coupon .input-text { width: 100%; }
}
