/* Gat Plus, until 2026-11-10 "HaMakori Plus" (oj-plus.php): sliding top bar, join window, cart and checkout rows, My Account cards. */

.oj-only-member { display: none !important; }
.oj-plus-member .oj-only-member { display: inline !important; }
.oj-plus-member .oj-only-guest { display: none !important; }

/* ---------- top bar: the same green bar, one message at a time, sliding up ---------- */
.oj-topbar.oj-ticker { position: relative; height: 38px; padding: 0 44px; overflow: hidden; }
.oj-ticker__track { position: relative; height: 100%; }
.oj-ticker__slide {
	position: absolute; inset: 0; margin: 0; display: flex; align-items: center; justify-content: center;
	transform: translateY(100%); opacity: 0; visibility: hidden;
	transition: transform .5s ease, opacity .5s ease, visibility 0s linear .5s;
}
.oj-ticker__slide.is-on { transform: none; opacity: 1; visibility: visible; transition: transform .5s ease, opacity .5s ease; }
.oj-ticker__slide.is-out { transform: translateY(-100%); }
.oj-ticker__text { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oj-ticker__new {
	display: inline-block; background: var(--oj-red); color: #fff; border-radius: 999px; padding: 0 8px; margin-inline-end: 4px;
	font-size: 12px; line-height: 20px; vertical-align: 1px;
}
.oj-ticker__cta {
	background: none !important; border: 0; padding: 0 2px; margin: 0; color: #fff !important; font: inherit; font-weight: 800;
	text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 0; line-height: inherit;
}
.oj-ticker__short { display: none; }
/* Text-like buttons: none of the site's button shadow or rounding. */
.oj-ticker__cta, .oj-ticker__pause, .oj-plus-modal__x, .oj-plus-modal__later, .oj-plus-link { box-shadow: none !important; text-shadow: none; }
.oj-ticker__pause {
	position: absolute; inset-inline-start: 8px; top: 50%; transform: translateY(-50%);
	width: 28px; height: 28px; padding: 0; border: 1px solid rgba(255, 255, 255, .45); border-radius: 50%;
	background: transparent !important; color: #fff; cursor: pointer; display: grid; place-items: center; min-height: 0;
}
.oj-ticker__pause span { width: 8px; height: 10px; border-inline: 3px solid currentColor; box-sizing: border-box; }
.oj-ticker__pause[aria-pressed="true"] span { width: 0; height: 0; border-inline: 0; border-block: 6px solid transparent; border-inline-end: 9px solid currentColor; }
.oj-ticker__pause:hover { background: rgba(255, 255, 255, .15) !important; }
@media (max-width: 600px) {
	.oj-topbar.oj-ticker { height: 36px; padding: 0 38px 0 8px; font-size: 14px; }
	.oj-ticker__more, .oj-ticker__long, .oj-ticker__new { display: none; }
	.oj-ticker__short { display: inline; }
	.oj-ticker__pause { width: 26px; height: 26px; inset-inline-start: 6px; }
}
@media (prefers-reduced-motion: reduce) {
	.oj-ticker__slide, .oj-ticker__slide.is-on { transition: none; }
	.oj-plus-modal__box { transition: none !important; }
}

/* ---------- join window: centred on a laptop, a sheet from the bottom on a phone ---------- */
.oj-plus-open, .oj-plus-open body { overflow: hidden; }
.oj-plus-modal[hidden] { display: none; }
.oj-plus-modal { position: fixed; inset: 0; z-index: 100002; display: grid; place-items: center; padding: 16px; }
.oj-plus-modal__backdrop { position: absolute; inset: 0; background: rgba(28, 35, 33, .55); }
.oj-plus-modal__box {
	position: relative; width: min(440px, 100%); max-height: calc(100vh - 32px); overflow: auto;
	background: var(--oj-white); border-radius: 22px; box-shadow: var(--oj-shadow-lg); text-align: center;
	padding: 0 0 18px; outline: none !important; /* the box takes focus only to start the keyboard inside it */
	transform: translateY(16px) scale(.98); opacity: 0; transition: transform .25s ease, opacity .25s ease;
}
.oj-plus-modal.is-in .oj-plus-modal__box { transform: none; opacity: 1; }
.oj-plus-modal__x {
	position: absolute; top: 10px; inset-inline-end: 10px; z-index: 1; width: 40px; height: 40px; padding: 0; min-height: 0;
	border: 0; border-radius: 50%; background: rgba(255, 255, 255, .2) !important; color: #fff !important; font-size: 26px; line-height: 1; cursor: pointer;
}
.oj-plus-modal__x:hover { background: rgba(255, 255, 255, .32) !important; }
.oj-plus-modal__head {
	background: radial-gradient(120% 90% at 50% 0%, #1b7a43 0%, var(--oj-green-dark) 70%); color: #fff;
	padding: 30px 24px 22px; border-radius: 22px 22px 0 0;
}
.oj-plus-modal__icon { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.oj-plus-modal__icon svg { width: 30px; height: 30px; }
.oj-plus-badge {
	display: block; width: max-content; margin: 10px auto 2px; background: var(--oj-red); color: #fff;
	border-radius: 999px; padding: 1px 12px; font-size: 13px; font-weight: 800;
}
.oj-plus-modal__head h2 { color: #fff; font-size: 30px; margin: 4px 0 4px; }
.oj-plus-modal__head p { margin: 0; font-size: var(--fs-md); line-height: 1.45; color: #eaf6ee; }
.oj-plus-modal__head strong { color: #fff; font-weight: 800; white-space: nowrap; }
.oj-plus-modal__list { list-style: none; margin: 18px 24px 16px; padding: 0; text-align: start; display: grid; gap: 9px; }
.oj-plus-modal__list li { position: relative; padding-inline-start: 30px; font-size: 16px; line-height: 1.45; }
.oj-plus-modal__list li::before {
	content: ""; position: absolute; inset-inline-start: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
	background: var(--oj-green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.oj-plus-modal__cta.oj-btn {
	display: block; margin: 0 24px; padding: 14px 18px; border-radius: 999px; background: var(--oj-red) !important; color: #fff !important;
	font-size: 18px; font-weight: 800; text-decoration: none; box-shadow: 0 8px 20px rgba(200, 16, 46, .28);
}
.oj-plus-modal__cta.oj-btn:hover, .oj-plus-modal__cta.oj-btn:focus { background: var(--oj-red-dark) !important; }
.oj-plus-modal__later {
	display: inline-block; margin: 8px auto 0; padding: 8px 14px; min-height: 0; border: 0; background: none !important;
	color: var(--oj-muted) !important; font: inherit; font-size: 15px; text-decoration: underline; cursor: pointer; border-radius: 8px;
}
.oj-plus-fine { margin: 10px 24px 0; font-size: 12.5px; line-height: 1.5; color: var(--oj-muted); }
.oj-plus-fine a { color: inherit; text-decoration: underline; }
@media (max-width: 600px) {
	.oj-plus-modal { place-items: end center; padding: 0; }
	.oj-plus-modal__box { width: 100%; max-height: 92vh; border-radius: 22px 22px 0 0; transform: translateY(40px); padding-bottom: max(16px, env(safe-area-inset-bottom)); }
	.oj-plus-modal__head { padding: 22px 20px 16px; }
	.oj-plus-modal__icon { width: 44px; height: 44px; }
	.oj-plus-modal__icon svg { width: 24px; height: 24px; }
	.oj-plus-modal__head h2 { font-size: 26px; }
	.oj-plus-modal__list { margin: 14px 20px 14px; gap: 7px; }
	.oj-plus-modal__list li { font-size: 15px; }
	.oj-plus-modal__cta.oj-btn { margin: 0 20px; }
	.oj-plus-fine { margin: 8px 20px 0; }
}

/* ---------- cart and checkout ---------- */
.oj-plus-zero { color: var(--oj-green); font-weight: 800; font-size: 1.12em; }
.oj-plus-zero .woocommerce-Price-amount { color: inherit; font-weight: inherit; }
.oj-plus-was { color: var(--oj-muted); font-size: .9em; }
.oj-plus-tag {
	display: inline-block; margin-inline-start: 4px; background: var(--oj-green-soft); color: var(--oj-green-dark);
	border-radius: 999px; padding: 0 9px; font-size: 12.5px; font-weight: 800; line-height: 22px; white-space: nowrap;
}
tr.oj-plus-row td { padding-top: 8px !important; padding-bottom: 8px !important; border-top: 0 !important; }
/* On phones WooCommerce puts each column's title before a cell ("Shipping:"); these rows have none. */
tr.oj-plus-row td::before { content: none !important; display: none !important; }
.oj-plus-progress { display: grid; gap: 6px; font-size: 15px; font-weight: 600; color: var(--oj-green-dark); }
.oj-plus-progress__track { display: block; height: 8px; border-radius: 999px; background: var(--oj-green-soft); overflow: hidden; }
.oj-plus-progress__track span { display: block; height: 100%; border-radius: inherit; background: var(--oj-green); }
.oj-plus-upsell { margin: 0; font-size: 15px; color: var(--oj-green-dark); background: var(--oj-green-soft); border-radius: var(--oj-radius-sm); padding: 8px 12px; }
.oj-plus-link {
	background: none !important; border: 0; padding: 0; min-height: 0; color: var(--oj-green) !important; font: inherit; font-weight: 800;
	text-decoration: underline; cursor: pointer;
}
.oj-plus-fine--checkout { margin: 0 0 14px; font-size: 13px; }
.oj-plus-fine--checkout strong { color: var(--oj-ink); }

/* ---------- My Account ---------- */
.oj-account-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin: 0 0 22px; }
.oj-account-card { border: 1px solid var(--oj-line); border-radius: var(--oj-radius); padding: 16px 18px; background: var(--oj-white); box-shadow: var(--oj-shadow); }
.oj-account-card h2 { font-size: var(--fs-md); margin: 0 0 6px; }
.oj-account-card p { margin: 0 0 10px; font-size: 15px; }
.oj-account-card ul { margin: 0 0 12px; padding-inline-start: 18px; font-size: 15px; }
.oj-account-card__meta { color: var(--oj-muted); }
.oj-account-card--plus { background: var(--oj-green-soft); border-color: #cfe7d6; }
.oj-account-card .oj-btn { display: inline-block; text-decoration: none; }
.woocommerce-orders-table .button.oj-reorder { background: var(--oj-green) !important; color: #fff !important; }

/* ---------- the Gat Plus page, /גת-פלוס/ (2026-11-17) ---------- */
.oj-plus-modal .oj-plus-modal__more { margin: 2px 24px 0; font-size: 15px; }
.oj-plus-modal__more a { color: var(--oj-green-dark); font-weight: 700; }

.oj-plus-hero { background: linear-gradient(180deg, var(--oj-cream) 0%, #fff 100%); padding: 48px 0 44px; }
.oj-plus-hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.oj-plus-hero h1 { font-size: clamp(32px, 4.6vw, 52px); margin: 0 0 16px; }
.oj-plus-hero h1 span { color: var(--oj-green); }
.oj-plus-hero .oj-plus-hero__text { font-size: 19px; color: var(--oj-muted); margin: 0 0 24px; max-width: 560px; }
.oj-plus-hero__text strong { color: var(--oj-ink); white-space: nowrap; }
.oj-plus-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 20px; }
.oj-plus-hero__how { font-weight: 700; color: var(--oj-green-dark); }
.oj-plus-hero__facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 15px; color: var(--oj-muted); }
.oj-plus-hero__facts li { position: relative; padding-inline-start: 22px; }
.oj-plus-hero__facts li::before {
	content: ""; position: absolute; inset-inline-start: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%;
	background: var(--oj-green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
/* The join button: the same red pill as the join window. */
.oj-plus-join__btn.oj-btn { background: var(--oj-red) !important; border-radius: 999px !important; padding: 15px 30px !important; font-size: 18px !important; font-weight: 800 !important; box-shadow: 0 8px 20px rgba(200, 16, 46, .25); }
.oj-plus-join__btn.oj-btn:hover, .oj-plus-join__btn.oj-btn:focus { background: var(--oj-red-dark) !important; }
.oj-plus-join__active { display: inline-block; background: var(--oj-green-soft); color: var(--oj-green-dark); font-weight: 800; border-radius: 999px; padding: 10px 18px; }
.oj-plus-join__manage { font-weight: 700; margin-inline-start: 10px; }
.oj-section--green .oj-plus-join__manage { color: #fff; }

/* The membership card picture beside the headline (text only, hidden from screen readers: it repeats the text). */
.oj-plus-card {
	position: relative; display: grid; gap: 10px; padding: 28px 26px; border-radius: 26px; color: #fff; overflow: hidden;
	background: radial-gradient(120% 120% at 0% 0%, #1f8a4c 0%, var(--oj-green-dark) 62%, #08401f 100%);
	box-shadow: var(--oj-shadow-lg); aspect-ratio: 1.6 / 1; align-content: space-between; max-width: 440px; justify-self: center; width: 100%;
}
.oj-plus-card::after { content: ""; position: absolute; inset-inline-end: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: rgba(255, 255, 255, .07); }
.oj-plus-card__brand { font-size: 26px; font-weight: 800; letter-spacing: -.01em; }
.oj-plus-card__brand::after { content: "+"; display: inline-grid; place-items: center; width: 26px; height: 26px; margin-inline-start: 8px; border-radius: 50%; background: var(--oj-red); font-size: 20px; line-height: 1; vertical-align: 3px; }
.oj-plus-card__ship { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.oj-plus-card__ship small { font-size: 16px; opacity: .85; }
.oj-plus-card__ship b { font-size: clamp(40px, 5vw, 56px); line-height: 1; font-weight: 800; }
.oj-plus-card__ship s { font-size: 20px; opacity: .7; }
.oj-plus-card__foot { display: flex; justify-content: space-between; gap: 10px; font-size: 15px; opacity: .92; }

/* Without / with: two cards, then the month table. */
.oj-plus-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0 0 22px; }
.oj-plus-compare__card { background: #fff; border: 1px solid var(--oj-line); border-radius: var(--oj-radius); padding: 22px; text-align: center; }
.oj-plus-compare__card h3 { font-size: var(--fs-md); margin: 0 0 6px; color: var(--oj-muted); }
.oj-plus-compare .oj-plus-compare__big { font-size: 40px; font-weight: 800; line-height: 1.1; margin: 0 0 6px; color: var(--oj-ink); }
.oj-plus-compare__big small { display: block; font-size: 15px; font-weight: 600; color: var(--oj-muted); margin-top: 4px; }
.oj-plus-compare__card p:last-child { margin: 0; color: var(--oj-muted); font-size: var(--fs-sm); }
.oj-plus-compare__card--plus { border: 2px solid var(--oj-green); background: var(--oj-green-soft); }
.oj-plus-compare__card--plus h3 { color: var(--oj-green-dark); }
.oj-plus-compare__card--plus .oj-plus-compare__big { color: var(--oj-green-dark); }
.oj-plus-table td:first-child { font-weight: 800; }
.oj-plus-table .oj-plus-save { color: var(--oj-green-dark); }
.oj-plus-table .oj-plus-more { color: var(--oj-muted); font-weight: 600; }

.oj-plus-nocommit { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; background: #fff; border: 1px solid var(--oj-line); border-radius: var(--oj-radius); padding: 26px; }
.oj-plus-nocommit__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--oj-green-soft); color: var(--oj-green); }
.oj-plus-nocommit__icon svg { width: 28px; height: 28px; }
.oj-plus-nocommit h2 { margin: 0 0 8px; font-size: clamp(24px, 3vw, 32px); }
.oj-plus-nocommit .oj-plus-nocommit__text p { margin: 0 0 8px; }
.oj-plus-nocommit .oj-plus-nocommit__text p:last-child { margin: 0; }

.oj-section .oj-plus-final p, .oj-plus-final.oj-section p { max-width: 640px; margin-inline: auto; }
.oj-plus-final .oj-plus-join { display: inline-block; margin: 8px 0 14px; }
.oj-plus-final__links a { color: #fff; font-weight: 700; }
.oj-section .oj-plus-terms { font-size: var(--fs-sm); color: var(--oj-muted); text-align: center; margin: 18px auto 0; max-width: 760px; }

/* A short pointer to the Gat Plus page on other pages (products, delivery). */
.oj-plus-callout { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; background: var(--oj-green-soft); border: 1px solid #cfe7d6; border-radius: var(--oj-radius); padding: 16px 20px; }
.oj-plus-callout .oj-plus-callout__text { margin: 0; font-size: var(--fs-base); color: var(--oj-green-dark); }
.oj-plus-callout strong { color: var(--oj-ink); }
.oj-plus-callout a { font-weight: 800; color: var(--oj-green-dark); white-space: nowrap; }

@media (max-width: 900px) {
	.oj-plus-hero { padding: 28px 0 32px; }
	.oj-plus-hero__grid { grid-template-columns: 1fr; gap: 26px; }
	.oj-plus-card { max-width: 420px; aspect-ratio: auto; padding: 22px; }
}
@media (max-width: 600px) {
	.oj-plus-hero .oj-plus-hero__text { font-size: 17px; }
	.oj-plus-hero__cta .oj-plus-join, .oj-plus-hero__cta .oj-plus-join__btn { width: 100%; }
	.oj-plus-compare { grid-template-columns: 1fr; }
	.oj-plus-compare .oj-plus-compare__big { font-size: 34px; }
	.oj-plus-table th, .oj-plus-table td { padding: 10px 8px; font-size: 15px; }
	.oj-plus-nocommit { grid-template-columns: 1fr; padding: 20px; }
}

/* The header menu has one more item since Gat Plus (8). On laptops between the phone menu (up to 921px) and 1280px it
   wrapped onto two rows (from 960 to 1199px; on live it already wrapped between 922 and 1000px with 7 items):
   - up to 1279px: 15px text (design.css: 16px) and less space between items;
   - up to 1099px: also no "עמוד הבית" item (the logo beside it goes to the home page);
   - up to 1023px: 14px text.
   Same selectors as design.css and !important like its own sizes there, loaded after it. */
@media (min-width: 922px) and (max-width: 1279px) {
	.main-header-menu .menu-link, .ast-builder-menu-1 .menu-item > .menu-link { padding: 0 7px !important; font-size: 15px !important; }
	.main-header-menu .current-menu-item > .menu-link::after,
	.main-header-menu .current_page_item > .menu-link::after { inset-inline: 7px; }
}
@media (min-width: 922px) and (max-width: 1099px) {
	.main-header-menu > .menu-item-home { display: none; }
	.main-header-menu .menu-link, .ast-builder-menu-1 .menu-item > .menu-link { padding: 0 6px !important; }
	.main-header-menu .current-menu-item > .menu-link::after,
	.main-header-menu .current_page_item > .menu-link::after { inset-inline: 6px; }
}
@media (min-width: 922px) and (max-width: 1023px) {
	.main-header-menu .menu-link, .ast-builder-menu-1 .menu-item > .menu-link { padding: 0 4px !important; font-size: 14px !important; }
	.main-header-menu .current-menu-item > .menu-link::after,
	.main-header-menu .current_page_item > .menu-link::after { inset-inline: 4px; }
}
