/*
Theme Name: Reddit Market
Theme URI: https://buyaredditaccount.com
Description: A Reddit marketplace theme for selling Reddit accounts, subreddits, custom accounts/subs and Google News posts. Built to pair with the Reddit Marketplace plugin and WooCommerce.
Author: Reddit Marketplace
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: reddit-market
*/

:root {
	--rm-blue: #2563eb;
	--rm-blue-dark: #1d4ed8;
	--rm-orange: #ff4500;
	--rm-ink: #0b1220;
	--rm-navy: #0c1a3c;
	--rm-text: #1f2937;
	--rm-muted: #6b7280;
	--rm-line: #e5e7eb;
	--rm-bg-soft: #eef5ff;
	--rm-radius: 14px;
	--rm-max: 1120px;
}

* { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
	color: var(--rm-text);
	line-height: 1.6;
	background: #fff;
	overflow-wrap: break-word;
}
a { color: var(--rm-blue); text-decoration: none; }
img { max-width: 100%; height: auto; }
iframe, video, embed, object { max-width: 100%; }
input, select, textarea, button { max-width: 100%; font: inherit; }
h1, h2, h3 { color: var(--rm-ink); line-height: 1.2; font-weight: 800; }

.rm-container { width: 100%; max-width: var(--rm-max); margin: 0 auto; padding: 0 24px; }
.rm-center { text-align: center; }
.rm-section { padding: 72px 0; }

/* Buttons */
.rm-btn {
	display: inline-block;
	background: var(--rm-blue);
	color: #fff !important;
	padding: 12px 26px;
	border-radius: 8px;
	font-weight: 600;
	transition: background .15s ease;
	border: none;
	cursor: pointer;
}
.rm-btn:hover { background: var(--rm-blue-dark); }
.rm-btn-ghost { background: #fff; color: var(--rm-blue) !important; }

/* Header */
.rm-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255,255,255,.92);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--rm-line);
}
.rm-header .rm-container { position: relative; display: flex; align-items: center; justify-content: space-between; height: 70px; max-width: 1320px; gap: 20px; }
.rm-logo { font-weight: 800; font-size: 20px; color: var(--rm-ink); display: flex; align-items: center; gap: 8px; }
.rm-logo .rm-dot { width: 26px; height: 26px; background: var(--rm-orange); border-radius: 50%; display: inline-block; }

/* Custom logo (Customize → Site Identity). */
.rm-brand { display: flex; align-items: center; gap: 10px; min-width: 0; flex-shrink: 1; }
.rm-header .custom-logo-link { display: block; line-height: 0; }
.rm-header .custom-logo { max-height: 46px; width: auto; height: auto; display: block; }
.rm-brand-name { color: var(--rm-ink); font-size: 18px; font-weight: 800; line-height: 1.1; white-space: nowrap; }
.rm-brand-name:hover { color: var(--rm-blue); }
.rm-brand-footer { justify-content: center; }
.rm-brand-footer .custom-logo-link { display: inline-block; line-height: 0; }
.rm-brand-footer .custom-logo { max-height: 40px; width: auto; height: auto; display: block; }
.rm-nav-wrap { margin-left: auto; }
.rm-nav { display: flex; gap: clamp(14px, 2vw, 28px); align-items: center; list-style: none; margin: 0; padding: 0; }
.rm-nav a { color: var(--rm-ink); font-weight: 500; font-size: 14px; letter-spacing: .02em; white-space: nowrap; }
.rm-nav a:hover { color: var(--rm-blue); }
.rm-header-actions { display: flex; align-items: center; gap: 12px; }
.rm-header-cart { position: relative; flex-shrink: 0; font-weight: 600; white-space: nowrap; }
.rm-header-cart.rm-btn { padding: 9px 18px; font-size: 13px; }

/* Mobile menu toggle (hidden on desktop) */
.rm-burger { display: none; flex: 0 0 42px; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; padding: 0; border-radius: 8px; cursor: pointer; border: 1px solid var(--rm-line); background: #fff; }
.rm-burger span { display: block; width: 20px; height: 2px; margin: 0 auto; background: var(--rm-ink); transition: transform .2s ease, opacity .2s ease; }
.rm-burger:focus-visible, .rm-nav a:focus-visible { outline: 3px solid rgba(37,99,235,.35); outline-offset: 2px; }

/* Collapse before long menu labels can wrap and increase the header height. */
@media (max-width: 1180px) {
	.rm-header .custom-logo { max-height: 38px; }
	.rm-brand-name { font-size: 16px; }
	.rm-header-actions { flex-shrink: 0; }
	.rm-burger { display: flex; }
	.rm-nav-wrap {
		position: absolute;
		top: 70px;
		left: 0;
		right: 0;
		margin-left: 0;
		background: #fff;
		border-bottom: 1px solid var(--rm-line);
		max-height: 0;
		overflow: hidden;
		transition: max-height .25s ease;
		box-shadow: 0 12px 24px rgba(15,23,42,.06);
	}
	.rm-nav-wrap.is-open { max-height: calc(100vh - 70px); overflow-y: auto; }
	.rm-nav { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0; }
	.rm-nav li { border-top: 1px solid var(--rm-line); }
	.rm-nav li:first-child { border-top: none; }
	.rm-nav a { display: block; padding: 14px 24px; font-size: 16px; }
	.rm-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.rm-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
	.rm-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Hero */
.rm-hero { background: linear-gradient(180deg, var(--rm-bg-soft), #fff); padding: 80px 0; }
.rm-hero .rm-container { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.rm-hero h1 { font-size: 52px; margin: 0 0 14px; }
.rm-hero p.rm-tagline { font-size: 18px; color: var(--rm-muted); margin: 0 0 28px; }
.rm-hero-art { text-align: center; }
.rm-hero-art .rm-snoo {
	width: 190px; height: 190px; margin: 0 auto; border-radius: 24px;
	background: #fff; border: 1px solid var(--rm-line); display: flex; align-items: center; justify-content: center;
	box-shadow: 0 20px 50px rgba(37,99,235,.12);
}
.rm-hero-art .rm-snoo .rm-zeus-snoofi { width: 92%; height: 92%; object-fit: contain; display: block; }

/* Feature cards */
.rm-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.rm-card {
	background: #fff; border: 1px solid var(--rm-line); border-radius: var(--rm-radius);
	padding: 26px; box-shadow: 0 6px 24px rgba(15,23,42,.04);
}
.rm-card .rm-ico { width: 40px; height: 40px; border-radius: 10px; background: var(--rm-bg-soft); color: var(--rm-blue); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; font-size: 20px; }
.rm-card h3 { margin: 0 0 8px; font-size: 18px; }
.rm-card p { margin: 0; color: var(--rm-muted); font-size: 14px; }

/* Pricing */
.rm-pricing-wrap { background: var(--rm-bg-soft); }
.rm-pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; align-items: end; }
.rm-plan { background: #fff; border-radius: var(--rm-radius); overflow: hidden; box-shadow: 0 12px 40px rgba(15,23,42,.08); }
.rm-plan-head { padding: 22px; text-align: center; color: #fff; }
.rm-plan-head h3 { color: #fff; margin: 0 0 4px; }
.rm-plan-head p { margin: 0; opacity: .9; font-size: 13px; }
.rm-plan.starter .rm-plan-head { background: #38bdf8; }
.rm-plan.pro .rm-plan-head { background: #22c55e; }
.rm-plan.ent .rm-plan-head { background: #fb7185; }
.rm-plan.pro { transform: translateY(-14px); }
.rm-plan-price { text-align: center; padding: 22px; font-size: 44px; font-weight: 800; color: var(--rm-ink); }
.rm-plan-price sup { font-size: 22px; top: -14px; }
.rm-plan-price span { font-size: 13px; color: var(--rm-muted); font-weight: 500; display: block; }
.rm-plan ul { list-style: none; margin: 0; padding: 0 22px 22px; }
.rm-plan li { padding: 10px 0; border-top: 1px solid var(--rm-line); font-size: 14px; color: var(--rm-text); display: flex; gap: 8px; }
.rm-plan li::before { content: "✓"; color: #22c55e; font-weight: 700; }
.rm-plan .rm-btn { display: block; margin: 0 22px 24px; text-align: center; }

/* Stats (dark) */
.rm-stats-wrap { background: var(--rm-navy); color: #fff; border-radius: 0; position: relative; }
.rm-stats-wrap h2 { color: #fff; }
.rm-stats-wrap p.rm-sub { color: #a9b6d6; }
.rm-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 36px; text-align: center; }
.rm-stat .rm-num { font-size: 40px; font-weight: 800; color: #fff; }
.rm-stat .rm-lbl { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #8ea3cf; }

/* Quote */
.rm-quote { background: #fff; border-radius: 20px; padding: 40px; display: grid; grid-template-columns: 160px 1fr; gap: 24px; align-items: center; box-shadow: 0 20px 60px rgba(0,0,0,.18); margin-top: 40px; }
.rm-quote blockquote { margin: 0; font-size: 22px; font-weight: 700; color: var(--rm-ink); }
.rm-quote cite { display: block; margin-top: 10px; font-style: normal; color: var(--rm-muted); font-size: 14px; }

/* Telegram CTA */
.rm-telegram { background: var(--rm-blue); color: #fff; text-align: center; padding: 64px 0; }
.rm-telegram h2 { color: #fff; font-size: 36px; margin: 0 0 10px; }
.rm-telegram p { color: #dbeafe; margin: 0 0 24px; }

/* FAQ */
.rm-faq { max-width: 860px; margin: 32px auto 0; }
.rm-faq details { border-bottom: 1px solid var(--rm-line); padding: 4px 0; }
.rm-faq summary { cursor: pointer; padding: 16px 4px; font-weight: 600; color: var(--rm-ink); list-style: none; display: flex; justify-content: space-between; }
.rm-faq summary::-webkit-details-marker { display: none; }
.rm-faq summary::after { content: "+"; color: var(--rm-blue); font-size: 20px; }
.rm-faq details[open] summary::after { content: "–"; }
.rm-faq p { margin: 0 4px 16px; color: var(--rm-muted); }

/* Footer */
.rm-footer { background: #fff; border-top: 1px solid var(--rm-line); padding: 40px 0; text-align: center; }
.rm-footer .rm-socials { display: flex; gap: 14px; justify-content: center; margin: 18px 0; }
.rm-footer .rm-social {
	width: 44px; height: 44px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	color: #fff;
	transition: transform .12s ease, box-shadow .12s ease;
}
.rm-footer .rm-social svg { width: 24px; height: 24px; display: block; }
.rm-footer .rm-social:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(15,23,42,.18); }
.rm-footer .rm-social-telegram { background: #229ED9; }
.rm-footer .rm-social-whatsapp { background: #25D366; }
.rm-footer .rm-copy { color: var(--rm-muted); font-size: 13px; }

/* Section headings */
.rm-h2 { font-size: 34px; text-align: center; margin: 0 0 6px; }
.rm-sub { text-align: center; color: var(--rm-muted); margin: 0 auto 8px; max-width: 640px; }

/* WooCommerce page wrapper */
.rm-woo { padding: 48px 0 72px; }
.rm-woo .rm-container { max-width: var(--rm-max); }

/* Responsive */
@media (max-width: 900px) {
	.rm-section { padding: 48px 0; }
	.rm-hero { padding: 48px 0; }
	.rm-hero .rm-container { grid-template-columns: 1fr; text-align: center; }
	.rm-hero h1 { font-size: 34px; }
	.rm-hero-art { order: -1; }
	.rm-hero-art .rm-snoo { width: 140px; height: 140px; }
	.rm-features, .rm-pricing { grid-template-columns: 1fr; }
	.rm-stats { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
	.rm-plan.pro { transform: none; }
	.rm-quote { grid-template-columns: 1fr; text-align: center; }
	.rm-h2 { font-size: 26px; }
	.rm-telegram h2 { font-size: 26px; }

	/* Smaller logo + no cart wrap so the header stays on one line. */
	.rm-header .custom-logo { max-height: 38px; }
	.rm-header-cart.rm-btn { white-space: nowrap; }
	.rm-header-actions { flex-shrink: 0; }

	/* Mobile nav: show burger, collapse menu into a dropdown panel */
	.rm-burger { display: flex; }
	.rm-nav-wrap {
		position: absolute; top: 70px; left: 0; right: 0;
		background: #fff; border-bottom: 1px solid var(--rm-line);
		max-height: 0; overflow: hidden; transition: max-height .25s ease;
		box-shadow: 0 12px 24px rgba(15,23,42,.06);
	}
	.rm-nav-wrap.is-open { max-height: calc(100vh - 70px); overflow-y: auto; }
	.rm-nav { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0; }
	.rm-nav li { border-top: 1px solid var(--rm-line); }
	.rm-nav li:first-child { border-top: none; }
	.rm-nav a { display: block; padding: 14px 24px; font-size: 16px; }
	.rm-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.rm-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
	.rm-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 480px) {
	.rm-container { padding: 0 16px; }
	.rm-hero h1 { font-size: 28px; }
	.rm-stats { grid-template-columns: 1fr; }
	.rm-logo { font-size: 17px; }
	.rm-header .custom-logo { max-height: 30px; }
	.rm-brand { gap: 6px; }
	.rm-brand-name { font-size: 13px; }
	.rm-header-cart.rm-btn { padding: 8px 12px; font-size: 13px; }
	.rm-quote { padding: 24px; }
	.rm-quote blockquote { font-size: 18px; }
}

@media (max-width: 360px) {
	.rm-header .rm-container { gap: 8px; }
	.rm-header-cart.rm-btn { padding: 8px 9px; font-size: 12px; }
	.rm-burger { flex-basis: 38px; width: 38px; height: 38px; }
	.rm-logo { font-size: 15px; gap: 6px; }
	.rm-brand-name { font-size: 11px; }
	.rm-logo .rm-dot { width: 22px; height: 22px; }
}

/* Keep editor and shortcode content inside the viewport. */
.rm-content { max-width: 100%; }
.rm-content table,
.rm-section table:not(.shop_table) {
	display: block;
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}
.rm-content pre { max-width: 100%; overflow-x: auto; }
.rm-content > *:first-child { margin-top: 0; }

/* ===== WooCommerce store pages (shop, product, cart, checkout) ===== */

/* No product images in this store — let the summary use the full width. */
.woocommerce div.product .woocommerce-product-gallery,
.woocommerce div.product div.images { display: none !important; }
.woocommerce div.product div.summary,
.woocommerce div.product .entry-summary {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
	max-width: 720px;
}
.woocommerce div.product { display: block; }

/* Hide the sale flash badge (the discount is already shown via the price). */
.woocommerce span.onsale { display: none; }

/* Hide the internal SKU on the product meta line. */
.woocommerce div.product .product_meta .sku_wrapper { display: none; }
.woocommerce div.product .product_meta { color: var(--rm-muted); font-size: 14px; padding-top: 8px; }

/* Brand-blue buttons everywhere in the store. */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce .single_add_to_cart_button {
	background: var(--rm-blue) !important;
	color: #fff !important;
	border: none !important;
	border-radius: 8px !important;
	font-weight: 600 !important;
	padding: 12px 22px !important;
	box-shadow: none !important;
	text-shadow: none !important;
	transition: background .15s ease;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce .single_add_to_cart_button:hover {
	background: var(--rm-blue-dark) !important;
	color: #fff !important;
}

/* Prices: brand ink, no underline on the sale <ins>, muted strike-through. */
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce ul.products li.product .price {
	color: var(--rm-ink) !important;
	font-weight: 700;
}
.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins,
.woocommerce ul.products li.product .price ins {
	text-decoration: none !important;
	background: transparent;
	color: var(--rm-ink) !important;
	font-weight: 700;
}
.woocommerce div.product p.price del,
.woocommerce ul.products li.product .price del {
	color: #9ca3af !important;
	font-weight: 400;
}

/* Responsive product grid for shop / related products. */
.woocommerce ul.products {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin: 0 !important;
}
/* WooCommerce adds clearfix ::before/::after to ul.products — in a grid those
   become phantom cells that shove every product over. Kill them. */
.woocommerce ul.products::before,
.woocommerce ul.products::after { content: none !important; display: none !important; }

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	display: flex !important;
	flex-direction: column;
	align-items: flex-start;
	width: auto !important;
	margin: 0 !important;
	float: none !important;
	clear: none !important;
	padding: 24px !important;
	border: 1px solid var(--rm-line);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
	box-sizing: border-box;
	text-align: left;
	transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.woocommerce ul.products li.product:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 30px rgba(15, 23, 42, .10);
	border-color: #dbe4f0;
}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
	display: block;
	width: 100%;
	text-decoration: none;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--rm-ink);
	padding: 0;
	margin: 0 0 10px;
}
.woocommerce ul.products li.product .price {
	display: block;
	font-size: 18px;
	margin: 0 0 18px;
}
.woocommerce ul.products li.product .button {
	margin-top: auto;
	width: 100%;
	text-align: center;
}

/* Shop toolbar (result count + sorting). */
.woocommerce .woocommerce-result-count { color: var(--rm-muted); margin-bottom: 20px; }
.woocommerce .woocommerce-ordering select {
	border: 1px solid var(--rm-line);
	border-radius: 8px;
	padding: 9px 12px;
	min-height: 42px;
	background: #fff;
}

/* Product title + tabs spacing. */
.woocommerce div.product .product_title { font-size: 30px; }
.woocommerce div.product .woocommerce-tabs { clear: both; padding-top: 8px; }

@media (max-width: 900px) {
	.woocommerce ul.products { grid-template-columns: repeat(2, 1fr); }
	.woocommerce div.product .product_title { font-size: 24px; }
}
@media (max-width: 560px) {
	.woocommerce ul.products { grid-template-columns: 1fr; }
	.woocommerce div.product div.summary .single_add_to_cart_button { width: 100%; }
}

/* ----- Cart & Checkout ----- */

.woocommerce-cart .cart-collaterals,
.woocommerce-checkout .col2-set,
.woocommerce .woocommerce-cart-form { margin-bottom: 24px; }

/* Tables (cart items, order review). */
.woocommerce table.shop_table {
	border: 1px solid var(--rm-line);
	border-radius: 12px;
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
}
.woocommerce table.shop_table th { color: #6b7280; font-weight: 600; }
.woocommerce table.shop_table td,
.woocommerce table.shop_table th { border-top-color: #f3f4f6; }

/* Section headings. */
.woocommerce .cart_totals h2,
.woocommerce-checkout #order_review_heading,
.woocommerce-billing-fields h3,
.woocommerce-additional-fields h3 { font-size: 20px; margin-bottom: 14px; }

/* Form fields. */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-cart table.cart td.actions .coupon .input-text,
.woocommerce #order_comments,
.select2-container--default .select2-selection--single {
	border: 1px solid var(--rm-line) !important;
	border-radius: 8px !important;
	padding: 11px 12px !important;
	min-height: 46px;
	box-sizing: border-box;
	font-size: 15px;
	background: #fff;
}
.select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 24px; }
.select2-container--default .select2-selection--single .select2-selection__arrow { top: 10px; }
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus,
.woocommerce #order_comments:focus {
	border-color: var(--rm-blue) !important;
	outline: none;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}
.woocommerce form .form-row label { font-weight: 500; margin-bottom: 4px; }

/* Totals + payment panels as cards. */
.woocommerce .cart_totals,
.woocommerce-checkout #order_review {
	background: #fff;
	border: 1px solid var(--rm-line);
	border-radius: 12px;
	padding: 20px;
}
.woocommerce-checkout #payment {
	background: #f9fafb;
	border: 1px solid var(--rm-line);
	border-radius: 12px;
}
.woocommerce-checkout #payment ul.payment_methods { border-bottom: 1px solid var(--rm-line); }
.woocommerce #payment .place-order { padding-top: 8px; }
.woocommerce-checkout #payment div.payment_box { background: #eef5ff; }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: #eef5ff; }

/* Full-width primary actions. */
.woocommerce .cart_totals .wc-proceed-to-checkout .checkout-button,
.woocommerce #place_order {
	display: block;
	width: 100%;
	text-align: center;
	font-size: 16px;
	padding: 14px 22px !important;
}

/* Quantity stepper. */
.woocommerce .quantity input.qty {
	border: 1px solid var(--rm-line);
	border-radius: 8px;
	padding: 8px;
	min-height: 42px;
}

/* Notices. */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	border-top-color: var(--rm-blue);
	border-radius: 8px;
	background: #f8fafc;
}
.woocommerce-message::before,
.woocommerce-info::before { color: var(--rm-blue); }
.woocommerce-error { border-top-color: #ef4444; }
.woocommerce-error::before { color: #ef4444; }

/* Coupon row spacing. */
.woocommerce-cart table.cart td.actions .coupon { display: flex; gap: 8px; flex-wrap: wrap; }

/* No product thumbnails in cart / order tables (this store is imageless). */
.woocommerce-cart table.cart td.product-thumbnail,
.woocommerce-cart table.cart th.product-thumbnail { display: none; }
.woocommerce table.shop_table img { display: none; }

/* Shopify-style checkout: form on the left, sticky order summary on the right. */
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
	background: #f8fafc;
	border-top-color: var(--rm-blue);
	font-size: 14px;
}
@media (min-width: 993px) {
	.woocommerce-checkout form.checkout.woocommerce-checkout::after {
		content: "";
		display: table;
		clear: both;
	}
	.woocommerce-checkout #customer_details {
		float: left;
		width: calc(100% - 448px);
	}
	.woocommerce-checkout #order_review_heading {
		float: right;
		clear: right;
		width: 400px;
		margin-top: 0;
		margin-bottom: 14px;
	}
	.woocommerce-checkout #order_review {
		float: right;
		clear: right;
		width: 400px;
		position: sticky;
		top: 90px;
	}
	/* Stack billing + additional info in the left column. */
	.woocommerce-checkout #customer_details .col-1,
	.woocommerce-checkout #customer_details .col-2 {
		width: 100%;
		float: none;
		margin: 0 0 8px;
	}
}
/* Order summary panel look. */
.woocommerce-checkout #order_review { background: #f9fafb; }
.woocommerce-checkout #order_review table.shop_table { background: transparent; border: none; }
.woocommerce-checkout #order_review table.shop_table tfoot th,
.woocommerce-checkout #order_review table.shop_table tfoot td { font-size: 15px; }
.woocommerce-checkout #order_review .order-total .amount { color: var(--rm-ink); font-size: 20px; }

@media (max-width: 768px) {
	.woocommerce .cart_totals,
	.woocommerce-checkout #order_review { padding: 16px; }
	.woocommerce-cart table.cart td.actions .coupon .input-text { flex: 1 1 auto; }
	.woocommerce .woocommerce-result-count,
	.woocommerce .woocommerce-ordering { float: none; width: 100%; }
	.woocommerce .woocommerce-ordering { margin-bottom: 24px; }
	.woocommerce .woocommerce-ordering select { width: 100%; }
	.woocommerce table.shop_table_responsive tr td,
	.woocommerce-page table.shop_table_responsive tr td { overflow-wrap: anywhere; }
	.woocommerce-cart table.cart td.actions .coupon { width: 100%; }
	.woocommerce-cart table.cart td.actions .coupon .button,
	.woocommerce-cart table.cart td.actions > .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
