/* Interior QC: scoped to the sections in the supplied design references. */
.about-page .goalsWishesBack {
  width: 100%;
  max-width: none;
  padding-block: 44px;
}
.about-page .goalsWishesRow { position: relative; max-width: 1020px; }
.about-page .goalsWishesRow::before,
.about-page .goalsWishesRow::after {
  content: "";
  position: absolute;
  top: 0;
  width: calc((100% - 24px) / 3);
  height: 100%;
  border-radius: 20px;
  pointer-events: none;
}
.about-page .goalsWishesRow::before {
  right: calc(100% + 12px);
  background: linear-gradient(to left, #f3f3f3, #fafafa);
}
.about-page .goalsWishesRow::after {
  left: calc(100% + 12px);
  background: linear-gradient(to right, #f3f3f3, #fafafa);
}
.about-page .goalsWishesInner { min-height: 320px; padding: 32px; }
.about-page .goalsWishesText { font-weight: 300; }

/* Keep the category strip, sorting bar and product grid on one vertical rhythm. */
.payamProductArchive .TopParentShopOptioons { margin: 16px 0 20px; padding: 0; }
.payamProductArchive .ProductLoopGrid,
.payamProductArchive .ProductLoopGrid ul.products { margin-top: 0; padding-top: 0; }
.payamProductArchive .shopSortDropdown { min-height: 64px; padding: 12px 18px; gap: 16px; }
.payamProductArchive .shopSortOptions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.payamProductArchive .shopSortOptions :is(a, button) { margin: 0; padding-inline: 0; font: 400 16px/1.6 ArtinSharpFN, sans-serif; }

/* FAQ typography, plus/minus icons and stable slide animation. */
body .faq-page .faqSection .faqs-content > .HeadingsSection { display: none; }
body .faqSection .faqs-content > .HeadingsSection {
  width: 100%; margin: 0 0 32px !important; padding: 0;
  display: grid; gap: 16px; text-align: center;
}
body .faqSection .faqs-content .HeadingsSection > .SubsTitleCusTheme {
  font: 300 20px/1.8 ArtinSharpFN, sans-serif !important;
}
body .faqSection .faqs-content .faqs-item { margin: 0 0 24px; }
body .faqSection .faqs-content .faqs-item .faqs-question {
  position: relative; background: #fff; min-height: 72px; height: auto;
  padding: 12px 16px; border-radius: 16px; text-align: right;
  font: 400 16px/1.8 ArtinSharpFN, sans-serif !important;
  color: #171717; transition: border-color .2s;
}
body .faqSection .faqs-content .faq-num {
  display: flex !important; flex: 0 0 44px; width: 44px; height: 44px;
  background: #f5f5f5; color: #171717; font: 300 20px/1 ArtinSharpFN, sans-serif;
}
body .faqSection .faqs-content .faqs-answer {
  box-sizing: border-box; width: 92%; border-radius: 0 0 20px 20px;
}
body .faqSection .faqs-content .faqs-answer .editor-content.main-content,
body .faqSection .faqs-content .faqs-answer .editor-content.main-content p {
  font: 300 16px/1.9 ArtinSharpFN, sans-serif !important;
  scale: none; transform: none; transition: none; text-align: right;
}
body .faqSection .faqs-answer .editor-content.main-content p { margin: 0; }
body :is(.faqSection, .theme-attributes-accordion) .faqs-question .ParentSvgs {
  position: relative; display: block; flex: 0 0 24px; width: 24px; height: 24px;
  margin-inline-start: auto; margin-inline-end: 0; filter: none; color: #9f1c31;
}
body :is(.faqSection, .theme-attributes-accordion) .faqs-question .ParentSvgs svg { display: none; }
body :is(.faqSection, .theme-attributes-accordion) .ParentSvgs::before,
body :is(.faqSection, .theme-attributes-accordion) .ParentSvgs::after {
  content: ""; position: absolute; background: currentColor;
  width: 12px; height: 1.5px; top: 50%; left: 50%; transform: translate(-50%, -50%);
}
body :is(.faqSection, .theme-attributes-accordion) .ParentSvgs::after { transform: translate(-50%, -50%) rotate(90deg); }
body :is(.faqSection, .theme-attributes-accordion) .active > .faqs-question .ParentSvgs::after { opacity: 0; }
body :is(.faqSection, .theme-attributes-accordion) .accordion:focus-visible { outline: 2px solid #9f1c31; outline-offset: 3px; }

/* Product gallery and attribute groups. */
.single-product .ParentTopProducts .divParentImgProduct :is(.CompareButton, .yith-add-to-wishlist-button-block) {
  font: 300 16px/1.5 ArtinSharpFN, sans-serif;
  height: 36px;
}
.single-product .ParentTopProducts .divParentImgProduct :is(.CompareButton, .yith-add-to-wishlist-button-block) :is(a, span, button) {
  font-family: inherit; font-size: inherit; font-weight: inherit;
}
.single-product .ParentTopProducts .divParentImgProduct .product-gallery-thumbnails { margin-top: 12px; gap: 12px; }
.single-product .ParentTopProducts .divParentImgProduct .mySwiperThumbs { padding-bottom: 0; }
.single-product .ParentTopProducts .divParentImgProduct .mySwiperThumbs .swiper-slide {
  height: auto; aspect-ratio: 1; background: #f5f5f5; opacity: 1; border-radius: 16px;
}
.single-product .ParentTopProducts .divParentImgProduct .mySwiperThumbs .swiper-slide img {
  width: 85%; height: 85%; object-fit: contain; opacity: 1; filter: none;
}
.single-product .product-gallery-thumbnails button { flex-basis: 44px; height: 44px; border-radius: 12px; }
.single-product .theme-attributes-accordion .faqs-item { margin-bottom: 12px; }
.single-product .theme-attributes-accordion .faqs-item .faqs-question {
  height: auto; min-height: 64px; padding: 14px 20px; color: #171717;
  font: 400 16px/1.7 ArtinSharpFN, sans-serif;
}
.single-product .theme-attributes-accordion .faqs-question::before { display: none; }
.single-product .theme-attributes-accordion .theme-attr-group-title { font-weight: 400; }
.single-product .theme-attributes-accordion .faqs-question .ParentSvgs {
  border: 1px solid currentColor; border-radius: 50%; color: #171717;
}
.single-product .theme-attributes-accordion .active > .faqs-question .ParentSvgs { color: #9f1c31; }
.single-product .theme-attributes-accordion .faqs-item .theme-attr-list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 12px 0 0;
}
.single-product .theme-attributes-accordion .faqs-item .theme-attr-row {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 64px; padding: 14px 20px; border: 0; background: #e0e0e0;
}
.single-product .theme-attributes-accordion .faqs-item :is(.theme-attr-label, .theme-attr-value) { font: 300 16px/1.7 ArtinSharpFN, sans-serif; }
.single-product .theme-attr-value p { margin: 0; }

/* Article: narrower sidebars, readable light text and two-line related titles. */
.single-post-page .singlePostsPages > article.post .article-side-panel .rowInfoWrapper h3 {
  font: 300 16px/1.65 ArtinSharpFN, sans-serif;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
}
.single-post-page .singlePostsPages > article.post .article-side-panel .archiveImage { flex-basis: 72px; }
.single-post-page .singlePostsPages > article.post .article-side-panel .archiveImage img { width: 72px; height: 72px; }
.single-post-page .singlePostsPages > article.post :is(.RightsSideBar, .leftSidebar.Side) .TitleSide { font: 400 18px/1.7 ArtinSharpFN, sans-serif; }
.single-post-page .singlePostsPages > article.post .RightsSideBar .tabelOfContent .listTableContent > li > a { font: 300 16px/1.9 ArtinSharpFN, sans-serif; }
.single-post-page .singlePostsPages > article.post .RightsSideBar .tabelOfContent .listTableContent > li { margin: 0; padding-block: 6px; }
.single-post-page .singlePostsPages > article.post .ContentCenter .entry-content :is(p, li) { font: 300 18px/2 ArtinSharpFN, sans-serif; }
.single-post-page .singlePostsPages > article.post .ContentCenter .imgsParents img { width: 100%; height: auto; border-radius: 24px; }
@media (min-width: 1081px) {
  .single-post-page .singlePostsPages > article.post { display: grid; grid-template-columns: minmax(200px, 1fr) minmax(0, 3fr) minmax(200px, 1fr); align-items: start; gap: 24px; }
  .single-post-page .singlePostsPages > article.post:not(:has(.RightsSideBar)) { grid-template-columns: minmax(0, 3fr) minmax(200px, 1fr); }
  .single-post-page .singlePostsPages > article.post :is(.RightsSideBar, .leftSidebar.Side, .ContentCenter) { display: block; width: 100%; min-width: 0; box-sizing: border-box; }
  .single-post-page .singlePostsPages > article.post .RightsSideBar { padding: 12px !important; top: 24px; }
  .single-post-page .singlePostsPages > article.post .leftSidebar.Side { top: 24px; }
  body.admin-bar .single-post-page .singlePostsPages > article.post :is(.RightsSideBar, .leftSidebar.Side) { top: 56px; }
}
@media (max-width: 768px) {
  .about-page .goalsWishesRow { margin-inline: 20px; }
  .about-page .goalsWishesInner { min-height: 240px; padding: 24px; }
  body .faqSection .faqs-content .faqs-item .faqs-question { min-height: 64px; padding: 10px; font-size: 14px !important; gap: 8px; }
  body .faqSection .faqs-content .faq-num { flex-basis: 32px; width: 32px; height: 36px; margin-left: 0; font-size: 16px; }
  body .faqSection .faqs-content .faqs-answer .editor-content.main-content,
  body .faqSection .faqs-content .faqs-answer .editor-content.main-content p { font-size: 14px !important; }
  .single-product .theme-attributes-accordion .faqs-item .theme-attr-list { grid-template-columns: 1fr; }
  .single-product .ParentTopProducts .divParentImgProduct :is(.CompareButton, .yith-add-to-wishlist-button-block) { font-size: 13px; }
  .single-product .custom-tabs-wrapper .custom {
    padding: 8px;
    gap: 8px;
  }
  .single-product .custom-tabs-wrapper .custom .custom-product-tabs {
    justify-content: start;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #d9cbd0 transparent;
  }
  .single-product .custom-tabs-wrapper .custom .custom-product-tabs .listSideItem {
    flex: 1 0 auto;
    min-width: max-content;
    min-height: 44px;
    height: auto;
    padding: 6px 8px;
    font-size: 12px;
    white-space: nowrap;
  }
  .single-product .custom-tabs-wrapper .custom .toptab {
    width: 44px;
    height: 44px;
  }
  .single-product .single-product-sticky-atc {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
    padding: 10px 12px max(10px, env(safe-area-inset-bottom));
  }
  .single-product .single-product-sticky-atc .sticky-atc-button {
    width: 100%;
    min-height: 46px;
    height: auto;
    gap: 5px;
    border-radius: 12px !important;
    font: 600 clamp(11px, 3.4vw, 14px)/1.5 ArtinSharpFN, sans-serif;
  }
  .single-product .single-product-sticky-atc .sticky-atc-button svg {
    flex: 0 0 17px;
    width: 17px;
    height: 17px;
  }
  .single-product .single-product-sticky-atc .sticky-atc-price {
    min-width: 0;
    max-width: none;
    font: 700 14px/1.4 ArtinSharpFN, sans-serif;
    overflow-wrap: anywhere;
  }
  .single-product :is(.sticky-atc-price:has(> .theme-discount-percent), .sticky-atc-price .theme-price-wrap.theme-price-onsale) {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas: "badge regular" "current current";
    gap: 2px 5px;
    max-width: 100%;
  }
  .single-product .sticky-atc-price:has(.theme-discount-percent) .theme-price-numbers { display: contents; }
  .single-product .sticky-atc-price .theme-price-regular { grid-area: regular; font-size: 10px; }
  .single-product .sticky-atc-price .theme-price-current { grid-area: current; }
  .single-product .sticky-atc-price .theme-discount-percent {
    grid-area: badge;
    padding: 1px 6px;
    border-radius: 999px;
    background: #9f1c31;
    color: #fff;
    font-size: 10px;
    line-height: 1.5;
  }
  .single-post-page .singlePostsPages > article.post .ContentCenter .entry-content :is(p, li) { font-size: 16px; }
}
