/* ======================================================
   3D Tourism Pricing Table Pro - Enhanced Responsive Styles
   ====================================================== */

.tourism-3d-wrapper {
  margin: 35px auto;
  max-width: 1140px;
  direction: rtl;
  font-family: 'Cairo', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: #1e293b;
  box-sizing: border-box;
}

.tourism-3d-wrapper *,
.tourism-3d-wrapper *:before,
.tourism-3d-wrapper *:after {
  box-sizing: inherit;
}

/* Card 3D Frame & Shadows */
.tourism-3d-card-container {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Depth Levels */
.tourism-3d-card-container.depth-subtle {
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

.tourism-3d-card-container.depth-medium {
  border: 1px solid #cbd5e1;
  border-bottom: 5px solid #94a3b8;
  box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.16), 0 10px 15px -5px rgba(15, 23, 42, 0.08);
}

.tourism-3d-card-container.depth-deep {
  border: 2px solid #e2e8f0;
  border-bottom: 8px solid #0f172a;
  box-shadow: 
    0 25px 50px -12px rgba(15, 23, 42, 0.25),
    0 12px 24px -8px rgba(15, 23, 42, 0.15),
    inset 0 2px 4px rgba(255, 255, 255, 0.9);
}

/* Vibrant Cards Theme (Matching Image Screenshot) */
.tourism-3d-card-container.theme-vibrant_cards {
  border-bottom-color: #0284c7;
}
.tourism-3d-card-container.theme-vibrant_cards .tourism-3d-header {
  background: linear-gradient(135deg, #0f172a 0%, #0369a1 50%, #0284c7 100%);
  color: #ffffff;
}

/* Emerald Nile Theme */
.tourism-3d-card-container.theme-emerald {
  border-bottom-color: #065f46;
}
.tourism-3d-card-container.theme-emerald .tourism-3d-header {
  background: linear-gradient(135deg, #064e3b 0%, #047857 50%, #059669 100%);
  color: #ffffff;
}
.tourism-3d-card-container.theme-emerald .category-header-row.row-egyptian {
  background: linear-gradient(90deg, #ecfdf5 0%, #f0fdf4 100%);
  border-top: 2px solid #10b981;
}
.tourism-3d-card-container.theme-emerald .category-header-row.row-foreigners {
  background: linear-gradient(90deg, #eff6ff 0%, #f8fafc 100%);
  border-top: 2px solid #3b82f6;
}

/* Amber Gold Theme */
.tourism-3d-card-container.theme-amber {
  border-bottom-color: #78350f;
}
.tourism-3d-card-container.theme-amber .tourism-3d-header {
  background: linear-gradient(135deg, #78350f 0%, #b45309 50%, #d97706 100%);
  color: #ffffff;
}
.tourism-3d-card-container.theme-amber .category-header-row.row-egyptian {
  background: linear-gradient(90deg, #fffbeb 0%, #fef3c7 100%);
  border-top: 2px solid #f59e0b;
}
.tourism-3d-card-container.theme-amber .category-header-row.row-foreigners {
  background: linear-gradient(90deg, #fdf4ff 0%, #fae8ff 100%);
  border-top: 2px solid #c084fc;
}

/* Sapphire Blue Theme */
.tourism-3d-card-container.theme-sapphire {
  border-bottom-color: #1e3a8a;
}
.tourism-3d-card-container.theme-sapphire .tourism-3d-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e40af 50%, #2563eb 100%);
  color: #ffffff;
}

/* Ruby Theme */
.tourism-3d-card-container.theme-ruby {
  border-bottom-color: #881337;
}
.tourism-3d-card-container.theme-ruby .tourism-3d-header {
  background: linear-gradient(135deg, #4c0519 0%, #9f1239 50%, #e11d48 100%);
  color: #ffffff;
}

/* Amethyst Theme */
.tourism-3d-card-container.theme-amethyst {
  border-bottom-color: #581c87;
}
.tourism-3d-card-container.theme-amethyst .tourism-3d-header {
  background: linear-gradient(135deg, #3b0764 0%, #7e22ce 50%, #9333ea 100%);
  color: #ffffff;
}

/* Sunset Theme */
.tourism-3d-card-container.theme-sunset {
  border-bottom-color: #7c2d12;
}
.tourism-3d-card-container.theme-sunset .tourism-3d-header {
  background: linear-gradient(135deg, #431407 0%, #c2410c 50%, #ea580c 100%);
  color: #ffffff;
}

/* Turquoise Theme */
.tourism-3d-card-container.theme-turquoise {
  border-bottom-color: #155e75;
}
.tourism-3d-card-container.theme-turquoise .tourism-3d-header {
  background: linear-gradient(135deg, #083344 0%, #0891b2 50%, #06b6d4 100%);
  color: #ffffff;
}

/* Midnight Theme */
.tourism-3d-card-container.theme-midnight {
  border-bottom-color: #09090b;
}
.tourism-3d-card-container.theme-midnight .tourism-3d-header {
  background: linear-gradient(135deg, #09090b 0%, #27272a 50%, #3f3f46 100%);
  color: #ffffff;
}

/* Ocean Theme */
.tourism-3d-card-container.theme-ocean {
  border-bottom-color: #1e3a8a;
}
.tourism-3d-card-container.theme-ocean .tourism-3d-header {
  background: linear-gradient(135deg, #172554 0%, #1e40af 50%, #0284c7 100%);
  color: #ffffff;
}

/* Desert Dune Theme */
.tourism-3d-card-container.theme-desert {
  border-bottom-color: #713f12;
}
.tourism-3d-card-container.theme-desert .tourism-3d-header {
  background: linear-gradient(135deg, #451a03 0%, #92400e 50%, #b45309 100%);
  color: #ffffff;
}

/* Forest Evergreen Theme */
.tourism-3d-card-container.theme-forest {
  border-bottom-color: #14532d;
}
.tourism-3d-card-container.theme-forest .tourism-3d-header {
  background: linear-gradient(135deg, #052e16 0%, #15803d 50%, #16a34a 100%);
  color: #ffffff;
}

/* Header Styling */
.tourism-3d-header {
  padding: 28px 24px;
  text-align: center;
  position: relative;
  box-shadow: inset 0 -2px 6px rgba(0, 0, 0, 0.2);
}
.tourism-3d-title {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.tourism-3d-subtitle {
  margin: 8px 0 0;
  font-size: 15px;
  opacity: 0.92;
  font-weight: 500;
}

/* Table Scroll Wrapper */
.tourism-3d-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: #ffffff;
}

.tourism-3d-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  text-align: right;
  min-width: 0;
}

/* Table Head */
.tourism-3d-thead-row th {
  background: #0f172a;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 8px 4px;
  border-bottom: 2px solid #cbd5e1;
  text-align: center;
  vertical-align: middle;
}
.tourism-3d-thead-row th.col-category {
  text-align: right;
  width: 30%;
  padding-right: 8px;
}
.tourism-3d-thead-row th.col-adult {
  width: 18%;
  background: linear-gradient(180deg, #6366f1 0%, #4f46e5 100%) !important;
  color: #ffffff !important;
  border-bottom: 4px solid #3730a3 !important;
  border-left: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.tourism-3d-thead-row th.col-adult .th-title {
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.tourism-3d-thead-row th.col-adult .th-hint {
  color: #e0e7ff;
  font-size: 8px;
}

.tourism-3d-thead-row th.col-child {
  width: 18%;
  background: linear-gradient(180deg, #38bdf8 0%, #0284c7 100%) !important;
  color: #ffffff !important;
  border-bottom: 4px solid #0369a1 !important;
  border-left: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.tourism-3d-thead-row th.col-child .th-title {
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.tourism-3d-thead-row th.col-child .th-hint {
  color: #e0f2fe;
  font-size: 8px;
}

.tourism-3d-thead-row th.col-infant {
  width: 18%;
  background: linear-gradient(180deg, #fb7185 0%, #e11d48 100%) !important;
  color: #ffffff !important;
  border-bottom: 4px solid #9f1239 !important;
  border-left: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.tourism-3d-thead-row th.col-infant .th-title {
  color: #ffffff;
  font-size: 12px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.tourism-3d-thead-row th.col-infant .th-hint {
  color: #ffe4e6;
  font-size: 8px;
}

.tourism-3d-thead-row th.col-notes {
  text-align: center;
  width: 16%;
  font-size: 10px;
}
.th-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  line-height: 1.1;
}
.th-title {
  font-size: 12px;
  font-weight: 800;
}
.th-hint {
  font-size: 8px;
  color: #94a3b8;
  font-weight: 500;
}

/* Category Split Rows */
.category-header-row td {
  padding: 8px 12px;
  font-weight: 700;
}
.category-header-row.row-egyptian {
  background: linear-gradient(90deg, #ecfdf5 0%, #f0fdf4 60%, #ffffff 100%);
  border-top: 3px solid #059669;
}
.category-header-row.row-foreigners {
  background: linear-gradient(90deg, #eef2ff 0%, #f5f3ff 60%, #ffffff 100%);
  border-top: 3px solid #6366f1;
}
.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #0f172a;
}
.cat-flag {
  font-size: 14px;
}
.cat-currency-badge {
  font-size: 10px;
  color: #475569;
  font-weight: 600;
  background: #ffffff;
  padding: 1px 6px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
}

/* Pricing Data Rows with Dynamic 3D Lift & Slow Color Transitions */
.pricing-row {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  transform: translateZ(0);
}
.pricing-row td {
  transition: background 0.5s cubic-bezier(0.25, 0.8, 0.25, 1),
              background-color 0.5s cubic-bezier(0.25, 0.8, 0.25, 1),
              border-color 0.4s ease,
              box-shadow 0.45s ease;
  position: relative;
  padding: 6px 3px;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: middle;
}
.pricing-row:hover {
  transform: translateY(-3.5px) scale(1.002);
  z-index: 20;
}
.pricing-row:hover td {
  background: linear-gradient(180deg, #ffffff 0%, #f0f4ff 100%);
  border-top: 1px solid rgba(99, 102, 241, 0.25);
  border-bottom: 2px solid rgba(99, 102, 241, 0.35);
}
.pricing-row:hover td:first-child {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  border-right: 4px solid #6366f1;
  box-shadow: -6px 12px 24px -4px rgba(15, 23, 42, 0.16), inset 4px 0 10px -2px rgba(99, 102, 241, 0.25);
}
.pricing-row:hover td:last-child {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  box-shadow: 6px 12px 24px -4px rgba(15, 23, 42, 0.16);
}
.pricing-row:hover td:not(:first-child):not(:last-child) {
  box-shadow: 0 12px 24px -4px rgba(15, 23, 42, 0.12);
}

.pricing-row.with-transfer td {
  background: #fffdf5;
}
.pricing-row.with-transfer:hover td {
  background: linear-gradient(180deg, #fffbeb 0%, #fef3c7 100%) !important;
  border-top: 1px solid rgba(245, 158, 11, 0.3);
  border-bottom: 2px solid rgba(245, 158, 11, 0.45);
}
.pricing-row.with-transfer:hover td:first-child {
  border-right: 4px solid #f59e0b;
  box-shadow: -6px 12px 24px -4px rgba(217, 119, 6, 0.2), inset 4px 0 10px -2px rgba(245, 158, 11, 0.3);
}

.pricing-row:hover .amount {
  transform: translateY(-1.5px) scale(1.12);
  display: inline-block;
  transition: transform 0.3s ease;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.pricing-row:hover .service-name {
  color: #312e81;
}

.cell-category {
  font-weight: 600;
  padding-right: 8px;
}
.service-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.2;
}
.service-name {
  font-size: 11px;
  font-weight: 800;
  color: #0f172a;
}
.service-badge {
  display: inline-block;
  font-size: 8px;
  font-weight: 700;
  color: #4338ca;
  background: #e0e7ff;
  padding: 1px 6px;
  border-radius: 999px;
  width: fit-content;
  border: 1px solid #c7d2fe;
}

/* Clean Compact Table Cells (No Bulky Buttons) */
.price-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
}
.cell-price {
  text-align: center;
  font-family: monospace;
  padding: 6px 2px;
  background: #fafaf9;
  border-left: 1px solid #f1f5f9;
  border-right: 1px solid #f1f5f9;
}
.cell-price .amount {
  font-size: 13px;
  font-weight: 900;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.cell-price .curr {
  font-size: 8px;
  font-weight: 600;
  color: #64748b;
  font-family: sans-serif;
  line-height: 1;
  margin-top: 1px;
}
.cell-price.adult-price {
  background: rgba(99, 102, 241, 0.05);
  border-left: 1px solid rgba(99, 102, 241, 0.15);
  border-right: 1px solid rgba(99, 102, 241, 0.15);
}
.cell-price.adult-price .amount {
  color: #312e81;
}
.cell-price.child-price {
  background: rgba(2, 132, 199, 0.05);
  border-left: 1px solid rgba(2, 132, 199, 0.15);
  border-right: 1px solid rgba(2, 132, 199, 0.15);
}
.cell-price.child-price .amount {
  color: #0369a1;
}
.cell-price.infant-price {
  background: rgba(225, 29, 72, 0.04);
  border-left: 1px solid rgba(225, 29, 72, 0.15);
  border-right: 1px solid rgba(225, 29, 72, 0.15);
}
.cell-price.infant-price .amount {
  color: #9f1239;
}
.free-tag {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(180deg, #fb7185 0%, #e11d48 100%);
  border-bottom: 2px solid #9f1239;
  padding: 2px 6px;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(225, 29, 72, 0.2);
}

/* Notes Cell */
.cell-notes .notes-text {
  margin: 0;
  font-size: 9px;
  line-height: 1.3;
  color: #475569;
  text-align: center;
}
.btn-table-row-book {
  display: inline-block;
  margin-top: 4px;
  background: linear-gradient(180deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border: none;
  padding: 3px 8px;
  font-size: 9px;
  font-weight: 800;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(16, 185, 129, 0.25);
  transition: all 0.15s ease-in-out;
}
.btn-table-row-book:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(16, 185, 129, 0.35);
}
.btn-table-row-book:active {
  transform: translateY(1px);
}

/* Footer Section */
.tourism-3d-footer {
  padding: 16px 20px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.footer-notice {
  font-size: 12px;
  color: #475569;
  font-weight: 500;
  max-width: 55%;
}
.footer-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.tourism-3d-btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%);
  color: #ffffff !important;
  text-decoration: none !important;
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 12px;
  border-bottom: 3px solid #15803d;
  box-shadow: 0 4px 10px rgba(22, 163, 74, 0.25);
  transition: all 0.15s ease-in-out;
}
.tourism-3d-btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(22, 163, 74, 0.35);
}
.tourism-3d-btn-whatsapp:active {
  transform: translateY(2px);
  border-bottom-width: 1px;
}
.tourism-3d-btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
  color: #ffffff !important;
  text-decoration: none !important;
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 12px;
  border-bottom: 3px solid #1d4ed8;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
  transition: all 0.15s ease-in-out;
}
.tourism-3d-btn-phone:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.35);
}
.tourism-3d-btn-phone:active {
  transform: translateY(2px);
  border-bottom-width: 1px;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .tourism-3d-wrapper {
    margin: 15px auto;
    padding: 0 4px;
  }
  .tourism-3d-header {
    padding: 14px 10px;
  }
  .tourism-3d-title {
    font-size: 16px;
  }
  .tourism-3d-subtitle {
    font-size: 11px;
  }
  .tourism-3d-thead-row th {
    padding: 6px 2px;
    font-size: 10px;
  }
  .th-title {
    font-size: 11px;
  }
  .th-hint {
    font-size: 7.5px;
  }
  .pricing-row td {
    padding: 5px 2px;
  }
  .cell-price.adult-price .amount,
  .cell-price.child-price .amount,
  .cell-price.infant-price .amount {
    font-size: 11px;
  }
  .service-name {
    font-size: 9.5px;
  }
  .notes-text {
    font-size: 8.5px;
  }
  .tourism-3d-footer {
    flex-direction: column;
    text-align: center;
    padding: 12px;
  }
  .footer-notice {
    max-width: 100%;
    font-size: 11px;
  }
  .tourism-3d-btn-whatsapp {
    width: 100%;
    justify-content: center;
    font-size: 12px;
    padding: 8px 14px;
  }
}

/* 3D Folded Ribbon Tag (Similar to the Free tag in image) */
.ribbon-3d-tag {
  position: absolute;
  top: 18px;
  right: -8px;
  background: #ffffff;
  color: #0f172a;
  font-weight: 900;
  font-size: 14px;
  padding: 4px 16px 4px 10px;
  box-shadow: -2px 3px 8px rgba(0, 0, 0, 0.25);
  clip-path: polygon(100% 0%, 100% 100%, 0% 100%, 10px 50%, 0% 0%);
  z-index: 10;
}
.ribbon-3d-tag::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -6px;
  border-width: 6px 6px 0 0;
  border-style: solid;
  border-color: #64748b transparent transparent transparent;
}

/* Floating phone button */
.phone-floating-pill {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #0f172a;
  color: #ffffff !important;
  text-decoration: none !important;
  padding: 6px 16px 6px 6px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
}

/* 3D Cards Grid and Color Themes */
.tourism-3d-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 16px;
  box-sizing: border-box;
}
@media (max-width: 820px) {
  .tourism-3d-cards-grid {
    grid-template-columns: 1fr;
  }
}
.tourism-3d-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid #e2e8f0;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.08);
}
.tourism-3d-card:hover {
  transform: translateY(-4px);
}
.tourism-3d-card.card-adult {
  border-bottom: 6px solid #678800;
  box-shadow: 0 15px 35px -8px rgba(139, 184, 13, 0.35);
}
.tourism-3d-card.card-child {
  border-bottom: 6px solid #0082ba;
  box-shadow: 0 15px 35px -8px rgba(0, 168, 236, 0.35);
}
.tourism-3d-card.card-infant {
  border-bottom: 6px solid #d8480d;
  box-shadow: 0 15px 35px -8px rgba(243, 108, 40, 0.35);
}
.tourism-3d-card-header {
  padding: 12px 16px;
  text-align: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 18px;
}
.card-adult .tourism-3d-card-header {
  background: linear-gradient(180deg, #769b00 0%, #678800 100%);
}
.card-child .tourism-3d-card-header {
  background: linear-gradient(180deg, #009fe3 0%, #008bc7 100%);
}
.card-infant .tourism-3d-card-header {
  background: linear-gradient(180deg, #f05a1a 0%, #d8480d 100%);
}
.tourism-3d-card-price-block {
  padding: 18px 12px;
  text-align: center;
  color: #ffffff;
}
.card-adult .tourism-3d-card-price-block {
  background: #8bb80d;
}
.card-child .tourism-3d-card-price-block {
  background: #00a8ec;
}
.card-infant .tourism-3d-card-price-block {
  background: #f36c28;
}
.tourism-3d-card-price-num {
  font-size: 42px;
  font-weight: 900;
  font-family: monospace;
  line-height: 1;
}
.tourism-3d-card-price-curr {
  font-size: 18px;
  font-weight: 700;
  margin-right: 4px;
}
.tourism-3d-card-price-tag {
  font-size: 10px;
  font-weight: 700;
  background: rgba(0,0,0,0.15);
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  margin-top: 6px;
}
.tourism-3d-card-body {
  padding: 0;
  text-align: center;
  font-weight: 700;
  font-size: 12px;
  color: #1e293b;
}
.tourism-3d-card-row {
  padding: 9px 12px;
  border-bottom: 1px solid #f1f5f9;
}
.tourism-3d-card-row.row-foreign {
  background: #f8fafc;
  font-weight: 800;
}
.tourism-3d-card-breakdown {
  padding: 10px 12px;
  background: #f8fafc;
  font-size: 11px;
  text-align: right;
}
.tourism-3d-card-breakdown-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin-bottom: 6px;
}

/* Booking Buttons & Action Styling */
.tourism-3d-btn-booking {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(180deg, #059669 0%, #16a34a 100%);
  color: #ffffff !important;
  text-decoration: none !important;
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 12px;
  border-bottom: 3px solid #065f46;
  box-shadow: 0 4px 10px rgba(5, 150, 105, 0.3);
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  border-top: none;
  border-left: none;
  border-right: none;
}
.tourism-3d-btn-booking:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(5, 150, 105, 0.45);
  background: linear-gradient(180deg, #10b981 0%, #059669 100%);
}
.tourism-3d-btn-booking:active {
  transform: translateY(2px);
  border-bottom-width: 1px;
}
.tourism-3d-card-booking-btn {
  width: 100%;
  padding: 9px 12px;
  border: none;
  border-radius: 10px;
  font-weight: 800;
  font-size: 11px;
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: all 0.2s ease;
  font-family: inherit;
}
.tourism-3d-card-booking-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.18);
}
.card-btn-adult {
  background: linear-gradient(90deg, #769b00, #678800);
}
.card-btn-adult:hover {
  background: linear-gradient(90deg, #8bb80d, #769b00);
}
.card-btn-child {
  background: linear-gradient(90deg, #009fe3, #008bc7);
}
.card-btn-child:hover {
  background: linear-gradient(90deg, #00a8ec, #009fe3);
}
.card-btn-infant {
  background: linear-gradient(90deg, #f05a1a, #d8480d);
}
.card-btn-infant:hover {
  background: linear-gradient(90deg, #f36c28, #f05a1a);
}

/* Lightbox Booking Modal for WordPress */
.t3d-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  direction: rtl;
  font-family: 'Cairo', system-ui, -apple-system, sans-serif;
  box-sizing: border-box;
}
.t3d-modal-dialog {
  background: #ffffff;
  border-radius: 20px;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.35);
  border: 2px solid #e2e8f0;
  box-sizing: border-box;
}
.t3d-modal-header {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.t3d-modal-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 900;
  color: #ffffff;
}
.t3d-modal-close {
  background: rgba(255,255,255,0.2);
  border: none;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.t3d-modal-close:hover {
  background: rgba(255,255,255,0.35);
}
.t3d-modal-body {
  padding: 20px;
  box-sizing: border-box;
}
.t3d-form-group {
  margin-bottom: 12px;
}
.t3d-form-label {
  display: block;
  font-weight: 700;
  font-size: 12px;
  color: #334155;
  margin-bottom: 5px;
}
.t3d-form-input, .t3d-form-select, .t3d-form-textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-family: inherit;
  font-size: 13px;
  box-sizing: border-box;
}
.t3d-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.t3d-counter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  margin-bottom: 8px;
}
.t3d-counter-ctrls {
  display: flex;
  align-items: center;
  gap: 8px;
}
.t3d-btn-count {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  font-weight: 900;
  cursor: pointer;
}
.t3d-total-banner {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 2px solid #10b981;
  padding: 12px 16px;
  border-radius: 12px;
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.t3d-btn-send {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-weight: 900;
  font-size: 14px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  margin-top: 14px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
  transition: transform 0.15s;
}
.t3d-btn-send:hover {
  transform: translateY(-2px);
}

/* User Custom CSS injected via Master Dashboard */
/* كود CSS مخصص إضافي */
.tourism-3d-wrapper {
  transition: all 0.2s ease-in-out;
}
