/*
	Theme Name: Kalimah Taybah
	Description: Kalimah Taybah theme
	Author: Evotiks Solutions
	Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
	Version: 1.0.0
	Stable tag: 1.0.0
	Requires at least: 6.0
	Tested up to: 6.7
	Requires PHP: 7.4
	License: GNU General Public License v3 or later.
	License URI: https://www.gnu.org/licenses/gpl-3.0.html
	Text Domain: hello-elementor
	Tags: accessibility-ready, flexible-header, custom-colors, custom-menu, custom-logo, featured-images, rtl-language-support, threaded-comments, translation-ready,
*/
/**
 * Loading first in the style.scss & classic-editor.scss
 */
/**
* Document basic styling
* Inspired by Normalize.css, HTML5 Boilerplate & Bootstrap Reboot Projects under MIT License
 */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 * 3. Change from `box-sizing: content-box` so that `width` is not affected by `padding` or `border`.
 */
 html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

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

/* Sections
 */
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #333333;
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-block-start: 0.5rem;
  margin-block-end: 1rem;
  font-family: inherit;
  font-weight: 500;
  line-height: 1.2;
  color: inherit;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-block-start: 0;
  margin-block-end: 0.9rem;
}

/* Grouping content
 */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
  white-space: pre-wrap;
}

/* Text-level semantics
 */
a {
  background-color: transparent;
  text-decoration: none;
  color: #2c3971;
}
a:hover,
a:active {
  color: #192450;
}
a:not([href]):not([tabindex]) {
  color: inherit;
  text-decoration: none;
}
a:not([href]):not([tabindex]):hover,
a:not([href]):not([tabindex]):focus {
  color: inherit;
  text-decoration: none;
}
a:not([href]):not([tabindex]):focus {
  outline: 0;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-block-end: none; /* 1 */
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
 */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
  height: auto;
  max-width: 100%;
}

/* Interactive
 */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

figcaption {
  font-size: 16px;
  color: #333333;
  line-height: 1.4;
  font-style: italic;
  font-weight: 400;
}

/* Misc
 */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/* Print
 */
@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important; /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }
  a,
  a:visited {
    text-decoration: underline;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }
  pre {
    white-space: pre-wrap !important;
  }
  pre,
  blockquote {
    -moz-column-break-inside: avoid;
    break-inside: avoid;
    border: 1px solid #cccccc;
  }
  thead {
    display: table-header-group;
  }
  tr,
  img {
    -moz-column-break-inside: avoid;
    break-inside: avoid;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    -moz-column-break-after: avoid;
    break-after: avoid;
  }
}
/**
 * Form styling
 */
label {
  display: inline-block;
  line-height: 1;
  vertical-align: middle;
}

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 1rem; /* 1 */
  line-height: 1.5; /* 1 */
  margin: 0; /* 2 */
}

input[type="text"],
input[type="date"],
input[type="email"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="url"],
select,
textarea {
  width: 100%;
  border: solid 1px #666666;
  border-radius: 3px;
  padding: 0.5rem 1rem;
  transition: all 0.3s;
}
input[type="text"]:focus,
input[type="date"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
select:focus,
textarea:focus {
  border-color: #333333;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  width: auto;
  -webkit-appearance: button;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button,
[type="submit"],
[type="button"] {
  display: inline-block;
  font-weight: 400;
  color: #2c3971;
  text-align: center;
  white-space: nowrap;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  background-color: transparent;
  border: 1px solid #2c3971;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border-radius: 3px;
  transition: all 0.3s;
}
button:focus:not(:focus-visible),
[type="submit"]:focus:not(:focus-visible),
[type="button"]:focus:not(:focus-visible) {
  outline: none;
}
button:hover,
button:focus,
[type="submit"]:hover,
[type="submit"]:focus,
[type="button"]:hover,
[type="button"]:focus {
  color: #ffffff;
  background-color: #2c3971;
  text-decoration: none;
}
button:not(:disabled),
[type="submit"]:not(:disabled),
[type="button"]:not(:disabled) {
  cursor: pointer;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
  resize: vertical;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

select {
  display: block;
}

/**
 * Table styling
 */
table {
  background-color: transparent;
  width: 100%;
  margin-block-end: 15px;
  font-size: 0.9em;
  border-spacing: 0;
  border-collapse: collapse;
}
table th,
table td {
  padding: 15px;
  line-height: 1.5;
  vertical-align: top;
  border: 1px solid rgba(128, 128, 128, 0.5019607843);
}
table th {
  font-weight: bold;
}
table thead th,
table tfoot th {
  font-size: 1em;
}
table caption + thead tr:first-child th,
table caption + thead tr:first-child td,
table colgroup + thead tr:first-child th,
table colgroup + thead tr:first-child td,
table thead:first-child tr:first-child th,
table thead:first-child tr:first-child td {
  border-block-start: 1px solid rgba(128, 128, 128, 0.5019607843);
}
table tbody > tr:nth-child(odd) > td,
table tbody > tr:nth-child(odd) > th {
  background-color: rgba(128, 128, 128, 0.0705882353);
}
table tbody tr:hover > td,
table tbody tr:hover > th {
  background-color: rgba(128, 128, 128, 0.1019607843);
}
table tbody + tbody {
  border-block-start: 2px solid rgba(128, 128, 128, 0.5019607843);
}
@media (max-width: 767px) {
  table table {
    font-size: 0.8em;
  }
  table table th,
  table table td {
    padding: 7px;
    line-height: 1.3;
  }
  table table th {
    font-weight: 400;
  }
}

/**
 * List styling
 */
dl,
dt,
dd,
ol,
ul,
li {
  margin-block-start: 0;
  margin-block-end: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

#epub-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.98);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  padding: 20px;
  overflow: hidden;
}

#epub-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #f44336;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  z-index: 10000;
  transition: background-color 0.3s ease;
}

#epub-modal-close:hover {
  background: #2c3971;
}

#viewer {
  flex: 1;
  overflow: hidden;
  margin: 20px 0;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* EPUB Search Styles */
.epub-search-container {
  display: flex;
  align-items: center;
  padding: 10px;

  direction: rtl;
}

@media screen and (min-width: 768px) {
  .epub-search-container {
    width: 50%;
  }
}

#epub-search {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  margin-left: 5px;
}

#epub-search-button,
#epub-search-prev,
#epub-search-next {
  background-color: #2c3971;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 8px 12px;
  cursor: pointer;
  margin: 0 2px;
  font-size: 14px;
}

#epub-search-prev,
#epub-search-next {
  background-color: #2196f3;
  font-weight: bold;
  padding: 8px 10px;
}

#epub-search-button:hover,
#epub-search-prev:hover,
#epub-search-next:hover {
  opacity: 0.9;
}

#epub-search-info {
  margin-right: 10px;
  font-size: 14px;
  color: #555;
}

#viewer .epub-search-highlight ::selection {
  background-color: #ffff00;
  border-radius: 3px;
  box-shadow: 0 0 0 2px #ffff00;
}

#viewer .search-highlight.search-active {
  background-color: #ff9632;
  box-shadow: 0 0 0 2px #ff9632;
}

/* Optional animation for active search result */
@keyframes pulse-search {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(0, 123, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
  }
}

#epub-search {
  flex: 2;
}

#epub-search-button {
  flex: 1;
}

#epub-search-prev {
  flex: 1;
}

#epub-search-next {
  flex: 1;
  margin-left: 50px;
}

/* Make sure epub content is visible */
#viewer iframe {
  background: #fff !important;
}

.controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 15px;
  background: #f5f5f5;
  border-radius: 8px;
  margin-top: auto;
}

#prev,
#next {
  background: #2c3971;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

#prev:hover,
#next:hover {
  background: #2c3971;
}

#prev:disabled,
#next:disabled {
  background: #ccc;
  cursor: not-allowed;
}

#toc {
  min-width: 200px;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  background: white;
  cursor: pointer;
}

#toc option {
  padding: 8px;
}

/* RTL Support */
[dir="rtl"] #epub-modal-close {
  right: auto;
  left: 2px;
  top: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
  #epub-modal {
    padding: 10px;
  }

  .controls {
    flex-direction: column;
    gap: 10px;
  }

  #toc {
    width: 100%;
    max-width: 100%;
  }

  #prev,
  #next {
    width: 100%;
  }
}

/* Loading State */
.epub-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.epub-loading:after {
  content: "";
  display: block;
  width: 40px;
  height: 40px;
  margin: 20px auto;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #2196f3;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Single Page vs Spread Layout */
#viewer.single {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Print styles */
@media print {
  #epub-modal-close,
  .controls {
    display: none !important;
  }

  #viewer {
    box-shadow: none;
  }
}

.pdf-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pdf-container {
  width: 95%;
  height: 95%;
  background: white;
  position: relative;
  display: flex;
}

.sidebar {
  width: 250px;
  height: 100%;
  background: #f5f5f5;
  border-right: 1px solid #ddd;
  overflow-y: auto;
  padding: 10px;
}

.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.toolbar {
  padding: 10px;
  background: #f5f5f5;
  border-bottom: 1px solid #ddd;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.close-btn {
  padding: 5px 10px;
  cursor: pointer;
}

.canvas-container {
  flex: 1;
  overflow: auto;
  padding: 20px;
  display: flex;
  justify-content: center;
}

canvas {
  border: 1px solid black;
  direction: ltr;
}

.pdf-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.pdf-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdf-modal-content {
  background: white;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pdf-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid #ddd;
}

.close-button {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

.pdf-modal-body {
  flex: 1;
  overflow: hidden;
}

#pdf-container {
  position: relative;
  height: 100%;
  overflow: hidden;
}

#toolbar {
  position: sticky;
  top: 0;
  background: #f8f9fa;
  border-bottom: 1px solid #ddd;
  z-index: 10;
}

.toolbar-container {
  display: flex;
  align-items: center;
  padding: 0.5rem;
  gap: 1rem;
}

.nav-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn {
  border: 1px solid #ddd;
  background: white;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  border-radius: 4px;
}

.btn:hover {
  background: #f0f0f0;
}

input[type="number"] {
  width: 70px;
  padding: 0.25rem;
  border: 1px solid #ddd;
  border-radius: 4px;
}

#sidebar {
  position: fixed;
  left: 0;
  top: 120px;
  bottom: 0;
  width: 250px;
  background: white;
  border-right: 1px solid #ddd;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

#contentpdf {
  margin-left: 0;
  padding: 1rem;
  overflow-y: auto;
  height: calc(100vh - 120px);
  transition: margin-left 0.3s ease;
}

.sidebar-open #sidebar {
  transform: translateX(0);
}

.sidebar-open #contentpdf {
  margin-left: 250px;
}

.canvas-container {
  margin-bottom: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#toc {
  padding: 1rem;
}

#toc ul {
  list-style: none;
  padding-left: 1rem;
}

#toc a {
  color: #333;
  text-decoration: none;
  display: block;
  padding: 0.25rem 0;
}

#toc a:hover {
  color: #666;
}

.woocommerce-MyAccount-downloads-file {
  background-color: #2c3971 !important;
}
.woocommerce-MyAccount-navigation {
  background-color: #f9f9f9; /* Light background for contrast */
  border: 1px solid #ddd; /* Soft border */
  border-radius: 8px; /* Rounded corners */
  width: 250px; /* Fixed width for uniformity */
  padding: 10px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.woocommerce-MyAccount-navigation ul {
  list-style: none; /* Remove bullets */
  padding: 0;
  margin: 0;
}

.woocommerce-MyAccount-navigation li {
  margin: 5px 0;
}

.woocommerce-MyAccount-navigation a {
  display: block;
  padding: 12px 20px;
  text-decoration: none;
  color: #333; /* Dark text for readability */
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s ease; /* Smooth hover effects */
  border-radius: 5px;
}

.woocommerce-MyAccount-navigation a:hover {
  background-color: #2c3971; /* WooCommerce blue */
  color: #fff; /* White text on hover */
}

.woocommerce-MyAccount-navigation .is-active a {
  background-color: #2c3971; /* Darker blue for active link */
  color: #fff;
  font-weight: 600; /* Slightly bolder for emphasis */
}

.woocommerce-MyAccount-navigation a:focus {
  outline: none;
  box-shadow: 0 0 0 3px #2c3971; /* Accessible focus ring */
}

.pdf-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.pdf-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdf-modal-content {
  background: white;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pdf-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid #ddd;
}

.close-button {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

.pdf-modal-body {
  flex: 1;
  overflow: hidden;
}

#pdf-container {
  position: relative;
  height: 100%;
  overflow: hidden;
}

#toolbar {
  position: sticky;
  top: 0;
  background: #f8f9fa;
  border-bottom: 1px solid #ddd;
  z-index: 10;
}

.toolbar-container {
  display: flex;
  align-items: center;
  padding: 0.5rem;
  gap: 1rem;
}

.nav-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn {
  border: 1px solid #ddd;
  background: white;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  border-radius: 4px;
}

.btn:hover {
  background: #f0f0f0;
}

input[type="number"] {
  width: 70px;
  padding: 0.25rem;
  border: 1px solid #ddd;
  border-radius: 4px;
}

#sidebar {
  position: fixed;
  left: 0;
  top: 120px;
  bottom: 0;
  width: 250px;
  background: white;
  border-right: 1px solid #ddd;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

#contentpdf {
  margin-left: 0;
  padding: 1rem;
  overflow-y: auto;
  height: calc(100vh - 120px);
  transition: margin-left 0.3s ease;
}

.sidebar-open #contentpdf {
  transform: translateX(0);
}

.sidebar-open #contentpdf {
  margin-left: 250px;
}

.canvas-container {
  margin-bottom: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#tocpdf {
  padding: 1rem;
}

#tocpdf ul {
  list-style: none;
  padding-left: 1rem;
}

#tocpdf a {
  color: #333;
  text-decoration: none;
  display: block;
  padding: 0.25rem 0;
}

#tocpdf a:hover {
  color: #666;
}

.pdf-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.loader-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loader-text {
  color: #666;
  font-size: 1rem;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Fade in animation for content */
.fade-in {
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* /////////start Highlights////// */

#extras {
  width: 600px;
  margin: 40px auto;
}

#highlights {
  list-style: none;
  margin-left: 0;
  padding: 0;
}

#highlights li {
  list-style: none;
  margin-bottom: 20px;
  border-top: 1px solid #e2e2e2;
  padding: 10px;
}

#highlights a {
  display: block;
}

#viewer.spreads {
  top: 0;
  margin-top: 50px;
}

[ref="epubjs-mk"] {
  background: url("data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPScxLjEnIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZycgeG1sbnM6eGxpbms9J2h0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsnIHg9JzBweCcgeT0nMHB4JyB2aWV3Qm94PScwIDAgNzUgNzUnPjxnIGZpbGw9JyNCREJEQkQnIGlkPSdidWJibGUnPjxwYXRoIGNsYXNzPSdzdDAnIGQ9J00zNy41LDkuNEMxOS42LDkuNCw1LDIwLjUsNSwzNC4zYzAsNS45LDIuNywxMS4zLDcuMSwxNS42TDkuNiw2NS42bDE5LTcuM2MyLjgsMC42LDUuOCwwLjksOC45LDAuOSBDNTUuNSw1OS4yLDcwLDQ4LjEsNzAsMzQuM0M3MCwyMC41LDU1LjQsOS40LDM3LjUsOS40eicvPjwvZz48L3N2Zz4=")
    no-repeat;
  width: 20px;
  height: 20px;
  cursor: pointer;
  margin-left: 0;
}

/* END Highlights */

/* woocommerce-rtl.css | http://127.0.0.1/wp-content/plugins/woocommerce/assets/css/woocommerce-rtl.css?ver=9.6.0 */

.woocommerce-account .addresses .title .edit {
  /* float: left; */
  float: right !important;
}

/* Element | http://127.0.0.1/my-account/edit-address/ */

.woocommerce-MyAccount-navigation {
  margin-bottom: 10px !important;
}
.woocommerce-Button {
  margin-top: 10px !important;
}

.cart {
  margin-bottom: 20px !important;
}

.woocommerce-Price-amount {
  color: black !important;
}

.single_add_to_cart_button.button.alt {
  background-color: #2c3971 !important;
}

.eael-cart-coupon-wrapper {
  float: right !important;
}

.button {
  background-color: #2c3971 !important;
}

.woo-checkout-payment {
  background-color: #2e3c6d !important;
}

/* Inline #55 | http://127.0.0.1/checkout/ */

.wc_payment_method.payment_method_cod {
  background-color: #2e3c6d !important;
}

/* Element | http://127.0.0.1/checkout/ */

div.form-row {
  background-color: #2e3c6d !important;
}

/* Element | http://127.0.0.1/checkout/ */

.wc_payment_methods {
  background-color: #2e3c6d !important;
}

.back-to-shop {
  flex: auto !important;
}

.fas {
  margin-left: 5px !important;
}

.ea-woo-checkout-order-review {
  background-color: #2e3c6d !important;
}

.eael-woo-checkout .woocommerce .woo-checkout-coupon {
  background-color: #dfdfdf !important;
}

.ea-woo-checkout .woocommerce #customer_details.col2-set .col-1 {
  padding-left: 0;
  float: right !important;
}

.woocommerce-button {
  color: white !important;
}

.woocommerce-Button {
  color: white !important;
}

#viewer {
  overflow: scroll !important;
}

#customer_login {
  padding-left: 20px;
  padding-right: 20px;
}
.woocommerce-form-login label {
  margin: 20px 0px;
}

.woocommerce-form__label-for-checkbox {
  margin: 0px !important;
}

/* address css */

.u-column1 > address:nth-child(2) {
  font-style: initial;
}
Element .u-column2 > header:nth-child(1) > h2:nth-child(1) {
  font-size: 24px;
}
Element .u-column1 > header:nth-child(1) > h2:nth-child(1) {
  font-size: 24px !important;
}

.woocommerce-account .woocommerce-MyAccount-content {
  float: right;
  width: 65% !important;
  margin: 20px !important;
}
/* Element | http://127.0.0.1/ */
@media only screen and (max-width: 700px) {
  .woocommerce-account .woocommerce-MyAccount-content {
    float: unset !important;
    width: 100% !important;
    margin: 0px !important;
  }
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles))
  #respond
  input#submit,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles))
  a.button,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles))
  button.button,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles))
  input.button,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(
    :not(.edit-post-visual-editor)
  )
  .woocommerce
  #respond
  input#submit,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(
    :not(.edit-post-visual-editor)
  )
  .woocommerce
  a.button,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(
    :not(.edit-post-visual-editor)
  )
  .woocommerce
  button.button,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(
    :not(.edit-post-visual-editor)
  )
  .woocommerce
  input.button {
  color: white !important;
}

/* Element | http://127.0.0.1/cart/ */

.elementor-button--view-cart {
  background: #212b55 !important;
}

/* Element | http://127.0.0.1/cart/ */

a.elementor-button:nth-child(2) {
  background: #212b55 !important;
}

/* eael-27.css | http://127.0.0.1/wp-content/uploads/essential-addons-elementor/eael-27.css?ver=1741592699 */

.cart-collaterals {
  width: 30% !important;
}

/* Element | http://127.0.0.1/cart/ */

.woocommerce-cart-form {
  margin: 45px !important;
}

.eael-woo-cart-back-to-shop {
  font-stretch: 150%;
  font-variation-settings: "opsz" 69.2;
  font-weight: 1000 !important;
  font-size: 20px !important;
  display: none !important;
}

.eael-woo-cart
  .eael-woo-cart-wrapper
  .woocommerce-notices-wrapper
  .woocommerce-message::before {
  right: 0px !important;
}

.eael-woo-cart
  .eael-woo-cart-wrapper
  .woocommerce-notices-wrapper
  ~ .return-to-shop
  a {
  color: white !important;
  padding: 10px !important;
}

/* Element | http://127.0.0.1/cart/ */

.woocommerce-message > a:nth-child(1) {
  padding: 10px !important;
}

.eael-woo-cart
  .eael-woo-cart-wrapper
  .woocommerce-notices-wrapper
  .woocommerce-error::before,
.eael-woo-cart
  .eael-woo-cart-wrapper
  .woocommerce-notices-wrapper
  .woocommerce-info::before,
.eael-woo-cart
  .eael-woo-cart-wrapper
  .woocommerce-notices-wrapper
  ~ .woocommerce-info::before,
.eael-woo-cart
  .eael-woo-cart-wrapper
  .woocommerce-notices-wrapper
  .woocommerce-message::before {
  right: 0px !important;
}

/* checkout */

#order_review_heading {
  display: none !important;
}

.ea-woo-checkout-order-review {
  margin-top: 40px !important;
}
.ea-order-review-table-footer .back-to-shopping {
  display: none !important;
}

/* Element | http://127.0.0.1/checkout/ */

.checkout {
  margin: 15px !important;
}

.table-row {
  padding: 20px !important;
}

.payment_box {
  display: none !important;
}
div.elementor-element-6642050:nth-child(2) {
  position: fixed;
  width: 100% !important;
  margin-top: 0px;
  margin-bottom: 0px;
  top: 0px;
  z-index: 100 !important;
}

/* Element | http://127.0.0.1/product/%d8%a3%d8%ac%d9%86%d8%af%d8%a9-%d8%a7%d9%84%d8%a3%d8%ae%d9%84%d8%a7%d9%82-%d8%a7%d9%84%d9%85%d8%ad%d9%85%d9%91%d8%af%d9%8a%d9%91%d8%a9-2023/ */

#place_order {
  background: white !important;
  color: black !important;
}
.woocommerce-order {
  margin: 20px !important;
}

/* Element | http://127.0.0.1/my-account/downloads/ */

th.download-remaining {
  display: none !important;
}

/* Element | http://127.0.0.1/my-account/downloads/ */

td.download-remaining {
  display: none !important;
}

/* Element | http://127.0.0.1/ */
@media only screen and (min-width: 700px) {
  div.elementor-element-6642050:nth-child(2)
    > div:nth-child(1)
    > div:nth-child(1)
    > div:nth-child(1)
    > div:nth-child(1) {
    width: 150px !important;
  }

  /* Element | http://127.0.0.1/ */

  div.elementor-element-6642050:nth-child(2)
    > div:nth-child(1)
    > div:nth-child(1)
    > div:nth-child(1) {
    /* left: 100px !important; */
    left: 150px !important;
    padding-left: 10px !important;
  }
}

.elementor-692
  .elementor-element.elementor-element-0e82ee3
  .elementor-heading-title {
  height: 60px !important;
}

/* Element | http://127.0.0.1/%d8%a7%d9%84%d9%85%d8%aa%d8%ac%d8%b1/ */

/* .elementor-inner-column > div:nth-child(1) { */
section.elementor-inner-section:nth-child(1)
  > div:nth-child(1)
  > div:nth-child(1)
  > div:nth-child(1) {
  top: 30px !important;
}

/* PDP */

/* woocommerce-rtl.css | http://127.0.0.1/wp-content/plugins/woocommerce/assets/css/woocommerce-rtl.css?ver=9.6.0 */

.woocommerce #pdp-image span.onsale {
  /* background-color: #777335; */
  right: 4.15px !important;
}

.onsale {
  background-color: red !important;
}

.onsale {
  font-size: 1.2em;
  font-style: normal;
}

#pdpcontent iframe {
  /* max-width: 565px; */
  max-height: 330px;
}

.elementor-element-b1912c3 {
  margin-top: 10px;
}
/* Element | http://127.0.0.1/product/revive-your-heart-ar/ */

tr.woocommerce-product-attributes-item:nth-child(1) > td:nth-child(2) {
  padding-top: 10px !important;
  padding-right: 10px !important;
}

/* Element | http://127.0.0.1/product/revive-your-heart-ar/ */

tr.woocommerce-product-attributes-item:nth-child(2) > td:nth-child(2) {
  padding-top: 10px !important;
  padding-right: 10px !important;
}

/* Element | http://127.0.0.1/product/revive-your-heart-ar/ */

tr.woocommerce-product-attributes-item:nth-child(2) > td:nth-child(2) {
  font-style: normal;
}

/* Element | http://127.0.0.1/product/revive-your-heart-ar/ */

tr.woocommerce-product-attributes-item:nth-child(1) > td:nth-child(2) {
  font-style: normal;
}

/* Element | http://127.0.0.1/product/revive-your-heart-ar/ */

.elementor-element-1abbfbd {
  margin-right: 0px;
  margin-left: 0px;
  padding-left: 35px;
  padding-right: 0px;
}

/* Element | http://127.0.0.1/product/revive-your-heart-ar/ */

body {
  padding-left: 0px;
  padding-right: 0px;
}

main#content {
  margin: 30px;
  margin-top: 40px;
}

/* Element | http://127.0.0.1/checkout/ */

.woocommerce-terms-and-conditions-checkbox-text {
  color: white !important;
}

/* Element | http://127.0.0.1/checkout/ */

.woocommerce-terms-and-conditions-link {
  color: #b0b0b0 !important;
}

#clear-highlights {
  /* //display: none !important; */
}

#breadcrumbscat {
  display: none;
}
.product-template-default #breadcrumbscat {
  display: block;
}

.page-id-29 .elementor-element-a66bfda {
  display: none;
}
.page-id-29 {
  padding-top: 55px;
}
@media screen and (min-width: 768px) {
  .page-id-29 .elementor-3997 .elementor-element.elementor-element-7029dbc {
    width: unset !important;
  }
}

@media (max-width: 768px) {
  /* Element | https://kalimahtayebah.evotiks.com/product/revive-your-heart-ar/ */

  .elementor-element-42f0fac > div:nth-child(1) > span:nth-child(1) {
    right: 4.15px;
  }

  /* Element | https://kalimahtayebah.evotiks.com/product/revive-your-heart-ar/ */

  .elementor-element-896b860 > div:nth-child(1) > h2:nth-child(1) {
    font-size: 20px !important;
    margin-top: 185px;
  }

  .page-id-29 {
    padding-top: 130px;
  }

  main#content {
    margin-right: 0px;
    margin-left: 0px;
    margin-top: 20px;
  }
  /*checkout*/
  .elementor-heading-title.elementor-size-default {
    font-size: 25px !important;
  }

  .checkout-button {
    font-size: 16px !important;
  }

  .eael-cart-update-btn button {
    font-size: 14px !important;
    padding-left: 0px !important;
    padding-right: 0px !important;
  }

  table.cart {
    display: hidden !important;
  }

  .woocommerce-cart-form__cart-item.cart_item * {
    font-size: 14px !important;
  }

  .eael-woo-cart .eael-woo-cart-wrapper .eael-woo-cart-table-warp table {
    width: unset !important;
  }

  #pdpmain {
    left: -16px;
  }
}

.product-template-default #pdpimages {
  display: block !important;
}

/*to fix the cart page on ios 14 */
/* .eael-woo-cart-table-warp {
overflow: hidden !important;
} */

.place-order .woocommerce-terms-and-conditions {
  background: white !important;
}

.woocommerce-Address > address:nth-child(2) {
  font-style: inherit !important;
}

.eael-woo-cart-back-to-shop {
  display: none !important;
}

elementor-element-33308b0 {
  margin-top: 10px !important;
}

.woocommerce-message > .wc-forward {
  display: none !important;
}

.elementor-14
  .elementor-element.elementor-element-3a77ef4
  .swiper-slide-contents {
  max-width: 100% !important;
}

.elementor-flip-box__layer__overlay {
  padding: 0px !important;
}
.elementor.elementor-486.elementor-location-footer {
  z-index: 999 !important;
}
@media screen and (max-width: 768px) {
 
 

#epub-search-info {
  display: none !important;
}
  /*main#content {*/
  /*padding-top: 70px;*/
  /*}*/
  
  .top-page-title{
    margin-top: 100px !important;
  }
  
  .page-id-3 #content , .page-id-4662 #content{
      
     padding-left: 20px !important;
  padding-right: 20px !important;
  }
}

.eael-cart-update-btn {
  display: none !important;
}

.woocommerce-order-received .download-file {
display: none !important;
}

.elementor-element-8b0f89a {
margin: 0 auto !important;
}


  .woocommerce-button.button.pay.order-actions-button {
  display: none !important;
}
  .wc_payment_method > label:nth-child(2) {
color: white !important;
}

#shipping_method > li:nth-child(1) {
float: left !important;
}



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

#contentpdf .canvas-container {
  width: auto !important;
  }

}


/*
 * Custom Search Results Styles
 * Place this file in: your-child-theme/css/custom-search.css
 */

/* Modern Responsive Product Grid Styles */
.custom-search-results {
    padding: 40px 0;
    
}

.search-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 0;
    margin-bottom: 40px;
    text-align: center;
}

.search-title {
    margin: 0;
    font-size: 32px;
    color: #fff;
    font-weight: 700;
}

.search-title span {
    color: #ffd700;
    font-weight: 800;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.search-results-info {
    margin-bottom: 25px;
    color: #666;
    font-size: 16px;
}

/* Products Grid - 3 columns desktop, 2 tablet, 1 mobile */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* Product Card */
.product-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.product-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: #667eea;
}

.product-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Product Image */
.product-image {
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, #f9fafb, #f3f4f6);
    aspect-ratio: 1 / 1;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-item:hover .product-image img {
    transform: scale(1.1);
}

/* Sale Badge */
.sale-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    color: #fff;
    padding: 6px 16px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
    z-index: 2;
}

/* Product Info */
.product-info {
    padding: 24px;
}

.product-title {
    font-size: 17px;
    margin: 0 0 12px 0;
    line-height: 1.5;
    color: #1f2937;
    font-weight: 600;
    min-height: 51px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 22px;
    font-weight: 800;
    color: #667eea;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-price del {
    color: #9ca3af;
    font-weight: 500;
    font-size: 16px;
}

.product-price ins {
    text-decoration: none;
}

.product-rating {
    margin-bottom: 12px;
}

.product-rating .star-rating {
    color: #fbbf24;
}

/* Product Actions */
.product-actions {
    padding: 0 24px 24px;
}

.button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    text-align: center;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(102, 126, 234, 0.4);
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
    color: #fff;
}

.view-product-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}

.view-product-btn:hover {
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
}

/* Loading Animation for AJAX Add to Cart */
.button.loading::after {
    content: "";
    width: 16px;
    height: 16px;
    margin-left: 10px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* No Results */
.no-results {
    text-align: center;
    padding: 80px 20px;
    background: #f9fafb;
    border-radius: 12px;
}

.no-results h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #1f2937;
    font-weight: 700;
}

.no-results p {
    color: #6b7280;
    margin-bottom: 35px;
    font-size: 16px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    padding: 12px 18px;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    text-decoration: none;
    color: #374151;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 45px;
    text-align: center;
}

.pagination a:hover {
    background: #667eea;
    color: #fff;
    border-color: #667eea;
    transform: translateY(-2px);
}

.pagination .current {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-color: #667eea;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .search-title {
        font-size: 26px;
    }
    
    .products-grid {
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .custom-search-results {
        padding: 30px 0;
        margin-top:190px !important;
    }
    
    .search-header {
        padding: 30px 0;
        margin-bottom: 30px;
    }
    
    .search-title {
        font-size: 22px;
    }
    
    .products-grid {
        gap: 20px;
    }
    
    .product-title {
        font-size: 16px;
        min-height: auto;
    }
    
    .product-info {
        padding: 20px;
    }
    
    .product-actions {
        padding: 0 20px 20px;
    }
    
    .product-price {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .search-header {
        padding: 25px 0;
    }
    
    .search-title {
        font-size: 20px;
    }
    
    .product-info {
        padding: 16px;
    }
    
    .product-actions {
        padding: 0 16px 16px;
    }
    
    .button {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* RTL Support for Arabic */
body.rtl .sale-badge {
    right: auto;
    left: 15px;
}

body.rtl .product-price {
    flex-direction: row-reverse;
}

body.rtl .product-price del {
    margin-left: 0;
    margin-right: 10px;
}

body.rtl .button.loading::after {
    margin-left: 0;
    margin-right: 10px;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Focus States for Accessibility */
.button:focus,
.pagination a:focus {
    outline: 3px solid #667eea;
    outline-offset: 2px;
}


/*Search Evotik Solutions*/


/**
 * Modern Arabic Search Overlay Styles
 * RTL-optimized with smooth animations
 */

/* Overlay Background */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    direction: rtl;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Prevent body scroll when overlay is open */
body.search-overlay-open {
    overflow: hidden;
}

/* Overlay Content Container */
.search-overlay-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.search-overlay.active .search-overlay-content {
    transform: translateY(0);
}

/* Close Button */
.search-close {
    position: absolute;
    top: -60px;
    left: 0;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

/* Inner Content */
.search-overlay-inner {
    background: #fff;
    border-radius: 24px;
    padding: 60px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Title */
.search-overlay-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 30px 0;
    text-align: center;
    font-family: 'Cairo', 'Tajawal', sans-serif;
}

/* Search Form */
.search-overlay-form {
    margin-bottom: 40px;
}

/* Input Wrapper */
.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 16px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    overflow: hidden;
}

.search-input-wrapper:focus-within {
    border-color: #007bff;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 123, 255, 0.15);
}

/* Search Input */
.search-overlay-input {
    flex: 1;
    padding: 20px 70px 20px 30px;
    font-size: 18px;
    border: none;
    background: transparent;
    color: #1a1a1a;
    outline: none;
    font-family: 'Cairo', 'Tajawal', sans-serif;
    direction: rtl;
    text-align: right;
}

.search-overlay-input::placeholder {
    color: #999;
}

/* Search Submit Button */
.search-overlay-submit {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border: none;
    border-radius: 12px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #fff;
}

.search-overlay-submit:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
}

.search-overlay-submit:active {
    transform: translateY(-50%) scale(0.95);
}

/* Search Suggestions */
.search-suggestions {
    text-align: center;
}

.search-suggestions-title {
    font-size: 14px;
    color: #666;
    margin: 0 0 15px 0;
    font-weight: 600;
    font-family: 'Cairo', 'Tajawal', sans-serif;
}

/* Search Tags */
.search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.search-tag {
    display: inline-block;
    padding: 10px 20px;
    background: #f8f9fa;
    color: #555;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    font-family: 'Cairo', 'Tajawal', sans-serif;
    border: 1px solid #e0e0e0;
}

.search-tag:hover {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .search-overlay-content {
        width: 95%;
    }
    
    .search-overlay-inner {
        padding: 40px 25px;
        border-radius: 16px;
    }
    
    .search-overlay-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .search-overlay-input {
        padding: 16px 60px 16px 20px;
        font-size: 16px;
    }
    
    .search-overlay-submit {
        width: 42px;
        height: 42px;
    }
    
    .search-close {
        top: -50px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .search-overlay-title {
        font-size: 20px;
    }
    
    .search-overlay-input {
        padding: 14px 55px 14px 15px;
        font-size: 15px;
    }
    
    .search-tag {
        padding: 8px 15px;
        font-size: 13px;
    }
}

/* Animation for tags */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-overlay.active .search-tag {
    animation: fadeInUp 0.4s ease forwards;
}

.search-overlay.active .search-tag:nth-child(1) { animation-delay: 0.1s; }
.search-overlay.active .search-tag:nth-child(2) { animation-delay: 0.2s; }
.search-overlay.active .search-tag:nth-child(3) { animation-delay: 0.3s; }
.search-overlay.active .search-tag:nth-child(4) { animation-delay: 0.4s; }
.search-overlay.active .search-tag:nth-child(5) { animation-delay: 0.5s; }

/* Loading state (optional) */
.search-overlay-input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Focus states for accessibility */
.search-close:focus,
.search-overlay-submit:focus,
.search-tag:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}



/* Element | https://kalimahtayebah.evotiks.com/ */

.search-overlay-input {
  padding-right: 4rem !important;
  border-radius: 16px !important;
}


/* Element | https://kalimahtayebah.evotiks.com/ */

.search-overlay-submit {
  border-radius: 16px;
  right: 0px;
}



/* PDP review */


.elementor-element-e516afa{
  padding :10px !important;
  overflow: hidden !important;
}
@media (max-width: 480px) {
.search #primary {
  margin-top: 150px;
  margin-right: 10px;
  margin-left: 10px;
}


}



.comment-form #submit{
    
    background-color: #394775 !important;
}


.eael-woo-cart .elementor-27 .elementor-element.elementor-element-c432e2b .eael-woo-cart-wrapper form.eael-woo-cart-form .eael-woo-cart-table .elementor-repeater-item-ae8b7d9 {

width: 60% !important;
}


.single_add_to_cart_button {
max-width: 150px !important;
}

