/*
Theme Name: pinterest_v10
Theme URI: 
Author: ali mahmoudi
Author URI: 
Description: Designer Ali Mahmoudi.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: black, brown, orange, tan, white, yellow, light, one-column, two-columns, right-sidebar, flexible-width, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, translation-ready
Text Domain: twentythirteen

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

.swiper-container {
  position: relative;
}
.slider-team,
.slider-products,
.slider-blog,
.slider-portfolio {
  padding-bottom: 40px !important;
}
.swiper-pagination {
  position: absolute;
  bottom: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  margin-top: -20px !important;
  padding-right: 50px;
  padding-left: 50px;
  height: fit-content !important;
  padding-top: 5px;
  padding-bottom: 5px;
  clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0 100%) !important;
  margin: auto !important;
}
.swiper-pagination-top.swiper-pagination {
  width: fit-content !important;
}
.swiper-pagination-bullet {
  opacity: 1 !important;
  width: 8px !important;
  height: 8px !important;
  background: #ccc !important;
  border-radius: 50%;
  margin: 0 5px;
}
.swiper-pagination-bullet-active {
  width: 25px !important;
  border-radius: 5px !important;
  background: var(--color-primary-100) !important;
}
.swiper-pagination-top .swiper-pagination-bullet-active {
  width: 16px !important;
  height: 16px !important;
  border-radius: 50% !important;
  background: var(--color-primary-100) !important;
}

.added_to_cart.wc-forward {
  display: none !important;
}

.responsive-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
}
.responsive-image-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.responsive-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}
.responsive-image-container:hover img {
  transform: scale(1.05);
}

.dashed-line {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  border-left: 2px dashed var(--color-primary-100);
}

@media (max-width: 767px) {
  .footer-accordion-item {
    position: relative;
  }
  .footer-accordion-item .footer-accordion-header {
    cursor: pointer;
    position: relative;
    z-index: 10;
  }
  .footer-accordion-content {
    display: block;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease 0.1s;
  }
  .footer-accordion-item:not(.footer-accordion-open) .footer-accordion-content {
    max-height: 0 !important;
    opacity: 0;
  }
  .footer-accordion-item.footer-accordion-open .footer-accordion-content {
    max-height: 2000px;
    opacity: 1;
  }
}
@media (min-width: 768px) {
  .footer-accordion-content {
    display: block !important;
    max-height: none !important;
  }
  .footer-accordion-icon {
    display: none !important;
  }
}

.section-spacing {
  margin-bottom: 60px;
}
@media (min-width: 768px) {
  .section-spacing {
    margin-bottom: 80px;
  }
}

/* uniform spacing between homepage sections */
.home-container {
  display: flex;
  flex-direction: column;
  gap: clamp(72px, 9vw, 128px);
}
@media (max-width: 767px) {
  .home-container {
    gap: 72px;
  }
}
.home-container > .section-spacing {
  margin-bottom: 0;
}

/* header nav: remove li bullets/circles */
header nav,
header nav ul,
header nav li {
  list-style: none;
}

/* ==================================================================
   Account Dashboard (WooCommerce My Account)
   ================================================================== */

.account-page {
  max-width: 1200px;
  margin: 0 auto;
}

/* --- mobile toggle bar --- */
.account-navbar {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 16px;
}
@media (min-width: 1024px) {
  .account-navbar {
    display: none;
  }
}
.account-nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  background: var(--color-btn-100);
  color: var(--color-btn-text-100);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background 0.3s ease;
}
.account-nav-toggle:hover {
  background: var(--color-btn-dark);
}
.account-nav-toggle__icon {
  width: 20px;
  height: 20px;
}

/* --- layout --- */
.account-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}
@media (min-width: 1024px) {
  .account-layout {
    grid-template-columns: 260px minmax(0, 1fr);
  }
}

/* --- sidebar --- */
.account-sidebar {
  display: none;
}
@media (min-width: 1024px) {
  .account-sidebar {
    display: block;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    padding: 20px 14px;
    box-shadow: -2px 8px 28px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 75px;
  }
}
.account-sidebar__user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 10px 18px;
  margin-bottom: 10px;
  border-bottom: 1px solid #f0f0f0;
}
.account-sidebar__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--color-primary-100);
  object-fit: cover;
}
.account-sidebar__meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.account-sidebar__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-textPrimary-100);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.account-sidebar__subtitle {
  font-size: 12px;
  color: #9c9c9c;
}

/* --- nav (sidebar + drawer shared) --- */
.account-nav {
  margin: 0;
}
.account-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.account-nav__item {
  list-style: none;
}
.account-nav__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  color: #666;
  text-decoration: none;
  transition: all 0.25s ease;
}
.account-nav__link:hover {
  background: #f0fdfb;
  color: var(--color-primary-100);
}
.account-nav__item.is-active .account-nav__link {
  background: color-mix(in srgb, var(--color-primary-100) 8%, transparent);
  color: var(--color-primary-100);
  font-weight: 600;
}
.account-nav__icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.account-nav__icon svg {
  width: 100%;
  height: 100%;
}
.account-nav__label {
  flex: 1;
}

/* --- mobile drawer --- */
.account-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(320px, 88vw);
  max-width: 320px;
  background: #fff;
  z-index: 4000;
  padding: 20px 16px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.18);
}
@media (min-width: 1024px) {
  .account-nav-drawer {
    display: none;
  }
}
.account-nav-drawer--open {
  transform: translateX(0);
}
.account-nav-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid #f0f0f0;
}
.account-nav-drawer__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-textPrimary-100);
}
.account-nav-close {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  background: #fff;
  color: #666;
  cursor: pointer;
  transition: all 0.2s ease;
}
.account-nav-close:hover {
  background: #f5f5f5;
  color: #e74c3c;
}
.account-nav-close svg {
  width: 18px;
  height: 18px;
}

.account-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 3999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
@media (min-width: 1024px) {
  .account-overlay {
    display: none;
  }
}
.account-overlay--open {
  opacity: 1;
  visibility: visible;
}
.account-nav-locked {
  overflow: hidden;
}

/* --- content card --- */
.account-content {
  min-width: 0;
}

/* --- generic card --- */
.account-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  padding: 24px;
  box-shadow: -2px 8px 28px rgba(0, 0, 0, 0.03);
}

/* --- dashboard greeting --- */
.account-dashboard__greeting {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.account-dashboard__avatar-wrap {
  flex-shrink: 0;
}
.account-dashboard__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 3px solid var(--color-primary-100);
  object-fit: cover;
}
.account-dashboard__title {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-textPrimary-100);
  margin: 0 0 6px;
}
.account-dashboard__desc {
  font-size: 14px;
  line-height: 1.9;
  color: #666;
  margin: 0;
}
.account-dashboard__desc a {
  color: var(--color-primary-100);
  font-weight: 600;
  text-decoration: none;
}
.account-dashboard__desc a:hover {
  text-decoration: underline;
}

/* --- dashboard stats --- */
.account-dashboard__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}
@media (max-width: 640px) {
  .account-dashboard__stats {
    grid-template-columns: 1fr;
  }
}
.account-dashboard__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  text-decoration: none;
  transition: all 0.25s ease;
}
.account-dashboard__stat:hover {
  border-color: var(--color-primary-100);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px color-mix(in srgb, var(--color-primary-100) 12%, transparent);
}
.account-dashboard__stat-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: color-mix(in srgb, var(--color-primary-100) 8%, transparent);
  color: var(--color-primary-100);
}
.account-dashboard__stat-icon svg {
  width: 22px;
  height: 22px;
}
.account-dashboard__stat-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--color-textPrimary-100);
}
.account-dashboard__stat-label {
  font-size: 13px;
  color: #9c9c9c;
}

.account-dashboard__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* --- section titles --- */
.account-section-head {
  margin-bottom: 16px;
}
.account-section-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-textPrimary-100);
  margin: 0;
}

/* --- buttons --- */
.account-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.25s ease;
}
.account-btn--primary {
  background: var(--color-btn-100);
  color: var(--color-btn-text-100);
}
.account-btn--primary:hover {
  background: var(--color-btn-dark);
  color: var(--color-btn-text-100);
}
.account-btn--outline {
  background: #fff;
  border-color: var(--color-primary-100);
  color: var(--color-primary-100);
}
.account-btn--outline:hover {
  background: color-mix(in srgb, var(--color-primary-100) 8%, transparent);
  color: var(--color-primary-dark);
}
.account-btn--sm {
  padding: 8px 14px;
  font-size: 13px;
  border-radius: 10px;
}

/* --- tables (orders + order details) --- */
.account-table-wrap {
  padding: 8px;
  overflow-x: auto;
}
.account-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.account-table th {
  background: #fafafa;
  color: #9c9c9c;
  font-size: 13px;
  font-weight: 600;
  text-align: right;
  padding: 12px 16px;
  border-bottom: 1px solid #e8e8e8;
  white-space: nowrap;
}
.account-table td {
  padding: 16px;
  border-bottom: 1px solid #f0f0f0;
  color: var(--color-textPrimary-100);
  text-align: right;
  vertical-align: middle;
}
.account-table tbody tr:last-child td {
  border-bottom: none;
}
.account-table tbody tr {
  transition: background 0.2s ease;
}
.account-table tbody tr:hover {
  background: #fafafa;
}
.account-table a {
  color: var(--color-primary-100);
  text-decoration: none;
  font-weight: 600;
}
.account-table a:hover {
  text-decoration: underline;
}
.account-table__sub {
  display: block;
  color: #9c9c9c;
  font-size: 12px;
  margin-top: 2px;
}

/* --- status badges --- */
.account-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: #f0f0f0;
  color: #666;
  white-space: nowrap;
}
.account-status-badge--completed,
.account-status-badge--processing,
.account-status-badge--on-hold {
  background: color-mix(in srgb, var(--color-primary-100) 10%, transparent);
  color: var(--color-primary-100);
}
.account-status-badge--pending,
.account-status-badge--pending-payment {
  background: rgba(243, 156, 18, 0.12);
  color: #b9770e;
}
.account-status-badge--cancelled,
.account-status-badge--failed,
.account-status-badge--refunded {
  background: rgba(231, 76, 60, 0.1);
  color: #c0392b;
}

/* --- order details (view-order) --- */
.account-view-order__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.account-view-order__title {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-textPrimary-100);
  margin: 0 0 6px;
}
.account-view-order__meta {
  font-size: 14px;
  color: #666;
  margin: 0;
}
.account-view-order__meta mark {
  background: none;
  color: var(--color-textPrimary-100);
  font-weight: 700;
}
.account-view-order__notes {
  margin-bottom: 20px;
}
.account-view-order__notes .account-section-title {
  margin-bottom: 14px;
}
.woocommerce-OrderUpdates {
  list-style: none;
  margin: 0;
  padding: 0;
}
.woocommerce-OrderUpdate {
  padding: 12px 0;
  border-bottom: 1px dashed #e8e8e8;
}
.woocommerce-OrderUpdate:last-child {
  border-bottom: none;
}
.woocommerce-OrderUpdate-meta {
  font-size: 12px;
  color: #9c9c9c;
  margin: 0 0 4px;
}
.woocommerce-OrderUpdate-description {
  font-size: 14px;
  color: var(--color-textPrimary-100);
}

/* --- order details table (from woocommerce/order/) --- */
.woocommerce-order-details {
  margin-bottom: 20px;
}
.woocommerce-order-details__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-textPrimary-100);
  margin: 0 0 14px;
}
.woocommerce-table--order-details {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  overflow: hidden;
}
.woocommerce-table--order-details th {
  background: #fafafa;
  color: #9c9c9c;
  font-size: 13px;
  font-weight: 600;
  text-align: right;
  padding: 12px 16px;
}
.woocommerce-table--order-details td {
  padding: 14px 16px;
  border-top: 1px solid #f0f0f0;
  color: var(--color-textPrimary-100);
}
.woocommerce-table--order-details a {
  color: var(--color-primary-100);
  text-decoration: none;
}
.woocommerce-table--order-details tfoot th {
  text-align: right;
}
.woocommerce-customer-details {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  padding: 24px;
}
.woocommerce-customer-details h2 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-textPrimary-100);
  margin: 0 0 10px;
}
.woocommerce-customer-details address {
  font-style: normal;
  font-size: 14px;
  color: #666;
  line-height: 2;
}

/* --- forms (edit account / edit address) --- */
.woocommerce-EditAccountForm,
.woocommerce-address-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
}
.woocommerce-form-row {
  margin: 0 0 16px;
}
.woocommerce-form-row--wide,
.woocommerce-form-row--full {
  grid-column: 1 / -1;
}
.account-content label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-textPrimary-100);
  margin-bottom: 8px;
}
.account-content .required {
  color: #e74c3c;
}
.account-content input[type="text"],
.account-content input[type="email"],
.account-content input[type="password"],
.account-content input[type="tel"],
.account-content input[type="number"],
.account-content input[type="url"],
.account-content select,
.account-content textarea,
.woocommerce-Input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  background: #fafafa;
  font-size: 14px;
  color: var(--color-textPrimary-100);
  outline: none;
  transition: all 0.25s ease;
}
.account-content input:focus,
.account-content select:focus,
.account-content textarea:focus {
  border-color: var(--color-primary-100);
  background: #fff;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary-100) 12%, transparent);
}
.account-content fieldset {
  grid-column: 1 / -1;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 16px 18px;
  margin: 4px 0 16px;
}
.account-content fieldset legend {
  padding: 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-textPrimary-100);
}
.account-content em {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #9c9c9c;
  font-style: normal;
}

/* --- addresses --- */
.account-content .woocommerce-Addresses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 640px) {
  .account-content .woocommerce-Addresses {
    grid-template-columns: 1fr;
  }
}
.account-content .woocommerce-Address {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  padding: 20px;
}
.account-content .woocommerce-Address-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.account-content .woocommerce-Address-title h2 {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-textPrimary-100);
  margin: 0;
}
.account-content .woocommerce-Address-title .edit {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary-100);
  text-decoration: none;
}
.account-content .woocommerce-Address-title .edit:hover {
  text-decoration: underline;
}
.account-content .woocommerce-Address address {
  font-style: normal;
  font-size: 14px;
  color: #666;
  line-height: 2;
}

/* --- empty states --- */
.account-empty {
  text-align: center;
  padding: 48px 24px;
}
.account-empty__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--color-primary-100) 8%, transparent);
  color: var(--color-primary-100);
}
.account-empty__icon svg {
  width: 30px;
  height: 30px;
}
.account-empty__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-textPrimary-100);
  margin: 0 0 8px;
}
.account-empty__desc {
  font-size: 14px;
  color: #9c9c9c;
  margin: 0 0 20px;
}

/* --- pagination --- */
.account-pagination {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

/* --- woocommerce notices inside account --- */
.account-content .woocommerce-message,
.account-content .woocommerce-info,
.account-content .woocommerce-error,
.account-content .woocommerce-note {
  border-radius: 12px;
  border: 1px solid;
  padding: 14px 18px;
  font-size: 14px;
  margin: 0 0 20px;
  list-style: none;
}
.account-content .woocommerce-message {
  border-color: color-mix(in srgb, var(--color-primary-100) 30%, transparent);
  background: color-mix(in srgb, var(--color-primary-100) 6%, transparent);
  color: #0b7a6f;
}
.account-content .woocommerce-info {
  border-color: rgba(52, 152, 219, 0.3);
  background: rgba(52, 152, 219, 0.06);
  color: #2471a3;
}
.account-content .woocommerce-error {
  border-color: rgba(231, 76, 60, 0.3);
  background: rgba(231, 76, 60, 0.06);
  color: #c0392b;
}
.account-content .woocommerce-message a,
.account-content .woocommerce-info a,
.account-content .woocommerce-error a {
  color: inherit;
  font-weight: 700;
}
.account-content .woocommerce-error li {
  margin-bottom: 4px;
}
.account-content .woocommerce-error li:last-child {
  margin-bottom: 0;
}

/* --- downloads --- */
.woocommerce-MyAccount-downloads td {
  text-align: right;
}
.woocommerce-MyAccount-downloads a {
  color: var(--color-primary-100);
}

/* --- responsive tables --- */
@media (max-width: 767px) {
  .account-table thead {
    display: none;
  }
  .account-table,
  .account-table tbody,
  .account-table tr,
  .account-table td {
    display: block;
    width: 100%;
  }
  .account-table tr {
    border-bottom: 1px solid #f0f0f0;
    padding: 8px 0;
  }
  .account-table tr:last-child {
    border-bottom: none;
  }
  .account-table td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: none;
    padding: 8px 12px;
    text-align: left;
  }
  .account-table td::before {
    content: attr(data-title);
    font-weight: 600;
    color: #9c9c9c;
    text-align: right;
    flex-shrink: 0;
  }
  .account-table td.woocommerce-orders-table__cell-order-actions::before,
  .account-table td.woocommerce-orders-table__cell-order-number::before {
    display: none;
  }
  .account-table td.woocommerce-orders-table__cell-order-number {
    display: block;
    text-align: right;
    font-weight: 700;
  }
  .woocommerce-table--order-details {
    display: block;
    overflow-x: auto;
  }
  .woocommerce-EditAccountForm,
  .woocommerce-address-form {
    grid-template-columns: 1fr;
  }
}

/* ==================================================================
   Homepage: سرفصل‌های آموزشی (marquee - اسکرول بی‌نهایت)
   ================================================================== */
.topics-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 6px 0;
  -webkit-mask-image: linear-gradient(to left, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(to left, transparent, #000 7%, #000 93%, transparent);
}
.topics-marquee__track {
  display: flex;
  align-items: stretch;
  gap: 16px;
  width: max-content;
  will-change: transform;
}
.topics-marquee__item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  white-space: nowrap;
  padding: 16px 34px;
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--color-primary-100) 14%, #e8eeeb);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-card);
  cursor: default;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.topics-marquee__text {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-textPrimary-100);
  transition: color 0.3s ease;
}
.topics-marquee__item:hover {
  border-color: var(--color-primary-100);
  transform: translateY(-4px);
  box-shadow: 0 28px 55px -32px color-mix(in srgb, var(--color-primary-100) 42%, #263a36);
}
.topics-marquee__item:hover .topics-marquee__text {
  color: var(--color-primary-100);
}

/* ==================================================================
   Homepage: نظرات هنرجویان (slider)
   ================================================================== */
.slider-student-comments {
  padding-bottom: 40px !important;
}

/* Footer colors follow the theme settings. */
body.woocommerce-account main > .container.account-page-container {
  padding-top: clamp(24px, 3vw, 40px) !important;
}
.account-page-container .sm-dash {
  padding-top: 0;
}
.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: 1px solid color-mix(in srgb, var(--color-primary-100) 20%, transparent);
  border-radius: 12px;
  color: var(--color-primary-100);
  background: var(--color-card-100);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.footer-social-link:hover {
  background: color-mix(in srgb, var(--color-primary-100) 12%, transparent);
}
.theme-footer {
  background: var(--color-bg-100);
}
.footer-panel {
  border-color: color-mix(in srgb, var(--color-primary-100) 14%, transparent);
  background: color-mix(in srgb, var(--color-white-100) 95%, transparent);
  box-shadow: var(--shadow-card);
}
.footer-contact {
  border-color: color-mix(in srgb, var(--color-primary-100) 12%, transparent);
  background: var(--color-card-100);
}
.footer-tint,
.footer-mobile a:hover,
.theme-footer a:hover {
  background: color-mix(in srgb, var(--color-primary-100) 10%, transparent);
}
.footer-copyright {
  border-color: color-mix(in srgb, var(--color-primary-100) 12%, transparent);
  background: var(--color-card-100);
}
