/*
Theme Name: Marjan Arbab
Description: Personal brand and shop theme for marjanarbab.com — burgundy, steel blue and gold, Fraunces and Lora.
Version: 1.0.0
Text Domain: marjan
WPVibe: yes
*/

:root {
	--ma-ink: #23151A;
	--ma-body: #3A2A30;
	--ma-line: #EDE0E4;
	--ma-bg: #FFFFFF;
	--ma-alt: #F7F3F5;
	--ma-burgundy: #6E1230;
	--ma-burgundy-deep: #36081A;
	--ma-blue: #2F5D8C;
	--ma-gold: #8A6512;
	--ma-gold-light: #E7C873;
	--ma-blush: #F2D8DF;
	--ma-ice: #D9E8F5;
	--ma-cream: #F5E9C8;
	--ma-display: "Fraunces", Georgia, serif;
	--ma-text: "Lora", Georgia, serif;
	--ma-wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--ma-bg);
	color: var(--ma-ink);
	font-family: var(--ma-text);
	font-size: 19px;
	line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ma-burgundy); text-decoration: none; }
a:hover { color: var(--ma-burgundy-deep); }
h1, h2, h3, h4 { font-family: var(--ma-display); font-weight: 400; color: var(--ma-ink); line-height: 1.08; margin: 0 0 .5em; }
h1 { font-size: clamp(44px, 6vw, 76px); }
h2 { font-size: clamp(36px, 4.6vw, 60px); }
h3 { font-size: clamp(24px, 2.6vw, 32px); }
h1 em, h2 em { color: var(--ma-burgundy); }
p { margin: 0 0 1.1em; color: var(--ma-body); }
.screen-reader-text { position: absolute; left: -9999px; }

.ma-wrap { max-width: var(--ma-wrap); margin: 0 auto; padding: 0 32px; }
.ma-narrow { max-width: 780px; margin: 0 auto; padding: 0 32px; }
.ma-eyebrow { display: block; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--ma-blue); margin-bottom: 14px; }
.ma-section { padding: 96px 0; }
.ma-section-alt { background: var(--ma-alt); }
.ma-grid { display: grid; gap: 24px; }
.ma-grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.ma-grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.ma-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 36px; }
.ma-head-row h2 { margin: 0; }

/* Buttons */
.ma-btn, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit, .woocommerce a.button.alt, .woocommerce button.button.alt {
	display: inline-block; background: var(--ma-burgundy); color: #fff; border: 0; border-radius: 999px;
	padding: 15px 28px; font-family: var(--ma-text); font-size: 17px; font-weight: 600; line-height: 1.2; cursor: pointer;
}
.ma-btn:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: var(--ma-burgundy-deep); color: #fff; }
.ma-btn-outline { background: transparent; color: var(--ma-ink); border: 1.5px solid var(--ma-ink); }
.ma-btn-outline:hover { background: var(--ma-ink); color: #fff; }
.ma-btn-blue { background: var(--ma-blue); }
.ma-btn-gold { background: var(--ma-gold); }
.ma-btn-sm { padding: 10px 18px; font-size: 15px; }
.ma-link { font-weight: 600; }

/* Header */
.ma-header { position: relative; z-index: 5; }
.ma-header-inner { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; padding-top: 26px; padding-bottom: 26px; }
.ma-logo { font-family: var(--ma-display); font-size: 27px; color: var(--ma-ink); }
.ma-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; font-size: 16px; }
.ma-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 24px; }
.ma-nav a { color: var(--ma-ink); }
.ma-nav a:hover, .ma-nav .current-menu-item > a { color: var(--ma-burgundy); }
.ma-cart { color: var(--ma-blue) !important; font-weight: 600; }
.ma-join { background: var(--ma-burgundy); color: #fff !important; padding: 9px 18px; border-radius: 999px; font-weight: 600; }

/* Gradient-corner hero areas */
.ma-glow { background:
	radial-gradient(ellipse 38% 60% at 0% 0%, var(--ma-blush) 0%, transparent 100%),
	radial-gradient(ellipse 42% 65% at 100% 100%, var(--ma-ice) 0%, transparent 100%),
	#fff; }

/* Slider */
.ma-slider { position: relative; padding: 32px 0 8px; }
.ma-slide { display: none; flex-wrap: wrap; gap: 56px; align-items: center; min-height: 420px; }
.ma-slide.is-active { display: flex; animation: maFade .6s ease; }
@keyframes maFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.ma-slide-text { flex: 999 1 520px; min-width: 0; }
.ma-slide-text h1, .ma-slide-text h2 { font-size: clamp(44px, 5.6vw, 72px); margin-bottom: 22px; }
.ma-slide-text p { font-size: 20px; max-width: 600px; }
.ma-slide-side { flex: 1 1 440px; min-width: 0; }
.ma-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 8px; }
.ma-slider-nav { display: flex; gap: 16px; align-items: center; padding: 32px 0 64px; }
.ma-arrow { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--ma-ink); background: transparent; color: var(--ma-ink); font-size: 20px; cursor: pointer; }
.ma-dots { display: flex; gap: 8px; }
.ma-dot { width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0; background: var(--ma-line); cursor: pointer; transition: width .3s; }
.ma-dot.is-active { width: 32px; background: var(--ma-burgundy); }

.ma-card-white { background: #fff; border-radius: 28px; padding: 32px; box-shadow: 0 30px 60px rgba(54,8,26,.12); }
.ma-card-white h3 { font-size: 26px; }
.ma-stat-row { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--ma-line); }
.ma-stat-row:last-of-type { border-bottom: 0; }
.ma-stat-row span:first-child { color: var(--ma-body); }
.ma-stat-row span:last-child { font-weight: 600; }
.ma-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ma-tile { border-radius: 20px; padding: 22px; font-size: 17px; line-height: 1.4; }
.ma-tile b { display: block; font-family: var(--ma-display); font-weight: 400; font-size: 40px; line-height: 1; margin-bottom: 6px; }
.ma-steps { display: flex; flex-direction: column; gap: 12px; }
.ma-step { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--ma-line); border-radius: 20px; padding: 18px 22px; }
.ma-step i { flex: 0 0 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--ma-display); font-style: normal; font-size: 24px; }
.ma-step b { display: block; font-family: var(--ma-display); font-weight: 400; font-size: 22px; }
.ma-step small { font-size: 16px; color: var(--ma-body); }

.bg-blush { background: var(--ma-blush); } .bg-ice { background: var(--ma-ice); } .bg-cream { background: var(--ma-cream); }
.c-burgundy { color: var(--ma-burgundy); } .c-blue { color: var(--ma-blue); } .c-gold { color: var(--ma-gold); }

/* Pillars */
.ma-pillar { border-radius: 22px; padding: 30px; display: block; color: var(--ma-ink); transition: transform .25s; }
.ma-pillar:hover { transform: translateY(-4px); color: var(--ma-ink); }
.ma-pillar h3 { font-size: 30px; margin-bottom: 10px; }
.ma-pillar p { margin: 0; color: var(--ma-ink); }
.ma-pillar-line { border: 1.5px solid var(--ma-line); }

/* Featured */
.ma-featured { display: flex; flex-wrap: wrap; border-radius: 32px; overflow: hidden; border: 1px solid var(--ma-line); }
.ma-featured-side { flex: 1 1 460px; padding: 48px; background: linear-gradient(160deg, var(--ma-burgundy) 0%, var(--ma-burgundy-deep) 100%); color: #fff; }
.ma-featured-side .ma-eyebrow { color: var(--ma-gold-light); }
.ma-chapter { display: flex; gap: 18px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.ma-chapter:last-child { border-bottom: 0; }
.ma-chapter span { font-family: var(--ma-display); color: var(--ma-gold-light); width: 34px; }
.ma-featured-body { flex: 1 1 460px; padding: 48px; }
.ma-featured-body ul { padding-left: 22px; margin: 0 0 24px; }
.ma-big-price { font-family: var(--ma-display); font-size: 38px; color: var(--ma-gold); }

/* Products */
.ma-product { background: #fff; border: 1px solid var(--ma-line); border-radius: 22px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.ma-product-img { display: block; border-radius: 16px; overflow: hidden; }
.ma-product-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.ma-thumb-ph { display: flex; align-items: flex-end; aspect-ratio: 3 / 2; padding: 18px; font-family: var(--ma-display); font-size: 24px; line-height: 1.1; color: var(--ma-ink); background: linear-gradient(160deg, #FBEFF2, var(--ma-blush)); border-radius: 16px; }
.ma-thumb-blue { background: linear-gradient(160deg, #EEF4FA, var(--ma-ice)); }
.ma-thumb-gold { background: linear-gradient(160deg, #FCF6E6, var(--ma-cream)); }
.ma-product-name { font-family: var(--ma-display); font-size: 26px; line-height: 1.15; color: var(--ma-ink); padding: 0 8px; }
.ma-product-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 0 8px 8px; margin-top: auto; }
.ma-price { font-family: var(--ma-display); font-size: 22px; color: var(--ma-gold); }
.ma-subhead { font-family: var(--ma-display); font-size: 34px; margin: 40px 0 20px; }
.ma-banner { border-radius: 24px; padding: 32px 40px; margin: 48px 0 24px; background: linear-gradient(90deg, var(--ma-ice), #EEF4FA 60%, #fff); }
.ma-banner h3 { color: var(--ma-blue); font-size: 38px; margin-bottom: 6px; }
.ma-banner p { margin: 0; }

/* List of posts */
.ma-postlist a { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--ma-line); color: var(--ma-ink); }
.ma-postlist a:last-child { border-bottom: 0; }
.ma-postlist a span:last-child { color: var(--ma-burgundy); }
.ma-split { display: flex; flex-wrap: wrap; gap: 56px; }
.ma-split > * { flex: 1 1 420px; min-width: 0; }
.ma-certs { font-size: 15px; color: var(--ma-body); }

/* Community */
.ma-community { border-radius: 32px; padding: 64px 48px; background: linear-gradient(120deg, var(--ma-blush) 0%, var(--ma-cream) 50%, var(--ma-ice) 100%); }
.ma-community .ma-center { text-align: center; max-width: 680px; margin: 0 auto 36px; }
.ma-join-card { background: #fff; border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.ma-join-card h3 { font-size: 30px; margin: 0; }
.ma-join-card p { margin: 0; }
.ma-join-card .ma-btn { margin-top: auto; text-align: center; }
.ma-input { width: 100%; padding: 14px 18px; border-radius: 999px; border: 1px solid var(--ma-line); font-family: var(--ma-text); font-size: 16px; }

/* Page / post */
.ma-page-hero { padding: 72px 0 80px; }
.ma-page-hero h1 { font-size: clamp(46px, 6.4vw, 84px); }
.ma-content { font-size: 19px; }
.ma-content h2 { font-size: 44px; margin-top: 1.4em; }
.ma-content h3 { font-size: 30px; margin-top: 1.2em; }
.ma-content blockquote { margin: 1.4em 0; padding: 28px 32px; border-radius: 24px; background: var(--ma-alt); font-family: var(--ma-display); font-style: italic; font-size: 28px; line-height: 1.4; color: var(--ma-burgundy); }
.ma-content img { border-radius: 18px; }
.ma-meta { font-size: 15px; color: var(--ma-body); }
.ma-cards .ma-postcard { display: block; background: #fff; border: 1px solid var(--ma-line); border-radius: 22px; overflow: hidden; color: var(--ma-ink); }
.ma-postcard-img { aspect-ratio: 3 / 2; background: linear-gradient(160deg, #FBEFF2, var(--ma-ice)); }
.ma-postcard-img img { width: 100%; height: 100%; object-fit: cover; }
.ma-postcard-body { padding: 22px; }
.ma-postcard-body h3 { font-size: 26px; }
.ma-pagination { margin-top: 48px; display: flex; gap: 10px; }
.ma-pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--ma-line); border-radius: 10px; color: var(--ma-ink); }
.ma-pagination .current { background: var(--ma-burgundy); color: #fff; }

/* Footer */
.ma-footer { background: var(--ma-burgundy-deep); color: rgba(255,255,255,.88); padding: 56px 0 36px; font-size: 15px; }
.ma-footer a { color: var(--ma-cream); }
.ma-footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.15); margin-bottom: 24px; }
.ma-footer-logo { font-family: var(--ma-display); font-size: 30px; color: #fff; }
.ma-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 20px; }
.ma-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }

/* WooCommerce */
.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; margin: 0; padding: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; background: #fff; border: 1px solid var(--ma-line); border-radius: 22px; padding: 14px 14px 20px; display: flex; flex-direction: column; }
.woocommerce ul.products li.product a img { border-radius: 16px; margin-bottom: 14px; aspect-ratio: 3 / 2; object-fit: cover; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--ma-display); font-weight: 400; font-size: 26px !important; line-height: 1.15; color: var(--ma-ink); padding: 0 8px !important; }
.woocommerce ul.products li.product .price { font-family: var(--ma-display); font-size: 22px !important; color: var(--ma-gold) !important; padding: 0 8px; }
.woocommerce ul.products li.product .button { margin: auto 8px 0 !important; align-self: flex-start; }
.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { margin-bottom: 28px; font-size: 16px; }
.woocommerce .woocommerce-ordering select { padding: 10px 14px; border-radius: 10px; border: 1px solid var(--ma-line); font-family: var(--ma-text); }
.woocommerce div.product { display: flex; flex-wrap: wrap; gap: 56px; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: auto !important; float: none !important; flex: 1 1 440px; min-width: 0; }
.woocommerce div.product div.images img { border-radius: 20px; }
.woocommerce div.product .product_title { font-size: clamp(40px, 5vw, 64px); }
.woocommerce div.product p.price, .woocommerce div.product span.price { font-family: var(--ma-display); font-size: 38px !important; color: var(--ma-gold) !important; }
.woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related { flex: 1 1 100%; }
.woocommerce div.product form.cart .qty { padding: 12px; border-radius: 12px; border: 1px solid var(--ma-line); width: 80px; }
.woocommerce span.onsale { background: var(--ma-blue); border-radius: 999px; padding: 4px 12px; min-height: 0; line-height: 1.6; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--ma-blue) !important; background: var(--ma-alt); }
.woocommerce table.shop_table { border-radius: 18px; border-color: var(--ma-line); }
.woocommerce-breadcrumb { font-size: 15px; margin-bottom: 24px !important; }

@media (max-width: 720px) {
	body { font-size: 18px; }
	.ma-section { padding: 64px 0; }
	.ma-featured-side, .ma-featured-body, .ma-community { padding: 32px 24px; }
	.ma-slide { min-height: 0; }
}

/* Mobile header: one tidy row + swipeable menu */
@media (max-width: 760px){
  .ma-header-inner{flex-wrap:wrap;row-gap:10px;padding-top:14px;padding-bottom:12px}
  .ma-header-inner .ma-join{order:2;margin-left:auto;padding:8px 14px;font-size:14px}
  .ma-nav{order:3;flex:0 0 100%;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;white-space:nowrap}
  .ma-nav::-webkit-scrollbar{display:none}
  .ma-nav ul{display:flex;flex-wrap:nowrap;gap:18px;margin:0;padding:0 0 4px}
  .ma-nav li{flex:none}
  .ma-cart{order:2}
  img,video,iframe{max-width:100%;height:auto}
  table{display:block;overflow-x:auto}
}