/* Prefctio Design: shared look (tokens, taps, header band, menu drawer, cart drawer, footer, sheets).
   Everything is under body.pf-design; the theme's own rules stay as they are. */

body.pf-design {
	--pf-bg: #faf8f4; --pf-card: #fff; --pf-ink: #1f1d1a; --pf-muted: #6f6a63; --pf-line: #ece6dc; --pf-soft: #f4efe6;
	--pf-gold: #dc9814; --pf-gold-deep: #a86f05; --pf-gold-soft: #fbf2df; --pf-ok: #2f7d4f;
	--pf-r: 22px; --pf-r-sm: 14px;
	--pf-shadow: 0 1px 2px rgba(31,29,26,.05), 0 8px 24px rgba(31,29,26,.06);
	--pf-ease: cubic-bezier(.2,.8,.2,1);
	background: var(--pf-bg);
	-webkit-font-smoothing: antialiased;
}

/* Nothing may make the page wider than the screen (a phone would zoom the whole page out). */
body.pf-design #page { overflow-x: clip; }

/* ---- Taps and focus: no blue flash; a soft press, and a gold ring for keyboards only ---- */
body.pf-design, body.pf-design * { -webkit-tap-highlight-color: transparent; }
body.pf-design :focus { outline: none; }
body.pf-design :focus-visible { outline: 2px solid var(--pf-gold) !important; outline-offset: 2px; }
body.pf-design ::selection { background: rgba(220,152,20,.22); color: inherit; }
body.pf-design a, body.pf-design button, body.pf-design .button, body.pf-design summary {
	transition: transform .12s ease, opacity .12s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease, color .15s ease;
}
body.pf-design button:active, body.pf-design .button:active, body.pf-design a.button:active, body.pf-design summary:active,
body.pf-design .pf-press:active { transform: scale(.97); opacity: .88; }
body.pf-design input:focus, body.pf-design select:focus, body.pf-design textarea:focus { outline: none !important; }
body.pf-design input[type=text]:focus, body.pf-design input[type=email]:focus, body.pf-design input[type=tel]:focus,
body.pf-design input[type=search]:focus, body.pf-design input[type=number]:focus, body.pf-design textarea:focus, body.pf-design select:focus {
	border-color: var(--pf-gold) !important; box-shadow: 0 0 0 4px rgba(220,152,20,.16) !important;
}

/* ---- Buttons: the store's buttons in the new look (casing stays capitals) ---- */
body.pf-design .button, body.pf-design button.button, body.pf-design input[type=submit].button {
	text-transform: uppercase; letter-spacing: .06em; font-weight: 600; border-radius: 14px;
}
body.pf-design .button.alt, body.pf-design .single_add_to_cart_button, body.pf-design .checkout-button, body.pf-design #place_order,
body.pf-design .widget_shopping_cart .buttons .checkout {
	background: linear-gradient(180deg, #2c2925, #141210) !important; color: #fff !important; border: 0 !important;
	box-shadow: 0 12px 26px rgba(20,18,16,.22), inset 0 1px 0 rgba(255,255,255,.12);
}

/* ---- The band above the header ---- */
body.pf-design .header-widget-region { background: var(--pf-ink); color: #f6e7c8; }
body.pf-design .header-widget-region .textwidget, body.pf-design .header-widget-region p { color: #f6e7c8; font-size: 13px; letter-spacing: .02em; margin: 0; }
body.pf-design .header-widget-region strong { color: #fff; font-weight: 500; }
body.pf-design .header-widget-region a { color: #f3c25a; }

/* ---- Header ---- */
@media (max-width: 992px) {
	body.pf-design .header-4-container, body.pf-design header.site-header { background: rgba(255,255,255,.96); }
	body.pf-design header.site-header { border-bottom: 1px solid var(--pf-line); box-shadow: none; }
	body.pf-design .shoptimizer-cart .count, body.pf-design .shoptimizer-cart-icon .mini-count { background: var(--pf-ink); color: #fff; }
}

/* ---- Menu drawer (phone) ---- */
@media (max-width: 992px) {
	body.pf-design .col-full-nav { background: var(--pf-bg); }
	body.pf-design .col-full-nav .site-search { padding: 14px 16px 6px; height: auto; }
	body.pf-design .col-full-nav .site-search input.search-field {
		height: 48px; border-radius: 14px; border: 1px solid #e3dbcf; background-color: #fff; font-size: 15px;
	}
	body.pf-design .col-full-nav .main-navigation { padding: 4px 16px 0; }
	body.pf-design .col-full-nav ul.menu > li > a {
		display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 4px;
		font-size: 16px; font-weight: 500; color: var(--pf-ink); border-bottom: 1px solid var(--pf-line);
	}
	body.pf-design .col-full-nav ul.menu > li:last-child > a { border-bottom: 0; }
	body.pf-design .col-full-nav ul.menu > li > a::after {
		content: ""; width: 18px; height: 18px; opacity: .45; flex: none;
		background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f1d1a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
	}
	body.pf-design .col-full-nav ul.menu > li.current-menu-item > a { color: var(--pf-gold-deep); }
	body.pf-design .col-full-nav .mobile-extra { display: none; }
	body.pf-design .col-full-nav.pf-has-extras .mobile-extra { display: none; }
}
body.pf-design .pf-nd { padding: 8px 16px 4px; display: grid; gap: 10px; }
body.pf-design .pf-nd-phone {
	display: grid; grid-template-columns: 44px 1fr 22px; gap: 12px; align-items: center; width: 100%; text-align: left;
	background: #fff; border: 1.5px solid var(--pf-ink); border-radius: 16px; padding: 12px 14px; color: var(--pf-ink); cursor: pointer;
	font: inherit; text-transform: none; letter-spacing: 0;
}
body.pf-design .pf-nd-phone .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--pf-soft); display: grid; place-items: center; }
body.pf-design .pf-nd-phone b { display: block; font-size: 15.5px; font-weight: 600; line-height: 1.2; }
body.pf-design .pf-nd-phone small { color: var(--pf-muted); font-size: 12.5px; }
body.pf-design .pf-nd-offer {
	display: flex; gap: 10px; align-items: center; border-radius: 14px; padding: 12px 14px; font-size: 13.5px; color: #cfc4b2;
	background: radial-gradient(120% 140% at 100% 0%, #3a2f1c 0%, #1b1916 55%, #141210 100%);
}
body.pf-design .pf-nd-offer b { color: #fff; font-weight: 600; }
body.pf-design .pf-nd-offer .ic { color: #f0bd4f; flex: none; display: grid; }
body.pf-design .pf-nd-quick { padding: 14px 16px 24px; display: grid; gap: 8px; }
body.pf-design .pf-nd-quick a {
	display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 14px; border-radius: 14px; background: #fff;
	border: 1px solid var(--pf-line); color: var(--pf-ink); font-size: 15px; font-weight: 500;
}
body.pf-design .pf-nd-quick svg { color: var(--pf-gold-deep); flex: none; }

/* ---- Cart drawer ---- */
body.pf-design .shoptimizer-mini-cart-wrap { background: var(--pf-bg); }
body.pf-design .shoptimizer-mini-cart-wrap .cart-drawer-heading { font-size: 19px; font-weight: 600; letter-spacing: -.01em; text-transform: none; }
body.pf-design .pf-offerbar { margin: 0 0 14px; border-radius: 16px; padding: 12px 14px; color: #cfc4b2;
	background: radial-gradient(120% 140% at 100% 0%, #3a2f1c 0%, #1b1916 55%, #141210 100%); }
body.pf-design .pf-offerbar-t { display: flex; gap: 10px; align-items: center; }
body.pf-design .pf-offerbar-t .ic { width: 34px; height: 34px; border-radius: 999px; display: grid; place-items: center; flex: none; color: #1f1d1a;
	background: linear-gradient(180deg, #f0bd4f, #cf8b0c); }
body.pf-design .pf-offerbar b { display: block; color: #fff; font-size: 14.5px; font-weight: 600; line-height: 1.25; }
body.pf-design .pf-offerbar small { font-size: 12.5px; }
body.pf-design .pf-offerbar-bar { height: 4px; border-radius: 999px; background: rgba(255,255,255,.14); margin-top: 10px; overflow: hidden; }
body.pf-design .pf-offerbar-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #cf8b0c, #f0bd4f); transition: width .5s var(--pf-ease); }
body.pf-design .widget_shopping_cart_content .woocommerce-mini-cart-item {
	background: #fff; border: 1px solid var(--pf-line); border-radius: 16px; margin-bottom: 10px;
}
body.pf-design .widget_shopping_cart_content .woocommerce-mini-cart-item img { border-radius: 12px; }
body.pf-design .widget_shopping_cart_content .woocommerce-mini-cart__total { border-top: 1px solid var(--pf-line); font-size: 15px; }
body.pf-design .widget_shopping_cart .buttons .button { border-radius: 14px; min-height: 52px; display: flex; align-items: center; justify-content: center; }
body.pf-design .widget_shopping_cart .buttons .button:not(.checkout) { background: #fff; color: var(--pf-ink); border: 1.5px solid var(--pf-ink); }

/* ---- Footer: folds on phones (pf-base.js), columns on computers ---- */
body.pf-design footer.site-footer { background: #141210; color: #cfc4b2; }
body.pf-design footer.site-footer a { color: #e9dfcf; }
body.pf-design footer.site-footer .widget-title { color: #fff; font-size: 15px; font-weight: 600; letter-spacing: .02em; text-transform: none; }
body.pf-design footer.copyright { background: #0e0d0b; color: #9d9384; }
body.pf-design footer.copyright a { color: #e9dfcf; }
@media (max-width: 767px) {
	body.pf-design footer.site-footer .widget.pf-fold { border-bottom: 1px solid rgba(255,255,255,.09); margin: 0; padding: 0; }
	body.pf-design footer.site-footer .pf-fold-btn {
		display: flex; width: 100%; justify-content: space-between; align-items: center; min-height: 54px; padding: 0;
		background: none; border: 0; color: #fff; font: inherit; font-size: 15px; font-weight: 600; text-transform: none; letter-spacing: .02em; cursor: pointer;
	}
	body.pf-design footer.site-footer .pf-fold-btn svg { transition: transform .3s var(--pf-ease); opacity: .7; }
	body.pf-design footer.site-footer .pf-fold.is-open .pf-fold-btn svg { transform: rotate(180deg); }
	body.pf-design footer.site-footer .pf-fold-body { overflow: hidden; }
	body.pf-design footer.site-footer .pf-fold:not(.is-open) .pf-fold-body { display: none; }
	body.pf-design footer.site-footer .pf-fold-body > :last-child { padding-bottom: 16px; }
}

/* ---- Sheets (phone picker, options) and the toast ---- */
body.pf-design .pf-sheet-wrap {
	position: fixed; inset: 0; z-index: 100000; display: flex; align-items: flex-end; justify-content: center;
	background: rgba(20,18,16,.45); visibility: hidden; opacity: 0; transition: opacity .25s ease, visibility .25s;
}
body.pf-design .pf-sheet-wrap.is-open { visibility: visible; opacity: 1; }
body.pf-design .pf-sheet {
	width: 100%; max-width: 560px; background: var(--pf-bg); border-radius: 24px 24px 0 0; padding: 10px 16px calc(18px + env(safe-area-inset-bottom, 0px));
	max-height: 88vh; display: flex; flex-direction: column; transform: translateY(100%); transition: transform .34s var(--pf-ease);
	box-shadow: 0 -10px 40px rgba(20,18,16,.18); color: var(--pf-ink);
}
body.pf-design .pf-sheet-wrap.is-open .pf-sheet { transform: none; }
body.pf-design .pf-sheet .pf-grab { width: 40px; height: 4px; border-radius: 999px; background: #d6cdbf; margin: 0 auto 12px; flex: none; }
body.pf-design .pf-sheet-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex: none; }
body.pf-design .pf-sheet-h h3 { font-size: 19px; font-weight: 600; margin: 0; letter-spacing: -.01em; }
body.pf-design .pf-x {
	width: 40px; height: 40px; border-radius: 999px; background: #fff; border: 1px solid var(--pf-line); display: grid; place-items: center;
	color: var(--pf-ink); padding: 0; cursor: pointer; flex: none;
}
body.pf-design .pf-sheet-body { overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; flex: 1; min-height: 0; }
@media (min-width: 993px) {
	body.pf-design .pf-sheet-wrap { align-items: center; }
	body.pf-design .pf-sheet { border-radius: 24px; transform: translateY(24px) scale(.98); opacity: 0; transition: transform .3s var(--pf-ease), opacity .3s; }
	body.pf-design .pf-sheet-wrap.is-open .pf-sheet { transform: none; opacity: 1; }
}
html.pf-lock, html.pf-lock body { overflow: hidden !important; }
body.pf-design .pf-toast {
	position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); z-index: 100001;
	background: var(--pf-ink); color: #fff; padding: 11px 18px; border-radius: 999px; font-size: 14px; opacity: 0; pointer-events: none;
	transition: opacity .2s, transform .2s; white-space: nowrap; max-width: calc(100% - 32px); overflow: hidden; text-overflow: ellipsis;
}
body.pf-design .pf-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---- Content reveal: a soft rise as blocks come into view (pf-base.js); everything shows without it ---- */
html.pf-js body.pf-design [data-pf-reveal]:not(.pf-in) { opacity: 0; transform: translateY(14px); }
html.pf-js body.pf-design [data-pf-reveal] { transition: opacity .55s ease, transform .55s var(--pf-ease); }

@media (prefers-reduced-motion: reduce) {
	body.pf-design *, body.pf-design *::before, body.pf-design *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
	html.pf-js body.pf-design [data-pf-reveal]:not(.pf-in) { opacity: 1; transform: none; }
}

body.pf-design .pf-gone { display: none !important; }

/* The drawer's extras belong to the phone menu only; on computers the same block is the header's menu bar. */
@media (min-width: 993px) {
	body.pf-design .col-full-nav .pf-nd, body.pf-design .col-full-nav .pf-nd-quick { display: none !important; }
}

/* Cart drawer items: the same width as the offer bar, even padding, the picture inside the card */
body.pf-design .widget_shopping_cart_content ul.woocommerce-mini-cart { padding: 0 !important; margin: 0; }
body.pf-design .widget_shopping_cart_content li.woocommerce-mini-cart-item {
	padding: 14px 14px 14px 46px !important; margin: 0 0 10px !important; box-shadow: 0 1px 2px rgba(31,29,26,.04);
}
body.pf-design .widget_shopping_cart_content li.woocommerce-mini-cart-item .remove {
	left: 12px !important; top: 14px !important; width: 24px !important; height: 24px !important; display: grid !important; place-items: center;
	border-radius: 999px; background: var(--pf-soft);
}
body.pf-design .widget_shopping_cart_content li.woocommerce-mini-cart-item img { margin: 0 0 0 12px !important; border-radius: 12px; width: 64px !important; height: 64px !important; object-fit: cover; }
body.pf-design .widget_shopping_cart_content li.woocommerce-mini-cart-item .variation { font-size: 12.5px; color: var(--pf-muted); margin: 4px 0; }

/* Cart drawer: room above the offer bar and above the first item; the bin centred in its circle */
body.pf-design .widget_shopping_cart_content .pf-offerbar { margin-top: 14px; }
body.pf-design .widget_shopping_cart_content ul.woocommerce-mini-cart { padding-top: 12px !important; }
body.pf-design .widget_shopping_cart_content li.woocommerce-mini-cart-item .remove {
	display: flex !important; align-items: center; justify-content: center; width: 28px !important; height: 28px !important;
	padding: 0 !important; margin: 0 !important; line-height: 0 !important; left: 10px !important; top: 14px !important;
}
body.pf-design .widget_shopping_cart_content li.woocommerce-mini-cart-item .remove::before {
	position: static !important; margin: 0 !important; transform: none !important; inset: auto !important; flex: none; width: 15px !important; height: 15px !important;
}

/* Sticky CHECKOUT (cart page) and PLACE ORDER (checkout) on phones */
body.pf-design .pf-actionbar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990; display: flex; align-items: center; gap: 14px;
	padding: 10px 16px calc(12px + env(safe-area-inset-bottom, 0px)); background: rgba(255,255,255,.97); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	border-top: 1px solid var(--pf-line); box-shadow: 0 -8px 24px rgba(20,18,16,.07); transform: translateY(110%); transition: transform .3s var(--pf-ease);
}
body.pf-design .pf-actionbar.is-on { transform: none; }
body.pf-design .pf-actionbar .t { flex: none; min-width: 0; }
body.pf-design .pf-actionbar small { display: block; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--pf-muted); font-weight: 600; }
body.pf-design .pf-actionbar b { display: block; font-size: 18px; font-weight: 600; line-height: 1.15; color: var(--pf-ink); }
body.pf-design .pf-actionbar-btn {
	flex: 1; height: 52px; border: 0; border-radius: 14px; cursor: pointer; font: inherit; font-size: 14.5px; font-weight: 600; letter-spacing: .08em;
	display: flex; align-items: center; justify-content: center; gap: 10px; color: #fff; background: linear-gradient(180deg, #2c2925, #141210);
	box-shadow: 0 10px 22px -8px rgba(20,18,16,.5);
}
body.pf-design .pf-actionbar-btn .arr { width: 26px; height: 26px; border-radius: 999px; display: grid; place-items: center; color: #1f1d1a; background: linear-gradient(180deg, #e7a72b, #cf8b0c); }
body.pf-design.pf-actionbar-on #page { padding-bottom: 80px; }
@media (min-width: 993px) { body.pf-design .pf-actionbar { display: none; } }
