/* =========================================================
   فروشگاه اینترنتی آفیس
   Flatsome Legacy Migration
   GLOBAL CSS
   ---------------------------------------------------------
   Phase 1:
   انتقال CSS عمومی موجود بدون بازطراحی
   ========================================================= */


/* =========================================================
   01. GLOBAL TYPOGRAPHY
   ========================================================= */

body {
    -webkit-user-select: none;
    -moz-user-select: -moz-none;
    -ms-user-select: none;
    user-select: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #212121;
}

label,
legend {
    font-size: 12px;
}

.is-large {
    font-size: 16px;
}


/* =========================================================
   02. GLOBAL FORMS
   ========================================================= */

input[type='email'],
input[type='date'],
input[type='search'],
input[type='number'],
input[type='text'],
input[type='tel'],
input[type='url'],
input[type='password'],
textarea,
select,
.select2-container .select2-choice,
.select2-container .select2-selection {
    font-size: 12px;
    box-shadow: none !important;
    border-radius: 3px;
}


/* =========================================================
   03. GLOBAL BUTTONS
   ========================================================= */

.button,
button,
input[type='submit'],
input[type='reset'],
input[type='button'] {
    font-size: 12px;
}


/* =========================================================
   04. GLOBAL TABLES
   ========================================================= */

th,
td {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.87);
}

td {
    color: #000;
}

tfoot th,
tfoot td {
    border: 0;
}


/* =========================================================
   05. GLOBAL LAYOUT WIDTHS
   ---------------------------------------------------------
   Original Flatsome custom widths preserved.
   The later 1400px declaration in the original CSS wins.
   ========================================================= */

.full-width .ubermenu-nav,
.container,
.row {
    max-width: 1400px;
}

.row.row-small {
    max-width: 1155px;
}


/* =========================================================
   06. GLOBAL NAVIGATION TYPOGRAPHY
   ========================================================= */

.nav > li > a {
    font-family: IRANSans;
}


/* =========================================================
   07. GLOBAL UTILITY
   ========================================================= */

.cfix {
    clear: both;
}

.tooltip {
    opacity: 1;
}

.has-border {
    border: none;
    border-right: 1px dashed #eb3c00;
}


/* =========================================================
   08. GLOBAL SECTION TITLE
   ========================================================= */

.section-title-normal {
    border-bottom: 2px solid rgba(125, 119, 117, 0.33) !important;
}


/* =========================================================
   09. MEDIA ELEMENTS
   ========================================================= */

audio,
canvas,
progress,
video {
    display: inline-block;
    width: 100%;
    background: #fafafa;
}


/* =========================================================
   10. FLICKITY / IMAGE BEHAVIOR
   ========================================================= */

.flickity-slider .image-cover img {
    object-fit: unset !important;
}


/* =========================================================
   11. DESKTOP CART GRID
   ---------------------------------------------------------
   Original Flatsome/WooCommerce customization preserved.
   ========================================================= */

@media screen and (min-width: 850px) {
}

/* ================================
   Global Link Policy – Flatsome
================================ */

/* 1) لینک‌های داخل متن آموزشی */
.entry-content :where(p, li, td, th, blockquote) > a {
  color: #1e73be !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
  font-weight: 500;
}

/* هاور لینک‌های متن */
.entry-content :where(p, li, td, th, blockquote) > a:hover {
  color: #0b4fa3 !important;
}

/* 2) لینک‌های UI (FAQ / Accordion / Blog / Related) بدون زیرخط */
.entry-content :where(
  .accordion,
  .accordion-title,
  .blog-posts,
  .related,
  .yarpp-related,
  .yarpp-thumbnails,
  #yarpp-related,
  .related-posts,
  .relatedposts,
  .rp4wp-related-posts,
  .flatsome-related,
  .ux-related
) a {
  text-decoration: none !important;
  font-weight: 600;
}

/* 3) لینک‌های Table of Contents */
.entry-content .table-of-contents a {
  color: #1e73be !important;
  text-decoration: underline !important;
}
