/*
 * Top.marketing - Master Light Premium Arabic & RTL Store Stylesheet
 * Pixel-perfect adaptation of the official Topmarkting Light Premium Mockup.
 */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&family=Tajawal:wght@400;500;700;800&display=swap');

:root {
	--tm-primary: #4a154b;
	--tm-primary-hover: #38114c;
	--tm-primary-light: #6b21a8;
	--tm-primary-accent: #7c3aed;
	--tm-lavender: #f5f3ff;
	--tm-lavender-border: #e9d5ff;
	--tm-green: #10b981;
	--tm-green-hover: #059669;
	--tm-amber: #f59e0b;
	--tm-red: #ef4444;
	--tm-text-dark: #0f172a;
	--tm-text-muted: #64748b;
	--tm-bg-white: #ffffff;
	--tm-bg-subtle: #f8fafc;
	--tm-border-light: #e2e8f0;
	--tm-radius: 18px;
	--tm-radius-pill: 50px;
	--tm-shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
	--tm-shadow-md: 0 8px 24px rgba(74,21,75,0.08);
	--tm-shadow-lg: 0 16px 40px rgba(0,0,0,0.1);
}

/* 1. Global Reset & Direction */
html,
body,
html[lang^="ar"],
html[dir="rtl"],
body.rtl {
	direction: rtl;
	text-align: right;
	font-family: 'Cairo', 'Tajawal', sans-serif !important;
	letter-spacing: normal !important;
	background-color: #f8fafc;
	color: var(--tm-text-dark);
	-webkit-font-smoothing: antialiased;
}

body,
h1, h2, h3, h4, h5, h6,
p, span, a, li, input, button, select, textarea,
.elementor,
.woocommerce,
.site-content {
	font-family: 'Cairo', 'Tajawal', sans-serif !important;
}

/* Remove default GP container clutter */
.site.grid-container {
	max-width: 100% !important;
	padding: 0 !important;
}
.site-content {
	padding: 0 !important;
}

/* 2. Light Premium Sticky Header (Mockup) */
.tm-light-header {
	position: sticky;
	top: 0;
	z-index: 999;
	background: #ffffff;
	border-bottom: 1px solid rgba(226, 232, 240, 0.8);
	box-shadow: 0 2px 14px rgba(0, 0, 0, 0.04);
	backdrop-filter: blur(10px);
	transition: all 0.3s ease;
}

.tm-header-inner {
	max-width: 1360px;
	margin: 0 auto;
	padding: 10px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.tm-header-brand-wrap {
	display: flex;
	align-items: center;
	gap: 12px;
}

.tm-header-logo-link {
	display: inline-flex;
	align-items: center;
	text-decoration: none !important;
}

.tm-header-logo-img {
	max-height: 42px;
	width: auto;
	display: block;
	object-fit: contain;
}

.tm-header-user-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: #f1f5f9;
	color: #334155;
	border: 1px solid #e2e8f0;
	text-decoration: none !important;
	transition: all 0.2s ease;
}

.tm-header-user-btn:hover {
	background: var(--tm-lavender);
	color: var(--tm-primary);
	border-color: var(--tm-lavender-border);
}

/* Navigation Links */
.tm-header-nav {
	display: flex;
	align-items: center;
	gap: 18px;
}

.tm-nav-link {
	color: #334155 !important;
	text-decoration: none !important;
	font-size: 14px;
	font-weight: 700;
	padding: 6px 10px;
	border-radius: 20px;
	position: relative;
	transition: all 0.2s ease;
	white-space: nowrap;
}

.tm-nav-link:hover {
	color: var(--tm-primary) !important;
}

.tm-nav-link.active {
	color: var(--tm-primary) !important;
	background: var(--tm-lavender);
}

.tm-nav-link.active::after {
	content: '';
	position: absolute;
	bottom: -4px;
	right: 50%;
	transform: translateX(50%);
	width: 16px;
	height: 3px;
	border-radius: 3px;
	background: var(--tm-primary);
}

/* Search Bar (Centered Large Search Box) */
.tm-search-col {
	flex: 1;
	max-width: 460px;
	position: relative;
}

.tm-search-wrapper {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
}

.tm-search-icon {
	position: absolute;
	right: 14px;
	color: #94a3b8;
	pointer-events: none;
}

.tm-live-search-input {
	width: 100% !important;
	padding: 10px 42px 10px 46px !important;
	border-radius: 30px !important;
	border: 1px solid #cbd5e1 !important;
	background: #f8fafc !important;
	font-size: 13.5px !important;
	color: #0f172a !important;
	transition: all 0.2s ease !important;
	outline: none !important;
}

.tm-live-search-input:focus {
	background: #ffffff !important;
	border-color: var(--tm-primary-accent) !important;
	box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12) !important;
}

.tm-search-shortcut {
	position: absolute;
	left: 12px;
	background: #e2e8f0;
	color: #64748b;
	font-size: 11px;
	font-weight: 800;
	padding: 2px 7px;
	border-radius: 6px;
	pointer-events: none;
}

/* Live Search Dropdown */
.tm-live-search-results {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	left: 0;
	background: #ffffff;
	border-radius: 16px;
	border: 1px solid #e2e8f0;
	box-shadow: var(--tm-shadow-lg);
	max-height: 420px;
	overflow-y: auto;
	z-index: 1050;
	display: none;
	padding: 10px;
}

.tm-search-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 10px;
	border-radius: 10px;
	text-decoration: none !important;
	transition: background 0.15s ease;
	border-bottom: 1px solid #f8fafc;
}

.tm-search-item:hover {
	background: #faf5ff;
}

.tm-search-item-img {
	width: 44px;
	height: 44px;
	border-radius: 8px;
	object-fit: cover;
	border: 1px solid #e2e8f0;
}

.tm-search-item-info {
	flex: 1;
	min-width: 0;
}

.tm-search-item-cat {
	font-size: 11px;
	color: var(--tm-primary-light);
	font-weight: 700;
	display: block;
}

.tm-search-item-title {
	margin: 2px 0 3px;
	font-size: 13.5px;
	font-weight: 700;
	color: #0f172a;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.tm-search-item-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 12px;
}

.tm-search-item-price {
	font-weight: 800;
	color: var(--tm-primary);
}

.tm-search-item-rating {
	color: var(--tm-amber);
	font-weight: 700;
}

.tm-search-view-all {
	display: block;
	text-align: center;
	padding: 10px;
	background: #f1f5f9;
	color: var(--tm-primary) !important;
	font-weight: 800;
	font-size: 13px;
	border-radius: 8px;
	margin-top: 6px;
	text-decoration: none !important;
}

.tm-search-empty {
	padding: 20px;
	text-align: center;
	color: #64748b;
}

/* Header Actions */
.tm-header-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.tm-action-icon-btn {
	background: #ffffff;
	border: 1.5px solid #e2e8f0;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: #334155;
	position: relative;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
	transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.tm-notif-btn:hover {
	background: #fdf4ff;
	border-color: #d8b4fe;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(124, 58, 237, 0.15);
}

.tm-wishlist-trigger:hover {
	background: #fff1f2;
	border-color: #fecdd3;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(225, 29, 72, 0.15);
}

.tm-badge-count {
	position: absolute;
	top: -3px;
	right: -3px;
	background: var(--tm-red);
	color: #ffffff;
	font-size: 10px;
	font-weight: 800;
	border-radius: 50%;
	width: 18px;
	height: 18px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 2px solid #ffffff;
}

/* Purple Pill Cart Button (Exact Mockup) */
.tm-header-cart-pill {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: #ffffff;
	border: 1.5px solid #e9d5ff;
	border-radius: 30px;
	padding: 5px 14px 5px 6px;
	cursor: pointer;
	text-decoration: none !important;
	box-shadow: 0 2px 8px rgba(74, 21, 75, 0.06);
	transition: all 0.2s ease;
}

.tm-header-cart-pill:hover {
	border-color: var(--tm-primary);
	box-shadow: 0 4px 14px rgba(74, 21, 75, 0.12);
	transform: translateY(-1px);
}

.tm-pill-cart-icon-wrap {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--tm-primary);
	color: #ffffff;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	position: relative;
}

.tm-header-cart-count {
	position: absolute;
	top: -4px;
	left: -4px;
	background: var(--tm-amber);
	color: #0f172a;
	font-size: 10px;
	font-weight: 900;
	border-radius: 50%;
	width: 16px;
	height: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1.5px solid #ffffff;
}

.tm-header-cart-total {
	font-size: 13.5px;
	font-weight: 800;
	color: var(--tm-primary);
	direction: ltr;
}

/* 3. Hero Section (Mockup Structure) */
.tm-hero-section {
	background: radial-gradient(circle at 85% 25%, rgba(243, 232, 255, 0.85) 0%, rgba(245, 243, 255, 0.6) 40%, #f8fafc 100%);
	padding: 36px 24px 28px;
	border-bottom: 1px solid #e2e8f0;
	position: relative;
	overflow: hidden;
}

.tm-hero-container {
	max-width: 1340px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 280px 1fr 1.3fr;
	gap: 28px;
	align-items: center;
}

/* Hero Deal Card (Left Col) */
.tm-hero-deal-card {
	background: linear-gradient(145deg, #ffffff 0%, #faf5ff 100%);
	border: 1.5px solid #e9d5ff;
	border-radius: 22px;
	padding: 22px 18px;
	text-align: center;
	box-shadow: 0 10px 25px -5px rgba(124, 58, 237, 0.12);
	position: relative;
	overflow: hidden;
}

.tm-deal-badge {
	display: inline-block;
	background: #fdf2f8;
	color: #db2777;
	font-size: 11px;
	font-weight: 800;
	padding: 3px 10px;
	border-radius: 12px;
	margin-bottom: 10px;
}

.tm-deal-title {
	margin: 0 0 4px;
	font-size: 20px;
	font-weight: 900;
	color: #0f172a;
}

.tm-deal-title span {
	color: #2563eb;
	font-size: 24px;
}

.tm-deal-sub {
	margin: 0 0 14px;
	font-size: 12px;
	color: #64748b;
}

.tm-deal-btn {
	display: block;
	margin: 0 auto 16px;
	font-size: 12px;
	padding: 6px 18px;
}

.tm-countdown-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	direction: ltr;
}

.tm-countdown-box {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 4px 8px;
	min-width: 44px;
}

.tm-timer-num {
	display: block;
	font-size: 15px;
	font-weight: 900;
	color: var(--tm-primary);
	line-height: 1.1;
}

.tm-timer-lbl {
	font-size: 9px;
	color: #64748b;
	display: block;
}

.tm-timer-colon {
	font-weight: 900;
	color: #94a3b8;
}

/* 3D Visual Scene (Center Col) */
.tm-hero-visual-col {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.tm-hero-3d-scene {
	position: relative;
	width: 280px;
	height: 240px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.tm-3d-glow {
	position: absolute;
	width: 220px;
	height: 220px;
	background: radial-gradient(circle, rgba(168, 85, 247, 0.25) 0%, rgba(255, 255, 255, 0) 70%);
	border-radius: 50%;
	filter: blur(20px);
}

.tm-3d-bag-wrapper {
	position: relative;
	width: 160px;
	height: 180px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.tm-3d-bag {
	width: 130px;
	height: 150px;
	background: linear-gradient(135deg, #6b21a8 0%, #4a154b 100%);
	border-radius: 24px;
	box-shadow: 0 20px 40px rgba(74, 21, 75, 0.35);
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	border: 2px solid rgba(255, 255, 255, 0.3);
}

.tm-bag-arrow {
	font-size: 40px;
	color: #ffffff;
	font-weight: 900;
}

.tm-floating-app {
	position: absolute;
	background: #ffffff;
	border-radius: 12px;
	padding: 6px 10px;
	box-shadow: 0 8px 20px rgba(0,0,0,0.1);
	font-size: 11px;
	font-weight: 800;
	border: 1px solid #f1f5f9;
	animation: tmFloat 4s ease-in-out infinite;
}

.tm-f-openai {
	top: 0;
	right: -20px;
	color: #10a37f;
	animation-delay: 0s;
}

.tm-f-canva {
	bottom: 20px;
	right: -30px;
	color: #00c4cc;
	animation-delay: 1s;
}

.tm-f-notion {
	top: 10px;
	left: -25px;
	color: #000000;
	animation-delay: 2s;
}

.tm-f-ai {
	bottom: 10px;
	left: -15px;
	color: #7c3aed;
	animation-delay: 1.5s;
}

@keyframes tmFloat {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-8px); }
}

/* Headline & CTA (Right Col) */
.tm-hero-text-col {
	text-align: right;
}

.tm-hero-headline {
	font-size: 34px;
	font-weight: 900;
	color: #0f172a;
	line-height: 1.35;
	margin: 0 0 12px;
}

.tm-gradient-text {
	background: linear-gradient(135deg, #4a154b 0%, #7c3aed 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.tm-hero-subtext {
	font-size: 15px;
	color: #475569;
	line-height: 1.7;
	margin: 0 0 16px;
	max-width: 580px;
}

.tm-hero-micro-trust {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 22px;
	flex-wrap: wrap;
}

.tm-micro-item {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	padding: 5px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 700;
	color: #334155;
	box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}

.tm-hero-cta-group {
	display: flex;
	align-items: center;
	gap: 14px;
}

.tm-btn-primary {
	background: var(--tm-primary) !important;
	color: #ffffff !important;
	font-weight: 800 !important;
	border: none !important;
	text-decoration: none !important;
	cursor: pointer;
	transition: all 0.2s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 14px rgba(74, 21, 75, 0.25);
}

.tm-btn-primary:hover {
	background: var(--tm-primary-hover) !important;
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(74, 21, 75, 0.35);
}

.tm-btn-outlined {
	background: #ffffff !important;
	color: #334155 !important;
	border: 1.5px solid #cbd5e1 !important;
	font-weight: 800 !important;
	text-decoration: none !important;
	cursor: pointer;
	transition: all 0.2s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.tm-btn-outlined:hover {
	border-color: var(--tm-primary) !important;
	color: var(--tm-primary) !important;
	background: var(--tm-lavender) !important;
}

.tm-btn-pill {
	border-radius: var(--tm-radius-pill) !important;
	padding: 10px 22px;
	font-size: 14px;
}

.tm-btn-sm {
	padding: 6px 14px !important;
	font-size: 12px !important;
}

.tm-btn-block {
	width: 100% !important;
}

/* 4. Categories Grid (6 Cards) */
.tm-categories-section {
	max-width: 1340px;
	margin: 24px auto 10px;
	padding: 0 24px;
}

.tm-cats-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 14px;
}

.tm-cat-pill-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 18px;
	padding: 14px 14px;
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none !important;
	box-shadow: 0 4px 12px rgba(30, 27, 75, 0.04);
	transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.tm-cat-pill-card:hover {
	border-color: #c084fc;
	transform: translateY(-4px);
	box-shadow: 0 12px 24px -4px rgba(74, 21, 75, 0.12);
}

.tm-cat-icon-wrap {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.tm-cat-info h4 {
	margin: 0;
	font-size: 13.5px;
	font-weight: 800;
	color: #0f172a;
	line-height: 1.2;
}

.tm-cat-info p {
	margin: 3px 0 0;
	font-size: 11px;
	color: #64748b;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* 5. Featured Deals Showcase (Mockup) */
.tm-featured-section {
	max-width: 1340px;
	margin: 24px auto;
	padding: 0 24px;
}

.tm-featured-grid {
	display: grid;
	grid-template-columns: 1.15fr 1.15fr 0.9fr;
	gap: 18px;
}

.tm-big-deal-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 22px;
	padding: 22px;
	position: relative;
	box-shadow: 0 6px 20px -4px rgba(30, 27, 75, 0.06);
	transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.tm-big-deal-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 32px -4px rgba(74, 21, 75, 0.12);
}

.tm-card-canva {
	background: linear-gradient(145deg, #ffffff 0%, #faf5ff 100%);
	border-color: #e9d5ff;
}

.tm-card-chatgpt {
	background: linear-gradient(145deg, #ffffff 0%, #f0fdf4 100%);
	border-color: #bbf7d0;
}

.tm-deal-tag {
	position: absolute;
	top: 16px;
	right: 16px;
	font-size: 11px;
	font-weight: 800;
	padding: 4px 12px;
	border-radius: 12px;
}

.tm-tag-purple {
	background: #f3e8ff;
	color: #7c3aed;
	border: 1px solid #e9d5ff;
}

.tm-tag-green {
	background: #ecfdf5;
	color: #059669;
	border: 1px solid #a7f3d0;
}

.tm-deal-header {
	display: flex;
	align-items: flex-start;
	gap: 16px;
}

.tm-deal-brand-visual {
	width: 110px;
	height: 110px;
	border-radius: 16px;
	background: #0f172a;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border: 1px solid #e2e8f0;
	flex-shrink: 0;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.tm-deal-brand-visual img,
.tm-deal-img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	display: block !important;
}

.tm-canva-title {
	font-size: 24px;
	font-weight: 900;
	color: #00c4cc;
}

.tm-gpt-visual {
	background: linear-gradient(135deg, #064e3b 0%, #047857 100%);
	border-color: #059669;
	color: #ffffff;
}

.tm-gpt-card-chip {
	font-size: 16px;
	font-weight: 900;
	color: #a7f3d0;
}

.tm-deal-meta {
	flex: 1;
}

.tm-deal-name {
	margin: 0;
	font-size: 18px;
	font-weight: 900;
	color: #0f172a;
}

.tm-deal-sub-name {
	font-size: 12px;
	color: #64748b;
	display: block;
	margin-bottom: 8px;
}

.tm-deal-perks {
	list-style: none;
	padding: 0;
	margin: 0 0 12px;
}

.tm-deal-perks li {
	font-size: 11.5px;
	color: #334155;
	margin-bottom: 3px;
}

.tm-deal-pricing {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin-bottom: 12px;
}

.tm-deal-price-current {
	font-size: 18px;
	font-weight: 900;
	color: var(--tm-primary);
}

.tm-deal-price-old {
	font-size: 13px;
	color: #94a3b8;
	text-decoration: line-through;
}

.tm-deal-footer-btns {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.tm-badge-life, .tm-badge-period {
	font-size: 11px;
	font-weight: 800;
	background: #fefce8;
	color: #ca8a04;
	padding: 3px 8px;
	border-radius: 8px;
}

/* Quick Picks Column */
.tm-quick-picks-col {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.tm-quick-pick-item {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 10px 14px;
	display: flex;
	align-items: center;
	gap: 12px;
	box-shadow: var(--tm-shadow-sm);
	transition: all 0.2s ease;
}

.tm-quick-pick-item:hover {
	transform: translateX(-3px);
	border-color: var(--tm-lavender-border);
}

.tm-quick-thumb {
	width: 42px;
	height: 42px;
	border-radius: 10px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	font-weight: 900;
	flex-shrink: 0;
}

.tm-quick-info {
	flex: 1;
	min-width: 0;
}

.tm-quick-info h5 {
	margin: 0;
	font-size: 13.5px;
	font-weight: 800;
	color: #0f172a;
}

.tm-quick-info span {
	font-size: 11px;
	color: #64748b;
	display: block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.tm-quick-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 2px;
}

.tm-quick-price {
	font-size: 13px;
	font-weight: 900;
	color: var(--tm-primary);
}

.tm-quick-rating {
	font-size: 11px;
	color: var(--tm-amber);
	font-weight: 800;
}

.tm-quick-action-btn {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #f1f5f9;
	color: var(--tm-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none !important;
	font-weight: 900;
	font-size: 16px;
	transition: all 0.2s ease;
}

.tm-quick-action-btn:hover {
	background: var(--tm-primary);
	color: #ffffff;
}

/* 6. Clean Trust Strip (5 Items from Mockup) */
.tm-trust-strip-clean {
	max-width: 1340px;
	margin: 20px auto;
	padding: 0 24px;
}

.tm-trust-clean-grid {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 20px;
	padding: 16px 20px;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 16px;
	box-shadow: var(--tm-shadow-sm);
}

.tm-trust-clean-item {
	display: flex;
	align-items: center;
	gap: 12px;
}

.tm-trust-clean-icon {
	font-size: 26px;
	line-height: 1;
}

.tm-trust-clean-text h4 {
	margin: 0;
	font-size: 13.5px;
	font-weight: 800;
	color: #0f172a;
}

.tm-trust-clean-text p {
	margin: 2px 0 0;
	font-size: 11px;
	color: #64748b;
}

/* 7. Bottom Showcases: Loyalty + App Shelves */
.tm-bottom-showcase-section {
	max-width: 1340px;
	margin: 20px auto;
	padding: 0 24px;
}

.tm-bottom-grid {
	display: grid;
	grid-template-columns: 260px 1fr 1fr;
	gap: 18px;
	align-items: stretch;
}

.tm-loyalty-box {
	background: linear-gradient(135deg, #f3e8ff 0%, #fae8ff 100%);
	border: 1px solid #e9d5ff;
	border-radius: 20px;
	padding: 20px 16px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.tm-loyalty-gift-graphic {
	font-size: 38px;
	margin-bottom: 6px;
}

.tm-loyalty-title {
	margin: 0 0 6px;
	font-size: 16px;
	font-weight: 900;
	color: var(--tm-primary);
}

.tm-loyalty-desc {
	margin: 0 0 14px;
	font-size: 11.5px;
	color: #475569;
	line-height: 1.5;
}

.tm-shelf-box {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 20px;
	padding: 16px 18px;
	box-shadow: var(--tm-shadow-sm);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.tm-shelf-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
	border-bottom: 1px solid #f1f5f9;
	padding-bottom: 8px;
}

.tm-shelf-header h4 {
	margin: 0;
	font-size: 15px;
	font-weight: 800;
	color: #0f172a;
}

.tm-shelf-view-all {
	font-size: 12px;
	font-weight: 700;
	color: var(--tm-primary-light) !important;
	text-decoration: none !important;
}

.tm-app-icons-row {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 10px;
}

.tm-app-icon-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	text-decoration: none !important;
	transition: transform 0.2s ease;
}

.tm-app-icon-item:hover {
	transform: translateY(-3px);
}

.tm-app-icon-badge {
	width: 52px;
	height: 52px;
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: 900;
	margin-bottom: 6px;
	box-shadow: 0 4px 10px rgba(0,0,0,0.06);
	overflow: hidden;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
}

.tm-app-icon-badge img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	display: block !important;
}

.tm-app-name {
	font-size: 11px;
	font-weight: 700;
	color: #334155;
	line-height: 1.3;
	margin-bottom: 2px;
	max-width: 65px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.tm-app-type {
	font-size: 10px;
	color: var(--tm-primary);
	font-weight: 800;
}

/* 8. Full Catalog Grid & Product Cards */
.tm-catalog-section {
	max-width: 1340px;
	margin: 28px auto 40px;
	padding: 0 24px;
}

.tm-section-heading-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
}

.tm-section-heading-row h2 {
	margin: 0;
	font-size: 20px;
	font-weight: 900;
	color: #0f172a;
}

.tm-section-heading-row p {
	margin: 4px 0 0;
	font-size: 12.5px;
	color: #64748b;
}

/* WooCommerce Products Grid (Equal Heights & Luxury Feel) */
body.rtl .woocommerce ul.products,
body.rtl ul.products {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
	gap: 22px !important;
	padding: 0 !important;
	margin: 0 !important;
	list-style: none !important;
}

body.rtl .woocommerce ul.products li.product,
body.rtl ul.products li.product {
	background: #ffffff !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 20px !important;
	padding: 16px !important;
	display: flex !important;
	flex-direction: column !important;
	justify-content: space-between !important;
	box-shadow: 0 4px 18px rgba(30, 27, 75, 0.05) !important;
	transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease !important;
	position: relative !important;
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
	box-sizing: border-box !important;
}

body.rtl .woocommerce ul.products li.product:hover {
	border-color: #c084fc !important;
	transform: translateY(-6px) !important;
	box-shadow: 0 18px 36px -6px rgba(74, 21, 75, 0.14) !important;
}

/* Product Card Thumbnail */
body.rtl .woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
	display: block !important;
	text-decoration: none !important;
	margin-bottom: auto !important;
}

body.rtl .woocommerce ul.products li.product img {
	border-radius: 16px !important;
	margin-bottom: 12px !important;
	aspect-ratio: 1/1 !important;
	height: auto !important;
	max-height: 240px !important;
	object-fit: cover !important;
	width: 100% !important;
	display: block !important;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
	background: #0f172a !important;
	border: 1px solid rgba(226, 232, 240, 0.6) !important;
}

/* On sale badge */
body.rtl .woocommerce ul.products li.product .onsale,
body.rtl .woocommerce span.onsale {
	position: absolute !important;
	top: 24px !important;
	right: 24px !important;
	left: auto !important;
	background: linear-gradient(135deg, #ef4444, #dc2626) !important;
	color: #ffffff !important;
	font-size: 11px !important;
	font-weight: 800 !important;
	padding: 4px 12px !important;
	border-radius: 50px !important;
	min-height: auto !important;
	min-width: auto !important;
	line-height: 1.2 !important;
	box-shadow: 0 2px 8px rgba(239, 68, 68, 0.35) !important;
	z-index: 7 !important;
	margin: 0 !important;
}

body.rtl .woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-size: 14px !important;
	font-weight: 800 !important;
	color: #0f172a !important;
	margin: 0 0 6px !important;
	line-height: 1.45 !important;
	min-height: 42px !important;
	display: -webkit-box !important;
	-webkit-line-clamp: 2 !important;
	-webkit-box-orient: vertical !important;
	overflow: hidden !important;
}

body.rtl .woocommerce ul.products li.product .price {
	font-size: 16px !important;
	font-weight: 900 !important;
	color: var(--tm-primary) !important;
	margin: 6px 0 12px !important;
	display: flex !important;
	align-items: baseline !important;
	gap: 6px !important;
}

body.rtl .woocommerce ul.products li.product .price del {
	font-size: 12.5px !important;
	color: #94a3b8 !important;
	font-weight: 600 !important;
}

body.rtl .woocommerce ul.products li.product .price ins {
	text-decoration: none !important;
	color: var(--tm-primary) !important;
	font-weight: 900 !important;
}

/* Floating Actions on Card (Wishlist & Quick View) */
.tm-card-float-actions {
	position: absolute;
	top: 24px;
	left: 24px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	z-index: 8;
}

.tm-wishlist-btn,
.tm-quick-view-btn {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(4px);
	border: 1px solid rgba(226, 232, 240, 0.9);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: #475569;
	box-shadow: 0 2px 6px rgba(0,0,0,0.06);
	transition: all 0.2s ease;
	padding: 0;
}

.tm-wishlist-btn:hover,
.tm-wishlist-btn.active {
	background: #fdf2f8;
	color: #db2777;
	border-color: #fbcfe8;
	transform: scale(1.08);
}

.tm-quick-view-btn:hover {
	background: var(--tm-lavender);
	color: var(--tm-primary);
	border-color: #e9d5ff;
	transform: scale(1.08);
}

/* Product Card Action Buttons (Pills) */
.tm-loop-btn-group {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 8px !important;
	margin-top: auto !important;
	padding-top: 12px !important;
	border-top: 1px solid #f1f5f9 !important;
	width: 100% !important;
	box-sizing: border-box !important;
}

.tm-loop-btn-details,
.tm-loop-btn-cart {
	flex: 1 1 0 !important;
	min-width: 0 !important;
	height: 38px !important;
	padding: 0 10px !important;
	font-size: 12.5px !important;
	font-weight: 800 !important;
	border-radius: 9999px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	text-align: center !important;
	text-decoration: none !important;
	white-space: nowrap !important;
	box-sizing: border-box !important;
	line-height: 1 !important;
	position: relative !important;
	overflow: hidden !important;
	transition: all 0.2s ease !important;
}

.tm-loop-btn-details {
	background: #ffffff !important;
	color: #334155 !important;
	border: 1.5px solid #e2e8f0 !important;
}

.tm-loop-btn-details:hover {
	background: var(--tm-lavender) !important;
	border-color: var(--tm-primary) !important;
	color: var(--tm-primary) !important;
	transform: translateY(-1px) !important;
}

.tm-loop-btn-cart {
	background: var(--tm-primary) !important;
	color: #ffffff !important;
	border: none !important;
	box-shadow: 0 3px 10px rgba(74, 21, 75, 0.2) !important;
	gap: 5px !important;
}

.tm-loop-btn-cart:hover {
	background: var(--tm-primary-hover) !important;
	box-shadow: 0 5px 14px rgba(74, 21, 75, 0.32) !important;
	transform: translateY(-1px) !important;
	color: #ffffff !important;
}

.tm-loop-btn-cart svg {
	width: 15px !important;
	height: 15px !important;
	flex-shrink: 0 !important;
	stroke: currentColor !important;
}

/* Reset any WooCommerce default buttons pseudo-elements completely */
.woocommerce ul.products li.product a.button::before,
.woocommerce ul.products li.product a.button::after,
.woocommerce a.button.add_to_cart_button::before,
.woocommerce a.button.add_to_cart_button::after,
.tm-loop-btn-group a::before,
.tm-loop-btn-group a::after {
	display: none !important;
	content: none !important;
	background: none !important;
	border: none !important;
}

/* 9. Side Cart Drawer (Exact Mockup Layout) */
.tm-cart-drawer {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 99999;
	pointer-events: none;
	transition: visibility 0.3s ease;
	visibility: hidden;
}

.tm-cart-drawer.tm-open {
	pointer-events: auto;
	visibility: visible;
}

.tm-cart-drawer-backdrop {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(15, 23, 42, 0.45);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.tm-cart-drawer.tm-open .tm-cart-drawer-backdrop {
	opacity: 1;
}

.tm-cart-drawer-panel {
	position: absolute;
	top: 0;
	left: 0;
	width: 380px;
	max-width: 90vw;
	height: 100%;
	background: #ffffff;
	box-shadow: 10px 0 35px rgba(0,0,0,0.15);
	transform: translateX(-100%);
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	display: flex;
	flex-direction: column;
	direction: rtl;
	text-align: right;
}

.tm-cart-drawer.tm-open .tm-cart-drawer-panel {
	transform: translateX(0);
}

.tm-drawer-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	border-bottom: 1px solid #e2e8f0;
}

.tm-drawer-title {
	margin: 0;
	font-size: 17px;
	font-weight: 800;
	color: #0f172a;
}

.tm-cart-drawer-close {
	background: #f1f5f9;
	border: none;
	border-radius: 50%;
	width: 30px;
	height: 30px;
	cursor: pointer;
	color: #64748b;
	font-weight: 900;
	transition: background 0.2s;
}

.tm-cart-drawer-close:hover {
	background: #e2e8f0;
	color: #0f172a;
}

.tm-drawer-items-list {
	flex: 1;
	overflow-y: auto;
	padding: 14px 18px;
}

.tm-cart-drawer-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid #f1f5f9;
	position: relative;
}

.tm-cart-item-remove {
	background: #fee2e2;
	color: #ef4444;
	border: none;
	border-radius: 50%;
	width: 22px;
	height: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	font-weight: 900;
	cursor: pointer;
	flex-shrink: 0;
}

.tm-cart-item-thumb {
	width: 50px;
	height: 50px;
	border-radius: 12px;
	object-fit: cover;
	border: 1px solid #e2e8f0;
	flex-shrink: 0;
}

.tm-cart-item-body {
	flex: 1;
	min-width: 0;
}

.tm-cart-item-title {
	font-size: 13px;
	font-weight: 800;
	color: #0f172a !important;
	text-decoration: none !important;
	display: block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.tm-cart-item-cat {
	font-size: 11px;
	color: #64748b;
	display: block;
	margin: 1px 0 4px;
}

.tm-cart-item-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.tm-cart-item-price {
	font-size: 13px;
	font-weight: 900;
	color: var(--tm-primary);
}

.tm-cart-qty-stepper {
	display: flex;
	align-items: center;
	background: #f1f5f9;
	border-radius: 8px;
	border: 1px solid #e2e8f0;
}

.tm-cart-qty-btn {
	background: none;
	border: none;
	padding: 2px 8px;
	font-weight: 900;
	cursor: pointer;
	color: #334155;
}

.tm-cart-qty-val {
	font-size: 12px;
	font-weight: 800;
	padding: 0 4px;
}

.tm-drawer-footer {
	padding: 16px 20px;
	border-top: 1px solid #e2e8f0;
	background: #fafafa;
}

.tm-drawer-summary-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 13px;
	color: #64748b;
	margin-bottom: 6px;
}

.tm-total-row {
	font-size: 16px !important;
	font-weight: 900 !important;
	color: #0f172a !important;
	border-top: 1px dashed #cbd5e1;
	padding-top: 8px;
	margin-top: 8px;
}

.tm-total-price {
	color: var(--tm-primary);
	font-size: 18px;
}

.tm-loyalty-points-bar {
	background: #fdf4ff;
	border: 1px solid #e9d5ff;
	border-radius: 10px;
	padding: 6px 10px;
	font-size: 12px;
	color: #6b21a8;
	font-weight: 700;
	margin: 10px 0 14px;
	display: flex;
	align-items: center;
	gap: 6px;
}

.tm-drawer-actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 12px;
}

.tm-checkout-cta {
	font-size: 15px !important;
	padding: 12px 20px !important;
}

.tm-cart-cta {
	font-size: 13px !important;
	padding: 9px 20px !important;
}

.tm-drawer-trust-icons {
	display: flex;
	align-items: center;
	justify-content: space-around;
	font-size: 11px;
	color: #64748b;
	font-weight: 700;
	padding-top: 6px;
}

.tm-cart-empty-state {
	padding: 40px 20px;
	text-align: center;
}

.tm-empty-icon {
	font-size: 48px;
	margin-bottom: 12px;
}

.tm-cart-empty-state h3 {
	margin: 0 0 6px;
	font-size: 16px;
	font-weight: 900;
}

.tm-cart-empty-state p {
	font-size: 12px;
	color: #64748b;
	margin: 0 0 16px;
}

/* 10. Modals: Quick View & Wishlist */
.tm-modal {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: all 0.25s ease;
	direction: rtl;
	text-align: right;
}

.tm-modal.tm-open {
	opacity: 1;
	visibility: visible;
}

.tm-qv-backdrop,
.tm-wishlist-backdrop {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(15, 23, 42, 0.6);
	backdrop-filter: blur(4px);
}

.tm-qv-container,
.tm-wishlist-container {
	position: relative;
	background: #ffffff;
	border-radius: 24px;
	width: 780px;
	max-width: 92vw;
	max-height: 88vh;
	overflow-y: auto;
	padding: 28px;
	box-shadow: var(--tm-shadow-lg);
	z-index: 10;
}

.tm-qv-close,
.tm-wishlist-close {
	position: absolute;
	top: 16px;
	left: 16px;
	background: #f1f5f9;
	border: none;
	border-radius: 50%;
	width: 32px;
	height: 32px;
	cursor: pointer;
	font-weight: 900;
	color: #64748b;
}

.tm-qv-grid {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 24px;
	align-items: start;
}

.tm-qv-main-img {
	width: 100%;
	border-radius: 16px;
	object-fit: cover;
	border: 1px solid #e2e8f0;
}

.tm-qv-cat {
	font-size: 12px;
	font-weight: 800;
	color: var(--tm-primary-light);
}

.tm-qv-title {
	margin: 4px 0 10px;
	font-size: 20px;
	font-weight: 900;
	color: #0f172a;
}

.tm-qv-rating-row {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
	font-size: 13px;
}

.tm-qv-stars {
	color: var(--tm-amber);
}

.tm-qv-sku {
	font-size: 11px;
	color: #94a3b8;
}

.tm-qv-price {
	font-size: 22px;
	font-weight: 900;
	color: var(--tm-primary);
	margin-bottom: 14px;
}

.tm-qv-desc {
	font-size: 13.5px;
	color: #475569;
	line-height: 1.7;
	margin-bottom: 18px;
}

.tm-qv-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 16px;
}

.tm-btn-success {
	background: var(--tm-green) !important;
	color: #ffffff !important;
	border: none !important;
	font-weight: 800 !important;
	text-decoration: none !important;
}

.tm-btn-success:hover {
	background: var(--tm-green-hover) !important;
}

.tm-qv-trust-micro {
	display: flex;
	gap: 14px;
	font-size: 11.5px;
	color: #64748b;
	font-weight: 700;
	border-top: 1px solid #f1f5f9;
	padding-top: 12px;
}

/* 11. Toast Notification Container */
#tm-toast-container {
	position: fixed;
	bottom: 24px;
	right: 24px;
	z-index: 999999;
	display: flex;
	flex-direction: column;
	gap: 10px;
	pointer-events: none;
}

.tm-toast {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 12px 18px;
	box-shadow: var(--tm-shadow-lg);
	display: flex;
	align-items: center;
	gap: 12px;
	pointer-events: auto;
	transform: translateY(20px);
	opacity: 0;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	direction: rtl;
}

.tm-toast.tm-toast-show {
	transform: translateY(0);
	opacity: 1;
}

.tm-toast-msg {
	font-size: 13.5px;
	font-weight: 700;
	color: #0f172a;
}

.tm-toast-btn {
	background: var(--tm-lavender);
	color: var(--tm-primary);
	border: 1px solid var(--tm-lavender-border);
	border-radius: 20px;
	font-size: 11.5px;
	font-weight: 800;
	padding: 4px 10px;
	cursor: pointer;
}

/* 12. Floating Support Widget (Mockup Bottom-Left) */
.tm-support-float-bubble {
	position: fixed;
	bottom: 24px;
	left: 24px;
	z-index: 9990;
}

.tm-support-link {
	display: flex;
	align-items: center;
	gap: 12px;
	background: #ffffff;
	border: 1.5px solid #e9d5ff;
	border-radius: 35px;
	padding: 6px 14px 6px 6px;
	text-decoration: none !important;
	box-shadow: 0 8px 24px rgba(74, 21, 75, 0.12);
	transition: all 0.25s ease;
}

.tm-support-link:hover {
	transform: translateY(-2px);
	border-color: var(--tm-primary);
	box-shadow: 0 12px 30px rgba(74, 21, 75, 0.18);
}

.tm-support-text-col {
	text-align: right;
}

.tm-sup-title {
	display: block;
	font-size: 12px;
	font-weight: 800;
	color: #0f172a;
}

.tm-sup-sub {
	display: block;
	font-size: 10px;
	font-weight: 700;
	color: #64748b;
}

.tm-support-avatar-col {
	position: relative;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--tm-primary);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
}

.tm-sup-online-dot {
	position: absolute;
	top: -2px;
	right: -2px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #10b981;
	border: 2px solid #ffffff;
	box-shadow: 0 0 6px #10b981;
}

/* 13. Mobile Bottom Navigation Bar */
.tm-mobile-bottom-bar {
	display: none;
}

@media (max-width: 768px) {
	body {
		padding-bottom: 65px;
	}

	.tm-mobile-bottom-bar {
		display: flex;
		align-items: center;
		justify-content: space-around;
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		height: 60px;
		background: #ffffff;
		border-top: 1px solid #e2e8f0;
		box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
		z-index: 9998;
	}

	.tm-bottom-item {
		background: none;
		border: none;
		display: flex;
		flex-direction: column;
		align-items: center;
		color: #64748b;
		text-decoration: none !important;
		font-size: 10.5px;
		font-weight: 700;
		padding: 4px;
		cursor: pointer;
	}

	.tm-bottom-item.active,
	.tm-bottom-item:hover {
		color: var(--tm-primary);
	}

	.tm-bottom-icon-badge {
		position: relative;
	}

	.tm-support-float-bubble {
		bottom: 74px;
		left: 14px;
	}

	/* Responsive Header & Hero adjustments */
	.tm-header-nav {
		display: none;
	}
	.tm-header-inner {
		padding: 8px 12px;
		gap: 8px;
	}
	.tm-hero-container {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	.tm-cats-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.tm-featured-grid {
		grid-template-columns: 1fr;
	}
	.tm-trust-clean-grid {
		grid-template-columns: 1fr 1fr;
	}
	.tm-bottom-grid {
		grid-template-columns: 1fr;
	}
}

/* 14. Preserve Existing Checkout & Vodafone Cash Box (Untouched & Optimized) */
.woocommerce-checkout {
	max-width: 1160px;
	margin: 20px auto 60px;
	font-family: 'Cairo', sans-serif !important;
}

@media (min-width: 769px) {
	.woocommerce-checkout form.checkout {
		display: grid !important;
		grid-template-columns: 1.15fr 0.85fr !important;
		gap: 28px !important;
		align-items: start !important;
	}
	.woocommerce-checkout #customer_details {
		grid-column: 1 !important;
		width: 100% !important;
		float: none !important;
	}
	.woocommerce-checkout #order_review,
	.woocommerce-checkout #order_review_heading {
		grid-column: 2 !important;
		width: 100% !important;
		float: none !important;
	}
}

.woocommerce-checkout .woocommerce-billing-fields {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 24px;
	box-shadow: 0 4px 16px rgba(0,0,0,0.03);
	margin-bottom: 24px;
}

.woocommerce-checkout .woocommerce-billing-fields h3 {
	font-size: 18px;
	font-weight: 800;
	color: #1e1b4b;
	margin: 0 0 16px;
	border-bottom: 2px solid #f3e8ff;
	padding-bottom: 8px;
}

.woocommerce-checkout .form-row {
	margin-bottom: 14px !important;
	padding: 0 !important;
}

.woocommerce-checkout .form-row label {
	font-size: 13px !important;
	font-weight: 800 !important;
	color: #1e1b4b !important;
	margin-bottom: 6px !important;
	display: block !important;
}

.woocommerce-checkout input.input-text {
	width: 100% !important;
	padding: 11px 14px !important;
	border: 1px solid #cbd5e1 !important;
	border-radius: 10px !important;
	background: #f8fafc !important;
	font-family: 'Cairo', sans-serif !important;
	font-size: 14px !important;
	transition: all 0.2s ease !important;
}

.woocommerce-checkout input.input-text:focus {
	border-color: #7c3aed !important;
	background: #ffffff !important;
	box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15) !important;
	outline: none !important;
}

.woocommerce-checkout #order_review {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 24px;
	box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.woocommerce-checkout #order_review_heading {
	display: none;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table {
	border: none !important;
	margin: 0 0 16px !important;
	width: 100% !important;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table th,
.woocommerce-checkout table.woocommerce-checkout-review-order-table td {
	padding: 10px 0 !important;
	border-bottom: 1px solid #f1f5f9 !important;
	font-size: 14px !important;
	color: #334155 !important;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.order-total th,
.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.order-total td {
	border-top: 2px solid #e9d5ff !important;
	border-bottom: none !important;
	padding-top: 14px !important;
	font-size: 18px !important;
	font-weight: 900 !important;
	color: #38114c !important;
}

.woocommerce-checkout #place_order,
.woocommerce-checkout button#place_order {
	width: 100% !important;
	background: linear-gradient(135deg, #38114c 0%, #7c3aed 100%) !important;
	color: #ffffff !important;
	border: none !important;
	border-radius: 12px !important;
	padding: 16px 20px !important;
	font-size: 18px !important;
	font-weight: 900 !important;
	cursor: pointer !important;
	box-shadow: 0 6px 20px rgba(74, 21, 75, 0.35) !important;
	transition: transform 0.2s, box-shadow 0.2s !important;
	display: block !important;
	text-align: center !important;
	margin-top: 14px !important;
}

/* 15. Modern WooCommerce My Account Dashboard & Navigation */
.woocommerce-account .woocommerce {
	max-width: 1240px;
	margin: 30px auto 60px;
	padding: 0 20px;
	display: grid !important;
	grid-template-columns: 280px 1fr !important;
	gap: 32px !important;
	align-items: start !important;
}

@media (max-width: 860px) {
	.woocommerce-account .woocommerce {
		grid-template-columns: 1fr !important;
		gap: 20px !important;
	}
}

.woocommerce-MyAccount-navigation {
	background: #ffffff !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 20px !important;
	padding: 16px !important;
	box-shadow: 0 4px 16px rgba(0,0,0,0.04) !important;
	float: none !important;
	width: 100% !important;
	position: sticky !important;
	top: 90px !important;
}

.woocommerce-MyAccount-navigation ul {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 6px !important;
}

.woocommerce-MyAccount-navigation ul li {
	margin: 0 !important;
	padding: 0 !important;
}

.woocommerce-MyAccount-navigation ul li a {
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
	padding: 12px 16px !important;
	border-radius: 12px !important;
	font-size: 14px !important;
	font-weight: 800 !important;
	color: #334155 !important;
	text-decoration: none !important;
	transition: all 0.2s ease !important;
}

.woocommerce-MyAccount-navigation ul li a:hover {
	background: #fdf4ff !important;
	color: #7c3aed !important;
	transform: translateX(-4px) !important;
}

.woocommerce-MyAccount-navigation ul li.is-active a {
	background: linear-gradient(135deg, #7c3aed 0%, #4a154b 100%) !important;
	color: #ffffff !important;
	box-shadow: 0 4px 14px rgba(124, 58, 237, 0.25) !important;
}

.woocommerce-MyAccount-content {
	background: #ffffff !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 24px !important;
	padding: 32px 28px !important;
	box-shadow: 0 4px 16px rgba(0,0,0,0.04) !important;
	min-height: 440px !important;
	float: none !important;
	width: 100% !important;
}

.woocommerce-MyAccount-content p {
	font-size: 15px !important;
	color: #334155 !important;
	line-height: 1.8 !important;
	margin-bottom: 16px !important;
}

.woocommerce-MyAccount-content p strong {
	color: #0f172a !important;
	font-weight: 900 !important;
}

.woocommerce-MyAccount-content a {
	color: #7c3aed !important;
	font-weight: 800 !important;
	text-decoration: underline !important;
}

/* My Account Action Cards Hover & Transitions */
.tm-acc-action-card:hover {
	transform: translateY(-4px) !important;
	border-color: #c084fc !important;
	box-shadow: 0 12px 30px rgba(124, 58, 237, 0.15) !important;
}

/* Orders Table Styling in My Account */
table.woocommerce-orders-table,
table.woocommerce-table--order-downloads {
	width: 100% !important;
	border-collapse: separate !important;
	border-spacing: 0 !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 16px !important;
	overflow: hidden !important;
	margin-bottom: 24px !important;
}

table.woocommerce-orders-table th,
table.woocommerce-table--order-downloads th {
	background: #f8fafc !important;
	color: #0f172a !important;
	font-size: 13.5px !important;
	font-weight: 900 !important;
	padding: 14px 16px !important;
	border-bottom: 1px solid #e2e8f0 !important;
}

table.woocommerce-orders-table td,
table.woocommerce-table--order-downloads td {
	padding: 14px 16px !important;
	border-bottom: 1px solid #f1f5f9 !important;
	font-size: 13.5px !important;
	color: #334155 !important;
	vertical-align: middle !important;
}

table.woocommerce-orders-table tr:last-child td,
table.woocommerce-table--order-downloads tr:last-child td {
	border-bottom: none !important;
}

/* Edit Account Form & Inputs */
.woocommerce-EditAccountForm fieldset {
	border: 1px solid #e2e8f0 !important;
	border-radius: 16px !important;
	padding: 20px !important;
	margin-top: 24px !important;
	margin-bottom: 24px !important;
}

.woocommerce-EditAccountForm legend {
	font-size: 15px !important;
	font-weight: 900 !important;
	color: #0f172a !important;
	padding: 0 10px !important;
}

.woocommerce-EditAccountForm input.woocommerce-Input {
	width: 100% !important;
	padding: 11px 14px !important;
	border: 1.5px solid #cbd5e1 !important;
	border-radius: 12px !important;
	font-family: 'Cairo', sans-serif !important;
	font-size: 14px !important;
	outline: none !important;
	transition: border-color 0.2s ease !important;
}

.woocommerce-EditAccountForm input.woocommerce-Input:focus {
	border-color: #7c3aed !important;
	box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12) !important;
}

.woocommerce-EditAccountForm button.woocommerce-Button {
	background: linear-gradient(135deg, #7c3aed 0%, #4a154b 100%) !important;
	color: #ffffff !important;
	border: none !important;
	border-radius: 12px !important;
	padding: 12px 28px !important;
	font-size: 14px !important;
	font-weight: 900 !important;
	cursor: pointer !important;
	box-shadow: 0 4px 14px rgba(124, 58, 237, 0.25) !important;
	transition: all 0.2s ease !important;
}

.woocommerce-EditAccountForm button.woocommerce-Button:hover {
	transform: translateY(-1px) !important;
	box-shadow: 0 6px 18px rgba(124, 58, 237, 0.35) !important;
}

