/*---------------------------------------------
User CSS modifications
version: 1.0
date:    28/02/2021
Last updated: AK - 28/02/2021
-----------------------------------------------
overdot-design
---------------------------------------------*/

/*----------------- Navbar -----------------*/

/*----------------- Title Bar -----------------*/

/*----------------- Footer -----------------*/

/*----------------- pagination -----------------*/

/*----------------- Services Section -----------------*/
 
/*----------------- Remove breadcrumb -----------------*/

/*--------------------------------*/


@media screen and (max-width: 800px) {
    .es-slider-ratio {
        height: 20vh ;
    }
}


/*.sidebar {*/
/*    display: none;*/
/*}*/

/*:root{*/
/*    --es-slider-ratio-calculator: 100% !important;*/
/*}*/



/* ============================================
   ROOT + GLOBAL
============================================ */

:root {
  --primary: #fbbf24;
  --primary-dark: #f59e0b;
  --secondary: #4f46e5;
  --secondary-dark: #4338ca;
  --text: #1f2937;
  --muted: #6b7280;
  --bg: #f9fafb;
  --white: #ffffff;
  --border: #e5e7eb;
  --radius: 14px;
  --font: 'Tajawal', 'Poppins', sans-serif;
}

body {
  background: var(--bg);
  font-family: var(--font);
  color: var(--text);
  line-height: 1.7;
}

a { color: var(--secondary); transition: .25s; }
a:hover { color: var(--primary-dark); }

/* ============================================
   NAVBAR — CLEAN + REMOVE PADDING
============================================ */

.navbar, header, .top-bar {
  background: var(--white) !important;
  border-bottom: 1px solid var(--border) !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.navbar-brand img {
  height: 48px !important;
  transition: .25s;
}
.navbar-brand img:hover { transform: scale(1.05); }

.navbar-nav .nav-link {
  font-weight: 600;
  padding: 10px 18px !important;
  border-radius: var(--radius);
  color: var(--text) !important;
  transition: .25s;
}

.navbar-nav .nav-link:hover {
  background: var(--primary);
  color: #fff !important;
}

.navbar-nav .nav-link.active {
  background: var(--secondary);
  color: #fff !important;
}

/* Dropdown */
.dropdown-menu {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  padding: 8px 0;
}

.dropdown-item {
  padding: 10px 16px;
  font-weight: 500;
  border-radius: var(--radius);
  transition: .2s;
}

.dropdown-item:hover {
  background: var(--primary);
  color: #fff;
}

/* ============================================
   BUTTONS — Unified
============================================ */

.btn, button {
  font-family: var(--font);
  border-radius: 999px !important;
  padding: 12px 26px !important;
  font-weight: 700 !important;
  transition: .25s !important;
  font-size: 1.05rem !important;
}

.btn-primary, .btn-main, .buy-now, .btn-buy {
  background: var(--secondary) !important;
  color: #fff !important;
  border: none !important;
}

.btn-primary:hover, .btn-main:hover, .buy-now:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* Outline */
.btn-outline-primary {
  border: 2px solid var(--secondary) !important;
  color: var(--secondary) !important;
  background: transparent !important;
}

.btn-outline-primary:hover {
  background: var(--secondary) !important;
  color: #fff !important;
}

/* ============================================
   INPUTS + SELECT + FORMS
============================================ */

input, select, textarea, .form-control {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 1.05rem;
  font-weight: 600;
  transition: .25s;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(251,191,36,0.25);
  background: #fff;
}

/* ============================================
   SELECT2 — FULL THEME
============================================ */

.select2-container .select2-selection--single {
  height: 52px !important;
  border: 2px solid var(--border) !important;
  border-radius: 12px !important;
  padding: 8px 14px !important;
  background: #fff !important;
  display: flex !important;
  align-items: center !important;
  transition: .25s !important;
}

.select2-selection__rendered {
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  color: #333 !important;
  line-height: 34px !important;
}

.select2-selection__arrow {
  height: 100% !important;
  right: 10px !important;
}

.select2-selection__arrow b {
  border-color: #6b7280 transparent transparent transparent !important;
  border-width: 6px 6px 0 6px !important;
  margin-top: 6px !important;
}

.select2-container--default.select2-container--open .select2-selection--single {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(251,191,36,0.25) !important;
}

.select2-dropdown {
  border-radius: 12px !important;
  border: 1px solid var(--border) !important;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08) !important;
}

.select2-results__option {
  padding: 10px 14px !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  transition: .2s;
}

.select2-results__option--highlighted {
  background: var(--primary) !important;
  color: #fff !important;
}

.select2-results__option[aria-selected="true"] {
  background: var(--secondary) !important;
  color: #fff !important;
}

/* ============================================
   QPAY PAGE — FULL FIX
============================================ */

.qpay-card, .qpay-box {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  padding: 22px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
}

.qpay-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 15px;
}

.qpay-services-select {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #333;
  transition: .25s;
}

.qpay-services-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(251,191,36,0.25);
}

.qpay-card .btn {
  background: var(--secondary) !important;
  color: #fff !important;
  border-radius: 999px !important;
  padding: 12px 26px !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
}

.qpay-card .btn:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* ============================================
   FAQ PAGE — Better Typography
============================================ */

.faq-item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 12px;
  transition: .25s;
  cursor: pointer;
}

.faq-item:hover {
  border-color: var(--primary);
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.faq-question {
  font-size: 1.2rem;
  font-weight: 800;
  color: #333;
}

.faq-answer {
  font-size: 1rem;
  color: #555;
  margin-top: 8px;
}

/* ============================================
   PAGINATION — Modern Style
============================================ */

.pagination .page-item .page-link {
  border-radius: 10px !important;
  padding: 8px 14px;
  margin: 0 3px;
  border: 1px solid #e5e7eb;
  color: #333;
  font-weight: 600;
  transition: .25s;
}

.pagination .page-item.active .page-link {
  background: var(--secondary);
  color: #fff !important;
  border-color: var(--secondary);
}

.pagination .page-item .page-link:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ============================================
   PRODUCT PAGES (economy / smart)
============================================ */

.item-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--secondary);
}

.product-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: .25s;
}
.product-image img:hover { transform: scale(1.03); }

.price-box {
  background: var(--primary);
  color: #fff;
  padding: 18px;
  border-radius: var(--radius);
  font-size: 1.5rem;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(251,191,36,0.4);
}

.features-list li {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 12px;
  border-radius: var(--radius);
  transition: .25s;
}

.features-list li:hover {
  background: var(--primary);
  color: #fff;
}

/* ============================================
   NEWS ARTICLE PAGE
============================================ */

.news-article {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.news-article h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--secondary);
}

/* ============================================
   CONTACT PAGE
============================================ */

.contact-form {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.contact-info-box {
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: center;
}

.contact-info-box i {
  font-size: 2rem;
  color: var(--primary);
}

/* ============================================
   RESPONSIVE
============================================ */

@media (max-width: 768px) {
  .item-title, .news-article h1 {
    font-size: 1.6rem;
    text-align: center;
  }

  .btn-primary, .btn-main, .btn-buy {
    width: 100%;
  }
}



/* ============================================
   QPAY DROPDOWN – MATCH COUNTRY CODE STYLE
============================================ */

.qpay-services-select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background: #fff !important;
  border: 2px solid var(--border, #e5e7eb) !important;
  border-radius: 12px !important;
  padding: 12px 16px !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  color: var(--text, #1f2937) !important;
  font-family: var(--font, 'Tajawal') !important;
  transition: .25s ease !important;
  background-image: url("data:image/svg+xml,%3Csvg fill='%236b7280' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.516 7.548a.625.625 0 0 1 .884-.884L10 10.264l3.6-3.6a.625.625 0 1 1 .884.884l-4.042 4.042a.625.625 0 0 1-.884 0L5.516 7.548z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: left 14px center !important;
  background-size: 16px !important;
  padding-left: 42px !important;
}

/* Dropdown list style */
.qpay-services-select option {
  padding: 10px 14px !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: #333 !important;
  background: #fff !important;
}

.qpay-services-select option:hover,
.qpay-services-select option:checked {
  background: var(--primary, #fbbf24) !important;
  color: #fff !important;
}

/* RTL fix */
html[dir="rtl"] .qpay-services-select {
  background-position: right 14px center !important;
  padding-right: 42px !important;
  padding-left: 16px !important;
}

/* ============================================
   PAYMENT OPTIONS – REDUCE HEIGHT
============================================ */

.payment-methods .card,
.payment-methods .option,
.payment-methods label {
  height: 58px !important;
  line-height: 58px !important;
  border-radius: 12px !important;
  font-size: 1rem !important;
}

/* ============================================
   BUTTONS – FONT + STYLE IMPROVEMENT
============================================ */

.btn-primary,
.btn-main,
.btn-buy,
.btn-cart,
.btn-details {
  font-family: 'Tajawal', sans-serif !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  border-radius: 999px !important;
  transition: .25s ease !important;
}

/* Pay Now */
.btn-buy,
.btn-main {
  background: #4f46e5 !important;
  color: #fff !important;
}
.btn-buy:hover {
  background: #f59e0b !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* Add to Cart */
.btn-cart {
  background: #22c55e !important;
  color: #fff !important;
}
.btn-cart:hover {
  background: #16a34a !important;
  transform: translateY(-2px);
}

/* Details */
.btn-details {
  background: #fff !important;
  color: #333 !important;
  border: 2px solid #e5e7eb !important;
}
.btn-details:hover {
  border-color: #fbbf24 !important;
  color: #fbbf24 !important;
}

/* ============================================
   WHATSAPP ICON – MODERN STYLE
============================================ */

.whatsapp-icon,
.whatsapp-btn {
  width: 52px !important;
  height: 52px !important;
  background: #22c55e !important;
  border-radius: 50% !important;
  box-shadow: 0 4px 12px rgba(34,197,94,0.4);
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: .25s ease !important;
  position: fixed !important;
  bottom: 24px !important;
  left: 24px !important;
  z-index: 999 !important;
}

.whatsapp-icon:hover,
.whatsapp-btn:hover {
  background: #16a34a !important;
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(22,163,74,0.5);
}

.whatsapp-icon i,
.whatsapp-btn i {
  color: #fff !important;
  font-size: 1.6rem !important;
}
