 :root{
      /* Free Forex Education palette */
      --bg:hsl(0,0,100%);
      --surface:#FFFFFF;
      --ink:#0B1220;
      --muted:#475569;
      --border:#E2E8F0;
      --brand:#0B3D91;
      --accent:#16A34A;
      --accent-2:#F59E0B;
      --link:#0B3D91;
      --linkHover:#0A2F6E;
      --text-color:hsl(210,77%,46%);
      --title-color:#0F172A;
      --excerpt:#0F172A;
      --radius:14px;
      --shadow: 0 8px 18px rgba(2, 6, 23, 0.06);
      --max: 1080px;
    }
    *{ box-sizing:border-box; }
    html,body{ height:100%; }
    body{
      overflow-x: hidden;
      margin:0;
      font-family: 'IRANSans';
      color:var(--ink);
      background:var(--bg);
      line-height:1.55;
      text-rendering: optimizeLegibility;
      background: url(https://forum.aldarani.ir/styles/gutter.gif) #e6e8ed repeat 0 0;
    }
.breadcrumb{
  font-size:18px;
  color:var(--muted);
  margin-bottom:14px;
  display: unset;
}
.breadcrumb a{ color:var(--link); }

    a{ color:var(--link); text-decoration:none; }
    a:hover{ color:var(--linkHover); text-decoration:underline; }
    a:focus-visible, button:focus-visible, input:focus-visible{
      outline: 3px solid rgba(22, 163, 74, 0.35);
      outline-offset: 2px;
      border-radius: 8px;
    }

    .skip-link{
      position:absolute;
      left:-999px;
      top:auto;
      width:1px;
      height:1px;
      overflow:hidden;
    }
    .skip-link:focus{
      left:16px;
      top:16px;
      width:auto;
      height:auto;
      padding:10px 12px;
      background:var(--surface);
      border:1px solid var(--border);
      border-radius:10px;
      box-shadow:var(--shadow);
      z-index:999;
    }

    .container{
      width: min(var(--max), calc(100% - 32px));
      margin: 0 auto;
    }

    /* Header */
    header{
      position: sticky;
      top: 0;
      z-index: 50;
      background: linear-gradient(to bottom, #37548a, #304978);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--border);
      direction: rtl;
    }
    .topbar{
      display:flex;
      align-items:center;
      gap:14px;
      padding: 14px 0;
    }
    .brand{
      display:flex;
      align-items:center;
      gap:10px;
      min-width: 220px;
    }
    a.brand:hover{
        text-decoration:none;
    }
    .logo{
      width:34px;
      height:34px;
      border-radius:10px;
      background-image: url(https://aldarani.ir/wp-content/uploads/2026/03/logo.png);
      /*background-position: -49px -77px;*/
      background-repeat: no-repeat;
      background-size: 33px auto;
      box-shadow: 0 6px 14px rgba(11, 61, 145, 0.18);
    }
    .brand-title{
      display:flex;
      flex-direction:column;
      line-height:1.2;
      color: #fff;
    }
    .brand-title strong{ font-size:14px; letter-spacing:0.2px; }
    .brand-title span{ font-size:12px; color:var(--muted);color: rgb(188, 222, 245); }

    nav{
      flex: 1;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:12px;
    }
    .menu{
      display:flex;
      align-items:center;
      gap:14px;
      flex-wrap:wrap;
    }
    .menu a{
      font-size: 13px;
      padding: 8px 10px;
      border-radius: 10px;
      color: var(--ink);
    }
    .menu a[aria-current="page"]{
      background: #5170aa;
      border: 1px solid var(--border);
      box-shadow: 0 6px 14px rgba(2, 6, 23, 0.05);
    }
    .menu a:hover{
      background: rgba(255,255,255,0.8);
      text-decoration:none;
    }
.menu .menu-list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
}

.menu .menu-list > li{
  position:relative;
}

.menu .menu-list a{
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 10px;
  color: #ffffff;
  display:inline-block;
}

.menu .menu-list a:hover{
  background: #5170aa;
  text-decoration:none;
}
.menu .sub-menu{
  list-style:none;
  margin:0 0 0;
  padding:8px;
  position:absolute;
  left:0;
  top:100%;
  min-width: 200px;
  background: #5170aa;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  display:none;
  z-index: 999;
}
.menu .sub-menu .sub-menu{
    left:auto;           /* مقدار پیش‌فرض left را غیرفعال می‌کنیم */
    right:95%;          /* منو از سمت راست آیتم والد شروع می‌شود */
    top:0;               /* در رأس آیتم والد قرار می‌گیرد */
}
.menu .sub-menu .sub-menu .sub-menu{
    left:0;           /* مقدار پیش‌فرض left را غیرفعال می‌کنیم */
    right:0;          /* منو از سمت راست آیتم والد شروع می‌شود */
    top:85%;               /* در رأس آیتم والد قرار می‌گیرد */
}
.menu .sub-menu li{
  margin:0;
}

.menu .sub-menu a{
  display:block;
  padding:8px 10px;
  border-radius:10px;
  white-space:nowrap;
}
.menu .menu-list > li:hover > .sub-menu,
.menu .menu-list > li:focus-within > .sub-menu,
.menu .sub-menu > li:hover > .sub-menu,       /* برای سطوح عمیق‌تر */
.menu .sub-menu > li:focus-within > .sub-menu
.menu .sub-menu .sub-menu > li:hover > .sub-menu,       /* برای سطوح عمیق‌تر */
.menu .sub-menu .sub-menu > li:focus-within > .sub-menu{
    display:block;
}
    nav .search{
      display:flex;
      align-items:center;
      gap:10px;
      min-width: 280px;
    }
    nav .search input{
      width:100%;
      padding: 10px 12px;
      border-radius: 12px;
      border: 1px solid var(--border);
      background: var(--surface);
      font-size: 13px;
      background: transparent;
color: #fff;
    }
    nav .search button{
      border: 1px solid var(--border);
      background: #5170aa;
color: #fff;
      padding: 10px 12px;
      border-radius: 12px;
      cursor:pointer;
      font-size: 13px;
    }
    nav .search button:hover{ border-color: rgba(11, 61, 145, 0.35); }

    /* Layout */
    main{ 
      padding-top: 5px;
      padding-bottom: 10px;
      direction: rtl;
     }

    .hero{
      display:flex;
      align-items:flex-end;
      justify-content:space-between;
      gap:18px;
      padding-bottom: 5px;
      border-bottom: 1px solid var(--border);
      margin-bottom: 5px;
    }
    .hero h1{
      margin:0;
      font-size: 22px;
      letter-spacing: -0.2px;
      font-weight:400;
    }
    .hero p{
      margin:6px 0 0;
      color:var(--muted);
      font-size: 13px;
      font-weight:400;
      max-width: 68ch;
    }

    .pillbar{
      display:flex;
      gap:8px;
      flex-wrap:wrap;
      justify-content:flex-end;
    }
    .pill{
      display:inline-flex;
      align-items:center;
      gap:8px;
      padding: 7px 10px;
      border-radius: 999px;
      border: 1px solid var(--border);
      background: rgba(255,255,255,0.75);
      font-size: 12px;
      color: var(--ink);
      white-space:nowrap;
    }
    .dot{
      width:8px;
      height:8px;
      border-radius:999px;
      background: var(--accent);
    }
    .dot.warn{ background: var(--accent-2); }
    .dot.brand{ background: var(--brand); }

    /* Card */
    .card{
      background: #fefefe;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      overflow:hidden;
    }
    .front-thumbnail{
      width: 240px;
      height: 140px;
      aspect-ratio: 16 / 9 !important;
      object-fit: cover;
    }
    /* List Header Row */
    .list-head{
      display:grid;
      grid-template-columns: 150px 170px 1fr 140px;
      gap: 12px;
      padding: 12px 14px;
      border-bottom: 1px solid var(--border);
      background: linear-gradient(to bottom, #37548a, #304978);
color: #fff;
      font-size: 12px;
    }

    /* Post rows */
    .post{
      display:grid;
      grid-template-columns: 1fr;
      gap: 12px;
      padding: 12px 14px;
      border-bottom: 1px solid var(--border);
    }
.meta-row .author{
    font-size: 12px;
color: var(--muted);
white-space: nowrap;
}
.post h3 small{
    font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}
    .cat{
      display:inline-flex;
      align-items:center;
      gap:8px;
      font-size: 12px;
      color: var(--ink);
      justify-content: center;
    }
    .tag{
      display:inline-flex;
      align-items:center;
      padding: 3px 8px;
      border-radius: 999px;
      border: 1px solid rgba(11, 61, 145, 0.18);
      background: rgba(11, 61, 145, 0.06);
      color: var(--brand);
      font-weight: 400;
      letter-spacing: 0.2px;
      text-align: center;
    }

    .author-row{
      font-size: 13px;
      color: var(--ink);
      display:flex;
      align-items:center;
      gap:10px;
      min-width:0;
    }
    .avatar{
      width:26px;
      height:26px;
      border-radius: 9px;
      background: rgba(22,163,74,0.12);
      border: 1px solid rgba(22,163,74,0.25);
      display:inline-block;
      flex: 0 0 auto;
    }
    .author-row a{
      color: var(--ink);
      text-decoration:none;
      font-weight: 600;
      overflow:hidden;
      text-overflow:ellipsis;
      white-space:nowrap;
      display:inline-block;
      max-width: 140px;
    }
    .author-row a:hover{ color: var(--linkHover); text-decoration:underline; }

    .title{
      min-width:0;
    }
    .title a{
      font-size: 100%;
      font-weight: 600;
      color: var(--title-color);
      display:inline-block;
      max-width: 100%;
      overflow:hidden;
      text-overflow:ellipsis;
      white-space:nowrap;
    }
    .excerpt{
      margin: 3px 0 0;
      font-size: 12.5px;
      color: var(--excerpt);
      display:-webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow:hidden;
      max-width: 90ch;
      font-weight: 400;
      line-height: 1.6;
    }

    time{
      font-size: 12px;
      color: var(--muted);
      white-space:nowrap;
    }

    /* Footer */
    footer{
      padding: 18px 0 34px;
      color: var(--muted);
      font-size: 12px;
    }
    .foot{
      display:flex;
      justify-content:space-between;
      gap:12px;
      flex-wrap:wrap;
      border-top: 1px solid var(--border);
      padding-top: 14px;
    }
@media (max-width: 970px){
    .hero{
display: unset;
    }
    .topbar {
flex-direction: column;
}
nav {
flex-direction: column;
flex: unset;
align-items: unset;
justify-content: unset;
}
}
.meta-row{
    display: flex;
  /* justify-content: center; */
  align-items: center;
  /* flex-direction: column; */


  margin-top: 5px;
gap: 5px;
}
    /* Responsive */
    @media (max-width: 860px){
      nav .search{ min-width: 0; }
      .list-head{ display:none; }
      .post{
        grid-template-columns: 1fr;
        gap: 8px;
        justify-items: center;
      }
      .meta-row{
        display:flex;
        align-items:center;
        justify-content:space-between;
        gap:10px;
        flex-wrap:wrap;
      }
      .title a{ white-space:normal; }
      .excerpt{ -webkit-line-clamp: 3; }
    }
    /* Tabs */
.tabs{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(to bottom, rgba(255,255,255,0.9), rgba(247,250,252,0.55));
}

.tab{
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.85);
  color: var(--ink);
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  cursor:pointer;
  transition: transform 0.06s ease, border-color 0.12s ease, background 0.12s ease;
}
.tab:hover{
  border-color: rgba(11, 61, 145, 0.35);
  text-decoration:none;
}
.tab:active{ transform: translateY(1px); }

.tab.is-active{
  background: rgba(11, 61, 145, 0.08);
  border-color: rgba(11, 61, 145, 0.28);
  color: var(--brand);
  font-weight: 400;
}

.tab-hint{
  margin-left:auto;
  font-size: 12px;
  color: var(--muted);
}

.post[hidden]{ display:none !important; }

.empty{
  padding: 16px 14px;
  color: var(--muted);
  font-size: 13px;
}

/* On small screens, put hint on new line */
@media (max-width: 520px){
  .tab-hint{ width:100%; margin-left:0; }
}
nav li {
    list-style: none;
}


.post-list a{
  text-decoration: none  !important;
  color: unset !important;
}
.post-list a:hover{
  text-decoration:none !important;
  list-style: none !important;
  color: unset !important;
}
.post-list a:visited{
  color: unset !important;
}
.post-list h3{
  font-weight: 400;
  line-height: 1.2;
}


.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(70px, 15vw, 100px), max-content));
    gap: 1.5rem;
    justify-content: center;
    width: 100%;
    padding: 1rem;
    border-bottom: 1px solid var(--spliter-color);
    border-top: 1px solid var(--spliter-color);
  margin-top: 5px;
  }
.app-grid > * {
    justify-self: center;
}
  .app-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100px;
  }
  .app-icon {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 25%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: clamp(24px, 5vw, 48px);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-bottom: 6px;
  }
  .app-icon {
  position: relative;
  overflow: hidden;
}
.discount-badge {
  position: absolute;
  top: 10px;
  left: -34px;
  width: 110px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff3b3b, #c40000);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transform: rotate(-45deg);
  transform-origin: center;
  box-shadow: 0 3px 8px rgba(0,0,0,0.25);
  z-index: 2;
  pointer-events: none;
}
.app-container:hover .discount-badge {
  transform: rotate(-45deg) scale(1.05);
  transition: 0.2s ease;
}
.price-ribbon {
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 93px;
  height: 27px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #ffffff;
  background: linear-gradient(135deg, #4f8cff, #2563eb);
  border-radius: 14px;
  border: 1.5px solid rgba(255,255,255,0.35);
  box-shadow:
    0 10px 25px rgba(37, 99, 235, 0.35),
    inset 0 1px 1px rgba(255,255,255,0.35);
  backdrop-filter: blur(8px);
  z-index: 5;
  transition: all 0.25s ease;
}
.discount-badge.red{
    background: linear-gradient(135deg, #ff3b3b, #c40000);
    color: #ffffff;
}

.discount-badge.royal{
    background: linear-gradient(135deg, #ff7b00, #ff3c38);
    color: #ffffff;
}

.price-ribbon.cyber{
    background: linear-gradient(135deg, #1e3a8a, #0f172a);
    color: #ffffff;
    border: 1.5px solid #38bdf8;
}
.price-ribbon.royal{
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    border: 1.5px solid #93c5fd;
}
.app-container:hover .price-ribbon {
  transform: translateX(-50%) translateY(-4px);
  box-shadow:
    0 14px 35px rgba(37, 99, 235, 0.45),
    inset 0 1px 2px rgba(255,255,255,0.4);
}
  .app-icon.blue { background: linear-gradient(145deg, #4facfe, #00f2fe); }
  .app-icon.red { background: linear-gradient(145deg, #ff416c, #ff4b2b); }
  .app-icon.green { background: linear-gradient(145deg, #34c759, #30e0a0); }

  .app-icon.black-gold {
  background: linear-gradient(145deg, #0f0f0f, #1c1c1c);
  border: 1px solid rgba(212, 175, 55, 0.6);
  color: #d4af37;
}
.app-icon.burgundy {
  background: linear-gradient(145deg, #5a0f1b, #8b1e2d);
}
.app-icon.royal-purple {
  background: linear-gradient(145deg, #2e003e, #4b0082);
}
.app-icon.platinum {
  background: linear-gradient(145deg, #e6e6e6, #bfc1c2);
  color: #1c1c1e;
}
.app-icon.midnight {
  background: linear-gradient(145deg, #0a0f2c, #1c2a6c);
}
.app-icon.emerald {
  background: linear-gradient(145deg, #004d40, #00a86b);
}
.app-icon.glass-vip {
  background: linear-gradient(145deg, rgba(255,255,255,0.25), rgba(255,255,255,0.08));
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.35);
  color: #ffffff;
}
.app-icon.dark-ultra {
  background: linear-gradient(145deg, #0a0a0a, #1a1a1a);
  border: 1px solid rgba(255,255,255,0.08);
  color: #f5f5f7;
}
.app-icon.vision-pro {
  background: radial-gradient(circle at 30% 30%, #ffffff, #dfe9f3 40%, #bfc7d5 100%);
  color: #111;
}
.app-icon.fintech-2026 {
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  border: 1px solid rgba(0,255,255,0.25);
  color: #00f5ff;
}
.app-icon.gold-shimmer {
  background: linear-gradient(145deg, #1a1a1a, #111);
  color: #d4af37;
  position: relative;
  overflow: hidden;
}
.app-icon.gold-shimmer::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 30%,
    rgba(212, 175, 55, 0.4) 50%,
    transparent 70%
  );
}
.app-icon.ai-glow {
  background: linear-gradient(145deg, #0f0f1f, #1c1c3c);
  color: #00f5ff;
}

.app-icon.lightning-border {
  position: relative;
  z-index: 1;
}
.app-icon.lightning-border::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 28%;
  background: linear-gradient(
    120deg,
    #00f5ff,
    #7b00ff,
    #00f5ff,
    #ff00c8,
    #00f5ff
  );
  background-size: 300% 300%;
  animation: lightningMove 3s linear infinite;
  z-index: -1;
  filter: blur(4px);
}
@keyframes lightningMove {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}
  .app-icon:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 25px rgba(0,0,0,0.35), inset 0 -2px 5px rgba(255,255,255,0.4);
    cursor: pointer;
  }
  .app-name {
    font-size: clamp(10px, 2vw, 14px);
    color: #1c1c1e;
    text-align: center;
    word-wrap: break-word;
    line-height: 1.2;
    width: 100%;
  }
  .app-icon img {
  height: 100px;
  width: 100px;
  object-fit: cover;
}



/* ================================
   EDD Checkout (Blocks) – 2026 UI
   Background target: #F7FAFC
   Paste into: Appearance → Customize → Additional CSS
   ================================ */

:root{
  --edd-bg: #F7FAFC;
  --edd-surface: #ffffff;
  --edd-text: #0f172a;        /* slate-900 */
  --edd-muted: #475569;       /* slate-600 */
  --edd-border: rgba(15,23,42,.10);
  --edd-border-strong: rgba(15,23,42,.16);
  --edd-focus: #2563eb;       /* blue-600 */
  --edd-danger: #dc2626;      /* red-600 */
  --edd-radius: 16px;
  --edd-radius-sm: 12px;
  --edd-shadow: 0 1px 2px rgba(2,6,23,.06), 0 10px 20px rgba(2,6,23,.06);
  --edd-gap: 16px;
}

/* Match page background (only affects checkout area) */
#edd_checkout_form_wrap{
  color: var(--edd-text);
  background: var(--edd-bg);
  padding: clamp(16px, 2.2vw, 28px);
  border-radius: calc(var(--edd-radius) + 4px);
}

/* Responsive 2-column layout -> stacks on mobile */
#edd_checkout_form_wrap.edd-checkout__layout--full{
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(14px, 2vw, 22px);
  align-items: start;
}

@media (min-width: 980px){
  #edd_checkout_form_wrap.edd-checkout__layout--full{
    grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1.1fr);
  }

}

/* Card surfaces */
#edd_checkout_form_wrap .edd-blocks__cart,
#edd_checkout_form_wrap .edd-blocks__purchase-form{
  background: var(--edd-surface);
  border: 1px solid var(--edd-border);
  border-radius: var(--edd-radius);
  box-shadow: var(--edd-shadow);
  padding: clamp(16px, 2vw, 24px);
}

/* Section spacing */
#edd_checkout_form_wrap fieldset{
  border: 0;
  margin: 0 0 var(--edd-gap);
  padding: 0;
}

#edd_checkout_form_wrap legend{
  font-size: 1rem;
  margin: 0 0 10px;
  color: var(--edd-text);
}

/* Helper text */
#edd_checkout_form_wrap .edd-description,
#edd_checkout_form_wrap .edd-required-fields-notice{
  color: var(--edd-muted);
  font-size: .92rem;
  line-height: 1.45;
}

#edd_checkout_form_wrap .edd-required-fields-notice{
  margin: 0 0 14px;
  padding: 10px 12px;
  background: rgba(15,23,42,.04);
  border: 1px solid var(--edd-border);
  border-radius: var(--edd-radius-sm);
}

/* Form groups */
#edd_checkout_form_wrap .edd-blocks-form__group{
  margin: 0 0 14px;
}

#edd_checkout_form_wrap .edd-label{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  color: var(--edd-text);
}

#edd_checkout_form_wrap .edd-required-indicator{
  color: var(--edd-danger);
}

/* Inputs / selects */
#edd_checkout_form_wrap input[type="text"],
#edd_checkout_form_wrap input[type="email"],
#edd_checkout_form_wrap input[type="tel"],
#edd_checkout_form_wrap input[type="password"],
#edd_checkout_form_wrap select,
#edd_checkout_form_wrap textarea{
  width: 100%;
  box-sizing: border-box;
  font-size: 1rem;
  line-height: 1.25;
  color: var(--edd-text);
  background: #fff;
  border: 1px solid var(--edd-border-strong);
  border-radius: var(--edd-radius-sm);
  padding: 12px 14px;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

#edd_checkout_form_wrap input::placeholder,
#edd_checkout_form_wrap textarea::placeholder{
  color: rgba(71,85,105,.75);
}

#edd_checkout_form_wrap input:focus,
#edd_checkout_form_wrap select:focus,
#edd_checkout_form_wrap textarea:focus{
  outline: none;
  border-color: rgba(37,99,235,.55);
  box-shadow: 0 0 0 4px rgba(37,99,235,.15);
}

/* Slight lift on hover (desktop only) */
@media (hover:hover){
  #edd_checkout_form_wrap input:hover,
  #edd_checkout_form_wrap select:hover,
  #edd_checkout_form_wrap textarea:hover{
    border-color: rgba(15,23,42,.22);
  }
}

/* Cart rows */
#edd_checkout_form_wrap #edd_checkout_cart{
  background: transparent;
}

#edd_checkout_form_wrap .edd-blocks-cart__row{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--edd-border);
}

#edd_checkout_form_wrap .edd-blocks-cart__row:last-child{
  border-bottom: 0;
}

#edd_checkout_form_wrap .edd-blocks-cart__row-header{
  font-size: .92rem;
  color: var(--edd-muted);
  padding-top: 0;
}

#edd_checkout_form_wrap .edd_checkout_cart_item_title{
  color: var(--edd-text);
}

#edd_checkout_form_wrap .edd_cart_item_price{
  text-align: right;
  white-space: nowrap;
}

/* Total row emphasis */
#edd_checkout_form_wrap .edd_cart_total{
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  font-size: 1.05rem;
  padding-top: 4px;
}

/* Remove item button (keep it subtle) */
#edd_checkout_form_wrap .edd_cart_actions{
  margin-top: 6px;
  display: flex;
  justify-content: flex-end;
}

#edd_checkout_form_wrap .edd_cart_remove_item_btn{
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--edd-border);
  background: rgba(15,23,42,.03);
  position: relative;
  text-decoration: none;
}

#edd_checkout_form_wrap .edd_cart_remove_item_btn::before,
#edd_checkout_form_wrap .edd_cart_remove_item_btn::after{
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 14px;
  height: 2px;
  background: rgba(15,23,42,.60);
  transform-origin: center;
}

#edd_checkout_form_wrap .edd_cart_remove_item_btn::before{
  transform: translate(-50%,-50%) rotate(45deg);
}
#edd_checkout_form_wrap .edd_cart_remove_item_btn::after{
  transform: translate(-50%,-50%) rotate(-45deg);
}

@media (hover:hover){
  #edd_checkout_form_wrap .edd_cart_remove_item_btn:hover{
    border-color: rgba(220,38,38,.30);
    background: rgba(220,38,38,.08);
  }
  #edd_checkout_form_wrap .edd_cart_remove_item_btn:hover::before,
  #edd_checkout_form_wrap .edd_cart_remove_item_btn:hover::after{
    background: rgba(220,38,38,.85);
  }
}

/* Payment method options */
#edd_checkout_form_wrap #edd-payment-mode-wrap{
  display: grid;
  gap: 10px;
}

#edd_checkout_form_wrap .edd-gateway-option{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--edd-border);
  border-radius: var(--edd-radius-sm);
  background: rgba(15,23,42,.02);
  cursor: pointer;
}

#edd_checkout_form_wrap .edd-gateway-option input[type="radio"]{
  accent-color: var(--edd-focus);
}

#edd_checkout_form_wrap .edd-gateway-option-selected{
  background: rgba(37,99,235,.08);
  border-color: rgba(37,99,235,.28);
}

/* Buttons (Next + Purchase) */
#edd_checkout_form_wrap .edd-submit,
#edd_checkout_form_wrap #edd_next_button,
#edd_checkout_form_wrap #edd-purchase-button{
  appearance: none;
  border: 1px solid rgba(2,6,23,.10);
  background: #111827; /* neutral dark */
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  padding: 14px 18px;
  border-radius: 14px;
  cursor: pointer;
  width: 100%;
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
  box-shadow: 0 1px 2px rgba(2,6,23,.08), 0 12px 22px rgba(2,6,23,.10);
}

@media (min-width: 640px){
  /* On larger screens, buttons don’t have to be full width */
  #edd_checkout_form_wrap #edd_next_button,
  #edd_checkout_form_wrap #edd-purchase-button{
    width: auto;
    min-width: 180px;
  }
}

@media (hover:hover){
  #edd_checkout_form_wrap .edd-submit:hover,
  #edd_checkout_form_wrap #edd_next_button:hover,
  #edd_checkout_form_wrap #edd-purchase-button:hover{
    transform: translateY(-1px);
    filter: brightness(1.03);
  }
}

#edd_checkout_form_wrap .edd-submit:focus,
#edd_checkout_form_wrap #edd_next_button:focus,
#edd_checkout_form_wrap #edd-purchase-button:focus{
  outline: none;
  box-shadow: 0 0 0 4px rgba(37,99,235,.18), 0 12px 22px rgba(2,6,23,.12);
}

/* Purchase area spacing */
#edd_checkout_form_wrap #edd_purchase_submit{
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* Make select dropdown look consistent in Safari/Firefox */
#edd_checkout_form_wrap select{
  background-image: linear-gradient(45deg, transparent 50%, rgba(15,23,42,.60) 50%),
                    linear-gradient(135deg, rgba(15,23,42,.60) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}

/* Accessibility: reduce motion */
@media (prefers-reduced-motion: reduce){
  #edd_checkout_form_wrap *{
    transition: none !important;
  }
}

/* =========================================
   EDD Confirmation / Receipt (Blocks) – 2026
   Background target: #F7FAFC
   Scope: only .wp-block-edd-confirmation
   ========================================= */

:root{
  --eddc-bg: #F7FAFC;
  --eddc-surface: #ffffff;
  --eddc-text: #0f172a;        /* slate-900 */
  --eddc-muted: #475569;       /* slate-600 */
  --eddc-border: rgba(15,23,42,.10);
  --eddc-border-strong: rgba(15,23,42,.16);
  --eddc-focus: #2563eb;       /* blue-600 */
  --eddc-success: #16a34a;     /* green-600 */
  --eddc-radius: 16px;
  --eddc-radius-sm: 12px;
  --eddc-shadow: 0 1px 2px rgba(2,6,23,.06), 0 10px 20px rgba(2,6,23,.06);
}

.wp-block-edd-confirmation.edd-blocks__confirmation{
  color: var(--eddc-text);
  background: var(--eddc-bg);
  padding: clamp(16px, 2.2vw, 28px);
  border-radius: calc(var(--eddc-radius) + 4px);
}

/* Layout + max width */
.wp-block-edd-confirmation.edd-blocks__confirmation{
  max-width: 980px;
  margin: 0 auto;
}

/* Headings */
.wp-block-edd-confirmation.edd-blocks__confirmation h1,
.wp-block-edd-confirmation.edd-blocks__confirmation h2,
.wp-block-edd-confirmation.edd-blocks__confirmation h3{
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

.wp-block-edd-confirmation.edd-blocks__confirmation h3{
  font-size: clamp(1.1rem, 1.2vw, 1.25rem);
}

/* Receipt container: card */
.wp-block-edd-confirmation .edd-blocks-receipt__items,
.wp-block-edd-confirmation .edd-blocks-receipt__totals,
.wp-block-edd-confirmation .edd-blocks__confirmation-details{
  background: var(--eddc-surface);
  border: 1px solid var(--eddc-border);
  border-radius: var(--eddc-radius);
  box-shadow: var(--eddc-shadow);
}

/* Spacing between blocks */
.wp-block-edd-confirmation .edd-blocks-receipt__items{
  padding: clamp(16px, 2vw, 22px);
  margin: 0 0 16px;
}

.wp-block-edd-confirmation .edd-blocks-receipt__totals{
  padding: clamp(14px, 2vw, 20px);
  margin: 0 0 16px;
}

/* Product row */
.wp-block-edd-confirmation .edd-blocks-receipt__row-item{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid var(--eddc-border);
}

.wp-block-edd-confirmation .edd-blocks-receipt__row-item:last-child{
  border-bottom: 0;
}

/* Product name */
.wp-block-edd-confirmation .edd-blocks-receipt__item-details .edd-blocks__row-label{
  color: var(--eddc-text);
  line-height: 1.25;
}

/* Price */
.wp-block-edd-confirmation .edd-blocks-receipt__item-price{
  white-space: nowrap;
  text-align: right;
}

/* Download file list */
.wp-block-edd-confirmation .edd_purchase_receipt_files{
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  gap: 10px;
}

.wp-block-edd-confirmation .edd_purchase_receipt_files .edd_download_file_link{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--eddc-radius-sm);
  border: 1px solid var(--eddc-border);
  background: rgba(15,23,42,.03);
  text-decoration: none;
  color: var(--eddc-text);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wp-block-edd-confirmation .edd_purchase_receipt_files .edd_download_file_link:focus{
  outline: none;
  box-shadow: 0 0 0 4px rgba(37,99,235,.15);
  border-color: rgba(37,99,235,.45);
}

@media (hover:hover){
  .wp-block-edd-confirmation .edd_purchase_receipt_files .edd_download_file_link:hover{
    border-color: rgba(37,99,235,.35);
    background: rgba(37,99,235,.08);
  }
}

/* Totals rows (Order info) */
.wp-block-edd-confirmation .edd-blocks__row{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--eddc-border);
}

.wp-block-edd-confirmation .edd-blocks__row:last-child{
  border-bottom: 0;
}

.wp-block-edd-confirmation .edd-blocks__row-label{
  color: var(--eddc-muted);
}

.wp-block-edd-confirmation .edd-blocks__row-value{
  text-align: right;
}

/* Header row inside totals */
.wp-block-edd-confirmation .edd-blocks__row-header .edd-blocks__row-label{
  color: var(--eddc-text);
}

/* Status pill */
.wp-block-edd-confirmation .edd_receipt_payment_status{
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .9rem;
  border: 1px solid var(--eddc-border);
  background: rgba(15,23,42,.04);
}

.wp-block-edd-confirmation .edd_receipt_payment_status.complete{
  border-color: rgba(22,163,74,.25);
  background: rgba(22,163,74,.10);
  color: var(--eddc-success);
}

/* Emphasize Total row if present as the last item */
.wp-block-edd-confirmation .edd-blocks-receipt__totals .edd-blocks__row:last-child{
  padding-top: 14px;
  border-top: 1px solid var(--eddc-border);
  margin-top: 2px;
}

.wp-block-edd-confirmation .edd-blocks-receipt__totals .edd-blocks__row:last-child .edd-blocks__row-label{
  color: var(--eddc-text);
}

.wp-block-edd-confirmation .edd-blocks-receipt__totals .edd-blocks__row:last-child .edd-blocks__row-value{
  font-size: 1.05rem;
}

/* "View Order Details" CTA card */
.wp-block-edd-confirmation .edd-blocks__confirmation-details{
  padding: 14px;
  display: flex;
  justify-content: flex-end;
}

.wp-block-edd-confirmation .edd-blocks__confirmation-details a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(2,6,23,.10);
  background: #111827;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(2,6,23,.08), 0 12px 22px rgba(2,6,23,.10);
  transition: transform .12s ease, filter .12s ease, box-shadow .12s ease;
}

.wp-block-edd-confirmation .edd-blocks__confirmation-details a:focus{
  outline: none;
  box-shadow: 0 0 0 4px rgba(37,99,235,.18), 0 12px 22px rgba(2,6,23,.12);
}

@media (hover:hover){
  .wp-block-edd-confirmation .edd-blocks__confirmation-details a:hover{
    transform: translateY(-1px);
    filter: brightness(1.03);
  }
}

/* Mobile: stack price below title if needed */
@media (max-width: 520px){
  .wp-block-edd-confirmation .edd-blocks-receipt__row-item{
    grid-template-columns: 1fr;
  }
  .wp-block-edd-confirmation .edd-blocks-receipt__item-price{
    text-align: left;
  }
  .wp-block-edd-confirmation .edd-blocks__row-value{
    text-align: left;
  }
}

/* Accessibility: reduce motion */
@media (prefers-reduced-motion: reduce){
  .wp-block-edd-confirmation.edd-blocks__confirmation *{
    transition: none !important;
  }
}
/* =========================================
   EDD Receipt (Blocks) – 2026 UI
   Background target: #F7FAFC
   Scope: only .wp-block-edd-receipt
   ========================================= */

:root{
  --eddr-bg: #F7FAFC;
  --eddr-surface: #ffffff;
  --eddr-text: #0f172a;        /* slate-900 */
  --eddr-muted: #475569;       /* slate-600 */
  --eddr-border: rgba(15,23,42,.10);
  --eddr-border-strong: rgba(15,23,42,.16);
  --eddr-focus: #2563eb;       /* blue-600 */
  --eddr-success: #16a34a;     /* green-600 */
  --eddr-radius: 16px;
  --eddr-radius-sm: 12px;
  --eddr-shadow: 0 1px 2px rgba(2,6,23,.06), 0 10px 20px rgba(2,6,23,.06);
}

.wp-block-edd-receipt.edd-blocks__receipt{
  color: var(--eddr-text);
  background: var(--eddr-bg);
  padding: clamp(16px, 2.2vw, 28px);
  border-radius: calc(var(--eddr-radius) + 4px);
  max-width: 980px;
  margin: 0 auto;
}

/* Headings */
.wp-block-edd-receipt.edd-blocks__receipt h1,
.wp-block-edd-receipt.edd-blocks__receipt h2,
.wp-block-edd-receipt.edd-blocks__receipt h3{
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

.wp-block-edd-receipt.edd-blocks__receipt h3{
  font-size: clamp(1.1rem, 1.2vw, 1.25rem);
}

/* Card surfaces */
.wp-block-edd-receipt .edd-blocks-receipt__totals,
.wp-block-edd-receipt .edd-blocks-receipt__items{
  background: var(--eddr-surface);
  border: 1px solid var(--eddr-border);
  border-radius: var(--eddr-radius);
  box-shadow: var(--eddr-shadow);
  padding: clamp(14px, 2vw, 20px);
}

/* Spacing between sections */
.wp-block-edd-receipt .edd-blocks-receipt__totals{
  margin: 0 0 18px;
}
.wp-block-edd-receipt .edd-blocks-receipt__items{
  margin: 0;
}

/* Totals rows */
.wp-block-edd-receipt .edd-blocks-receipt__totals .edd-blocks__row{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--eddr-border);
}

.wp-block-edd-receipt .edd-blocks-receipt__totals .edd-blocks__row:last-child{
  border-bottom: 0;
}

.wp-block-edd-receipt .edd-blocks-receipt__totals .edd-blocks__row-label{
  color: var(--eddr-muted);
}

.wp-block-edd-receipt .edd-blocks-receipt__totals .edd-blocks__row-value{
  text-align: right;
}

/* Header row (Order:) */
.wp-block-edd-receipt .edd-blocks-receipt__row-header .edd-blocks__row-label{
  color: var(--eddr-text);
}

/* Status pill */
.wp-block-edd-receipt .edd_receipt_payment_status{
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .9rem;
  border: 1px solid var(--eddr-border);
  background: rgba(15,23,42,.04);
}

.wp-block-edd-receipt .edd_receipt_payment_status.complete{
  border-color: rgba(22,163,74,.25);
  background: rgba(22,163,74,.10);
  color: var(--eddr-success);
}

/* Emphasize the last "Total" row */
.wp-block-edd-receipt .edd-blocks-receipt__totals .edd-blocks__row:last-child{
  padding-top: 14px;
  border-top: 1px solid var(--eddr-border);
  margin-top: 2px;
}

.wp-block-edd-receipt .edd-blocks-receipt__totals .edd-blocks__row:last-child .edd-blocks__row-label{
  color: var(--eddr-text);
}

.wp-block-edd-receipt .edd-blocks-receipt__totals .edd-blocks__row:last-child .edd-blocks__row-value{
  font-size: 1.05rem;
}

/* Product rows */
.wp-block-edd-receipt .edd-blocks-receipt__items .edd-blocks-receipt__row-item{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid var(--eddr-border);
}

.wp-block-edd-receipt .edd-blocks-receipt__items .edd-blocks-receipt__row-item:last-child{
  border-bottom: 0;
}

/* Product name */
.wp-block-edd-receipt .edd-blocks-receipt__item-details .edd-blocks__row-label{
  color: var(--eddr-text);
  line-height: 1.25;
}

/* Price */
.wp-block-edd-receipt .edd-blocks-receipt__item-price{
  white-space: nowrap;
  text-align: right;
}

/* Download file list */
.wp-block-edd-receipt .edd_purchase_receipt_files{
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  gap: 10px;
}

.wp-block-edd-receipt .edd_purchase_receipt_files .edd_download_file_link{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--eddr-radius-sm);
  border: 1px solid var(--eddr-border);
  background: rgba(15,23,42,.03);
  text-decoration: none;
  color: var(--eddr-text);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wp-block-edd-receipt .edd_purchase_receipt_files .edd_download_file_link:focus{
  outline: none;
  box-shadow: 0 0 0 4px rgba(37,99,235,.15);
  border-color: rgba(37,99,235,.45);
}

@media (hover:hover){
  .wp-block-edd-receipt .edd_purchase_receipt_files .edd_download_file_link:hover{
    border-color: rgba(37,99,235,.35);
    background: rgba(37,99,235,.08);
  }
}

/* Mobile: stack price/value below label if needed */
@media (max-width: 520px){
  .wp-block-edd-receipt .edd-blocks-receipt__items .edd-blocks-receipt__row-item,
  .wp-block-edd-receipt .edd-blocks-receipt__totals .edd-blocks__row{
    grid-template-columns: 1fr;
  }
  .wp-block-edd-receipt .edd-blocks-receipt__item-price,
  .wp-block-edd-receipt .edd-blocks-receipt__totals .edd-blocks__row-value{
    text-align: left;
  }
}

/* Accessibility: reduce motion */
@media (prefers-reduced-motion: reduce){
  .wp-block-edd-receipt.edd-blocks__receipt *{
    transition: none !important;
  }
}









/* Main EDD Purchase Button */
.edd-add-to-cart.button.blue.edd-submit {
    background: linear-gradient(135deg, #ff6a00, #ff2d55);
    color: #ffffff;
    border: none;
    border-radius: 60px;
    padding: 14px 34px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(255, 45, 85, 0.35);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

/* Hover */
.edd-add-to-cart.button.blue.edd-submit:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(255, 45, 85, 0.55);
    background: linear-gradient(135deg, #ff2d55, #ff6a00);
}

/* Click */
.edd-add-to-cart.button.blue.edd-submit:active {
    transform: translateY(1px);
    box-shadow: 0 6px 15px rgba(255, 45, 85, 0.3);
}

/* Remove default blue styling conflicts */
.edd-add-to-cart.button.blue {
    background-color: unset;
}

/* Optional subtle shine animation */
.edd-add-to-cart.button.blue.edd-submit::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: rgba(255,255,255,0.25);
    transform: skewX(-25deg);
    transition: left 0.6s ease;
}

.edd-add-to-cart.button.blue.edd-submit:hover::before {
    left: 125%;
}
/* Checkout Button - Same Style as Purchase */
.edd_go_to_checkout.button.blue.edd-submit {
    display: inline-block;
    background: linear-gradient(135deg, #ff6a00, #ff2d55);
    color: #ffffff;
    border: none;
    border-radius: 60px;
    padding: 14px 34px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(255, 45, 85, 0.35);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

/* Hover */
.edd_go_to_checkout.button.blue.edd-submit:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(255, 45, 85, 0.55);
    background: linear-gradient(135deg, #ff2d55, #ff6a00);
}

/* Click */
.edd_go_to_checkout.button.blue.edd-submit:active {
    transform: translateY(1px);
    box-shadow: 0 6px 15px rgba(255, 45, 85, 0.3);
}

/* Remove default blue */
.edd_go_to_checkout.button.blue {
    background-color: unset;
}

/* Shine animation */
.edd_go_to_checkout.button.blue.edd-submit::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: rgba(255,255,255,0.25);
    transform: skewX(-25deg);
    transition: left 0.6s ease;
}

.edd_go_to_checkout.button.blue.edd-submit:hover::before {
    left: 125%;
}







  .product-showcase-header {
            height: 90px;
            background:  #ffffff ;
            border-bottom: 1px solid #e9ecef;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 30px;
            font-family: 'IRANSans';
            border :1px solid #e9e9e9;
            border-radius: 14px;
        }

        .product-carousel {
            display: flex;
            gap: 20px;
            overflow-x: auto;
            scrollbar-width: none;
            -ms-overflow-style: none;
            padding: 10px 0;
        }
@media (max-width: 500px){
  .product-showcase-header {
    height: unset;
    flex-direction: column;
  }
}
        .product-carousel::-webkit-scrollbar {
            display: none;
            width: 0;
            height: 0;
        }

        .product-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 8px 16px;
            background: white;
            border-radius: 12px;
            border: 1px solid #e9ecef;
            min-width: 180px;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .product-item:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            border-color: #007bff;
        }

        .product-image {
            width: 40px;
            height: 40px;
            border-radius: 8px;
            object-fit: cover;
            background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
        }

        .product-info {
            display: flex;
            flex-direction: column;
        }

        .product-name {
            font-size: 14px;
            font-weight: 600;
            color: #2c3e50;
            margin: 0;
        }

        .product-price {
            font-size: 13px;
            color: #28a745;
            font-weight: 500;
        }

        .cta-button {
            background: linear-gradient(45deg, #007bff, #0056b3);
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .cta-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
        }
        .product-carousel a{
          text-decoration: none;
          color: unset;
        }
        .product-carousel a:hover{
          text-decoration: none;
          color: unset;
        }
        .product-carousel a:visited{
          text-decoration: none;
          color: unset;
        }


        .product-showcase-header a{
          text-decoration: none;
          color: #ffffff;
        }
        .product-showcase-header a:hover{
          text-decoration: none;
          color: #ffffff;
        }
        .product-showcase-header a:visited{
          text-decoration: none;
          color: #ffffff;
        }
        
        
            /* --- Keyframe Animations --- */
    @keyframes fadeSlideUp {
      0% {
        opacity: 0;
        transform: translateY(15px);
      }

      100% {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* Infinite Pulse Animation for the Button */
    @keyframes buttonPulse {
      0% {
        box-shadow: 0 0 0 0 rgba(26, 26, 26, 0.6);
      }

      70% {
        box-shadow: 0 0 0 12px rgba(26, 26, 26, 0);
      }

      100% {
        box-shadow: 0 0 0 0 rgba(26, 26, 26, 0);
      }
    }

    @keyframes PPulse {
      0% {
        text-shadow: 0px 0px 0px black;
      }

      70% {
        text-shadow: 3px 2px 5px black;
      }

      100% {
        text-shadow: 3px 2px 15px black;
      }
    }

    /* The main banner container */
    .trading-banner {
      direction: rtl;
      background-color: #FFD700;
      /* Yellow background */
      font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
      color: #1a1a1a;
      width: 100%;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      padding: 20px 30px;
      border-radius: 8px;
      gap: 20px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
      overflow: hidden;

      /* Load animation */
      animation: fadeSlideUp 0.6s ease-out forwards;
    }

    /* Logo styling */
    .banner-logo {
      display: flex;
      align-items: center;
      font-size: 24px;
      font-weight: 600;
      letter-spacing: -0.5px;
      text-transform: uppercase;
      cursor: default;
      transition: transform 0.3s ease, color 0.3s ease;
      background-color: black;
      border-radius: 10px;
      padding: 5px;
      color: wheat;
    }

    .banner-logo img {
      width: 30px;
      height: auto;
    }

    /* Text content area */
    .banner-content {
      /*flex: 1 1 300px;*/
      text-align: right;
      opacity: 0;
      animation: fadeSlideUp 0.6s ease-out 0.2s forwards;
    }

    .banner-content h2 {
      margin: 0 0 5px 0;
      font-size: 20px;
      font-weight: 600;
      line-height: 1.2;
    }

    .banner-content p {
      margin: 0;
      font-size: 15px;
      font-weight: 500;
      color: #333333;
      line-height: 1.4;
      animation: PPulse 2s infinite 1s;

    }

    /* Call to Action Button */
    .banner-cta {
      background-color: #FFFFFF;
      color: #000000;
      text-decoration: none;
      font-size: 16px;
      font-weight: bold;
      padding: 12px 28px;
      border-radius: 4px;
      white-space: nowrap;
      display: flex;
      align-items: center;
      gap: 8px;
      transition: all 0.3s ease;

      /* 
      1. fadeSlideUp: Initial entrance animation
      2. buttonPulse: Infinite loop animation starting after 1 second
    */
      opacity: 0;
      animation:
        fadeSlideUp 0.6s ease-out 0.4s forwards,
        buttonPulse 2s infinite 1s;
    }


    /* Responsive layout for mobile devices */
    @media (max-width: 768px) {
      .trading-banner {
        flex-direction: column;
        text-align: center;
        padding: 25px 15px;
      }

      .banner-content {
        text-align: center;
      }

      .banner-logo {
        justify-content: center;
      }
    }

    .ads-banner {
      text-decoration: none;
      color: none;
    }

    .ads-banner:visited {
      text-decoration: none;
      color: unset;
    }

    .ads-banner:hover {
      text-decoration: none;
    }