@font-face {
	font-display: swap; 
	font-family: 'Rubik';
	font-style: normal;
	font-weight: 300;
	src: url('../fonts/rubik/rubik-300.woff2') format('woff2');
}
@font-face {
	font-display: swap; 
	font-family: 'Rubik';
	font-style: normal;
	font-weight: 400;
	src: url('../fonts/rubik/rubik-400.woff2') format('woff2');
}
@font-face {
	font-display: swap;
	font-family: 'Rubik';
	font-style: normal;
	font-weight: 500;
	src: url('../fonts/rubik/rubik-500.woff2') format('woff2'); 
}
@font-face {
	font-display: swap; 
	font-family: 'Rubik';
	font-style: normal;
	font-weight: 600;
	src: url('../fonts/rubik/rubik-600.woff2') format('woff2'); 
}
@font-face {
	font-display: swap;
	font-family: 'Rubik';
	font-style: normal;
	font-weight: 700;
	src: url('../fonts/rubik/rubik-700.woff2') format('woff2'); 
}
@font-face {
	font-display: swap; 
	font-family: 'Rubik';
	font-style: normal;
	font-weight: 800;
	src: url('../fonts/rubik/rubik-800.woff2') format('woff2'); 
}
@font-face {
	font-display: swap;
	font-family: 'Rubik';
	font-style: normal;
	font-weight: 900;
	src: url('../fonts/rubik/rubik-900.woff2') format('woff2'); 
}
:root {
	--omp-red:#DB405C; 
	--omp-orange:#E49931; 
	--omp-green:#12764E;
	--omp-blue:#153D6F; 
	--omp-cream:#ECE3DF;

	--font-base: 'Rubik', sans-serif;
	--radius: 0.5rem;
	--transition: 0.3s ease-in-out;
}
/*
html, body {
	width: 100vw;
	overflow-x: hidden !important;
}
*/
html, body {
    max-width: 100%;
    overflow-x: clip; /* безопасная альтернатива */
}

body {
	font-family: var(--font-base);
	color: var(--omp-blue);
	margin: 0;
	padding: 0;
	background-color: #f6f6f6;
}
body > .site,
body > .layout,
body > .wrapper {
  overflow: visible !important;
}

a {
	color: var(--omp-blue);
	text-decoration: none;
	transition: var(--transition);
}

a:hover {
	color: var(--omp-orange);
}

button,
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
	background-color: var(--omp-red);
	color: white;
	border: none;
	border-radius: var(--radius);
	padding: 0.75rem 1.5rem;
	font-size: 1rem;
	cursor: pointer;
	transition: var(--transition);
}

button:hover,
input[type="submit"]:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
	background-color: var(--omp-orange);
}

.header,
footer {
	color: var(--omp-blue);
	padding: 1rem 2rem;
}

.product-card {
	border: 1px solid #ccc;
	border-radius: var(--radius);
	padding: 1rem;
	background-color: white;
	transition: var(--transition);
}

.product-card:hover {
	border-color: var(--omp-red);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

html:dir(rtl) {
  .tns-item {
    direction: rtl;
  }
  .promo-slider-wrapper, .brands-slider-wrapper {
    direction: ltr;
  }
  .tns-slider {
    flex-direction: row-reverse;
  }
}
.promo-slider-wrapper {
	width: 100%;
	height: auto;
	margin: 0 auto;
	position: relative;
	max-width: 800px;
	overflow: hidden;
}
.ohmypet-promo-banners.tns-hidden {
	visibility: hidden;
	opacity: 0;
	display: none;
}
.ohmypet-promo-banners {
	width: 100%;
	overflow: hidden;
	direction: ltr;
}

.promo-banner {
	position: relative;
	overflow: hidden;
	aspect-ratio: 800 / 320; /* сохраняет стабильные пропорции */
}
.promo-banner img {
	width: 100%;
	height: auto;
	object-fit: cover;
	display: block;
	border-radius: var(--radius, 0.5rem);
}

.tns-nav {
	position: absolute;
	bottom: 10px;
	left: 0;
	width: 100%;
	text-align: center;
	z-index: 2;
}

.tns-nav button {
	border: none;
	width: 10px;
	height: 10px;
	margin: 0 4px;
	padding: 0;
	border-radius: 50%;
	background-color: currentColor;
	transition: background-color 0.3s;
}

.tns-nav button.tns-nav-active {
	outline: 2px solid currentColor; /* например, color-dark */
	outline-offset: 2px;
}
*{box-sizing:border-box}
.container{width:min(1200px,100% - 32px);margin:0 auto}
body::before {
  content: "";
  display: block;
  position: fixed;
  top: 0;
  width: 100%;
  height: 0; /* просто контекст для sticky */
  z-index: 999;
}
.header,
.header__bar,
.header__search {
  transform: none !important;
  overflow: visible !important;
}
.header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #0001;
  padding-top: 30px;
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
  will-change: box-shadow, background-color;
}

/* Тень при прокрутке */
.header.is-scrolled {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.98);
  padding-top: 0;
  padding-bottom: 0;
}
.header.is-scrolled .header__brand img {
	width: auto;
	height: 60px;
}
body.admin-bar .header.is-scrolled {
	top: 32px;
}

/* Внутренний контейнер */
.header__bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
  max-width: 1280px;
  margin: 0 auto;
}

/* Логотип */
.header__brand {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 60px;
  overflow: visible;
}

.header__brand img {
  display: block;
  height: auto;
  max-width: 220px;
}

/* Навигация и кнопки */
.header__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.header__pill-icon {
	width: 32px;
	height: 32px;
	display: block;
}
.header__pill > span:not(.textual) {
	display: none;
}

.header__pill:hover {
}

/* Поиск */
.header__search {
  flex: 1;
  max-width: 400px;
}

/* Адаптив */
@media (max-width: 768px) {
  .header__bar {
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0.6rem 0;
  }

  .header__search {
    order: 3;
    width: 100%;
  }

  .header__actions {
    order: 2;
    width: 100%;
    justify-content: flex-end;
  }

  .header__brand {
    order: 1;
  }
}

.layout{display:grid;grid-template-columns:400px 1fr;gap:24px;padding:24px 0}
.layout-fullwidth{display:block;padding:24px 0}

.woof.woof_sid {border-radius:16px;border:1px solid 0001}
.tabs{background:#fff;border-radius:16px;overflow:hidden;border:1px solid #0001}
.tabs__nav{display:flex;overflow:auto;*border-bottom:1px solid #0001;gap:5px;}
.tabs__nav button{flex:1;padding:12px 14px;background:#ededed;border:0;font-weight:600;cursor:pointer;color:var(--omp-blue);border-bottom:2px solid transparent;border-radius:4px;}
.tabs__nav button.is-active, .tabs__nav button:hover{background:var(--omp-orange);}
.tabs__pane{display:none;padding:12px 16px}
.tabs__pane.is-active{display:block}
.tabs__list,.tabs__sublist{list-style:none;margin:0;padding:0}
.tabs__item{padding:8px 0;border-bottom:1px dashed #0001}
.tabs__item a{display:flex;align-items:center;gap:8px;text-decoration:none;color:inherit}
.tabs__item.is-current > a,
.tabs__sublist li.is-current > a {
  color: var(--omp-red);
}
.tabs__item .tabs__icon img{width: 32px; height: 32px;}
.tabs__sublist{padding-left:20px}
.tabs__item:hover {color:var(--omp-red);}
.tabs__item:hover .omp-term-icon {
  animation: omp-wiggle 0.4s ease-in-out;
}

/* Ключевые кадры покачивания */
@keyframes omp-wiggle {
  0%   { transform: rotate(0deg); }
  25%  { transform: rotate(8deg); }
  50%  { transform: rotate(-8deg); }
  75%  { transform: rotate(5deg); }
  100% { transform: rotate(0deg); }
}

.block{padding:16px}
.pet-drawer .block {
	margin-top: 20px;
}
.block--trust .trust__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}

.pet-form__row{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
input.search-field {width:100%;padding:10px;border:1px solid #ddd;border-radius:10px;}
.pet-form label{font-size:12px;opacity:.8}
.pet-form input,.pet-form select, .woocommerce select{width:100%;padding:10px;border:1px solid #ddd;border-radius:10px;color:var(--omp-blue);outline:none;}
.pet-form select {
	padding: 9px 10px;
}
.pet-form input:focus,.pet-form select:focus {
	border-color: var(--omp-blue);
}
.pet-form input::-webkit-input-placeholder,
.pet-form textarea::-webkit-input-placeholder {
	color: var(--omp-blue);
	opacity: 0.5;
}
.pet-form .btn{background:var(--omp-blue);color:#fff;border:0;padding:10px 14px;border-radius:10px;cursor:pointer}

.footer{margin-top:40px;background:#fff;border-top:1px solid #0001}
.footer__inner{padding:20px 0}
.header__search{flex:1;max-width:560px}
.header__search form {
	display: flex;
	gap: 12px;
}
.sr-only{
	position:absolute!important; width:1px; height:1px; padding:0; margin:-1px;
	overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}
/* Search field with animated paws */
.omp-search{position:relative}
.omp-search input[type=search]{background:none;animation:none}

/* container for prints */
.omp-paws{
	--size:12px;     /* paw icon size */
	--step:14px;     /* distance between prints */
	--dur:20s;        /* total cycle duration */
	position:absolute; 
	left: 180px; 
	top:50%; 
	transform:translateY(-50%);
	width: calc(var(--step)*4); 
	height: var(--size); 
	pointer-events:none;
}
.omp-paws::before,
.omp-paws::after{
	content:""; 
	position:absolute; 
	left:0; 
	top:-4px;
	width:var(--size); 
	height:var(--size);
	background:url('../img/paw-left.png') no-repeat center/contain;
	opacity:0;
}
.omp-paws::after{
	background:url('../img/paw-right.png') no-repeat center/contain;
	left: 14px;
	top: 4px;
}

/* A: видна 0–20% на x0 → скрыта 20–30% (прыжок к x2)
видна 30–60% на x2 → скрыта 60–70% (прыжок к x4)
видна 70–90% на x4 → скрыта 90–100% (сброс к x0) */
	@keyframes ompPawA {
		0%, 4.999%   { opacity:1; transform:translateX(0); }
		5%, 9.999%  { opacity:0; transform:translateX(calc(var(--step)*2)); }
		10%, 14.999%  { opacity:1; transform:translateX(calc(var(--step)*2)); }
		15%, 19.999%  { opacity:0; transform:translateX(calc(var(--step)*4)); }
		20%, 24.999%  { opacity:1; transform:translateX(calc(var(--step)*4)); }
		25%, 29.999%  { opacity:0; transform:translateX(calc(var(--step)*6)); }
		30%, 34.999%  { opacity:1; transform:translateX(calc(var(--step)*6)); }
		35%, 39.999%  { opacity:0; transform:translateX(calc(var(--step)*8)); }
		40%, 44.999%  { opacity:1; transform:translateX(calc(var(--step)*8)); }
		45%, 49.999%  { opacity:0; transform:translateX(calc(var(--step)*10)); }
		50%, 54.999%  { opacity:1; transform:translateX(calc(var(--step)*10)); }
		55%, 59.999%  { opacity:0; transform:translateX(calc(var(--step)*12)); }
		60%, 64.999%  { opacity:1; transform:translateX(calc(var(--step)*12)); }
		65%, 69.999%  { opacity:0; transform:translateX(calc(var(--step)*14)); }
		70%, 74.999%  { opacity:1; transform:translateX(calc(var(--step)*14)); }
		75%, 79.999%  { opacity:0; transform:translateX(calc(var(--step)*16)); }
		80%, 84.999%  { opacity:1; transform:translateX(calc(var(--step)*16)); }
		85%, 89.999%  { opacity:0; transform:translateX(calc(var(--step)*18)); }
		90%, 94.999%  { opacity:1; transform:translateX(calc(var(--step)*18)); }
		95%, 100%     { opacity:0; transform:translateX(0); } /* скрыта и на старт */
	}

	/* B: скрыта 0–10% (готов x1) → видна 10–40% на x1
	скрыта 40–50% (прыжок к x3) → видна 50–80% на x3
	скрыта 80–90% (прыжок к x5) → видна 90–100% на x5
	(на следующем цикле снова 0–10% скрыта на x1) */
	@keyframes ompPawB {
		0%,   4.999%   { opacity:0; transform:translateX(0); }                          /* скрыта, готовим x1 */
		5%,   9.999%   { opacity:1; transform:translateX(0); }                          /* x1 */

		10%,  14.999%  { opacity:0; transform:translateX(calc(var(--step)*2)); }        /* прыжок к x3 (скрыта) */
		15%,  19.999%  { opacity:1; transform:translateX(calc(var(--step)*2)); }        /* x3 */

		20%,  24.999%  { opacity:0; transform:translateX(calc(var(--step)*4)); }        /* к x5 (скрыта) */
		25%,  29.999%  { opacity:1; transform:translateX(calc(var(--step)*4)); }        /* x5 */

		30%,  34.999%  { opacity:0; transform:translateX(calc(var(--step)*6)); }        /* к x7 */
		35%,  39.999%  { opacity:1; transform:translateX(calc(var(--step)*6)); }        /* x7 */

		40%,  44.999%  { opacity:0; transform:translateX(calc(var(--step)*8)); }        /* к x9 */
		45%,  49.999%  { opacity:1; transform:translateX(calc(var(--step)*8)); }        /* x9 */

		50%,  54.999%  { opacity:0; transform:translateX(calc(var(--step)*10)); }       /* к x11 */
		55%,  59.999%  { opacity:1; transform:translateX(calc(var(--step)*10)); }       /* x11 */

		60%,  64.999%  { opacity:0; transform:translateX(calc(var(--step)*12)); }       /* к x13 */
		65%,  69.999%  { opacity:1; transform:translateX(calc(var(--step)*12)); }       /* x13 */

		70%,  74.999%  { opacity:0; transform:translateX(calc(var(--step)*14)); }       /* к x15 */
		75%,  79.999%  { opacity:1; transform:translateX(calc(var(--step)*14)); }       /* x15 */

		80%,  84.999%  { opacity:0; transform:translateX(calc(var(--step)*16)); }       /* к x17 */
		85%,  89.999%  { opacity:1; transform:translateX(calc(var(--step)*16)); }       /* x17 */

		90%,  94.999%  { opacity:0; transform:translateX(calc(var(--step)*18)); }       /* к x19 (скрыта) */
		95%,  100%     { opacity:0; transform:translateX(0); }                           /* сброс к старту (x1) */
	}

	/* run animations */
	.omp-paws::before{ animation:ompPawA var(--dur) linear infinite both; }
	.omp-paws::after { animation:ompPawB var(--dur) linear infinite both; }

	/* hide prints on focus/input; show small paw icon on focus */
	.omp-search.is-focused .omp-paws,
	.omp-search.has-value .omp-paws{ display:none; }
	.omp-search:after{
		content:""; 
		position:absolute; 
		left:30px; 
		top:50%; 
		transform:translateY(-50%);
		width:20px; 
		height:20px; 
		background:url('../img/paw.png') no-repeat center/contain;
		opacity:0.9; 
		transition:opacity .15s;
		cursor: pointer;
	}
	.omp-search.is-focused:after{ opacity:.9; }

	/* Hint text under fields (e.g., Size) */
	.pet-form__hint{
		display:block;
		font-size:12px;
		opacity:.75;
		margin-top:4px;
	}

	/* Allergies checkboxes as a tidy grid (only inside fieldset) */
	.pet-form fieldset .pet-form__row{
		display:grid;
		grid-template-columns:repeat(2,minmax(0,1fr));
		gap:8px 16px;
	}

	.pet-form fieldset .pet-form__row label{
		display:flex;
		align-items:center;
		gap:8px;
		padding:8px 10px;
		cursor:pointer;
	}
	.pet-form fieldset .pet-form__row input[type=checkbox]{
		inline-size:16px;
		block-size:16px;
	}
	.pet-form input[type="checkbox"],
	.pet-form input[type="radio"]{
		accent-color: color-mix(in oklab, var(--omp-orange), black 9%);
	}

	/* опционально — свой фокус-обводка вместо синей */
	.pet-form input[type="checkbox"]:focus-visible,
	.pet-form input[type="radio"]:focus-visible{
		outline: 2px solid color-mix(in oklab, var(--omp-orange), black 9%);
		outline-offset: 2px;
	}

	/* ========== Pet drawer ========== */

	.pet-drawer { position: fixed; inset: 0; z-index: 120; pointer-events: none; overflow: clip; contain: layout paint; }
	.pet-drawer__overlay {
		position: absolute; inset: 0; background: rgba(0,0,0,.45);
		opacity: 0; transition: opacity .25s ease; pointer-events: none;
	}
	.pet-drawer__panel {
		position: absolute; right: 0; top: 0; height: 100%;
		width: min(440px, calc(100% - 48px));
		background: #fff; border-radius: 16px 0 0 16px;
		box-shadow: -18px 0 40px rgba(0,0,0,.08);
		transform: translateX(100%); transition: transform .28s ease;
		overflow: auto; padding: 16px 16px 24px; z-index: 10;
	}
	body.admin-bar .pet-drawer__panel {
		margin-top: 40px;
	}
	.pet-drawer__close {
		position: absolute; right: 8px; border: 0; background: transparent;
		font-size: 28px; line-height: 1; cursor: pointer;
		color: var(--omp-blue);
	}
	.pet-drawer.is-open { pointer-events: auto; z-index:1000; }
	.pet-drawer.is-open .pet-drawer__overlay { opacity: 1; pointer-events: auto; }
	.pet-drawer.is-open .pet-drawer__panel { transform: translateX(0); }
/* Pre-open: visible but still hidden below */
.pet-drawer.pre-open .pet-drawer__panel {
    visibility: visible;
    opacity: 0;
    transform: translateY(100%);
}

/* Fully open */
.pet-drawer.is-open .pet-drawer__panel {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition: transform .28s ease, opacity .18s ease;
}

/* Closed */
.pet-drawer:not(.is-open) .pet-drawer__panel {
    visibility: hidden;
    opacity: 0;
    transform: translateY(100%);
}


	/* Floating paw button */
	.pet-drawer__btn {
		position: fixed; right: 16px; top: 50%;
		width: 56px; height: 56px; border-radius: 999px;
		color: #fff; 
		border: 0; 
		cursor: pointer;
		background: url('../img/paw-white.png') center center no-repeat var(--omp-blue);
		box-shadow: 0 10px 24px rgba(0,0,0,.18);
		display: grid; place-items: center; font-size: 24px;
	}

	/* Mobile: sheet from bottom */

	.pet-drawer.is-open .pet-drawer__panel{ transform: translateY(0); }



	.form-container {
		width: 400px;
		margin: 0 auto;
	}
	.wpcf7 input[type="text"],
	.wpcf7 input[type="email"],
	.wpcf7 input[type="tel"],
	.wpcf7 input[type="url"],
	.wpcf7 input[type="number"],
	.wpcf7 input[type="date"],
	.wpcf7 textarea,
	.wpcf7 select {
		padding: 10px;
		border: 1px solid #ddd;
		border-radius: 10px;
		width: 100%;
		box-sizing: border-box;
	}

	/* submit button */
	.wpcf7 input[type="submit"] {
		padding: 10px 20px;
		border: none;
		border-radius: 10px;
		background-color: var(--omp-red); /* твой фирменный цвет */
		color: #fff;
		cursor: pointer;
		transition: background-color 0.3s ease;
		width: 100%;
	}

	.wpcf7 input[type="submit"]:hover {
		background-color: var(--omp-orange); /* чуть темнее для hover */
	}

	.date-fields {
		display: flex;
		gap: 15px; /* расстояние между полями */
		justify-content: space-between;
	}

	.date-fields label {
		flex: 1; /* чтобы оба поля были одинаковой ширины */
	}

	.date-fields input {
		width: 100%;
		box-sizing: border-box;
	}
	.partners-logos {
		display: flex;
		flex-wrap: wrap;
		gap: 20px 40px;
		align-items: center;
	}

	.ohmypet-brand a {
    display: block;
	}
	.ohmypet-brand img {
		max-width: 150px;
		height: auto;
		object-fit: contain;
		filter: grayscale(100%);
		transition: filter 0.3s ease, transform 0.3s ease;
		pointer-events: none;
	}

	.ohmypet-brand img:hover {
		filter: grayscale(0%);
		transform: scale(1.05);
	}

	.woocommerce ul.products li.product .button {
    display: block;
    margin-top: 1em;
    text-align: center;
	}
	.woocommerce ul.products li.product a img.attachment-woocommerce_thumbnail,
	.woocommerce ul.products li.product a img.woocommerce-placeholder {
		width: 100% !important;
		height: 165px;
		object-fit: contain;
		display: block;
	}
	.woocommerce ul.products li.product .woocommerce-loop-category__title, .woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product h3 {
		height: 6em;
	}

.brands-slider-wrapper {
	max-width: 800px;
	overflow: hidden;
}
.ohmypet-brands-slider {
  display: flex;
  align-items: center;
}

.ohmypet-brand {
  text-align: center;
}

.ohmypet-brand img {
  max-width: 100px;
  max-height: 60px;
  object-fit: contain;
  margin: 0 auto;
}
.brands-slider-wrapper .tns-controls {
	display: flex;
	justify-content: space-between;
	position: relative;
	padding: 0 20px;
	width: 100%;
}
.brands-slider-wrapper .tns-controls button {
	background: transparent;
	position: absolute;
	z-index: 10;
	top: 50%;
	transform: translate(-50%);
	width: 20px;
	height: fit-content;
	padding: 5px;
	border-radius: 2px;
}
.brands-slider-wrapper:hover .tns-controls button {
	background: rgba(0,0,0,0.2);
}
.brands-slider-wrapper .tns-controls button span {
	color: #fff;
	font-size: 2em;
	line-height: 2em;
}
.brands-slider-wrapper .tns-controls button[data-controls="prev"] {
	left: -20px;
}
.brands-slider-wrapper .tns-controls button[data-controls="next"] {
	right: -70px;
}
.footer {
  background-color: #153D6F;
  color: #ECE3DF;
  padding: 30px 0 20px;
  font-size: 0.95rem;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer__logo img {
  *max-height: 50px;
  width: auto;
  max-width: 350px;
}
.footer__links ul {
	list-style: none;
	padding: 0;
}

.footer__contacts {
  text-align: right;
  font-size: 1em;
  align-self: baseline;
}
.footer p, .footer li {
	margin-top: 20px;
	margin-bottom: 0;
}

.footer a {
  color: #E49931;
  text-decoration: none;
  font-weight: 500;
}

.footer__contacts a:hover {
  color: #DB405C;
}

.footer__bottom {
  text-align: center;
  border-top: 1px solid rgba(236, 227, 223, 0.2);
  padding-top: 15px;
  font-size: 0.85rem;
  opacity: 0.9;
  direction: ltr;
}

.footer__social {
	display: flex;
	justify-content: space-between;
	padding-top: 10px;
	margin-top: 10px;
}
.footer__social .social-icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
  transition: opacity .2s ease;
}

.footer__social .social-icon:hover {
  opacity: 0.7;
}

.xoo-wsc-img-col img {
	max-height: 85px;
}
.woocommerce .quantity .qty {
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 10px;
}



/* --- FIXED LAYOUT for homepage (appended override) --- */
.layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 30px;
  padding: 24px 0;
  align-items: start;
}

html[dir="rtl"] .layout {
  direction: rtl;
}

.layout aside {
  position: sticky;
  top: 110px;
  align-self: start;
}

.layout section {
  width: 100%;
  min-width: 0;
}

/* RTL fix for promo banners */
html[dir="rtl"] .promo-slider-wrapper {
  direction: ltr !important;
}
html[dir="rtl"] .ohmypet-promo-banners .tns-slider {
  flex-direction: row-reverse !important;
}

.woof_checkbox_instock_container, .woof_checkbox_sales_container {
	direction: ltr !important;
}
.woof-slide-out-div .woof-handle {
	top: 160px !important;
	right: 0 !important;
	transition: all 0.25s ease;
}

.woof-slide-out-div .woof-handle:hover {
	filter: brightness(1.15);
	background-size: 52px 52px !important;
	transition: background-size 0.18s cubic-bezier(.4,0,.2,1);
}


/* Heart button position */
.js-omp-fav {
    position: absolute;
    top: 0px;
    left: 0px; /* or right */
    z-index: 5;
    background: rgba(255,255,255,0.9);
    padding: 4px 4px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}


.omp-fav-icon {
    background-image: url('../img/heart.svg');
    background-repeat: no-repeat;
    background-size: cover;
    width: 28px;
    height: 28px;
    display: block;
    filter: grayscale(1) brightness(0.7);
    opacity: .4;
}
.js-omp-fav:hover {
	background: transparent;
}
.js-omp-fav.is-active .omp-fav-icon, .js-omp-fav:hover .omp-fav-icon {
	filter: none;
	opacity: 1;
}
.omp-category-banners {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 16px 0;
}

.omp-category-banners .omp-banner {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.omp-category-banners .omp-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Hover-эффект */
.omp-category-banners .omp-banner:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}


/* my account page */

.woocommerce-account .woocommerce {
}
.woocommerce-account .myaccount-block h2 {
	display: none;
}
.woocommerce-account .myaccount-block {
	padding: 30px 16px;
	width: 100%;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.06);
} 

.woocommerce-MyAccount-navigation {
    margin-bottom: 40px;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #F3F4F6;
}

.woocommerce-MyAccount-navigation li {
    border-bottom: 1px solid #e5e5e5;
}

.woocommerce-MyAccount-navigation li:last-child {
    border-bottom: none;
}

.woocommerce-MyAccount-navigation a {
    display: block;
    padding: 14px;
    font-size: 16px;
    color: var(--omp-blue);
    text-decoration: none;
    transition: 0.2s ease;
}

.woocommerce-MyAccount-navigation a:hover {
    background: #ececec;
}

.woocommerce-MyAccount-navigation .is-active a {
    background: #DB405C;
    color: #fff;
}

.woocommerce-account .woocommerce h2,
.woocommerce-account .woocommerce h3 {
    margin: 0 0 20px;
    font-size: 24px;
    font-weight: 600;
    color: #153D6F;
}

.woocommerce form .form-row {
    margin-bottom: 20px;
}

.woocommerce form .form-row label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
}

.woocommerce input.input-text, 
.woocommerce textarea, 
.woocommerce select {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 15px;
    transition: border 0.2s ease;
}

.woocommerce input.input-text:focus,
.woocommerce textarea:focus,
.woocommerce select:focus {
    border-color: #DB405C;
    outline: none;
}

.woocommerce button.button,
.woocommerce a.button {
    background: #DB405C !important;
    color: #fff !important;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    transition: 0.2s;
}

.woocommerce button.button:hover,
.woocommerce a.button:hover {
    background: #c03854 !important;
}
.woocommerce table.my_account_orders {
    border: none;
}

.woocommerce table.my_account_orders th {
    background: #f3f3f3;
    padding: 12px 10px;
    font-weight: 600;
}

.woocommerce table.my_account_orders td {
    padding: 14px 10px;
    border-bottom: 1px solid #eee;
}

.woocommerce table.my_account_orders tr:last-child td {
    border-bottom: none;
}
.footer-paw img {
	width: 16px;
}

/* когда slideout открыт – ставим close icon */
.ui-slideouttab-open .woof-handle {
    background-image: url('../img/close-icon.svg') !important;
    background-size: cover !important;
}

.woocommerce .col2-set, .woocommerce-page .col2-set {
    display: flex;
    flex-direction: row;
    gap: 45px;
}
.woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content {
	float: none;
	width: 100%;
}

.woocommerce-MyAccount-navigation ul {
	display: flex;
	justify-content: space-around;
}
.woocommerce-account address {
	line-height: 2em;
	margin: 1em 0;
}
/* Tabs */
.woocommerce-account .col2-set .col-1, .woocommerce-account .col2-set .col-2 {
	float: none;
	margin: 0 auto;
}
.omp-login-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

.omp-tab {
    border: none;
    background: none;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 18px;
    color: #666;
    border-bottom: 2px solid transparent;
    border-radius: 0;
}

.omp-tab.active, .omp-tab:hover {
    color: var(--omp-blue);
    border-bottom-color: var(--omp-blue);
    background: none;
}

/* Initially hide registration column */
#customer_login .u-column2 {
    display: none;
}

/* When register tab active */
#customer_login.show-register .u-column1 {
    display: none;
}

#customer_login.show-register .u-column2 {
    display: block;
}

.woocommerce form label.screen-reader-text {
	width: fit-content !important;
	height: 32px; 
	position: static !important;
	clip-path: none;
}
.woocommerce .header__search form label.screen-reader-text {
	display: none !important;
}
#billing_country_field .woocommerce-input-wrapper {
	height: 35px;
	line-height: 35px;
	display: inline-block;
}



/* === MAIN LAYOUT === */

.omp-checkout-layout {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 40px;
    align-items: start;
}

@media (max-width: 900px) {
    .omp-checkout-layout {
        grid-template-columns: 1fr;
    }
}

/* LEFT SECTION */
.omp-checkout-left {
    width: 100%;
}

/* RIGHT SECTION */
.omp-checkout-right {
    position: sticky;
    top: 20px;
}

/* === FIELDS LAYOUT === */

.omp-checkout-fields .form-row {
    margin-bottom: 18px;
}

/* 2-column rows */
.omp-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 600px) {
    .omp-row-2 {
        grid-template-columns: 1fr;
    }
}

.wc-saved-payment-methods {
	padding-right: 3px;
}

#add_payment_method #payment, .woocommerce-cart #payment, .woocommerce-checkout #payment {
	background: rgb(243 210 165 / 20%);
}
#add_payment_method #payment div.payment_box, .woocommerce-cart #payment div.payment_box, .woocommerce-checkout #payment div.payment_box {
	background-color: #f2cf9f;
}
#add_payment_method #payment div.payment_box::before, .woocommerce-cart #payment div.payment_box::before, .woocommerce-checkout #payment div.payment_box::before {
	border: 1em solid #f2cf9f;
	border-left-color: transparent;
	border-right-color: transparent;
	border-top-color: transparent;
}
.woocommerce-info {
    border-top-color: var(--omp-green);
}
.woocommerce-info::before {
	color: var(--omp-green);
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt.disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt.disabled:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:disabled:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:disabled[disabled], .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:disabled[disabled]:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt.disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt.disabled:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:disabled:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:disabled[disabled], .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:disabled[disabled]:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt.disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt.disabled:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:disabled:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:disabled[disabled], .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:disabled[disabled]:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt.disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt.disabled:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:disabled:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:disabled[disabled], .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:disabled[disabled]:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt.disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt.disabled:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt:disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt:disabled:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt:disabled[disabled], :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt:disabled[disabled]:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt.disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt.disabled:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt:disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt:disabled:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt:disabled[disabled], :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt:disabled[disabled]:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt.disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt.disabled:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt:disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt:disabled:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt:disabled[disabled], :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt:disabled[disabled]:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt.disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt.disabled:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt:disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt:disabled:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt:disabled[disabled], :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt:disabled[disabled]:hover {
	background-color: var(--omp-red);
}
.delivery-toggle {
    clear: both;
    text-align: center;
    margin: 15px 0 10px;
}
.delivery-toggle a {
    color: var(--omp-orange);
}

.woocommerce ul.products li.product { position: relative; }

.omp-loop-tag-badges{
	position:absolute;
	z-index:3;
	left:12px;
	top:130px;
	display:flex;
	gap:6px;
	flex-wrap:wrap;
	pointer-events:none;
}

.rtl .omp-loop-tag-badges{ left:auto; right:2px; }

.omp-loop-tag-badge{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	padding:6px 10px;
	border-radius:999px;
	font-size:12px;
	line-height:1;
	white-space:nowrap;
	background:#153D6F;
	color:#fff;
	box-shadow:0 6px 16px rgba(0,0,0,0.12);
}

html.omp-modal-open {
	overflow: hidden;
}

.omp-img-lightbox {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: none;
	place-items: center;
}
.omp-img-lightbox.is-open { display: grid; }

.omp-img-lightbox__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0.7);
	border: 0;
	padding: 0;
	cursor: pointer;
}

.omp-img-lightbox__inner {
	position: relative;
	max-width: min(92vw, 900px);
	max-height: 88vh;
}

.omp-img-lightbox__img {
	display: block;
	max-width: 100%;
	max-height: 88vh;
	object-fit: contain;
	border-radius: 16px;
	background: #fff;
}

.omp-img-lightbox__close {
	position: absolute;
	top: -14px;
	right: -14px;
	width: 36px;
	height: 36px;
	border-radius: 999px;
	border: 0;
	cursor: pointer;
	background: #fff;
	box-shadow: 0 8px 20px rgba(0,0,0,0.2);
	font-size: 22px;
	line-height: 1;
	display: grid;
	place-items: center;
	color: var(--omp-blue);
	padding: 0;
}

