
/* تنسيق الشريط الجانبي */
.sidebar {
  background-color: var(--primary-color);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.1);
}
.sidebar label, 
.sidebar h5 {
  color: #fff;
}
.text-gold {
  color: var(--gold);
}

.ticket-card{
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
    border: 3px solid var(--border-color);
    overflow: hidden;
}

/* بطاقات المنتجات */
.product-card {
  background: var(--card-bg);
  color: #fff;
  transition: all 0.3s ease;
  border: 3px solid var(--border-color);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding-bottom: 20px;
  overflow: hidden;
}
.product-card img,
.ticket-card img {
    border-radius: 10px;
    height: 300px;
    object-fit: fill !important;
    object-position: center;
}

/* زر السلة */
.product-card .button {
  background: var(--sec-color) !important;
  color: white !important;
  border-radius: 30px;
  padding: 8px 20px;
  font-weight: bold;
  transition: all 0.3s ease;
}

/* ترقيم الصفحات */
.woocommerce-pagination {
  margin-top: 30px;
}
.woocommerce-pagination ul {
  display: inline-flex;
  gap: 8px;
  list-style: none;
}
.woocommerce-pagination li a,
.woocommerce-pagination li span {
  background: var(--dark-purple);
  color: #fff;
  padding: 8px 14px;
  border-radius: 5px;
  text-decoration: none;
}
.woocommerce-pagination li .current {
  background: var(--gold);
  color: #000;
}


.product-card  ins{
  text-decoration: none !important;
}


.single-product-page {
  background-color: #0d0b15;
  color: #fff;
}
.text-gold { color: #d4af37; }
.bg-dark { background-color: #1a1625 !important; }
.ticket-box {
  border: 1px solid #2c2740;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}
.nav-tabs .nav-link.active {
  background-color: #2c2740;
  border: none;
}
.nav-tabs .nav-link {
  border: none;
}




/* ======== */

.single-product-page {
  background-color: #0d0b15;
  color: #fff;
  min-height: 100vh;
}

.text-gold { color: #d4af37 !important; }
.bg-dark { background-color: #1a1625 !important; }

.ticket-box {
  border: 1px solid #2c2740;
  box-shadow: 0 0 20px rgba(212,175,55,0.15);
}

button.single_add_to_cart_button {
  background-color: #d4af37 !important;
  border: none !important;
  color: #000 !important;
  font-weight: 600;
  border-radius: 8px;
  padding: 10px 25px;
  transition: 0.3s;
}
button.single_add_to_cart_button:hover {
  background-color: #f5d878 !important;
}

.m-btn {
  background-color: #d4af37;
  color: #000;
  padding: 10px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}
.m-btn:hover {
  background-color: #f5d878;
  color: #000;
}

.nav-tabs {
  border-bottom: 2px solid #2c2740;
}
.nav-tabs .nav-link {
  border: none;
  background: transparent;
  color: #d4af37;
  font-weight: 600;
  transition: 0.3s;
}
.nav-tabs .nav-link:hover {
  color: #f5d878;
}
.nav-tabs .nav-link.active {
  color: #000;
  background-color: #d4af37;
  border-radius: 10px 10px 0 0;
}
.tab-content {
  border-top: none;
  box-shadow: 0 0 15px rgba(212,175,55,0.1);
  background-color: var(--primary-color);
}

.product-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.woocommerce .quantity .qty{
  width: 100%;
}

.product-info{
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.product-image img{
  height: 400px;
  object-fit: contain;
}

.wp-singular #tab-gallery img{
  cursor: pointer;
}

.dark .wp-singular .tab-content p{
  color: white !important;
}

form.woocommerce-ordering{
  display: none;
}

.ticket-card,
.product-card{
  min-width: 300px;
}

#password_current{
  display: none;
}

.woo-wallet-transaction-type-debit{
  color: red;
}

.woocommerce div.product form.cart{
  display: flex;
  justify-content: center;
  align-items: center;
}
.product.type-product div.images img{
  max-height: 600px;
}

.woocommerce-product-gallery__trigger{
  display: none;
}

.nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover{
  border-color: var(--sec-color) !important;
}


.dark .product-card{
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}


/* 🟣 ضبط شبكة WooCommerce لتكون مثل Bootstrap Row */
.woocommerce ul.products.columns-4 {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem; /* زي g-4 */
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* 🟣 ضبط الأعمدة الداخلية (li.product) */
.woocommerce ul.products.columns-4 li.product {
  flex: 0 0 calc(25% - 1.5rem); /* 4 أعمدة */
  max-width: calc(25% - 1.5rem);
}

/* 💻 في الشاشات المتوسطة (3 أعمدة) */
@media (max-width: 991.98px) {
  .woocommerce ul.products.columns-4 li.product {
    flex: 0 0 calc(33.333% - 1rem);
    max-width: calc(33.333% - 1rem);
  }
}

/* 📱 في الموبايل (عمودين) */
@media (max-width: 575.98px) {
  .woocommerce ul.products.columns-4 li.product {
    flex: 0 0 calc(50% - 0.75rem);
    max-width: calc(50% - 0.75rem);
  }
}


.dark .woocommerce-error, .woocommerce-info, .woocommerce-message{
  background-color: var(--primary-color);
  color: white;
}

.added_to_cart{
  margin-right: 10px;
}

@media screen  and (max-width:767px) {
  .ticket-section .product-image img{
    height: 100%;
  }
}


#classic-checkout-wrapper {
    height: 0;
    overflow: hidden;
    position: relative;
}

#classic-checkout {
    position: relative;
    visibility: hidden;
}

/* ============================================ */

.event-accordion details {
  border-bottom: 1px solid #e6e6e6;
  padding: 14px 0;
}

.event-accordion summary {
  list-style: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  /* justify-content: space-between; */
  position: relative;
}
.event-accordion summary img{
  margin: 0 5px;
}
.event-accordion summary::-webkit-details-marker {
  display: none;
}

/* السهم */
.event-accordion summary::after {
  content: "›";
  font-size: 22px;
  color: #666;
  transition: transform 0.3s ease;
  position: absolute;
  left: 10px;
}

.event-accordion details[open] summary::after {
  transform: rotate(90deg);
}

.event-accordion .content {
  padding: 14px 0 6px;
  /* color: #444; */
  font-size: 14.5px;
  line-height: 1.8;
}

/* صورة + نص */
.event-accordion .with-image {
  display: flex;
  gap: 16px;
}

.event-accordion .image-box img {
  width: 160px;
  max-width: 100%;
  border-radius: 8px;
  display: block;
}

.event-accordion .text-box {
  flex: 1;
}

/* موبايل */
@media (max-width: 768px) {
  .event-accordion .with-image {
    flex-direction: column;
  }

  .event-accordion .image-box img {
    width: 100%;
  }
}



.light .event-accordion .content{
  color: black;
}


.event-accordion summary{
  color: var(--sec-color);
}