/* WooCommerce + WordPress glue — do not override reference .p-top / .mini-product layout */

/* Readable type scale (reference CSS used 12px for a dense mockup) */
html {
  font-size: 16px;
}

body.zarin-theme,
body {
  font-size: 15px !important;
  line-height: 1.8;
}

.brand-text strong {
  font-size: 18px !important;
  letter-spacing: 0.5px !important;
  white-space: nowrap;
}

.brand-text small {
  font-size: 11px !important;
}

/* Chitanmod logo mark */
.site-header .header-inner {
  grid-template-columns: minmax(150px, 210px) minmax(0, 1fr) minmax(200px, 275px) 117px !important;
}

.brand.brand--logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  width: auto;
  max-width: 100%;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: auto;
  height: 48px;
  max-width: min(200px, 42vw);
  object-fit: contain;
  object-position: right center;
}

.brand-logo--footer {
  height: 56px;
  max-width: 240px;
  margin-bottom: 8px;
}

.footer-brand .brand--footer {
  display: inline-flex;
  margin-bottom: 4px;
}

@media (max-width: 700px) {
  .brand-logo {
    height: 40px;
    max-width: min(160px, 48vw);
  }
}

.top-nav a {
  font-size: 14px !important;
}

.header-search input,
.header-search input::placeholder {
  font-size: 13px !important;
}

.cart-count {
  font-size: 10px !important;
}

.catalog-name,
.catalog-meta > a.catalog-name {
  font-size: 14px !important;
  font-weight: 700 !important;
}

.catalog-meta > small {
  font-size: 12px !important;
}

.catalog-prices strong {
  font-size: 14px !important;
}

.catalog-prices del {
  font-size: 12px !important;
}

.card-cart {
  font-size: 14px !important;
  height: 40px !important;
  gap: 8px !important;
}

.filter-panel h3,
.filter-panel legend {
  font-size: 14px !important;
}

.filter-choice {
  font-size: 13px !important;
  min-height: 30px !important;
}

.price-labels small,
.chosen-price {
  font-size: 12px !important;
}

.listing-count,
.sort-wrapper select {
  font-size: 13px !important;
}

.section-heading h2,
.home-shop-heading h2,
.home-shop-section h2 {
  font-size: 20px !important;
}

.home-product-name,
.home-cat span {
  font-size: 13px !important;
}

.home-product-price,
.home-product-price strong {
  font-size: 13px !important;
}

.mini-product b {
  font-size: 13px !important;
}

.mini-price {
  font-size: 13px !important;
}

.footer-col h4,
.footer-brand strong {
  font-size: 14px !important;
}

.footer-col a,
.footer-brand p,
.copyright {
  font-size: 13px !important;
}

.benefit b {
  font-size: 13px !important;
}

.benefit small {
  font-size: 12px !important;
}

.p-details h1 {
  font-size: 28px !important;
}

.p-price strong {
  font-size: 22px !important;
}

.p-lead,
.p-features span,
.tab-content,
.single_add_to_cart_button {
  font-size: 14px !important;
}

.btn,
.button,
.filter-apply,
.filter-clear {
  font-size: 13px !important;
}

.product-grid,
ul.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 700px) {
  .product-grid,
  ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Category archive glue */
.mobile-filter-btn {
  display: none;
  margin: 10px auto;
}

.main-category .filter-close {
  display: none;
}

/* Horizontal pagination — flat anchors, no vertical ul/li stack */
.zarin-pagination,
.main-category .pagination,
.main-search .pagination,
nav.pagination,
.woocommerce-pagination,
ul.page-numbers {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  list-style: none !important;
  margin: 24px auto 10px !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100%;
  text-align: center;
}

.zarin-pagination > li,
.pagination > li,
ul.page-numbers > li {
  display: contents; /* flatten li so anchors sit in the flex row */
}

.zarin-pagination a,
.zarin-pagination span,
.main-category .pagination a,
.main-category .pagination span,
.main-search .pagination a,
.main-search .pagination span,
nav.pagination a,
nav.pagination span,
ul.page-numbers a,
ul.page-numbers span {
  width: 38px;
  height: 38px;
  border: 1px solid #eee6df;
  border-radius: 50%;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 14px !important;
  line-height: 1;
  background: #fff;
  color: inherit;
  box-sizing: border-box;
  flex: 0 0 38px;
}

.zarin-pagination .current,
.main-category .pagination .current,
.main-search .pagination .current,
nav.pagination .current,
ul.page-numbers .current {
  background: #c09a68 !important;
  color: #fff !important;
  border-radius: 10px;
  border-color: #c09a68 !important;
}

.main-category .gift-banner {
  display: block;
  width: calc(100% - 56px);
  max-width: 1350px;
  margin: 18px auto 0;
}

.main-category .gift-banner img {
  width: 100%;
  height: 133px;
  object-fit: cover;
  border-radius: 10px;
}

.main-category .recommended-section .scroll-track {
  display: flex;
  direction: rtl;
  gap: 17px;
  overflow-x: auto;
  scrollbar-width: none;
}

.main-category .recommended-section .scroll-track::-webkit-scrollbar {
  display: none;
}

.main-category .catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 18px;
}

.main-category .catalog-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: auto;
  min-height: 360px;
  background: transparent;
  border: 0;
  box-shadow: none;
  margin: 0;
  padding: 0;
}

.main-category .catalog-card .catalog-image {
  position: relative;
  display: block;
  border-radius: 8px;
  overflow: hidden;
  height: 220px;
  background: #f1e8df;
  flex: none;
}

.main-category .catalog-card .catalog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-category .catalog-meta {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 117px;
  padding: 7px 3px 1px;
  text-align: right;
}

.main-category .catalog-meta .card-cart {
  margin-top: auto;
  text-decoration: none;
  color: inherit;
}

.main-category .catalog-card .catalog-name {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.main-category .catalog-card .catalog-meta > small {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 920px) {
  .main-category .catalog-card {
    height: 305px;
  }
  .main-category .catalog-card .catalog-image {
    height: 178px;
  }
}

@media (max-width: 700px) {
  .main-category .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
  }
  .main-category .catalog-card {
    height: 315px;
  }
  .main-category .catalog-card .catalog-image {
    height: 180px;
  }
}

@media (max-width: 700px) {
  .mobile-filter-btn {
    display: block;
  }
  .main-category .filter-close {
    display: block;
    position: absolute;
    top: 8px;
    left: 10px;
    font-size: 22px;
  }
  .filter-panel {
    display: none;
    position: relative;
  }
  .filter-panel.is-open {
    display: block;
    position: fixed;
    inset: 0 auto 0 0;
    width: min(90vw, 320px);
    background: #fff;
    z-index: 1000;
    padding: 1rem;
    overflow: auto;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.2);
  }
  body.filters-open::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 999;
  }
}

/* Product page: details hierarchy + purchase CTA */
.main-product .p-details h1 {
  margin: 6px 0 8px;
  line-height: 1.35;
}

.main-product .p-rating-empty {
  margin: 0 0 10px;
  font-size: 12px;
  color: #7a736c;
}

.main-product .p-rating-empty a {
  color: #9b7544;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.main-product .p-lead {
  margin: 10px 0 16px !important;
}

.main-product .p-price {
  margin: 16px 0 8px !important;
}

.main-product .p-price strong {
  font-size: 22px !important;
}

.main-product .zarin-purchase {
  margin: 18px 0 14px;
}

.main-product form.cart {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.main-product form.cart .quantity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #ece4de;
  border-radius: 10px;
  width: 110px;
  flex: none;
  margin: 0;
  padding: 0 8px;
  height: 46px;
}

.main-product form.cart .quantity .qty {
  width: 40px;
  border: 0;
  background: transparent;
  text-align: center;
  padding: 0;
  box-shadow: none;
  font-size: 14px;
}

.main-product form.cart .single_add_to_cart_button,
.main-product form.cart .button {
  background: #1c2428 !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 10px !important;
  height: 46px;
  padding: 0 22px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  flex: 1;
  min-width: 180px;
  letter-spacing: -0.2px;
}

.main-product form.cart .single_add_to_cart_button:hover,
.main-product form.cart .button:hover {
  background: #2f373b !important;
}

.main-product table.variations {
  width: 100%;
  margin: 0 0 12px;
  border: 0;
}

.main-product table.variations th,
.main-product table.variations td {
  border: 0;
  padding: 4px 0;
  text-align: right;
  font-size: 11px;
  vertical-align: middle;
}

.main-product table.variations select {
  width: 100%;
  border: 1px solid #ece4de;
  border-radius: 9px;
  padding: 8px 10px;
  background: #fff;
}

/* Thumbnail column: equal-size items, top-aligned with main gallery */
.main-product .p-top {
  align-items: start;
}

.main-product .p-gallery,
.main-product .main-product-img {
  height: 434px !important;
}

.main-product .main-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.main-product .thumbnail-list {
  display: flex !important;
  flex-direction: column;
  gap: 8px;
  margin-top: 0 !important;
  height: 434px !important;
  width: 73px;
  box-sizing: border-box;
}

.main-product .thumbnail-list .thumb {
  display: block !important;
  flex: 1 1 0 !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: #f1e9e1;
  cursor: pointer;
  box-sizing: border-box;
}

.main-product .thumbnail-list .thumb.selected,
.main-product .thumbnail-list .thumb.is-active {
  border-color: #b78a4c;
}

.main-product .thumbnail-list .thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
}

@media (min-width: 1300px) {
  .main-product .p-gallery,
  .main-product .main-product-img,
  .main-product .thumbnail-list {
    height: 480px !important;
  }

  .main-product .thumbnail-list {
    width: 75px;
  }
}

@media (max-width: 920px) {
  .main-product .p-gallery,
  .main-product .main-product-img,
  .main-product .thumbnail-list {
    height: 405px !important;
  }

  .main-product .thumbnail-list {
    width: 60px;
  }
}

@media (max-width: 700px) {
  .main-product .p-gallery {
    height: auto !important;
    aspect-ratio: 1;
  }

  .main-product .main-product-img {
    height: 100% !important;
  }

  .main-product .thumbnail-list {
    height: 100% !important;
    align-self: stretch;
    width: 63px;
  }
}

/* Feature row (details, right of gallery in RTL): equal cells */
.main-product .p-features {
  align-items: stretch;
  margin: 16px 0 4px !important;
  padding-bottom: 18px !important;
}

.main-product .p-features > div {
  min-height: 76px;
  height: 100%;
  justify-content: center;
  padding: 4px 2px;
}

.main-product .p-features span {
  white-space: normal !important;
  line-height: 1.55 !important;
}

.main-product .purchase-benefits {
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 4px;
}

.main-product .purchase-benefits > div {
  height: auto;
  min-height: 60px;
  padding: 10px 8px;
  box-sizing: border-box;
}

.main-product .purchase-benefits b {
  font-size: 11px !important;
}

.main-product .purchase-benefits small {
  font-size: 10px !important;
  margin-top: 2px;
}

.main-product .p-tab-nav {
  display: flex;
  justify-content: flex-start !important;
  gap: 28px;
  width: 100%;
}

.main-product .p-tab-nav button {
  font-size: 13px !important;
  padding-bottom: 10px;
  flex: none;
}

.main-product .p-tab-nav button.active,
.main-product .p-tab-nav button.is-active {
  color: #1c2428;
  font-weight: 700;
  border-bottom: 2px solid #b78a4c;
}

.main-product .tab-content[hidden] {
  display: none !important;
}

.main-product .tab-content {
  padding: 18px 6px 8px;
  font-size: 13px !important;
  line-height: 2;
}

.main-product .p-reviews-empty {
  padding: 8px 0 16px;
}

.main-product .p-reviews-cta {
  display: inline-flex;
  align-items: center;
  margin-top: 6px;
  padding: 10px 16px;
  border-radius: 10px;
  background: #1c2428;
  color: #fff !important;
  font-size: 12px;
  font-weight: 650;
}

.main-product .p-reviews-cta:hover {
  background: #2f373b;
  color: #fff !important;
}

/* Review / comment form — match Zarin soft UI */
.main-product #reviews,
.main-product #review_form,
.main-product #respond,
.main-product .comment-respond {
  max-width: 100%;
}

.main-product #reply-title,
.main-product .comment-reply-title {
  display: block;
  margin: 8px 0 14px;
  font-size: 15px;
  font-weight: 700;
  color: #1c2428;
  letter-spacing: -0.2px;
}

.main-product .comment-notes,
.main-product .woocommerce-noreviews {
  margin: 0 0 16px;
  font-size: 12px;
  color: #7a736c;
  line-height: 1.8;
}

.main-product .comment-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
  margin: 0;
  padding: 18px 18px 16px;
  background: rgba(255, 252, 249, 0.9);
  border: 1px solid #efe6dd;
  border-radius: 14px;
}

.main-product .comment-form > .comment-notes,
.main-product .comment-form > .comment-form-rating,
.main-product .comment-form > .comment-form-comment,
.main-product .comment-form > .comment-form-cookies-consent,
.main-product .comment-form > .form-submit,
.main-product .comment-form > .comment-form-url {
  grid-column: 1 / -1;
}

.main-product .comment-form p {
  margin: 0;
}

.main-product .comment-form label {
  display: block;
  margin: 0 0 7px;
  font-size: 12px;
  font-weight: 650;
  color: #3a3530;
}

.main-product .comment-form .required {
  color: #e52e58;
}

.main-product .comment-form input[type="text"],
.main-product .comment-form input[type="email"],
.main-product .comment-form input[type="url"],
.main-product .comment-form textarea,
.main-product .comment-form select,
.main-product .comment-form-rating select {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 11px 14px;
  border: 1px solid #ece4de;
  border-radius: 12px;
  background: #f7f1eb;
  color: #1c2428;
  font: inherit;
  font-size: 13px;
  line-height: 1.5;
  outline: none;
  transition: border-color 0.15s, background-color 0.15s, box-shadow 0.15s;
  appearance: none;
  -webkit-appearance: none;
}

.main-product .comment-form textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.85;
}

.main-product .comment-form select,
.main-product .comment-form-rating select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%237a736c' d='M1.1 1.2 6 6.1l4.9-4.9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 14px center;
  padding-left: 36px;
  cursor: pointer;
}

.main-product .comment-form input[type="text"]:focus,
.main-product .comment-form input[type="email"]:focus,
.main-product .comment-form input[type="url"]:focus,
.main-product .comment-form textarea:focus,
.main-product .comment-form select:focus {
  border-color: #c4a06a;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(183, 138, 76, 0.18);
}

.main-product .comment-form-rating {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.main-product .comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.main-product .comment-form-cookies-consent input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 16px;
  height: 16px;
  margin: 3px 0 0;
  border: 1px solid #c5bdb4;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
}

.main-product .comment-form-cookies-consent input[type="checkbox"]:checked {
  background: #222629;
  border-color: #222629;
  box-shadow: inset 0 0 0 3px #fff;
}

.main-product .comment-form-cookies-consent label {
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  color: #6f6862;
  line-height: 1.7;
  cursor: pointer;
}

.main-product .comment-form .form-submit {
  margin-top: 4px;
}

.main-product .comment-form .form-submit input#submit,
.main-product .comment-form .form-submit .submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  height: 46px;
  padding: 0 22px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #1c2428 !important;
  color: #fff !important;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  cursor: pointer;
  transition: background 0.15s;
}

.main-product .comment-form .form-submit input#submit:hover,
.main-product .comment-form .form-submit .submit:hover {
  background: #2f373b !important;
}

.main-product #reviews .woocommerce-Reviews-title,
.main-product #comments h2 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
}

@media (max-width: 700px) {
  .main-product .comment-form {
    grid-template-columns: 1fr;
    padding: 14px;
    gap: 12px;
  }

  .main-product .comment-form .form-submit input#submit,
  .main-product .comment-form .form-submit .submit {
    width: 100%;
  }
}

/* Tabs (توضیحات / اطلاعات / نظرات): full width, no lifestyle banner */
.main-product .p-info-split.p-info-full {
  display: block;
  grid-template-columns: none;
  width: 100%;
  margin-top: 22px;
}

.main-product .p-info-split.p-info-full .p-tabs-panel {
  width: 100%;
  max-width: 100%;
  padding: 14px 18px 10px;
}

/* Mobile sticky buy bar */
.zarin-mobile-buy {
  display: none;
}

@media (max-width: 700px) {
  .main-product form.cart {
    flex-direction: column;
    align-items: stretch;
  }

  .main-product form.cart .quantity {
    width: 100%;
    max-width: 140px;
  }

  .main-product form.cart .single_add_to_cart_button,
  .main-product form.cart .button {
    width: 100%;
    min-width: 0;
    height: 48px;
    font-size: 14px !important;
  }

  .main-product.container {
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }

  body.zarin-mobile-buy-visible .zarin-mobile-buy {
    display: flex;
    position: fixed;
    z-index: 40;
    left: 0;
    right: 0;
    bottom: 0;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 252, 249, 0.97);
    border-top: 1px solid #efe6dd;
  }

  .zarin-mobile-buy__price {
    font-size: 14px;
    font-weight: 800;
    color: #e52e58;
    white-space: nowrap;
  }

  .zarin-mobile-buy__btn {
    flex: 1;
    height: 46px;
    border: 0;
    border-radius: 10px;
    background: #1c2428;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    font-family: inherit;
  }

  .zarin-mobile-buy__btn:hover {
    background: #2f373b;
  }
}

.main-product .mini-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Related + recently viewed: equal cards, no stair-step, fill row better */
.main-product .product-small-section {
  margin-top: 28px;
  width: 100%;
}

.main-product .product-small-section .section-heading {
  width: 100%;
  margin: 0 0 14px;
}

.main-product .product-small-section .scroll-section {
  position: relative;
  width: 100%;
  padding-inline: 0;
}

.main-product .product-small-section .scroll-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: flex-start;
  direction: rtl;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  padding: 2px 2px 8px;
  width: 100%;
  box-sizing: border-box;
}

.main-product .product-small-section .scroll-track::-webkit-scrollbar {
  display: none;
}

.main-product .product-small-section .mini-product,
.main-product .recently-viewed .mini-product {
  flex: 0 0 168px !important;
  width: 168px !important;
  max-width: 168px;
  min-width: 168px;
  box-sizing: border-box;
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  text-align: right;
  gap: 0;
  scroll-snap-align: start;
  min-height: 0;
  align-self: stretch;
}

.main-product .product-small-section .mini-img,
.main-product .recently-viewed .mini-img {
  height: 118px !important;
  width: 100% !important;
  flex: 0 0 118px;
  overflow: hidden;
  position: relative;
  border-radius: 8px;
  background: #f1e9e1;
}

.main-product .product-small-section .mini-img img,
.main-product .recently-viewed .mini-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
}

.main-product .product-small-section .mini-product b,
.main-product .recently-viewed .mini-product b,
.main-product .mini-product b {
  display: block;
  box-sizing: border-box;
  height: 2.4em;
  margin: 8px 0 4px;
  padding: 0;
  font-size: 12px !important;
  font-weight: 650 !important;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.main-product .product-small-section .mini-price,
.main-product .recently-viewed .mini-price {
  display: block;
  margin-top: auto;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #e33e54 !important;
  line-height: 1.3;
  white-space: nowrap;
}

.main-product .product-small-section .carousel-nav {
  border: 0;
  color: #333;
  top: 44px;
  width: 34px;
  height: 34px;
  background: #fffdfa;
  box-shadow: 0 1px 8px #0001;
}

.main-product .product-small-section .carousel-nav.previous {
  right: 6px;
  left: auto;
}

.main-product .product-small-section .carousel-nav.next {
  left: 6px;
  right: auto;
}

@media (max-width: 700px) {
  .main-product .product-small-section .mini-product,
  .main-product .recently-viewed .mini-product {
    flex-basis: 142px !important;
    width: 142px !important;
    min-width: 142px;
    max-width: 142px;
  }

  .main-product .product-small-section .mini-img,
  .main-product .recently-viewed .mini-img {
    height: 100px !important;
    flex-basis: 100px;
  }

  .main-product .product-small-section .carousel-nav.previous {
    right: 0;
  }

  .main-product .product-small-section .carousel-nav.next {
    left: 0;
  }
}

/* Heart on product images: no white circle — icon sits on the photo */
.heart-btn,
.catalog-image .heart-btn,
.mini-img .heart-btn {
  background: transparent !important;
  background-color: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #fff !important;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

.heart-btn svg,
.catalog-image .heart-btn svg,
.mini-img .heart-btn svg {
  stroke: #fff;
  stroke-width: 1.8;
}

.heart-btn.liked,
.catalog-image .heart-btn.liked,
.mini-img .heart-btn.liked {
  color: #eb315d !important;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
}

.heart-btn.liked svg,
.catalog-image .heart-btn.liked svg,
.mini-img .heart-btn.liked svg {
  fill: #eb315d;
  stroke: #eb315d;
}

.button,
.woocommerce-button,
button[type="submit"]:not(.thumb):not(.carousel-nav):not(.home-arrow):not(.heart-btn):not([data-heart]) {
  font-family: inherit !important;
}

.woocommerce-cart .cart-collaterals,
.woocommerce-checkout .woocommerce,
.woocommerce-account .woocommerce {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1rem 3rem;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-radius: 12px;
  border-top-color: #b78a4c;
}

.product-card,
.home-product {
  position: relative;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.blog-card img,
.blog-feature img {
  width: 100%;
  border-radius: 16px;
  display: block;
}

.error-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 1rem;
}

.error-cat {
  text-align: center;
  text-decoration: none;
  color: inherit;
}

.error-cat img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}

.chip {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: #f3ebe0;
  margin: 0.25rem;
  text-decoration: none;
  color: inherit;
}

.reduce-motion * {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
