/* Zipri — Electro-inspired marketplace theme */

:root {
  --el-yellow: #fed700;
  --el-yellow-dark: #e6c200;
  --el-dark: #333e48;
  --el-text: #333e48;
  --el-muted: #747474;
  --el-border: #e6e6e6;
  --el-bg: #f5f5f5;
  --el-white: #fff;
  --el-link: #334bfa;
  --el-sale: #ef5252;
  --el-radius: 0;
  --el-container: 1170px;
  --el-font: "Open Sans", Helvetica, Arial, sans-serif;
  --el-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--el-font);
  font-size: 14px;
  line-height: 1.55;
  color: var(--el-text);
  background: var(--el-white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--el-text);
  text-decoration: none;
}

a:hover {
  color: var(--el-link);
}

button,
input,
select {
  font: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.5em;
  font-weight: 600;
  line-height: 1.25;
  color: var(--el-dark);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.zipri-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  background: var(--el-yellow);
  padding: 0.75rem 1rem;
}

.zipri-skip:focus {
  left: 1rem;
  top: 1rem;
}

.el-container {
  width: min(100% - 2rem, var(--el-container));
  margin-inline: auto;
  max-width: var(--el-container);
}

/* Buttons */
.el-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.4rem;
  border: 0;
  border-radius: 2px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}

.el-btn--dark {
  background: var(--el-dark);
  color: #fff;
}

.el-btn--dark:hover {
  background: #1e272e;
  color: #fff;
}

.el-btn--yellow {
  background: var(--el-yellow);
  color: var(--el-dark);
}

.el-btn--yellow:hover {
  background: var(--el-yellow-dark);
  color: var(--el-dark);
}

.el-btn--block {
  width: 100%;
}

.el-text-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--el-muted);
}

.el-text-link:hover {
  color: var(--el-link);
}

.el-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.45rem;
  font-size: 11px;
  font-weight: 700;
  border-radius: 2px;
}

.el-badge--sale {
  background: var(--el-sale);
  color: #fff;
}

/* ========== HEADER ========== */
/* Closely matched to Electro header-v1 */

.el-header {
  background: #fff;
  position: relative;
  z-index: 100;
}

.el-topbar {
  background: #f5f5f5;
  border-bottom: 0;
  font-size: 13px;
  color: #747474;
  line-height: 1.4;
}

.el-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  gap: 1rem;
}

.el-topbar__welcome {
  margin: 0;
  font-size: 13px;
  color: #747474;
}

.el-topbar__links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.el-topbar__links li + li::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 11px;
  background: #ddd;
  margin: 0 0.85rem;
  vertical-align: middle;
}

.el-topbar__links a {
  color: #747474;
  font-size: 13px;
}

.el-topbar__links a:hover {
  color: var(--el-dark);
}

.el-masthead {
  padding: 2.1em 0 1.7em;
  border-bottom: 0;
}

.el-masthead__row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 1.5rem;
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
}

.el-nav-toggle {
  display: none !important;
  flex: 0 0 auto;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  background: none;
  border: 0;
  padding: 0.35rem;
  margin: 0;
  cursor: pointer;
  width: 40px;
  height: 40px;
  -webkit-tap-highlight-color: transparent;
}

.el-nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.el-nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.el-nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.el-nav-toggle span:not(.screen-reader-text) {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--el-dark);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.el-logo {
  display: flex !important;
  align-items: center;
  flex: 0 0 auto;
  max-width: 180px;
  line-height: 0;
  margin-right: 0.5rem;
}

.el-logo .custom-logo-link {
  display: flex !important;
  align-items: center;
  line-height: 0;
}

.el-logo img,
.el-logo .custom-logo {
  display: block !important;
  max-height: 52px !important;
  max-width: 170px !important;
  width: auto !important;
  height: auto !important;
}

.el-logo__text {
  font-size: 32px;
  font-weight: 700;
  color: var(--el-dark);
  letter-spacing: -0.03em;
  line-height: 1;
  text-decoration: none;
}

.el-logo__text span {
  color: var(--el-yellow-dark);
}

/* Electro navbar-search clone: input | categories | yellow btn */
.el-search {
  display: block !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
}

.el-search__group {
  display: flex;
  align-items: stretch;
  height: 41px;
  width: 100%;
  border: 2px solid var(--el-yellow);
  border-radius: 2.2em;
  overflow: hidden;
  background: #fff;
}

.el-search__field {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
}

.el-search__input {
  width: 100%;
  border: 0 !important;
  outline: none;
  padding: 0 1.15em;
  font-size: 14px;
  color: var(--el-dark);
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: none !important;
}

.el-search__input::placeholder {
  color: #9a9a9a;
}

.el-search__cats {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  border-left: 1px solid #e5e5e5;
  background: #fff;
  max-width: 170px;
}

.el-search__cat {
  border: 0;
  background: transparent;
  height: 100%;
  padding: 0 1.6em 0 0.9em;
  font-size: 13px;
  color: var(--el-dark);
  outline: none;
  max-width: 170px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23333e48' stroke-width='1.4' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7em center;
}

.el-search__submit-wrap {
  display: flex;
  flex: 0 0 auto;
}

.el-search__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 100%;
  border: 0;
  background: var(--el-yellow);
  color: var(--el-dark);
  cursor: pointer;
  padding: 0;
}

.el-search__btn:hover {
  background: var(--el-yellow-dark);
}

.el-masthead__actions {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto !important;
  gap: 0;
  margin-left: 0.5rem;
}

.el-search-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  margin: 0 0.35rem 0 0;
  border: 0;
  background: none;
  color: var(--el-dark);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.el-icon-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-left: 1.85rem;
  color: var(--el-dark);
  text-decoration: none;
  line-height: 1.15;
}

.el-icon-link:first-of-type {
  margin-left: 0.75rem;
}

.el-icon-link:hover {
  color: var(--el-dark);
}

.el-icon-link__glyph {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--el-dark);
}

.el-icon-link__meta {
  display: flex;
  flex-direction: column;
}

.el-icon-link__meta small {
  font-size: 11px;
  color: #848484;
  font-weight: 400;
}

.el-icon-link__meta strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--el-dark);
}

.el-cart__count {
  position: absolute;
  bottom: -4px;
  left: 12px;
  min-width: 1.75em;
  height: 1.75em;
  padding: 0 0.25em;
  border-radius: 50%;
  background: var(--el-dark);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.75em;
  text-align: center;
  display: inline-block;
}

/* Electro navbar row */
.el-navbar {
  display: block !important;
  background: #fff;
  border-top: 1px solid #eaeaea;
  border-bottom: 1px solid #eaeaea;
}

.el-navbar__row {
  display: flex !important;
  align-items: stretch;
  min-height: 50px;
  gap: 0;
  width: 100%;
  max-width: 100%;
}

.el-departments {
  position: relative;
  flex: 0 0 230px;
  max-width: 230px;
  min-width: 230px;
  align-self: stretch;
}

.el-departments__toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  height: 100%;
  min-height: 50px;
  padding: 0 1.15rem;
  border: 0;
  border-radius: 0.5em 0.5em 0 0;
  background: var(--el-yellow);
  color: var(--el-dark);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.el-departments__icon {
  flex-shrink: 0;
}

.el-departments__menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  min-width: 230px;
  margin: 0;
  padding: 0.5em 0;
  list-style: none;
  background: #fff;
  border: 2px solid var(--el-yellow);
  border-top: 0;
  border-radius: 0 0 0.5em 0.5em;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12);
  z-index: 60;
  display: none;
  max-height: 70vh;
  overflow: auto;
}

.el-departments.is-open .el-departments__menu,
.el-departments:hover .el-departments__menu {
  display: block;
}

.el-departments__menu a {
  display: block;
  padding: 0.65rem 1rem;
  font-size: 13px;
  color: var(--el-dark);
  border-bottom: 1px solid #f3f3f3;
}

.el-departments__menu a:hover {
  color: var(--el-link);
  background: #fafafa;
}

.el-departments__all a {
  font-weight: 700;
  color: var(--el-link);
}

.el-menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  padding: 0 0 0 0.35rem;
  list-style: none;
  flex: 1 1 auto;
}

.el-menu > li > a,
.el-menu a {
  display: block;
  padding: 0.95rem 1rem;
  font-size: 14px;
  font-weight: 700;
  color: var(--el-dark);
  white-space: nowrap;
}

.el-menu a:hover {
  color: var(--el-link);
}

.el-mobile-nav {
  display: none;
  border-top: 1px solid var(--el-border);
  background: #fff;
  padding: 0.75rem 0 1.15rem;
  max-height: min(70vh, 520px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.el-mobile-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.el-mobile-nav__list a {
  display: block;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f0f0f0;
  font-weight: 600;
  color: var(--el-dark);
}

.el-mobile-nav__label {
  margin: 1rem 0 0.35rem;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--el-muted);
}

/* ========== HOME HERO ========== */
.el-home {
  background: var(--el-bg);
}

.el-home-hero {
  padding: 1.25rem 0 0;
}

.el-home-hero__grid {
  display: grid;
  grid-template-columns: 230px 1fr 280px;
  gap: 1rem;
  align-items: stretch;
}

.el-home-depts {
  background: #fff;
  border: 1px solid var(--el-border);
}

.el-home-depts a {
  display: flex;
  flex-direction: column;
  padding: 0.72rem 1rem;
  border-bottom: 1px solid #f0f0f0;
  font-size: 13px;
  font-weight: 600;
}

.el-home-depts a small {
  font-weight: 400;
  color: var(--el-muted);
  font-size: 11px;
}

.el-home-depts a:hover {
  background: #fafafa;
  color: var(--el-link);
}

.el-home-depts__all a {
  color: var(--el-link);
}

.el-home-slider {
  position: relative;
  background: #fff;
  border: 1px solid var(--el-border);
  min-height: 380px;
  overflow: hidden;
}

.el-slide {
  display: none;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 380px;
  background: var(--el-slide-bg, #e8f0fe);
  padding: 2rem 2.25rem;
  gap: 1rem;
}

.el-slide.is-active {
  display: grid;
  animation: elFade 0.35s ease;
}

@keyframes elFade {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

.el-slide__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--el-muted);
}

.el-slide__title {
  font-size: clamp(1.6rem, 2.4vw, 2.35rem);
  margin: 0 0 0.75rem;
  font-weight: 700;
}

.el-slide__text {
  margin: 0 0 1.25rem;
  color: var(--el-muted);
  max-width: 34ch;
}

.el-slide__visual {
  background:
    radial-gradient(circle at 60% 40%, rgba(254, 215, 0, 0.45), transparent 55%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.5), transparent);
  border-radius: 50%;
  align-self: center;
  aspect-ratio: 1;
  max-width: 260px;
  margin-left: auto;
}

.el-slide.has-image .el-slide__visual {
  border-radius: 8px;
  background:
    linear-gradient(90deg, var(--el-slide-bg, #e8f0fe) 0%, transparent 40%),
    var(--el-slide-image) center / cover no-repeat;
  max-width: 320px;
  width: 100%;
  min-height: 220px;
  aspect-ratio: 4 / 3;
}

.el-slide.has-image {
  background:
    linear-gradient(105deg, var(--el-slide-bg, #e8f0fe) 0%, var(--el-slide-bg, #e8f0fe) 48%, transparent 78%),
    var(--el-slide-image, none) right center / cover no-repeat;
}

.el-slider__dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
}

.el-slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(51, 62, 72, 0.25);
  cursor: pointer;
  padding: 0;
}

.el-slider__dot.is-active {
  background: var(--el-yellow);
}

.el-home-deal {
  background: #fff;
  border: 1px solid var(--el-border);
  padding: 1.1rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.el-home-deal__label {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--el-muted);
}

.el-home-deal__media {
  position: relative;
  display: block;
  background: #fafafa;
  aspect-ratio: 1;
  overflow: hidden;
}

.el-home-deal__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.el-home-deal__media .el-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
}

.el-home-deal__title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.el-home-deal__price {
  font-size: 18px;
  font-weight: 700;
  color: var(--el-dark);
}

.el-home-deal__price del {
  font-size: 13px;
  color: var(--el-muted);
  font-weight: 400;
  margin-right: 0.35rem;
}

.el-home-deal__hurry {
  margin: 0.25rem 0 0;
  font-size: 12px;
  color: var(--el-muted);
}

.el-countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35rem;
  margin-bottom: 0.35rem;
}

.el-countdown div {
  background: #f5f5f5;
  text-align: center;
  padding: 0.4rem 0.15rem;
  border-radius: 2px;
}

.el-countdown strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
}

.el-countdown span {
  font-size: 10px;
  color: var(--el-muted);
  text-transform: uppercase;
}

/* Category strip */
.el-cats-strip {
  padding: 1.25rem 0 0;
}

.el-cats-strip__row {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0.75rem;
  background: #fff;
  border: 1px solid var(--el-border);
  padding: 1rem;
}

.el-cat-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  padding: 0.35rem;
}

.el-cat-chip__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #f5f5f5 center/cover no-repeat;
  border: 1px solid var(--el-border);
}

.el-cat-chip__name {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}

.el-cat-chip:hover .el-cat-chip__name {
  color: var(--el-link);
}

/* Sections */
.el-section {
  padding: 1.75rem 0;
}

.el-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--el-border);
  padding-bottom: 0.65rem;
  background: transparent;
}

.el-section__title {
  font-size: 18px;
  margin: 0;
}

.el-tabs {
  display: flex;
  gap: 0.25rem;
}

.el-tabs__btn {
  background: none;
  border: 0;
  padding: 0.35rem 0.85rem;
  font-size: 15px;
  font-weight: 600;
  color: var(--el-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.el-tabs__btn.is-active {
  color: var(--el-dark);
  border-bottom-color: var(--el-yellow);
}

.el-tabs__panel {
  background: transparent;
}

.el-tabs__panel[hidden] {
  display: none !important;
}

/* Promo banners */
.el-banners {
  padding: 0 0 0.5rem;
}

.el-banners__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1rem;
}

.el-banner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  min-height: 140px;
  padding: 1.5rem 1.75rem;
  background: linear-gradient(120deg, #2c3640, #46525d);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.el-banner:hover {
  color: #fff;
}

.el-banner--accent {
  background: linear-gradient(120deg, #fed700, #ffe566);
  color: var(--el-dark);
}

.el-banner--accent:hover {
  color: var(--el-dark);
}

.el-banner__eyebrow {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.el-banner strong {
  font-size: 1.35rem;
  color: inherit;
}

.el-banner__cta {
  font-size: 13px;
  font-weight: 700;
  margin-top: 0.35rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Features strip */
.el-features {
  padding: 0 0 2rem;
}

.el-features__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--el-border);
  padding: 1.25rem 1rem;
}

.el-feature {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.35rem 0.5rem;
}

.el-feature__icon {
  color: var(--el-dark);
  flex-shrink: 0;
}

.el-feature strong {
  display: block;
  font-size: 13px;
}

.el-feature span,
.el-feature a {
  font-size: 12px;
  color: var(--el-muted);
}

/* ========== PRODUCTS ========== */
ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 0 1.5rem !important;
  padding: 0 !important;
  list-style: none;
  width: 100%;
}

ul.products::before,
ul.products::after {
  display: none !important;
  content: none !important;
}

ul.products li.product,
ul.products.columns-4 li.product,
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  float: none !important;
  clear: none !important;
  background: #fff;
  border: 1px solid var(--el-border);
  padding: 1rem 1rem 1.15rem;
  position: relative;
  transition: box-shadow 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
  box-sizing: border-box !important;
}

ul.products li.product:hover {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  border-color: #d8d8d8;
}

ul.products li.product .woocommerce-loop-product__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

ul.products li.product img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #fafafa;
  margin: 0 0 0.85rem;
}

.el-product-cats {
  font-size: 11px;
  color: var(--el-muted);
  margin-bottom: 0.25rem;
}

ul.products li.product .woocommerce-loop-product__title {
  font-size: 14px !important;
  font-weight: 600 !important;
  margin: 0 0 0.4rem !important;
  line-height: 1.35 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding: 0 !important;
}

ul.products li.product .star-rating {
  margin: 0 0 0.4rem;
  font-size: 12px;
  color: var(--el-yellow-dark);
}

.el-product-sku {
  font-size: 11px;
  color: var(--el-muted);
  margin-bottom: 0.45rem;
}

ul.products li.product .price {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--el-dark);
  margin: auto 0 0.75rem;
}

ul.products li.product .price del {
  font-size: 13px;
  font-weight: 400;
  color: var(--el-muted);
  margin-right: 0.3rem;
}

ul.products li.product .price ins {
  text-decoration: none;
  color: var(--el-sale);
}

ul.products li.product .button,
ul.products li.product a.button,
.woocommerce ul.products li.product .button {
  margin-top: auto !important;
  background: var(--el-yellow) !important;
  color: var(--el-dark) !important;
  border: 0 !important;
  border-radius: 2px !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  padding: 0.65rem 0.9rem !important;
  text-align: center;
  width: 100%;
}

ul.products li.product .button:hover,
.woocommerce ul.products li.product .button:hover {
  background: var(--el-yellow-dark) !important;
  color: var(--el-dark) !important;
}

.woocommerce span.onsale,
ul.products li.product .onsale {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 2;
  background: var(--el-sale) !important;
  color: #fff !important;
  min-width: auto;
  min-height: auto;
  line-height: 1;
  padding: 0.3rem 0.45rem;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 700;
}

/* ========== SHOP ========== */
.zipri-main--shop {
  background: var(--el-bg);
  padding: 1.5rem 0 2.5rem;
}

.el-shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1.25rem;
  align-items: start;
}

.el-shop-sidebar {
  background: #fff;
  border: 1px solid var(--el-border);
  padding: 1rem 1.1rem;
}

.zipri-widget + .zipri-widget {
  margin-top: 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--el-border);
}

.zipri-widget__title {
  font-size: 14px;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.zipri-cat-list a {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  font-size: 13px;
  border-bottom: 1px solid #f3f3f3;
}

.zipri-cat-list span {
  color: var(--el-muted);
  font-size: 12px;
}

.el-shop-content {
  min-width: 0;
}

.el-shop-content .woocommerce-products-header,
.el-shop-content .woocommerce-result-count,
.el-shop-content .woocommerce-ordering {
  background: #fff;
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
  margin-bottom: 1rem;
}

.woocommerce-ordering select {
  border: 1px solid var(--el-border);
  padding: 0.45rem 0.6rem;
  background: #fff;
}

.el-breadcrumb,
.woocommerce .woocommerce-breadcrumb {
  font-size: 12px;
  color: var(--el-muted);
  margin: 0 0 1rem;
  padding: 0.75rem 0 0;
}

.woocommerce .woocommerce-breadcrumb a {
  color: var(--el-muted);
}

/* ========== SINGLE PRODUCT ========== */
.zipri-main--product {
  background: var(--el-bg);
  padding: 0 0 2.5rem;
}

.el-product-wrap {
  background: #fff;
  border: 1px solid var(--el-border);
  padding: 1.5rem;
  margin-top: 1.25rem;
}

.woocommerce div.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.woocommerce div.product .woocommerce-product-gallery,
.woocommerce div.product .summary {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
}

.woocommerce div.product .product_title {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--el-dark);
}

.woocommerce div.product p.price del {
  font-size: 1rem;
  color: var(--el-muted);
}

.woocommerce div.product form.cart {
  margin: 1.25rem 0;
}

.woocommerce div.product form.cart .button,
.woocommerce .single_add_to_cart_button {
  background: var(--el-yellow) !important;
  color: var(--el-dark) !important;
  border: 0 !important;
  border-radius: 2px !important;
  font-weight: 700 !important;
  padding: 0.85rem 1.5rem !important;
}

.woocommerce div.product form.cart .button:hover {
  background: var(--el-yellow-dark) !important;
}

.woocommerce div.product .woocommerce-tabs {
  grid-column: 1 / -1;
  margin-top: 1.5rem;
  border-top: 1px solid var(--el-border);
  padding-top: 1rem;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
  padding: 0;
  margin: 0 0 1rem;
  display: flex;
  gap: 0.25rem;
  border-bottom: 1px solid var(--el-border);
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before {
  display: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  border: 0 !important;
  background: none !important;
  margin: 0;
  padding: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 0.65rem 1rem;
  font-weight: 600;
  border-bottom: 2px solid transparent;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  border-bottom-color: var(--el-yellow);
  color: var(--el-dark);
}

.woocommerce div.product .related {
  grid-column: 1 / -1;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--el-border);
  width: 100%;
  max-width: 100%;
}

.woocommerce div.product .related > h2 {
  font-size: 18px;
  margin-bottom: 1rem;
}

.woocommerce div.product .related ul.products,
.woocommerce div.product .upsells ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 1rem !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto 1.5rem !important;
  padding: 0 !important;
  float: none !important;
}

.woocommerce div.product .related ul.products li.product,
.woocommerce div.product .upsells ul.products li.product,
.woocommerce ul.products li.product {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  float: none !important;
  clear: none !important;
  box-sizing: border-box !important;
}

.woocommerce ul.products li.product.first,
.woocommerce ul.products li.product.last {
  clear: none !important;
  margin: 0 !important;
}

.quantity .qty {
  border: 1px solid var(--el-border);
  padding: 0.55rem;
  width: 4.5rem;
}

/* ========== FOOTER ========== */
.el-footer {
  background: #232f3e;
  color: #c9cdd2;
  margin-top: 0;
}

.el-footer a {
  color: #c9cdd2;
}

.el-footer a:hover {
  color: #fff;
}

.el-footer__newsletter {
  background: var(--el-yellow);
  color: var(--el-dark);
}

.el-footer__newsletter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.15rem 0;
  flex-wrap: wrap;
}

.el-footer__newsletter-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.el-footer__newsletter-copy strong {
  font-size: 16px;
  color: var(--el-dark);
}

.el-newsletter {
  display: flex;
  gap: 0;
  flex: 1;
  max-width: 480px;
}

.el-newsletter input[type="email"] {
  flex: 1;
  border: 0;
  padding: 0.75rem 1rem;
  outline: none;
  min-width: 0;
}

.el-newsletter .el-btn {
  border-radius: 0;
}

.el-footer__main {
  padding: 2.5rem 0 2rem;
}

.el-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
}

.el-footer__brand .el-logo {
  margin-bottom: 0.85rem;
  filter: brightness(0) invert(1);
}

.el-footer__brand p {
  margin: 0 0 1rem;
  font-size: 13px;
  line-height: 1.6;
}

.el-footer__contact strong {
  color: #fff;
  font-size: 13px;
}

.el-footer h4 {
  color: #fff;
  font-size: 14px;
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.el-footer__links li {
  margin-bottom: 0.45rem;
}

.el-footer__links a,
.el-footer__links li {
  font-size: 13px;
}

.el-footer__legal {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem 0;
  font-size: 12px;
}

.el-footer__legal-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.el-footer__legal p {
  margin: 0;
}

/* Pages / generic */
.zipri-main:not(.zipri-main--home):not(.zipri-main--shop):not(.zipri-main--product) {
  padding: 2rem 0 3rem;
}

.entry-title {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.entry-content > *:first-child {
  margin-top: 0;
}

/* Cart / checkout buttons */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  background: var(--el-yellow) !important;
  color: var(--el-dark) !important;
  border-radius: 2px !important;
  font-weight: 700 !important;
  border: 0 !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background: var(--el-yellow-dark) !important;
  color: var(--el-dark) !important;
}

.woocommerce a.button.alt,
.woocommerce button.button.alt {
  background: var(--el-dark) !important;
  color: #fff !important;
}

.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
  background: #1e272e !important;
  color: #fff !important;
}

/* Pagination */
.woocommerce nav.woocommerce-pagination ul {
  border: 0;
}

.woocommerce nav.woocommerce-pagination ul li {
  border: 0;
  margin-right: 0.35rem;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  padding: 0.45rem 0.7rem;
  background: #fff;
  border: 1px solid var(--el-border);
}

.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--el-yellow);
  border-color: var(--el-yellow);
  color: var(--el-dark);
  font-weight: 700;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1100px) {
  .el-home-hero__grid {
    grid-template-columns: 1fr 1fr;
  }

  .el-home-depts {
    display: none;
  }

  .el-cats-strip__row {
    grid-template-columns: repeat(4, 1fr);
  }

  .el-features__row {
    grid-template-columns: repeat(2, 1fr);
  }

  ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 1199px) {
  .el-icon-link__meta {
    display: none !important;
  }

  .el-icon-link {
    margin-left: 1.1rem;
  }

  .el-departments {
    flex-basis: 200px;
    min-width: 200px;
    max-width: 200px;
  }
}

@media (max-width: 991px) {
  .el-topbar {
    display: none !important;
  }

  .el-masthead {
    padding: 0.55rem 0;
    border-bottom: 1px solid #eee;
  }

  .el-masthead__row {
    flex-wrap: wrap !important;
    gap: 0.5rem 0.65rem;
  }

  .el-nav-toggle {
    display: inline-flex !important;
    order: 1;
  }

  .el-logo {
    order: 2;
    flex: 1 1 auto !important;
    max-width: none;
    min-width: 0;
    justify-content: center;
    margin-right: 0;
  }

  .el-logo img,
  .el-logo .custom-logo {
    max-height: 36px !important;
    max-width: 130px !important;
  }

  .el-logo__text {
    font-size: 22px;
  }

  .el-masthead__actions {
    order: 3;
    margin-left: 0;
  }

  .el-search-toggle {
    display: inline-flex !important;
  }

  .el-icon-link {
    margin-left: 0.35rem;
  }

  .el-icon-link__meta {
    display: none !important;
  }

  .el-search {
    display: none !important;
    order: 4;
    flex: 1 1 100% !important;
    width: 100% !important;
  }

  .el-header.is-search-open .el-search {
    display: block !important;
  }

  .el-header.is-search-open .el-search__group {
    border-radius: 2.2em;
  }

  .el-header.is-search-open .el-search__cats {
    display: none;
  }

  .el-navbar {
    display: none !important;
  }

  .el-header.is-nav-open .el-mobile-nav {
    display: block !important;
  }

  .el-shop-layout {
    grid-template-columns: 1fr;
  }

  .el-shop-sidebar {
    order: 2;
  }

  .woocommerce div.product {
    grid-template-columns: 1fr;
  }

  .el-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .el-home-hero__grid {
    grid-template-columns: 1fr;
  }

  .el-slide {
    grid-template-columns: 1fr;
    min-height: 280px;
  }

  .el-slide__visual {
    display: none;
  }

  .el-banners__grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 992px) {
  .el-mobile-nav,
  .el-header.is-nav-open .el-mobile-nav {
    display: none !important;
  }

  .el-nav-toggle {
    display: none !important;
  }

  .el-search-toggle {
    display: none !important;
  }

  .el-search {
    display: block !important;
  }

  .el-navbar {
    display: block !important;
  }

  .el-masthead__row {
    flex-wrap: nowrap !important;
  }
}

@media (max-width: 640px) {
  .el-container {
    width: min(100% - 1.25rem, var(--el-container));
  }

  .el-cats-strip__row {
    grid-template-columns: repeat(2, 1fr);
  }

  ul.products,
  .woocommerce ul.products,
  .woocommerce-page ul.products,
  .woocommerce div.product .related ul.products,
  .woocommerce div.product .upsells ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.75rem !important;
    justify-content: center;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  ul.products li.product,
  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product,
  .woocommerce div.product .related ul.products li.product {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
    padding: 0.75rem;
  }

  .woocommerce div.product .related,
  .woocommerce div.product .upsells {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .el-features__row,
  .el-footer__grid {
    grid-template-columns: 1fr;
  }

  .el-footer__newsletter-row {
    flex-direction: column;
    align-items: stretch;
  }

  .el-newsletter {
    max-width: none;
  }
}

/* Page / blog fallbacks */
.zipri-page {
  padding: 1.5rem 0 2.5rem;
}

.zipri-page--narrow {
  max-width: 760px;
}

.zipri-page__header {
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--el-border);
}

.zipri-page__header h1 {
  margin: 0;
  font-size: 1.6rem;
}

.zipri-meta {
  margin: 0.35rem 0 0;
  color: var(--el-muted);
  font-size: 13px;
}

.zipri-content {
  font-size: 15px;
  line-height: 1.7;
}

.zipri-featured {
  margin-bottom: 1.25rem;
}

.zipri-post-list {
  display: grid;
  gap: 1rem;
}

.zipri-post-card {
  background: #fff;
  border: 1px solid var(--el-border);
  padding: 1.1rem 1.2rem;
}

.zipri-404 {
  text-align: center;
  padding: 3rem 1rem;
}

.zipri-404 h1 {
  font-size: 2rem;
}

.zipri-404 p {
  color: var(--el-muted);
  margin: 0.75rem 0 1.25rem;
}

/* Shop toolbar Electro style */
.el-shop-content .woocommerce-products-header {
  background: #fff;
  border: 1px solid var(--el-border);
  padding: 1rem 1.15rem;
  margin-bottom: 1rem;
}

.el-shop-content .woocommerce-products-header__title {
  font-size: 1.35rem;
  margin: 0;
}

.el-shop-content .term-description {
  margin: 0.5rem 0 0;
  color: var(--el-muted);
  font-size: 13px;
}

.el-shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--el-border);
  padding: 0.65rem 1rem;
  margin-bottom: 1rem;
}

.woocommerce .el-shop-content .woocommerce-result-count {
  margin: 0;
  float: none;
  color: var(--el-muted);
  font-size: 13px;
}

.woocommerce .el-shop-content .woocommerce-ordering {
  margin: 0;
  float: none;
}

.el-shop-content ul.products {
  background: transparent;
}
