/* =========================================================
   BYMAHJOUBI — theme styles
   Palette: negro y beige (elegido por la marca)
   Type: Bodoni Moda (titulares) + Manrope (texto e interfaz)
   ========================================================= */

:root {
	--ink: #17150F;
	--ink-soft: #3A3630;
	--linen: #EDE5D9;
	--linen-2: #F6F2EC;
	--stone: #7D7266;
	--line: #DDD3C6;
	--white: #FFFFFF;
	--wine: #540C17;
	--serif: "Bodoni Moda", "Didot", Georgia, serif;
	--sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
	--wrap: 1320px;
	--gutter: clamp(20px, 4vw, 48px);
	--header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.bmj-skip {
	position: absolute; left: -9999px; top: 8px; z-index: 1000;
	background: var(--ink); color: var(--white); padding: 10px 16px;
}
.bmj-skip:focus { left: 8px; }
.bmj-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
[hidden] { display: none !important; }

/* ---------- Type ---------- */
.bmj-h2 {
	font-family: var(--serif);
	font-weight: 400;
	font-size: clamp(30px, 3.4vw, 46px);
	line-height: 1.1;
	letter-spacing: -0.01em;
	margin: 0;
}
.bmj-h3 {
	font-family: var(--serif);
	font-weight: 400;
	font-size: 24px;
	line-height: 1.2;
	margin: 0 0 16px;
}

/* ---------- Buttons & links ---------- */
.bmj-btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 50px; padding: 0 28px;
	background: var(--ink); color: var(--white);
	border: 1px solid var(--ink); border-radius: 2px;
	font-family: var(--sans); font-size: 15px; font-weight: 500;
	text-decoration: none; cursor: pointer;
	transition: background-color .2s, border-color .2s, color .2s;
}
.bmj-btn:hover { background: var(--wine); border-color: var(--wine); }
.bmj-btn--ghost { background: transparent; color: var(--ink); }
.bmj-btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.bmj-btn--light { background: var(--white); color: var(--ink); border-color: var(--white); }
.bmj-btn--light:hover { background: var(--linen); border-color: var(--linen); color: var(--ink); }
.bmj-link {
	font-size: 15px; font-weight: 500; color: var(--ink);
	text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px;
}
.bmj-link:hover { color: var(--wine); }

/* ---------- Announcement ---------- */
.bmj-announce {
	background: var(--wine); color: #F3E6E2;
	text-align: center; font-size: 13px; padding: 9px var(--gutter);
}

/* ---------- Header ---------- */
.bmj-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 255, 255, .96);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
}
.admin-bar .bmj-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .bmj-header { top: 0; } }
.bmj-header__inner {
	max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter);
	height: var(--header-h);
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
}
.bmj-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.bmj-menu a { font-size: 15px; text-decoration: none; color: var(--ink); padding: 6px 0; border-bottom: 1px solid transparent; }
.bmj-menu a:hover, .bmj-menu .current-menu-item a { border-color: var(--ink); }
.bmj-logo { text-align: center; }
.bmj-logo a {
	font-family: var(--serif); font-size: 24px; letter-spacing: .2em;
	text-decoration: none; color: var(--ink); padding-left: .2em;
}
.bmj-logo img { max-height: 44px; width: auto; margin: 0 auto; }
.bmj-actions { display: flex; justify-content: flex-end; align-items: center; gap: 6px; }
.bmj-icon {
	position: relative; width: 42px; height: 42px;
	display: inline-flex; align-items: center; justify-content: center;
	background: none; border: 0; cursor: pointer; color: var(--ink); text-decoration: none;
}
.bmj-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.bmj-cart-count {
	position: absolute; top: 4px; right: 2px;
	min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
	background: var(--ink); color: var(--white);
	font-size: 11px; font-weight: 600; line-height: 18px; text-align: center;
}
.bmj-burger { display: none; width: 42px; height: 42px; background: none; border: 0; cursor: pointer; padding: 10px; }
.bmj-burger span { display: block; height: 1.5px; background: var(--ink); margin: 6px 0; }

.bmj-search { border-top: 1px solid var(--line); background: var(--white); }
.bmj-search__form { max-width: 720px; margin: 0 auto; padding: 16px var(--gutter); display: flex; gap: 10px; }
.bmj-search__form input[type="search"] {
	flex: 1; min-height: 48px; padding: 0 16px;
	border: 1px solid var(--line); border-radius: 2px; font: inherit; background: var(--linen-2);
}
.bmj-search__form button {
	min-height: 48px; padding: 0 22px; border: 0; border-radius: 2px;
	background: var(--ink); color: var(--white); cursor: pointer; font-weight: 500;
}

/* ---------- Drawer (mobile menu) ---------- */
.bmj-drawer { position: fixed; inset: 0; z-index: 200; background: rgba(23, 21, 15, .45); }
.bmj-drawer__panel {
	position: absolute; top: 0; left: 0; bottom: 0; width: min(86vw, 380px);
	background: var(--white); padding: 24px var(--gutter); display: flex; flex-direction: column;
}
.bmj-drawer__close { align-self: flex-end; width: 42px; height: 42px; background: none; border: 0; cursor: pointer; }
.bmj-drawer__close svg { width: 22px; height: 22px; stroke: var(--ink); stroke-width: 1.4; }
.bmj-drawer__menu { list-style: none; margin: 24px 0; padding: 0; }
.bmj-drawer__menu a {
	display: block; padding: 14px 0; border-bottom: 1px solid var(--line);
	font-family: var(--serif); font-size: 26px; text-decoration: none; color: var(--ink);
}
.bmj-drawer__foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.bmj-drawer__foot a { color: var(--stone); text-decoration: none; }

/* ---------- Hero ---------- */
.bmj-hero {
	display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	min-height: min(calc(100vh - var(--header-h) - 36px), 780px);
	background: var(--linen);
}
.bmj-hero__text {
	display: flex; flex-direction: column; justify-content: center;
	padding: clamp(40px, 6vw, 88px) var(--gutter);
	max-width: 620px; margin-left: auto; width: 100%;
}
.bmj-hero__note { margin: 0 0 22px; font-size: 14px; color: var(--stone); }
.bmj-hero__title {
	font-family: var(--serif); font-weight: 400;
	font-size: clamp(38px, 4.6vw, 66px); line-height: 1.04; letter-spacing: -0.015em;
	margin: 0 0 22px; max-width: 14ch;
	text-wrap: balance;
}
.bmj-hero__sub { margin: 0 0 34px; font-size: 17px; line-height: 1.65; color: var(--ink-soft); max-width: 44ch; }
.bmj-hero__ctas { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-bottom: 44px; }
.bmj-hero__facts { display: flex; gap: 36px; margin: 0; padding-top: 22px; border-top: 1px solid rgba(23, 21, 15, .15); }
.bmj-hero__facts dt { font-size: 13px; color: var(--stone); }
.bmj-hero__facts dd { margin: 2px 0 0; font-family: var(--serif); font-size: 24px; }

.bmj-hero__visual { position: relative; min-height: 420px; }
.bmj-hero__visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bmj-hero__caption {
	position: absolute; left: 0; right: 0; bottom: 0; margin: 0;
	padding: 14px 20px; font-size: 13px; color: rgba(255, 255, 255, .85);
	background: linear-gradient(to top, rgba(0, 0, 0, .35), transparent);
	pointer-events: none;
}

/* The signature element: the real colour range, rendered as fabric. */
.bmj-drapes { position: absolute; inset: 0; display: flex; }
.bmj-drape {
	position: relative; flex: 1 1 0; min-width: 0; text-decoration: none;
	background:
		linear-gradient(90deg,
			rgba(0, 0, 0, .28) 0%,
			rgba(0, 0, 0, 0) 22%,
			rgba(255, 255, 255, .10) 46%,
			rgba(0, 0, 0, 0) 64%,
			rgba(0, 0, 0, .22) 100%),
		linear-gradient(180deg, var(--l) 0%, var(--c) 58%);
	transition: flex-grow .45s ease;
}
.bmj-drape::after {
	content: ""; position: absolute; inset: 0;
	background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 7px);
}
.bmj-drape__name {
	position: absolute; left: 50%; bottom: 58px; transform: translateX(-50%);
	color: rgba(255, 255, 255, .92); font-size: 14px; font-weight: 500; white-space: nowrap;
}
.bmj-drape[style*="#C9B39A"] .bmj-drape__name { color: var(--ink); }
.bmj-drape:hover, .bmj-drape:focus-visible { flex-grow: 1.9; }
.bmj-drape:focus-visible { outline-offset: -4px; outline-color: var(--white); }

/* ---------- Promise strip ---------- */
.bmj-promise { border-bottom: 1px solid var(--line); }
.bmj-promise__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.bmj-promise__grid p { margin: 0; padding: 26px 24px 26px 0; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.bmj-promise__grid p + p { padding-left: 24px; border-left: 1px solid var(--line); }
.bmj-promise__grid strong { font-weight: 600; font-size: 15px; }
.bmj-promise__grid span { color: var(--stone); }

/* ---------- Sections ---------- */
.bmj-section { padding: clamp(64px, 8vw, 112px) 0; }
.bmj-section--tint { background: var(--linen-2); }
.bmj-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.bmj-head__sub { margin: 0; color: var(--stone); font-size: 16px; }
.bmj-empty { padding: 40px; background: var(--white); border: 1px dashed var(--line); color: var(--stone); text-align: center; margin: 0; }

/* ---------- Collections ---------- */
.bmj-collections { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bmj-collection { display: block; text-decoration: none; color: var(--ink); }
.bmj-collection__media {
	display: block; aspect-ratio: 4 / 5; overflow: hidden;
	background:
		linear-gradient(90deg, rgba(0, 0, 0, .22), rgba(0, 0, 0, 0) 30%, rgba(255, 255, 255, .08) 55%, rgba(0, 0, 0, .18)),
		linear-gradient(180deg, var(--l), var(--c));
}
.bmj-collection__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.bmj-collection:hover .bmj-collection__media img { transform: scale(1.03); }
.bmj-collection__text { display: flex; flex-direction: column; gap: 4px; padding-top: 18px; }
.bmj-collection__name { font-family: var(--serif); font-size: 26px; line-height: 1.15; }
.bmj-collection__desc { color: var(--ink-soft); font-size: 15px; max-width: 40ch; }
.bmj-collection__count { color: var(--stone); font-size: 14px; }

/* ---------- Product cards (front page) ---------- */
.bmj-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 20px; }
.bmj-card { display: flex; flex-direction: column; }
.bmj-card__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--linen); }
.bmj-card__media img { width: 100%; height: 100%; object-fit: cover; }
.bmj-card__placeholder {
	position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(0, 0, 0, .06), rgba(0, 0, 0, 0) 30%, rgba(255, 255, 255, .35) 52%, rgba(0, 0, 0, .05));
}
.bmj-badge {
	position: absolute; top: 12px; left: 12px;
	background: var(--ink); color: var(--white); font-size: 12px; font-weight: 500;
	padding: 4px 10px; border-radius: 2px;
}
.bmj-badge--light { background: var(--white); color: var(--ink); }
.bmj-card__body { display: flex; flex-direction: column; flex: 1; padding-top: 14px; }
.bmj-card__cat { margin: 0 0 2px; font-size: 13px; color: var(--stone); }
.bmj-card__title { margin: 0 0 6px; font-family: var(--serif); font-weight: 400; font-size: 19px; line-height: 1.25; }
.bmj-card__title a { text-decoration: none; }
.bmj-card__price { margin: 0 0 14px; font-size: 15px; font-weight: 500; }
.bmj-card__price del { color: var(--stone); font-weight: 400; margin-right: 6px; }
.bmj-card__price ins { text-decoration: none; }
.bmj-card__btn {
	margin-top: auto; display: flex; align-items: center; justify-content: center; min-height: 44px;
	border: 1px solid var(--ink); border-radius: 2px; color: var(--ink);
	font-size: 14px; font-weight: 500; text-decoration: none;
	transition: background-color .2s, color .2s;
}
.bmj-card__btn:hover { background: var(--ink); color: var(--white); }
.bmj-card__btn.loading { opacity: .6; pointer-events: none; }
.bmj-card__btn.added { background: var(--ink); color: var(--white); }
.bmj-card__btn.is-disabled { border-color: var(--line); color: var(--stone); pointer-events: none; }
.bmj-card .added_to_cart { display: none; }

/* ---------- About ---------- */
.bmj-about { background: var(--wine); color: var(--linen); padding: clamp(64px, 8vw, 112px) 0; }
.bmj-about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.bmj-about__grid.no-photo { grid-template-columns: minmax(0, 720px); }
.bmj-about .bmj-h2 { color: var(--white); margin-bottom: 22px; }
.bmj-about__text p { font-size: 18px; line-height: 1.7; margin: 0 0 32px; max-width: 52ch; color: rgba(237, 229, 217, .85); }
.bmj-about__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* ---------- Materials ---------- */
.bmj-tabs { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.bmj-tab {
	background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px;
	padding: 12px 16px; font-size: 15px; color: var(--stone); cursor: pointer;
}
.bmj-tab[aria-selected="true"] { color: var(--ink); border-color: var(--ink); font-weight: 500; }
.bmj-tab:hover { color: var(--ink); }
.bmj-panel { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: clamp(24px, 5vw, 72px); }
.bmj-panel__size { margin: 0; font-family: var(--serif); font-size: clamp(40px, 5vw, 64px); line-height: 1; }
.bmj-panel__comp { margin: 10px 0 20px; color: var(--stone); }
.bmj-panel__main p:not(.bmj-panel__size):not(.bmj-panel__comp) { max-width: 56ch; }
.bmj-panel__props { margin: 0; display: grid; grid-template-columns: 1fr 1fr; align-content: start; border-top: 1px solid var(--line); }
.bmj-panel__props div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.bmj-panel__props dt { font-size: 13px; color: var(--stone); }
.bmj-panel__props dd { margin: 0; font-weight: 500; }

.bmj-care { margin-top: clamp(48px, 6vw, 80px); padding: clamp(24px, 4vw, 40px); background: var(--linen-2); }
.bmj-care-list { display: grid; grid-template-columns: max-content 1fr; gap: 10px 32px; margin: 0; }
.bmj-care-list dt { font-weight: 600; }
.bmj-care-list dd { margin: 0; color: var(--ink-soft); }

/* ---------- Reviews ---------- */
.bmj-reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bmj-review { margin: 0; padding: 28px; background: var(--white); }
.bmj-review__stars { margin: 0 0 12px; letter-spacing: 2px; }
.bmj-review blockquote { margin: 0 0 16px; font-family: var(--serif); font-size: 19px; line-height: 1.55; }
.bmj-review figcaption { font-size: 14px; color: var(--stone); }

/* ---------- Instagram ---------- */
.bmj-insta .bmj-head { margin-bottom: 28px; }
.bmj-insta__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.bmj-insta__grid img { aspect-ratio: 1; width: 100%; object-fit: cover; }

/* ---------- Newsletter ---------- */
.bmj-news { background: var(--linen); }
.bmj-news__inner { max-width: 640px; text-align: center; }
.bmj-news__inner p { color: var(--ink-soft); margin: 14px 0 28px; }

/* ---------- Footer ---------- */
.bmj-footer { background: var(--ink); color: rgba(237, 229, 217, .75); padding: 72px 0 0; font-size: 15px; }
.bmj-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.bmj-footer__logo { font-family: var(--serif); font-size: 26px; letter-spacing: .2em; color: var(--white); margin: 0 0 14px; }
.bmj-footer__brand p:last-child { max-width: 34ch; margin: 0; }
.bmj-footer__title { font-family: var(--sans); font-size: 15px; font-weight: 600; color: var(--white); margin: 0 0 16px; }
.bmj-footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.bmj-footer a { color: rgba(237, 229, 217, .75); text-decoration: none; }
.bmj-footer a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.bmj-footer__bottom {
	display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
	border-top: 1px solid rgba(237, 229, 217, .15); padding-top: 22px; padding-bottom: 28px; font-size: 13px;
}
.bmj-footer__bottom p { margin: 0; }

/* ---------- Floating WhatsApp & toast ---------- */
.bmj-wa-float {
	position: fixed; right: 20px; bottom: 20px; z-index: 150;
	width: 54px; height: 54px; border-radius: 50%;
	background: #25D366; display: flex; align-items: center; justify-content: center;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
}
.bmj-wa-float svg { width: 28px; height: 28px; fill: var(--white); }
.bmj-fill { fill: currentColor; stroke: none; }
.bmj-toast {
	position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 160;
	background: var(--ink); color: var(--white); padding: 14px 20px; border-radius: 2px; font-size: 15px;
}
.bmj-toast a { color: var(--white); margin-left: 10px; text-underline-offset: 4px; }

/* =========================================================
   WooCommerce
   ========================================================= */
.bmj-shop, .bmj-page { padding: clamp(32px, 4vw, 56px) 0 clamp(64px, 8vw, 112px); }
.bmj-page__title, .woocommerce-products-header__title, .woocommerce .product_title {
	font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; line-height: 1.1;
}
.bmj-page__title, .woocommerce-products-header__title { font-size: clamp(34px, 4vw, 52px); margin: 0 0 28px; }
.term-description { color: var(--ink-soft); max-width: 60ch; margin-bottom: 24px; }
.woocommerce .woocommerce-breadcrumb { font-size: 13px; color: var(--stone); margin-bottom: 20px; }
.woocommerce .woocommerce-breadcrumb a { color: var(--stone); }
.woocommerce .woocommerce-result-count { color: var(--stone); font-size: 14px; }
.woocommerce .woocommerce-ordering select {
	min-height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 2px; background: var(--white); font: inherit; font-size: 14px;
}

/* Product grid */
.woocommerce ul.products {
	display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 36px 20px; margin: 0 0 40px !important; 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;
	display: flex; flex-direction: column; text-align: left;
}
.woocommerce ul.products li.product a img {
	aspect-ratio: 4 / 5; object-fit: cover; background: var(--linen); margin: 0 0 14px !important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--serif); font-weight: 400; font-size: 19px !important; line-height: 1.25; padding: 0 0 6px !important;
}
.woocommerce ul.products li.product .price { color: var(--ink) !important; font-size: 15px !important; font-weight: 500; margin-bottom: 14px !important; }
.woocommerce ul.products li.product .price del { color: var(--stone); font-weight: 400; }
.woocommerce ul.products li.product .price ins { text-decoration: none; }
.woocommerce ul.products li.product .button {
	margin-top: auto !important; width: 100%; text-align: center;
	background: transparent !important; color: var(--ink) !important; border: 1px solid var(--ink) !important;
}
.woocommerce ul.products li.product .button:hover { background: var(--ink) !important; color: var(--white) !important; }
.woocommerce ul.products li.product .added_to_cart { font-size: 14px; padding-top: 8px; }
.woocommerce span.onsale {
	min-width: 0; min-height: 0; line-height: 1; padding: 6px 10px; border-radius: 2px;
	background: var(--ink); color: var(--white); font-size: 12px; font-weight: 500; top: 12px; left: 12px; right: auto; margin: 0;
}

/* 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,
.wc-block-components-button:not(.is-link), .wp-element-button {
	background: var(--ink) !important; color: var(--white) !important;
	border: 1px solid var(--ink); border-radius: 2px !important;
	font-family: var(--sans) !important; font-weight: 500 !important; font-size: 15px;
	padding: 14px 24px; line-height: 1.2;
	transition: background-color .2s;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover,
.wc-block-components-button:not(.is-link):hover, .wp-element-button:hover { background: var(--wine) !important; border-color: var(--wine); }
.woocommerce button.button:disabled, .woocommerce button.button.disabled { opacity: .5; }

/* Single product */
.woocommerce div.product div.images img { background: var(--linen); }
.woocommerce div.product .product_title { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 12px; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--ink); font-size: 22px; font-weight: 500; }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--ink-soft); font-size: 16px; line-height: 1.7; }
.woocommerce div.product form.cart { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 8px; }
.woocommerce div.product form.cart .quantity .qty {
	width: 72px; min-height: 52px; border: 1px solid var(--line); border-radius: 2px; font: inherit;
}
.woocommerce div.product form.cart .single_add_to_cart_button { flex: 1; min-height: 52px; font-size: 16px; }
.woocommerce div.product .product_meta { font-size: 14px; color: var(--stone); padding-top: 20px; border-top: 1px solid var(--line); }
.woocommerce div.product .product_meta a { color: var(--ink); }
.bmj-pdp-info { list-style: none; margin: 18px 0 24px; padding: 0; border-top: 1px solid var(--line); }
.bmj-pdp-info li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink-soft); }
.bmj-pdp-info strong { color: var(--ink); font-weight: 600; }
.bmj-pdp-info a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 500; }
.bmj-pdp-info svg { width: 18px; height: 18px; color: #1EA952; }

.woocommerce div.product .woocommerce-tabs { clear: both; padding-top: 48px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 28px; border-bottom: 1px solid var(--line); }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: none; border: 0; border-radius: 0; margin: 0 6px 0 0; padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 12px 16px; color: var(--stone); font-weight: 400; border-bottom: 2px solid transparent; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--ink); border-color: var(--ink); font-weight: 500; }
.woocommerce div.product .woocommerce-tabs .panel { max-width: 760px; }
.woocommerce div.product .woocommerce-tabs .panel h2 { font-family: var(--serif); font-weight: 400; font-size: 26px; }
.woocommerce table.shop_attributes { border-color: var(--line); }
.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td { border-color: var(--line); padding: 12px; font-style: normal; }
.woocommerce .star-rating span::before, .woocommerce p.stars a { color: var(--ink); }
.related.products > h2, .upsells.products > h2 { font-family: var(--serif); font-weight: 400; font-size: 32px; margin: 64px 0 28px; }

/* Notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error,
.wc-block-components-notice-banner { border-radius: 2px; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--ink); background: var(--linen-2); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--ink); }

/* Forms (account, classic checkout) */
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select {
	min-height: 48px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 2px; font: inherit; background: var(--white);
}

/* Pagination */
.woocommerce nav.woocommerce-pagination ul { border: 0; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; margin: 0 4px; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span {
	min-width: 40px; padding: 10px; border: 1px solid var(--line); border-radius: 2px;
}
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* Page content */
.bmj-content { max-width: 1080px; }
.bmj-content > * + * { margin-top: 1em; }
.woocommerce-cart .bmj-content, .woocommerce-checkout .bmj-content, .woocommerce-account .bmj-content { max-width: none; }
.bmj-posts { display: grid; gap: 32px; }
.bmj-post { padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.bmj-post a { text-decoration: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
	.bmj-grid, .woocommerce ul.products { grid-template-columns: repeat(3, 1fr); }
	.bmj-promise__grid { grid-template-columns: repeat(2, 1fr); }
	.bmj-promise__grid p:nth-child(3) { padding-left: 0; border-left: 0; }
	.bmj-promise__grid p:nth-child(n+3) { border-top: 1px solid var(--line); }
	.bmj-footer__grid { grid-template-columns: 1fr 1fr; }
	.bmj-insta__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
	.bmj-nav { display: none; }
	.bmj-burger { display: block; }
	.bmj-header__inner { grid-template-columns: 1fr auto 1fr; }
	.bmj-hero { grid-template-columns: 1fr; min-height: 0; }
	.bmj-hero__text { max-width: none; margin: 0; }
	.bmj-hero__visual { min-height: 0; height: 340px; order: -1; }
	.bmj-hero.has-photo .bmj-hero__visual { height: 62vh; }
	.bmj-collections { grid-template-columns: 1fr; gap: 40px; }
	.bmj-collection__media { aspect-ratio: 3 / 2; }
	.bmj-about__grid, .bmj-panel { grid-template-columns: 1fr; }
	.bmj-reviews { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	:root { --header-h: 62px; }
	.bmj-hide-sm { display: none; }
	.bmj-logo a { font-size: 19px; }
	.bmj-grid, .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
	.bmj-card__title, .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 16px !important; }
	.bmj-card__btn { font-size: 13px; }
	.bmj-hero__facts { gap: 24px; }
	.bmj-hero__facts dd { font-size: 20px; }
	.bmj-drape__name { bottom: 18px; font-size: 12px; writing-mode: vertical-rl; transform: translateX(-50%) rotate(180deg); }
	.bmj-hero__caption { display: none; }
	.bmj-promise__grid { grid-template-columns: 1fr; }
	.bmj-promise__grid p, .bmj-promise__grid p + p { padding: 16px 0; border-left: 0; }
	.bmj-promise__grid p + p { border-top: 1px solid var(--line); }
	.bmj-care-list { grid-template-columns: 1fr; gap: 2px; }
	.bmj-care-list dd { margin-bottom: 12px; }
	.bmj-footer__grid { grid-template-columns: 1fr; gap: 32px; }
	.bmj-panel__props { grid-template-columns: 1fr 1fr; }
	.woocommerce div.product form.cart .single_add_to_cart_button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Compra por color (when the hero shows a photo) ---------- */
.bmj-colors { padding-bottom: 0; }
.bmj-colors__band { position: relative; height: clamp(300px, 34vw, 460px); }
@media (max-width: 640px) { .bmj-colors__band { height: 300px; } }

/* ---------- Brand wordmark ---------- */
.bmj-logo a { display: inline-block; padding: 0; line-height: 0; }
.bmj-logo .bmj-wordmark { height: 26px; width: auto; }
.bmj-footer__logo { line-height: 0; }
.bmj-footer__logo .bmj-wordmark { height: 30px; width: auto; }
@media (max-width: 640px) { .bmj-logo .bmj-wordmark { height: 19px; } }

/* ---------- Second photo on hover ---------- */
.bmj-card__media .bmj-card__alt { position: absolute; inset: 0; opacity: 0; transition: opacity .35s ease; }
@media (hover: hover) { .bmj-card__media:hover .bmj-card__alt { opacity: 1; } }

/* ---------- Editorial block ---------- */
.bmj-editorial { display: grid; grid-template-columns: 1fr 1fr; background: var(--linen); }
.bmj-editorial__media { min-height: 520px; position: relative; }
.bmj-editorial__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bmj-editorial__text { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(40px, 6vw, 96px) var(--gutter); max-width: 620px; }
.bmj-editorial__text p { font-size: 18px; line-height: 1.7; color: var(--ink-soft); margin: 20px 0 32px; max-width: 46ch; }
@media (max-width: 900px) {
	.bmj-editorial { grid-template-columns: 1fr; }
	.bmj-editorial__media { min-height: 420px; }
}
