@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&family=Chakra+Petch:ital,wght@0,400;0,600;0,700;1,700&family=Tajawal:wght@300;400;500;700;800;900&display=swap');

/* ==========================================================================
   KAYAN CFW - TEBEX STORE THEME (GENERIC OVERRIDES)
   Identical luxury obsidian & cyber-gold aesthetic matching Kayan CFW
   ========================================================================== */

:root {
  /* Kayan CFW Color Tokens */
  --kayan-gold: #FFBB58;
  --kayan-gold-light: #FFE4A0;
  --kayan-gold-dark: #D4881E;
  --kayan-gold-darker: #B66B04;
  --kayan-amber: #F59E0B;
  --kayan-glow: rgba(255, 187, 88, 0.35);
  --kayan-void: #040406;
  --kayan-pitch: #06070A;
  --kayan-surface: #0B0C12;
  --kayan-surface-elevated: #12151c;
  --kayan-card: rgba(13, 15, 23, 0.75);
  --kayan-card-solid: #08090E;
  --kayan-card-hover: rgba(22, 25, 38, 0.9);
  --kayan-border: rgba(255, 187, 88, 0.16);
  --kayan-border-hover: rgba(255, 187, 88, 0.55);
  --kayan-border-subtle: rgba(255, 255, 255, 0.08);
  --kayan-muted: #9CA3AF;
  --kayan-subtle: #6B7280;

  /* Tebex Variables Mapping */
  --color-primary: #FFBB58;
  --color-primary-hover: #FFE4A0;
  --color-primary-text: #FFBB58;
  --color-primary-text-hover: #FFE4A0;

  --color-secondary: #FFE4A0;
  --color-secondary-hover: #FFF1C5;
  --color-secondary-text: #FFFFFF;
  --color-secondary-text-hover: #FFBB58;

  --color-tertiary: rgba(255, 255, 255, 0.05);
  --color-tertiary-hover: rgba(255, 187, 88, 0.16);
  --color-tertiary-text: #FFFFFF;
  --color-tertiary-text-hover: #FFBB58;

  --color-bg: #040406;
  --color-brighter-bg: #0B0C12;
  --color-text: #FFFFFF;
  --color-text-darker: #E5E7EB;
  --color-text-secondary: #9CA3AF;
  --color-text-dark: #050507;
  --color-removed: #EF4444;

  --color-sale-banner-bg: #FFBB58;
  --color-sale-banner-text: #050507;

  /* Typography */
  --font-sans: 'Tajawal', 'Cairo', system-ui, -apple-system, sans-serif;
  --font-heading: 'Cairo', 'Tajawal', sans-serif;
  --font-mono: 'Chakra Petch', 'Tajawal', monospace;

  /* Shadows & Glows */
  --gold-glow-sm: 0 0 15px rgba(255, 187, 88, 0.25);
  --gold-glow: 0 0 30px rgba(255, 187, 88, 0.35);
  --gold-glow-lg: 0 0 60px rgba(255, 187, 88, 0.5);

  /* Radius System */
  --radius-capsule: 9999px;
  --radius-card: 20px;
  --radius-inner: 14px;
  --radius-input: 12px;
}

/* ==========================================================================
   GLOBAL BASE & BODY
   ========================================================================== */

body {
  font-family: var(--font-sans);
  background-color: #040406;
  color: #FFFFFF;
  background-image: none !important;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Top ambient light bloom */
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 520px;
  z-index: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255, 187, 88, 0.18) 0%, rgba(255, 187, 88, 0.04) 50%, transparent 100%);
  pointer-events: none;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 40%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 40%, transparent 100%);
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}

/* Selection */
::selection {
  background-color: var(--kayan-gold);
  color: #040406;
}

/* Custom Scrollbar (Kayan CFW Luxury Golden Style) */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

::-webkit-scrollbar-track {
  background: #050507;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #FFBB58 0%, #D4881E 100%);
  border-radius: 9999px;
  border: 1px solid rgba(255, 187, 88, 0.25);
  box-shadow: 0 0 10px rgba(255, 187, 88, 0.35);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #FFE4A0 0%, #FFBB58 100%);
  box-shadow: 0 0 16px rgba(255, 187, 88, 0.65);
}

/* ==========================================================================
   BUTTONS (LUXURY FROSTED GLASS & GOLD AESTHETIC)
   ========================================================================== */

/* Universal button centering & sizing */
.btn-primary,
.btn-secondary,
.btn-tertiary,
.btn-icon-text,
button.btn-primary,
button.btn-secondary,
button.btn-tertiary,
a.btn-primary,
a.btn-secondary,
a.btn-tertiary,
input[type=submit].btn-primary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  line-height: 1 !important;
  vertical-align: middle !important;
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 16px !important;
  font-size: 14px !important;
  box-sizing: border-box !important;
  white-space: nowrap;
}

.btn-primary *,
.btn-secondary *,
.btn-tertiary * {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1;
}

/* Primary Luxury Glass Button */
.btn-primary {
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  color: #FFBB58 !important;
  font-family: var(--font-heading) !important;
  font-weight: 800 !important;
  border-radius: var(--radius-capsule) !important;
  border: 1px solid rgba(255, 187, 88, 0.42) !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.28), 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 187, 88, 0.18) !important;
  text-shadow: 0 0 14px rgba(255, 187, 88, 0.4) !important;
  position: relative;
  overflow: hidden;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease !important;
  transform: none !important;
  cursor: pointer;
}

.btn-primary:hover,
.btn-primary:focus {
  background: rgba(255, 187, 88, 0.18) !important;
  border-color: rgba(255, 187, 88, 0.85) !important;
  color: #FFE4A0 !important;
  transform: none !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.45), 0 12px 32px rgba(0, 0, 0, 0.65), 0 0 32px rgba(255, 187, 88, 0.35) !important;
  text-shadow: 0 0 18px rgba(255, 187, 88, 0.6) !important;
}

.btn-primary:active {
  transform: none !important;
}

/* Shimmer Sweep Animation */
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-25deg);
  pointer-events: none;
  transition: none;
}

.btn-primary:hover::after {
  left: 150%;
  transition: 0.75s ease-in-out;
}

/* Secondary Frosted Glass Capsule */
.btn-secondary {
  background: rgba(255, 255, 255, 0.04) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #FFFFFF !important;
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  border-radius: var(--radius-capsule) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 6px 20px rgba(0, 0, 0, 0.4) !important;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease !important;
  transform: none !important;
  cursor: pointer;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: rgba(255, 187, 88, 0.12) !important;
  border-color: rgba(255, 187, 88, 0.65) !important;
  color: #FFBB58 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 0 24px rgba(255, 187, 88, 0.25) !important;
  transform: none !important;
}

/* Tertiary Minimal Glass */
.btn-tertiary {
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #9CA3AF !important;
  font-family: var(--font-heading) !important;
  font-weight: 600 !important;
  border-radius: var(--radius-capsule) !important;
  backdrop-filter: blur(10px) !important;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease !important;
  transform: none !important;
  cursor: pointer;
}

.btn-tertiary:hover,
.btn-tertiary:focus {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 187, 88, 0.35) !important;
  color: #FFFFFF !important;
  transform: none !important;
}

/* Universal Button No-Scale & No-Transform Rule */
button,
.btn,
.btn-primary,
.btn-secondary,
.btn-tertiary,
.btn-icon,
.btn-glyph,
.btn-icon-text {
  transform: none !important;
  scale: 1 !important;
}

button:hover,
button:active,
button:focus,
.btn:hover,
.btn:active,
.btn:focus,
.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus,
.btn-secondary:hover,
.btn-secondary:active,
.btn-secondary:focus,
.btn-tertiary:hover,
.btn-tertiary:active,
.btn-tertiary:focus,
.btn-icon:hover,
.btn-icon:active,
.btn-icon:focus,
.btn-glyph:hover,
.btn-glyph:active,
.btn-glyph:focus {
  transform: none !important;
  scale: 1 !important;
}

/* Icon text button centering */
.btn-icon-text {
  gap: 8px !important;
}

.btn-icon-text::before {
  margin-right: 0 !important;
  margin-left: 0 !important;
  flex-shrink: 0;
}

/* Icon Buttons (Basket, burger, user) */
.btn-icon,
.btn-glyph {
  border-radius: var(--radius-capsule) !important;
  background-color: rgba(11, 12, 18, 0.9) !important;
  border: 1px solid rgba(255, 187, 88, 0.25) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5) !important;
  backdrop-filter: blur(12px) !important;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease !important;
  transform: none !important;
}

.btn-icon:hover,
.btn-glyph:hover {
  border-color: rgba(255, 187, 88, 0.7) !important;
  box-shadow: 0 0 22px rgba(255, 187, 88, 0.4) !important;
  transform: none !important;
}

/* Hide accessibility text for icon-only buttons */
.btn-icon,
.btn-glyph,
.toggle-navigation,
.site-header-inner .toggle-navigation {
  font-size: 0 !important;
  color: transparent !important;
  line-height: 0 !important;
}

/* Desktop: Hide toggle-navigation menu button */
@media (min-width: 961px) {

  .toggle-navigation,
  .site-header-inner .toggle-navigation,
  button.toggle-navigation {
    display: none !important;
  }
}

/* Mobile: Style toggle-navigation as luxury golden cyber hamburger */
@media (max-width: 960px) {

  .toggle-navigation,
  .site-header-inner .toggle-navigation,
  button.toggle-navigation {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    padding: 0 !important;
    border-radius: var(--radius-capsule) !important;
    background: rgba(14, 16, 24, 0.85) !important;
    border: 1px solid rgba(255, 187, 88, 0.3) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(14px) !important;
    font-size: 0 !important;
    color: transparent !important;
    line-height: 0 !important;
    overflow: hidden !important;
    cursor: pointer !important;
    position: relative !important;
  }

  .toggle-navigation:hover,
  .site-header-inner .toggle-navigation:hover {
    background: rgba(255, 187, 88, 0.18) !important;
    border-color: rgba(255, 187, 88, 0.85) !important;
    box-shadow: 0 0 24px rgba(255, 187, 88, 0.4) !important;
  }

  /* Hamburger cyber-gold 3 bars */
  .toggle-navigation::before,
  .site-header-inner .toggle-navigation::before {
    content: '' !important;
    display: block !important;
    width: 18px !important;
    height: 12px !important;
    background: linear-gradient(to bottom,
        #FFBB58 0px, #FFBB58 2px,
        transparent 2px, transparent 5px,
        #FFBB58 5px, #FFBB58 7px,
        transparent 7px, transparent 10px,
        #FFBB58 10px, #FFBB58 12px) !important;
    box-shadow: 0 0 8px rgba(255, 187, 88, 0.5) !important;
    margin: 0 !important;
  }
}

/* ==========================================================================
   HEADER & TOP BAR
   ========================================================================== */

.site-header {
  position: relative;
  z-index: 20;
}

.site-header-inner {
  position: relative;
}

/* Site Title / Logo */
.site-header-inner .site-title {
  font-family: var(--font-heading);
  font-weight: 900;
  color: #FFBB58;
  text-shadow: 0 0 30px rgba(255, 187, 88, 0.35);
}

.site-header-inner .site-title img {
  filter: drop-shadow(0 4px 18px rgba(255, 187, 88, 0.3));
  transition: transform 0.3s ease;
}

.site-header-inner .site-title img:hover {
  transform: scale(1.04);
}

/* User & Basket actions (Golden Yellow Hover – Never Black) */
.site-header-inner .user-name,
.site-header-inner .log-in,
.site-header-inner .user-actions a,
.site-header-inner .user-actions button {
  border-radius: var(--radius-capsule) !important;
  background: rgba(14, 16, 24, 0.85) !important;
  border: 1px solid rgba(255, 187, 88, 0.3) !important;
  color: #FFFFFF !important;
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  padding: 0 18px !important;
  height: 40px !important;
  line-height: 40px !important;
  backdrop-filter: blur(14px) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5) !important;
  position: relative !important;
  overflow: hidden !important;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease !important;
}

/* Golden Shimmer Sweep Animation on User Button */
.site-header-inner .user-name::after,
.site-header-inner .log-in::after {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: -150% !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(90deg, transparent, rgba(255, 187, 88, 0.45), transparent) !important;
  transform: skewX(-25deg) !important;
  pointer-events: none !important;
  transition: none !important;
}

.site-header-inner .user-name:hover::after,
.site-header-inner .log-in:hover::after {
  left: 150% !important;
  transition: 0.75s ease-in-out !important;
}

/* User Button Hover State – Glowing Cyber Gold (Never Black) */
.site-header-inner .user-name:hover,
.site-header-inner .user-name:focus,
.site-header-inner .user-name:active,
.site-header-inner .log-in:hover,
.site-header-inner .log-in:focus,
.site-header-inner .log-in:active,
.site-header-inner .user-actions a:hover,
.site-header-inner .user-actions button:hover {
  background: rgba(255, 187, 88, 0.18) !important;
  border-color: rgba(255, 187, 88, 0.9) !important;
  color: #FFE4A0 !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 0 30px rgba(255, 187, 88, 0.4) !important;
  text-shadow: 0 0 14px rgba(255, 187, 88, 0.6) !important;
}

/* User text & Logout Icon: Username stays ALWAYS visible, accompanied by a golden logout icon */
.site-header-inner .user-name,
.site-header .user-name {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  overflow: visible !important;
}

.site-header-inner .user-name .text-inner,
.site-header .user-name .text-inner {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* User name text - ALWAYS visible on idle AND hover */
.site-header-inner .user-name .text,
.site-header .user-name .text,
.site-header-inner .log-in .text,
.site-header .log-in .text {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: inherit !important;
  transition: color 0.2s ease !important;
}

.site-header-inner .user-name:hover .text,
.site-header-inner .user-name:focus-within .text,
.site-header .user-name:hover .text,
.site-header .user-name:focus-within .text {
  visibility: visible !important;
  opacity: 1 !important;
  color: #FFE4A0 !important;
  text-shadow: 0 0 14px rgba(255, 187, 88, 0.6) !important;
}

/* Golden Logout Icon displayed next to username */
.site-header-inner .user-name .text-hover,
.site-header .user-name .text-hover {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  margin-top: 0 !important;
  padding: 0 !important;
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0 !important;
}

.site-header-inner .user-name .text-hover::after,
.site-header .user-name .text-hover::after {
  content: '' !important;
  display: block !important;
  width: 16px !important;
  height: 16px !important;
  background-color: #FFBB58 !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'%3E%3C/path%3E%3Cpolyline points='16 17 21 12 16 7'%3E%3C/polyline%3E%3Cline x1='21' y1='12' x2='9' y2='12'%3E%3C/line%3E%3C/svg%3E") center / contain no-repeat !important;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'%3E%3C/path%3E%3Cpolyline points='16 17 21 12 16 7'%3E%3C/polyline%3E%3Cline x1='21' y1='12' x2='9' y2='12'%3E%3C/line%3E%3C/svg%3E") center / contain no-repeat !important;
  transition: all 0.25s ease !important;
}

.site-header-inner .user-name:hover .text-hover::after,
.site-header .user-name:hover .text-hover::after {
  background-color: #FFE4A0 !important;
  transform: translateX(2px) !important;
  filter: drop-shadow(0 0 6px rgba(255, 187, 88, 0.7)) !important;
}

html[dir="rtl"] .site-header-inner .user-name .text-hover::after,
html[dir="rtl"] .site-header .user-name .text-hover::after {
  transform: rotate(180deg) !important;
}

html[dir="rtl"] .site-header-inner .user-name:hover .text-hover::after,
html[dir="rtl"] .site-header .user-name:hover .text-hover::after {
  transform: translateX(-2px) rotate(180deg) !important;
}

/* User Icon Golden Tint */
.site-header-inner .user-name::before,
.site-header-inner .log-in::before,
.site-header .user-name::before,
.site-header .log-in::before {
  filter: brightness(0) saturate(100%) invert(80%) sepia(50%) saturate(1000%) hue-rotate(350deg) !important;
}

/* Header Info Blocks (Server IP, Discord stats) */
.site-header-inner .info {
  background: rgba(14, 16, 24, 0.85);
  border: 1px solid rgba(255, 187, 88, 0.18);
  border-radius: var(--radius-inner);
  padding: 12px 16px 12px 56px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  transition: all 0.3s ease;
}

.site-header-inner .info:hover {
  border-color: rgba(255, 187, 88, 0.45);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.75), 0 0 20px rgba(255, 187, 88, 0.15);
  transform: translateY(-2px);
}

.site-header-inner .info.discord {
  padding: 12px 56px 12px 16px;
}

.site-header-inner .info .image {
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.site-header-inner .info .title {
  font-family: var(--font-heading);
  color: #FFFFFF;
  font-weight: 700;
}

.site-header-inner .info .action {
  color: var(--kayan-gold);
  font-weight: 600;
  transition: color 0.2s ease;
}

.site-header-inner .info:hover .action {
  color: var(--kayan-gold-light);
  text-shadow: 0 0 12px rgba(255, 187, 88, 0.5);
}

.site-header-inner .info .value {
  border-radius: var(--radius-capsule);
  border: 1px solid rgba(255, 187, 88, 0.3);
  background: rgba(255, 187, 88, 0.1);
  color: var(--kayan-gold);
  font-family: var(--font-mono);
  font-weight: 700;
  padding: 2px 10px;
}

/* RTL Header Info support */
html[dir="rtl"] .site-header-inner .info {
  padding: 12px 56px 12px 16px;
  text-align: right;
}

html[dir="rtl"] .site-header-inner .info .image {
  left: auto;
  right: 12px;
}

html[dir="rtl"] .site-header-inner .info.discord {
  padding: 12px 16px 12px 56px;
  text-align: left;
}

html[dir="rtl"] .site-header-inner .info.discord .image {
  right: auto;
  left: 12px;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

/* Horizontal Navigation Bar */
@media (width > 960px) {
  .navigation-horizontal>ul {
    border-radius: var(--radius-card);
    background: rgba(11, 12, 18, 0.85);
    border: 1px solid rgba(255, 187, 88, 0.18);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7);
    padding: 6px 10px;
  }
}

.navigation-horizontal a {
  font-family: var(--font-heading);
  font-weight: 600;
  color: #D1D5DB;
  border-radius: 12px;
  padding: 10px 18px;
  transition: all 0.22s ease;
}

.navigation-horizontal a:hover {
  color: #FFBB58;
  background: rgba(255, 187, 88, 0.08);
}

.navigation-horizontal li.active>a,
.navigation-horizontal a.link-active {
  color: #FFBB58 !important;
  font-weight: 700 !important;
  background: rgba(255, 187, 88, 0.15) !important;
  box-shadow: inset 0 0 12px rgba(255, 187, 88, 0.15);
}

.navigation-horizontal .has-children>ul {
  border-radius: var(--radius-inner);
  background: #090A10;
  border: 1px solid rgba(255, 187, 88, 0.25);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  padding: 8px;
}

/* Vertical Sidebar Navigation */
.navigation-vertical.widget {
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, rgba(14, 16, 24, 0.88) 0%, rgba(6, 7, 10, 0.96) 100%);
  border: 1px solid rgba(255, 187, 88, 0.2);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.navigation-vertical a {
  font-family: var(--font-heading);
  font-weight: 600;
  color: #9CA3AF;
  padding: 12px 18px;
  border-radius: 10px;
  transition: all 0.22s ease;
}

.navigation-vertical a:hover {
  color: #FFBB58;
  background: rgba(255, 187, 88, 0.08);
  transform: translateX(4px);
}

html[dir="rtl"] .navigation-vertical a:hover {
  transform: translateX(-4px);
}

.navigation-vertical li.active>a,
.navigation-vertical a.link-active {
  color: #FFBB58 !important;
  font-weight: 700 !important;
  background: linear-gradient(90deg, rgba(255, 187, 88, 0.18), transparent) !important;
  border-left: 3px solid #FFBB58;
}

html[dir="rtl"] .navigation-vertical li.active>a,
html[dir="rtl"] .navigation-vertical a.link-active {
  border-left: none;
  border-right: 3px solid #FFBB58;
  background: linear-gradient(270deg, rgba(255, 187, 88, 0.18), transparent) !important;
}

/* Sidebar Category Accordion Toggle (Replaces weird + with sleek golden chevron) */
.navigation-vertical .has-children {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  position: relative !important;
}

.navigation-vertical .has-children>a {
  flex: 1 1 auto !important;
}

.navigation-vertical .has-children .toggle,
.navigation-vertical .toggle {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
  cursor: pointer !important;
  border-radius: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: none !important;
  margin-right: 6px !important;
  transition: background 0.2s ease, transform 0.2s ease !important;
}

html[dir="rtl"] .navigation-vertical .has-children .toggle,
html[dir="rtl"] .navigation-vertical .toggle {
  margin-right: 0 !important;
  margin-left: 6px !important;
}

.navigation-vertical .has-children .toggle:hover,
.navigation-vertical .toggle:hover {
  background: rgba(255, 187, 88, 0.12) !important;
}

.navigation-vertical .has-children .toggle::before,
.navigation-vertical .toggle::before {
  content: '' !important;
  display: block !important;
  width: 14px !important;
  height: 14px !important;
  background-color: #FFBB58 !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") center / contain no-repeat !important;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") center / contain no-repeat !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease !important;
}

.navigation-vertical .has-children.expanded>.toggle::before,
.navigation-vertical .toggle.expanded::before {
  transform: rotate(180deg) !important;
  background-color: #FFE4A0 !important;
}

.navigation-vertical .has-children .toggle:hover::before,
.navigation-vertical .toggle:hover::before {
  background-color: #FFE4A0 !important;
}

/* Hide any close button or stray toggle artifacts inside sidebar */
.navigation-vertical .close-navigation,
.sidebar .close-navigation {
  display: none !important;
}

/* ==========================================================================
   SALE BANNER
   ========================================================================== */

.site-sale-banner {
  border-radius: var(--radius-capsule);
  background: linear-gradient(135deg, rgba(255, 187, 88, 0.18) 0%, rgba(14, 15, 23, 0.92) 100%);
  border: 1px solid rgba(255, 187, 88, 0.45);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.75), 0 0 25px rgba(255, 187, 88, 0.25);
  color: #FFE4A0;
  font-family: var(--font-heading);
  font-weight: 700;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  backdrop-filter: blur(14px);
}

/* ==========================================================================
   HOME CATEGORIES – 3 LUXURY PILLAR CARDS (التفعيل، أولوية الدخول، الشخصية)
   ========================================================================== */

.site-home-categories {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: 28px !important;
  max-width: 1280px !important;
  margin: 36px auto !important;
  padding: 0 16px !important;
  box-sizing: border-box !important;
}

@media (min-width: 992px) {
  .site-home-categories {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

.site-home-categories .category {
  position: relative !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  align-items: center !important;
  text-align: center !important;
  text-decoration: none !important;
  border-radius: 24px !important;
  padding: 36px 24px 30px !important;
  min-height: 420px !important;
  background: #08090E !important;
  border: 1px solid rgba(255, 187, 88, 0.22) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85) !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
}

/* 100% Full Background Image Container */
.site-home-categories .category .image,
.site-home-categories .category .image-default {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  z-index: 1 !important;
  overflow: hidden !important;
  display: block !important;
}

.site-home-categories .category .image img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  filter: brightness(0.85) contrast(1.05) !important;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease !important;
}

/* Default Package Icon (if no custom image uploaded) */
.site-home-categories .category .image-default::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  margin: auto !important;
  width: 90px !important;
  height: 90px !important;
  background-color: #FFBB58 !important;
  mask: url("https://template-assets.tebex.io/images/package-default.svg") center center/contain no-repeat !important;
  -webkit-mask: url("https://template-assets.tebex.io/images/package-default.svg") center center/contain no-repeat !important;
  transition: all 0.4s ease !important;
  filter: drop-shadow(0 0 12px rgba(255, 187, 88, 0.5)) !important;
}

/* Dark Bottom Gradient Overlay on top of image for maximum text readability */
.site-home-categories .category::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(180deg,
      rgba(8, 9, 14, 0.1) 0%,
      rgba(8, 9, 14, 0.35) 40%,
      rgba(6, 7, 10, 0.85) 75%,
      rgba(4, 5, 8, 0.98) 100%) !important;
  z-index: 2 !important;
  pointer-events: none !important;
  transition: background 0.4s ease !important;
}

/* Glowing Top Accent Line */
.site-home-categories .category::after {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 2px !important;
  background: linear-gradient(90deg, transparent, #FFBB58, transparent) !important;
  z-index: 3 !important;
  opacity: 0.7 !important;
  transition: opacity 0.3s ease, box-shadow 0.3s ease !important;
  pointer-events: none !important;
}

/* Card Hover State – Image zoom, card lift & glowing cyber border */
.site-home-categories .category:hover {
  transform: translateY(-8px) !important;
  border-color: rgba(255, 187, 88, 0.75) !important;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.95), 0 0 45px rgba(255, 187, 88, 0.28) !important;
}

.site-home-categories .category:hover .image img {
  transform: scale(1.08) !important;
  filter: brightness(1) contrast(1.1) !important;
}

.site-home-categories .category:hover .image-default::before {
  background-color: #FFE4A0 !important;
  transform: scale(1.12) !important;
  filter: drop-shadow(0 0 20px rgba(255, 187, 88, 0.8)) !important;
}

.site-home-categories .category:hover::before {
  background: linear-gradient(180deg,
      rgba(8, 9, 14, 0.05) 0%,
      rgba(8, 9, 14, 0.25) 40%,
      rgba(6, 7, 10, 0.8) 75%,
      rgba(4, 5, 8, 0.96) 100%) !important;
}

.site-home-categories .category:hover::after {
  opacity: 1 !important;
  height: 3px !important;
  box-shadow: 0 0 16px rgba(255, 187, 88, 0.9) !important;
}

/* Category Title floating on top of the gradient */
.site-home-categories .category-name,
.site-home-categories .category h2,
.site-home-categories .category h3,
.site-home-categories .category>span {
  position: relative !important;
  z-index: 4 !important;
  font-family: var(--font-heading, 'Cairo', 'Tajawal', sans-serif) !important;
  font-size: 1.55rem !important;
  font-weight: 900 !important;
  color: #FFFFFF !important;
  margin: 0 !important;
  padding: 0 !important;
  letter-spacing: 0.5px !important;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.95), 0 2px 5px rgba(0, 0, 0, 0.9) !important;
  transition: all 0.3s ease !important;
  display: block !important;
  width: 100% !important;
}

.site-home-categories .category:hover .category-name,
.site-home-categories .category:hover h2,
.site-home-categories .category:hover h3,
.site-home-categories .category:hover>span {
  color: #FFE4A0 !important;
  text-shadow: 0 0 20px rgba(255, 187, 88, 0.8), 0 4px 15px rgba(0, 0, 0, 0.95) !important;
  transform: translateY(-3px) !important;
}

/* ==========================================================================
   PRODUCT CARDS (GRID & LIST)
   ========================================================================== */

.store-products-list .store-product,
.store-products-images .store-product,
.widget .store-product,
.store-product-tiered {
  border-radius: 22px !important;
  background: linear-gradient(180deg, rgba(16, 18, 26, 0.85) 0%, rgba(7, 8, 12, 0.96) 100%) !important;
  border: 1px solid rgba(255, 187, 88, 0.2) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative !important;
  overflow: hidden !important;
}

/* Top hairline accent highlight */
.store-products-list .store-product::before,
.store-products-images .store-product::before,
.widget .store-product::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 2px !important;
  background: linear-gradient(90deg, transparent, #FFBB58, transparent) !important;
  opacity: 0.6 !important;
  pointer-events: none !important;
  transition: opacity 0.3s ease !important;
}

.store-products-list .store-product:hover,
.store-products-images .store-product:hover,
.widget .store-product:hover {
  transform: translateY(-8px) !important;
  border-color: rgba(255, 187, 88, 0.7) !important;
  box-shadow: 0 30px 75px rgba(0, 0, 0, 0.95), 0 0 40px rgba(255, 187, 88, 0.25) !important;
}

.store-products-list .store-product:hover::before,
.store-products-images .store-product:hover::before,
.widget .store-product:hover::before {
  opacity: 1 !important;
  height: 3px !important;
  box-shadow: 0 0 15px rgba(255, 187, 88, 0.8) !important;
}

/* Product Image Frame */
.store-product .image-link,
.store-product .image {
  border-radius: var(--radius-inner);
  background: radial-gradient(circle at center, rgba(255, 187, 88, 0.08) 0%, rgba(5, 6, 10, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transition: transform 0.4s ease;
}

.store-product .image-link img,
.store-product .image img {
  border-radius: var(--radius-inner);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.store-product:hover .image-link img,
.store-product:hover .image img {
  transform: scale(1.06);
}

/* Product Title */
.store-product .product-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: #FFFFFF;
}

.store-product .product-title a {
  color: #FFFFFF;
  transition: color 0.2s ease;
}

.store-product:hover .product-title a,
.store-product .product-title a:hover {
  color: var(--kayan-gold);
  text-shadow: 0 0 15px rgba(255, 187, 88, 0.35);
}

/* Description */
.store-product .descr {
  color: var(--kayan-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Price (Chakra Petch Glowing Numbers) */
.store-product .price {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--kayan-gold);
  text-shadow: 0 0 16px rgba(255, 187, 88, 0.45);
}

.store-product .price strong {
  font-weight: 800;
}

.store-product .price .discount {
  color: #EF4444;
  text-decoration: line-through;
  opacity: 0.85;
  font-size: 0.9em;
  margin-right: 8px;
  text-shadow: none;
}

html[dir="rtl"] .store-product .price .discount {
  margin-right: 0;
  margin-left: 8px;
}

/* Product Actions Bar & Button Proportions */
.store-product .actions {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  margin-top: auto !important;
  box-sizing: border-box !important;
}

.store-product .actions .btn-primary,
.store-product .actions .btn-secondary,
.store-product .actions .btn-tertiary,
.store-product:not(.store-product-full) .actions .btn-primary,
.store-product:not(.store-product-full) .actions .btn-secondary,
.store-product .btn-primary,
.store-product .btn-secondary {
  width: 100% !important;
  max-width: 100% !important;
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  padding: 0 16px !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  flex: 1 1 100% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  line-height: 1 !important;
  box-sizing: border-box !important;
  transform: none !important;
}

/* Hide Quantity Field ("زر إضافة أكثر من شيء") on product cards & modals */
.quantity-field,
.store-product .quantity-field,
.store-product-full .quantity-field,
.store-products-list .quantity-field,
.store-products-images .quantity-field,
.store-product-tiered .quantity-field,
.widget .store-product .quantity-field,
.actions .quantity-field,
.modal-dialog .quantity-field {
  display: none !important;
}

.basket .basket-item .quantity-field {
  display: inline-flex !important;
}

/* Product Full Page */
.store-product-full {
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, rgba(16, 18, 26, 0.85) 0%, rgba(7, 8, 12, 0.96) 100%);
  border: 1px solid rgba(255, 187, 88, 0.22);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(18px);
}

.store-product-full .actions {
  border-top: 1px solid rgba(255, 187, 88, 0.2);
  background: rgba(8, 9, 14, 0.6);
  padding: 16px;
  border-radius: 0 0 var(--radius-card) var(--radius-card);
}

/* ==========================================================================
   WIDGETS & SIDEBAR
   ========================================================================== */

.widget,
.store-text,
.category-description,
.store-category-tiered {
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, rgba(14, 16, 24, 0.85) 0%, rgba(6, 7, 10, 0.95) 100%);
  border: 1px solid rgba(255, 187, 88, 0.18);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.widget-title,
.store-category-tiered-header h1,
.store-category-tiered-header h2,
.store-category-tiered-header h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
  text-align: center;
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #FFBB58, transparent);
}

/* Top Donator Widget */
.widget-top-donator .avatar {
  border-radius: 50%;
  border: 2px solid var(--kayan-gold);
  box-shadow: 0 0 20px rgba(255, 187, 88, 0.45);
}

.widget-top-donator .name {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #FFFFFF;
}

.widget-top-donator .amount {
  font-family: var(--font-mono);
  font-weight: 800;
  color: var(--kayan-gold);
  text-shadow: 0 0 12px rgba(255, 187, 88, 0.4);
}

/* Goal & Progress Bars */
.widget-community-goal .progress,
.widget-goal .progress {
  border-radius: var(--radius-capsule);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 187, 88, 0.2);
  height: 12px;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.6);
}

.widget-community-goal .progress-bar,
.widget-goal .progress-bar {
  border-radius: var(--radius-capsule);
  background: linear-gradient(90deg, #FFBB58, #FFA01E);
  box-shadow: 0 0 18px rgba(255, 187, 88, 0.65);
}

/* Gift Card Input */
.widget-gift-card .gift-card-input,
.store-form input,
.store-form select,
.store-form textarea {
  border-radius: var(--radius-input);
  background: rgba(10, 11, 16, 0.9);
  border: 1px solid rgba(255, 187, 88, 0.22);
  color: #FFFFFF;
  font-family: var(--font-sans);
  padding: 12px 16px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
  transition: all 0.2s ease;
}

.widget-gift-card .gift-card-input:focus,
.store-form input:focus,
.store-form select:focus,
.store-form textarea:focus {
  border-color: var(--kayan-gold) !important;
  box-shadow: 0 0 20px rgba(255, 187, 88, 0.35), inset 0 2px 4px rgba(0, 0, 0, 0.4) !important;
  outline: none !important;
}

/* No products box */
.no-products {
  color: var(--kayan-muted);
  background: rgba(14, 16, 24, 0.7);
  border: 1px solid rgba(255, 187, 88, 0.15);
  border-radius: var(--radius-inner);
  padding: 24px;
  text-align: center;
}

/* ==========================================================================
   POPUPS & BASKET DRAWER
   ========================================================================== */

/* Modal Content */
.popup-content,
.login-popup-content,
.product-options-popup .popup-content,
.gift-form-popup .popup-content {
  border-radius: var(--radius-card);
  background: #08090E !important;
  border: 1px solid rgba(255, 187, 88, 0.32) !important;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.96), 0 0 50px rgba(255, 187, 88, 0.2) !important;
  backdrop-filter: blur(24px) !important;
}

.popup-close {
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 187, 88, 0.2);
  color: #FFFFFF;
  transition: all 0.25s ease;
}

.popup-close:hover {
  background: rgba(255, 187, 88, 0.18) !important;
  border-color: var(--kayan-gold) !important;
  color: var(--kayan-gold) !important;
  transform: rotate(90deg) scale(1.1);
}

/* Basket Drawer */
.basket-popup-content {
  border-radius: 0;
  background: #08090E !important;
  border-left: 1px solid rgba(255, 187, 88, 0.3) !important;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.9) !important;
}

html[dir="rtl"] .basket-popup-content {
  border-left: none !important;
  border-right: 1px solid rgba(255, 187, 88, 0.3) !important;
  box-shadow: 20px 0 60px rgba(0, 0, 0, 0.9) !important;
}

.basket .basket-header {
  background: linear-gradient(135deg, rgba(255, 187, 88, 0.18), rgba(8, 9, 14, 0.95));
  border-bottom: 1px solid rgba(255, 187, 88, 0.2);
  font-family: var(--font-heading);
  font-weight: 800;
}

.basket-item {
  border-radius: var(--radius-inner);
  background: rgba(14, 16, 24, 0.7);
  border: 1px solid rgba(255, 187, 88, 0.16);
  transition: all 0.2s ease;
}

.basket-item:hover {
  border-color: rgba(255, 187, 88, 0.45);
  background: rgba(20, 23, 34, 0.85);
}

.basket-item .quantity {
  border-radius: var(--radius-capsule);
  border: 1px solid rgba(255, 187, 88, 0.25);
  background: rgba(10, 11, 16, 0.8);
}

/* Product Remove / Delete Button (Prevents text 'إزالة' / 'Remove' from ever showing on hover) */
.basket .basket-item .remove,
.store-product .remove,
.btn-icon.remove,
button.remove,
a.remove {
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
  text-indent: -9999px !important;
  overflow: hidden !important;
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 10px !important;
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  padding: 0 !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  cursor: pointer !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.basket .basket-item .remove:hover,
.basket .basket-item .remove:focus,
.basket .basket-item .remove:active,
.store-product .remove:hover,
.store-product .remove:focus,
.store-product .remove:active,
.btn-icon.remove:hover,
.btn-icon.remove:focus,
.btn-icon.remove:active,
button.remove:hover,
button.remove:focus,
button.remove:active,
a.remove:hover,
a.remove:focus,
a.remove:active {
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
  background: rgba(239, 68, 68, 0.15) !important;
  border-color: rgba(239, 68, 68, 0.5) !important;
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.3) !important;
  transform: none !important;
}

/* Ensure child text elements inside remove are hidden */
.basket .basket-item .remove *,
.store-product .remove *,
.btn-icon.remove * {
  display: none !important;
  visibility: hidden !important;
}

/* Crisp Trash Can Icon */
.basket .basket-item .remove::before,
.store-product .remove::before,
.btn-icon.remove::before {
  content: '' !important;
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  background-color: #9CA3AF !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3 6 5 6 21 6'%3E%3C/polyline%3E%3Cpath d='M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2'%3E%3C/path%3E%3Cline x1='10' y1='11' x2='10' y2='17'%3E%3C/line%3E%3Cline x1='14' y1='11' x2='14' y2='17'%3E%3C/line%3E%3C/svg%3E") center / contain no-repeat !important;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3 6 5 6 21 6'%3E%3C/polyline%3E%3Cpath d='M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2'%3E%3C/path%3E%3Cline x1='10' y1='11' x2='10' y2='17'%3E%3C/line%3E%3Cline x1='14' y1='11' x2='14' y2='17'%3E%3C/line%3E%3C/svg%3E") center / contain no-repeat !important;
  transition: all 0.2s ease !important;
  text-indent: 0 !important;
}

.basket .basket-item .remove:hover::before,
.store-product .remove:hover::before,
.btn-icon.remove:hover::before {
  background-color: #EF4444 !important;
  filter: drop-shadow(0 0 6px rgba(239, 68, 68, 0.6)) !important;
}

/* Global rule for all btn-icon to never leak text on hover */
:root .btn-icon:hover,
:root .btn-icon:focus,
:root .btn-icon:active {
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
}

/* ==========================================================================
   MEDIA SLIDER
   ========================================================================== */

.media-slider .slider,
.popup.popup-media-slider .slider {
  border-radius: var(--radius-card);
  border: 1px solid rgba(255, 187, 88, 0.2);
  background: #05060A;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8);
}

.media-slider .thumb,
.popup.popup-media-slider .thumb {
  border-radius: var(--radius-inner);
  background: rgba(14, 16, 24, 0.85);
  border: 1px solid rgba(255, 187, 88, 0.18);
  transition: all 0.25s ease;
}

.media-slider .thumb:hover,
.media-slider .thumb.active,
.popup.popup-media-slider .thumb.active {
  border-color: var(--kayan-gold);
  box-shadow: 0 0 18px rgba(255, 187, 88, 0.45);
  transform: translateY(-2px);
}

.media-slider .open-lightbox {
  border-radius: var(--radius-capsule);
  background: rgba(8, 9, 14, 0.85);
  border: 1px solid rgba(255, 187, 88, 0.3);
  color: var(--kayan-gold);
}

/* ==========================================================================
   TOASTS & ALERTS
   ========================================================================== */

.toast {
  border-radius: var(--radius-capsule);
  background: rgba(10, 12, 18, 0.95);
  border: 1px solid rgba(255, 187, 88, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85), 0 0 25px rgba(255, 187, 88, 0.3);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 600;
  backdrop-filter: blur(16px);
}

.toast-close {
  border-radius: 50%;
  color: var(--kayan-gold);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background: #040406;
  border-top: 1px solid rgba(255, 187, 88, 0.18);
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: radial-gradient(circle at 50% 0%, rgba(255, 187, 88, 0.08) 0%, transparent 100%);
  pointer-events: none;
}

.site-footer-inner .copyright {
  color: var(--kayan-muted);
  font-family: var(--font-sans);
}

/* ==========================================================================
   KAYAN LUXURY PRODUCT SHOWCASE (مطابق للتصميم المرجعي بالكامل)
   ========================================================================== */
.kayan-package-showcase-page {
  padding: 0 20px 90px 20px !important;
  margin-top: 0 !important;
  direction: rtl;
  box-sizing: border-box;
  position: relative;
  background: transparent !important;
}

/* إلغاء طبقة الظل والهالة العلوية نهائياً لمنع أي خط أو فصل تحت الهيدر */
.kayan-package-showcase-page::before,
.kayan-package-showcase-page::after {
  display: none !important;
  content: none !important;
}

.kayan-category-container {
  position: relative;
  z-index: 1;
}

/* منع أي حركة أو تمرير للأعلى عند التمرير بالماوس نهائياً عبر الصفحة كاملة */
.kayan-package-showcase-page *,
.kayan-package-showcase-page *:hover,
.showcase-media-frame:hover .featured-product-img,
.showcase-purchase-section .btn-primary:hover,
.showcase-purchase-section button[type="submit"]:hover,
.showcase-purchase-section .actions button:hover,
.showcase-purchase-section .gift:hover,
.showcase-purchase-section .btn-gift:hover,
.kayan-back-btn:hover,
.thumb-btn:hover,
.kayan-showcase-grid:hover,
main.kayan-showcase-grid:hover,
.store-product:hover,
.store-product-full:hover {
  transform: none !important;
}

/* إلغاء كامل لأي بوردر مخفي أو خلفية كارد أو خطوط عبر كامل الصفحة والمحتوى */
.kayan-package-showcase-page,
.kayan-package-showcase-page .kayan-category-container,
.kayan-showcase-grid,
.kayan-showcase-grid.store-product,
.kayan-showcase-grid.store-product-full,
main.kayan-showcase-grid,
.showcase-left-col,
.showcase-right-col,
.showcase-info-section,
.showcase-desc-body {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-top: none !important;
  border-bottom: none !important;
  border-left: none !important;
  border-right: none !important;
  outline: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  overflow: visible !important;
}

.kayan-showcase-grid::before,
.kayan-showcase-grid::after,
.kayan-showcase-grid.store-product::before,
.kayan-showcase-grid.store-product::after,
.kayan-package-showcase-page main::before,
.kayan-package-showcase-page main::after {
  display: none !important;
  content: none !important;
}

/* Top Bar: Back Button - زر زجاجي ناعم بدون حركة */
.kayan-product-top-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 28px;
  gap: 14px;
}

.kayan-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #FFFFFF !important;
  font-family: var(--font-heading, 'Cairo', sans-serif);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  padding: 9px 18px;
  border-radius: 12px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.15);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.kayan-back-btn:hover {
  color: #F59E0B !important;
  border-color: rgba(245, 158, 11, 0.5) !important;
  background: rgba(245, 158, 11, 0.12) !important;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.25);
  transform: none !important;
}

/* 2-Column Split Showcase Grid - بدون أي بوردر مخفي */
.kayan-showcase-grid {
  display: grid !important;
  grid-template-columns: 1fr 1.05fr !important;
  gap: 48px !important;
  align-items: start !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* ================= LEFT COLUMN ================= */
.showcase-left-col {
  display: flex;
  flex-direction: column;
  width: 100%;
  border: none !important;
}

/* إطار وصورة المنتج - بدون أي بوردر شفاف أو خط أو ظل نهائياً وبحجم بارز */
.showcase-media-frame,
.showcase-media-frame *,
.showcase-media-frame .image,
.kayan-showcase-grid .image,
.showcase-media-frame .main-image-display,
.showcase-media-frame .featured-product-img,
.showcase-media-frame .featured-product-default,
#kayanFeaturedImg {
  border: none !important;
  border-top: none !important;
  border-bottom: none !important;
  border-left: none !important;
  border-right: none !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  background: transparent !important;
  background-color: transparent !important;
  filter: none !important;
  -webkit-filter: none !important;
}

.showcase-media-frame {
  border-radius: 20px !important;
  overflow: hidden !important;
  position: relative;
  box-shadow: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: auto !important;
  width: 100%;
}

.main-image-display {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 20px !important;
  overflow: hidden !important;
}

.showcase-media-frame .featured-product-img {
  width: 100% !important;
  max-width: 580px !important;
  height: auto !important;
  max-height: 480px !important;
  object-fit: contain !important;
  display: block !important;
  border: none !important;
  outline: none !important;
  border-radius: 20px !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  margin: 0 auto !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
}

.showcase-media-frame:hover .featured-product-img,
.showcase-media-frame .featured-product-img:hover,
#kayanFeaturedImg:hover {
  transform: none !important;
  transition: none !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  border: none !important;
  outline: none !important;
}

.showcase-media-frame .featured-product-default {
  width: 100%;
  max-width: 580px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.15);
  background: transparent !important;
  border: none !important;
  border-radius: 20px !important;
  box-shadow: none !important;
}

.floating-countdown-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
}

/* أزرار الصور المصغرة - زجاجية */
.showcase-thumbnails-row {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  overflow-x: auto;
  padding-bottom: 4px;
  justify-content: center;
}

.thumb-btn {
  width: 80px;
  height: 54px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transform: none !important;
}

.thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb-btn:hover {
  border-color: rgba(245, 158, 11, 0.5) !important;
  background: rgba(245, 158, 11, 0.1) !important;
  transform: none !important;
}

.thumb-btn.is-active {
  border-color: #F59E0B !important;
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.45) !important;
}

/* ================= RIGHT COLUMN ================= */
.showcase-right-col {
  display: flex;
  flex-direction: column;
  width: 100%;
  border: none !important;
}

.showcase-header-info {
  margin-bottom: 24px;
}

.showcase-title {
  font-family: var(--font-heading, 'Cairo', sans-serif) !important;
  font-size: 2.7rem !important;
  font-weight: 900 !important;
  color: #FFFFFF !important;
  line-height: 1.25 !important;
  margin: 0 !important;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   قسم الشراء والسعر (PAYING & Actions Restructure)
   ========================================================================== */
.showcase-purchase-section {
  margin-bottom: 32px;
  width: 100%;
}

.paying-label {
  font-family: var(--font-heading, 'Cairo', sans-serif);
  font-size: 0.78rem;
  font-weight: 800;
  color: #71717A;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

/* إلغاء كامل لأي تأثير من ثيم تيبكس القديم */
.kayan-showcase-grid.store-product,
.kayan-showcase-grid.store-product-full,
.kayan-showcase-grid {
  overflow: visible !important;
}

.showcase-purchase-section .actions,
.kayan-showcase-grid.store-product-full .actions,
.kayan-showcase-grid .actions {
  position: static !important;
  bottom: auto !important;
  top: auto !important;
  z-index: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
  overflow: visible !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 10px !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* تنسيق السعر */
.showcase-purchase-section .price,
.kayan-showcase-grid .price {
  font-family: var(--font-heading, 'Cairo', sans-serif) !important;
  font-size: 2.6rem !important;
  font-weight: 950 !important;
  color: #FFFFFF !important;
  margin: 0 0 10px 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: baseline !important;
  gap: 12px !important;
  border: none !important;
  background: transparent !important;
  line-height: 1.1 !important;
}

.showcase-purchase-section .price strong,
.kayan-showcase-grid .price strong {
  color: #FFFFFF !important;
  font-size: 2.8rem !important;
  font-weight: 950 !important;
}

.showcase-purchase-section .price .discount,
.kayan-showcase-grid .price .discount {
  color: #71717A !important;
  font-size: 1.4rem !important;
  text-decoration: line-through !important;
  font-weight: 600 !important;
}

.showcase-purchase-section .price small,
.kayan-showcase-grid .price small {
  color: #A1A1AA !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
}

/* إخفاء نهائي وتام لأي حقول كمية أو عناصر وسيطة بين الأزرار */
.quantity-field,
.quantity-wrap,
.quantity,
[class*="quantity"],
.adjust,
.adjust.decrease,
.adjust.increase,
.showcase-purchase-section .open-basket,
.quantity-field .open-basket,
input[name="quantity"],
input[type="number"],
.showcase-purchase-section .quantity-field,
.showcase-purchase-section .quantity-wrap,
.showcase-purchase-section [class*="quantity"],
.showcase-purchase-section input[name="quantity"],
.showcase-purchase-section input[type="number"],
.showcase-purchase-section .adjust,
.showcase-purchase-section .actions>*:not(.price):not(form):not(.btn-primary):not(.gift):not(.btn-gift),
.showcase-purchase-section form>*:not(.btn-primary):not(.gift):not(.btn-gift):not(input[type="hidden"]) {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  pointer-events: none !important;
  line-height: 0 !important;
  font-size: 0 !important;
}

/* صف الأزرار (الفورم) - مسافة طبيعية بسيطة (10px) بين الزرين */
.showcase-purchase-section form,
.kayan-showcase-grid .actions form,
.actions form {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 10px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
  position: relative !important;
}

/* 1. زر الشراء الأساسي (Add to Basket / إضافة إلى السلة) - زجاجي فاخر وبدون أي تحريك */
.showcase-purchase-section .btn-primary,
.showcase-purchase-section button[type="submit"],
.showcase-purchase-section .actions button:not(.gift):not(.btn-gift),
.showcase-purchase-section .actions a.btn-primary:not(.gift):not(.btn-gift),
.showcase-purchase-section .wide {
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  min-height: 56px !important;
  height: 56px !important;
  max-height: 56px !important;
  flex: 1 1 100% !important;
  order: 1 !important;
  margin: 0 !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #FFFFFF !important;
  font-family: var(--font-heading, 'Cairo', sans-serif) !important;
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  padding: 0 28px !important;
  border-radius: 14px !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  cursor: pointer !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.18) !important;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
  position: relative !important;
  overflow: hidden !important;
  transform: none !important;
}

/* شعاع ضوئي زجاجي خفيف يمر فوق الزر */
.showcase-purchase-section .btn-primary::after,
.showcase-purchase-section button[type="submit"]::after,
.showcase-purchase-section .wide::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.6s ease;
  pointer-events: none;
}

.showcase-purchase-section .btn-primary:hover::after,
.showcase-purchase-section button[type="submit"]:hover::after {
  left: 100%;
}

/* إضافة أيقونة سلة التسوق لزر الشراء */
.showcase-purchase-section .btn-primary::before,
.showcase-purchase-section button[type="submit"]::before,
.showcase-purchase-section .actions a.btn-primary:not(.gift):not(.btn-gift):before,
.showcase-purchase-section .wide::before {
  content: "" !important;
  display: inline-block !important;
  width: 22px !important;
  height: 22px !important;
  margin-left: 8px !important;
  margin-right: 0 !important;
  background-color: #FFFFFF !important;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.2'%3E%3Ccircle cx='9' cy='21' r='1'%3E%3C/circle%3E%3Ccircle cx='20' cy='21' r='1'%3E%3C/circle%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'%3E%3C/path%3E%3C/svg%3E") center center / contain no-repeat !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.2'%3E%3Ccircle cx='9' cy='21' r='1'%3E%3C/circle%3E%3Ccircle cx='20' cy='21' r='1'%3E%3C/circle%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'%3E%3C/path%3E%3C/svg%3E") center center / contain no-repeat !important;
  transition: background-color 0.3s ease !important;
}

.showcase-purchase-section .btn-primary:hover,
.showcase-purchase-section button[type="submit"]:hover,
.showcase-purchase-section .actions button:not(.gift):not(.btn-gift):hover,
.showcase-purchase-section .actions a.btn-primary:not(.gift):not(.btn-gift):hover,
.showcase-purchase-section .wide:hover {
  background: rgba(245, 158, 11, 0.14) !important;
  border-color: rgba(245, 158, 11, 0.6) !important;
  color: #F59E0B !important;
  box-shadow: 0 12px 35px rgba(245, 158, 11, 0.28), inset 0 1px 2px rgba(255, 255, 255, 0.3) !important;
  transform: none !important;
}

.showcase-purchase-section .btn-primary:hover::before,
.showcase-purchase-section button[type="submit"]:hover::before,
.showcase-purchase-section .actions a.btn-primary:not(.gift):not(.btn-gift):hover::before,
.showcase-purchase-section .wide:hover::before {
  background-color: #F59E0B !important;
}

.showcase-purchase-section .btn-primary:active,
.showcase-purchase-section button[type="submit"]:active,
.showcase-purchase-section .wide:active {
  transform: none !important;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.2) !important;
}

/* 2. زر الهدية (Gift Button) - بنفس مقاس وشكل زر إضافة إلى السلة تماماً ويكون تحته مباشرة */
.showcase-purchase-section .gift,
.showcase-purchase-section .btn-gift,
.showcase-purchase-section a.gift,
.showcase-purchase-section button.gift,
.showcase-purchase-section a[href*="gift"],
.showcase-purchase-section button[name*="gift"],
.showcase-purchase-section .actions .gift,
.showcase-purchase-section .actions a.gift {
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  height: 56px !important;
  min-height: 56px !important;
  max-height: 56px !important;
  flex: 1 1 100% !important;
  order: 2 !important;
  padding: 0 28px !important;
  margin: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  box-sizing: border-box !important;
  border-radius: 14px !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  background: rgba(255, 255, 255, 0.05) !important;
  background-color: rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.18) !important;
  cursor: pointer !important;
  color: #FFFFFF !important;
  font-family: var(--font-heading, 'Cairo', sans-serif) !important;
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  outline: none !important;
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-direction: row !important;
  gap: 8px !important;
  position: relative !important;
  overflow: hidden !important;
  transform: none !important;
}

/* إلغاء أي تمدد لأي عناصر داخلية لتلتصق الأيقونة بالنص تماماً في المنتصف */
.showcase-purchase-section .gift>*,
.showcase-purchase-section .btn-gift>*,
.showcase-purchase-section a[href*="gift"]>* {
  display: inline !important;
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
}

/* شعاع ضوئي زجاجي خفيف يمر فوق زر الهدية */
.showcase-purchase-section .gift::after,
.showcase-purchase-section .btn-gift::after,
.showcase-purchase-section a[href*="gift"]::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.6s ease;
  pointer-events: none;
}

.showcase-purchase-section .gift:hover::after,
.showcase-purchase-section .btn-gift:hover::after,
.showcase-purchase-section a[href*="gift"]:hover::after {
  left: 100%;
}

/* أيقونة الهدية داخل الزر - بيضاء افتراضياً وتتحول للأصفر عند التحويم */
.showcase-purchase-section .gift::before,
.showcase-purchase-section .btn-gift::before,
.showcase-purchase-section a[href*="gift"]::before,
.showcase-purchase-section button[name*="gift"]::before {
  content: "" !important;
  display: inline-block !important;
  position: static !important;
  inset: auto !important;
  width: 22px !important;
  height: 22px !important;
  flex: 0 0 22px !important;
  flex-shrink: 0 !important;
  margin-left: 8px !important;
  margin-right: 0 !important;
  vertical-align: middle !important;
  background-color: #FFFFFF !important;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='8' width='18' height='4' rx='1'%3E%3C/rect%3E%3Cpath d='M12 8v13'%3E%3C/path%3E%3Cpath d='M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7'%3E%3C/path%3E%3Cpath d='M7.5 8a2.5 2.5 0 0 1 0-5A4.8 4.8 0 0 1 12 8a4.8 4.8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5'%3E%3C/path%3E%3C/svg%3E") center center / contain no-repeat !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='8' width='18' height='4' rx='1'%3E%3C/rect%3E%3Cpath d='M12 8v13'%3E%3C/path%3E%3Cpath d='M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7'%3E%3C/path%3E%3Cpath d='M7.5 8a2.5 2.5 0 0 1 0-5A4.8 4.8 0 0 1 12 8a4.8 4.8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5'%3E%3C/path%3E%3C/svg%3E") center center / contain no-repeat !important;
  transition: background-color 0.25s ease !important;
}

/* إخفاء أي أيقونات SVG داخلية لمنع التداخل */
.showcase-purchase-section .gift svg,
.showcase-purchase-section .btn-gift svg,
.showcase-purchase-section a[href*="gift"] svg,
.showcase-purchase-section .btn-primary svg,
.showcase-purchase-section button[type="submit"] svg {
  display: none !important;
}

/* نص افتراضي في حال كان الزر فارغاً */
.showcase-purchase-section .gift:empty::after,
.showcase-purchase-section .btn-gift:empty::after,
.showcase-purchase-section a[href*="gift"]:empty::after {
  content: "شراء كهدية" !important;
}

.showcase-purchase-section .gift:hover,
.showcase-purchase-section .btn-gift:hover,
.showcase-purchase-section a.gift:hover,
.showcase-purchase-section button.gift:hover,
.showcase-purchase-section a[href*="gift"]:hover,
.showcase-purchase-section button[name*="gift"]:hover,
.showcase-purchase-section .actions .gift:hover,
.showcase-purchase-section .actions a.gift:hover {
  background: rgba(245, 158, 11, 0.14) !important;
  background-color: rgba(245, 158, 11, 0.14) !important;
  border-color: rgba(245, 158, 11, 0.6) !important;
  color: #FFBB58 !important;
  box-shadow: 0 12px 35px rgba(245, 158, 11, 0.28), inset 0 1px 2px rgba(255, 255, 255, 0.3) !important;
  transform: none !important;
}

.showcase-purchase-section .gift:hover::before,
.showcase-purchase-section .btn-gift:hover::before,
.showcase-purchase-section a[href*="gift"]:hover::before,
.showcase-purchase-section button[name*="gift"]:hover::before {
  background-color: #FFBB58 !important;
}

.showcase-purchase-section .gift:active,
.showcase-purchase-section a[href*="gift"]:active {
  transform: none !important;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2) !important;
}

/* إلغاء أي هوامش بين الزرين لضمان بقاء المسافة 8px الطبيعية تماماً */
.showcase-purchase-section form+.gift,
.showcase-purchase-section form+a.gift,
.showcase-purchase-section form+button.gift,
.showcase-purchase-section .btn-primary+.gift,
.showcase-purchase-section .btn-primary+a.gift {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* تفاصيل ومعلومات الباقة - بدون أي خط أو بوردر علوي */
.showcase-info-section {
  border: none !important;
  border-top: none !important;
  padding-top: 18px;
}

.info-label-title {
  font-family: var(--font-heading, 'Cairo', sans-serif);
  font-size: 0.78rem;
  font-weight: 800;
  color: #71717A;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.showcase-desc-body {
  font-family: var(--font-heading, 'Cairo', sans-serif);
  color: #D4D4D8;
  font-size: 1.05rem;
  line-height: 1.85;
  border: none !important;
}

.showcase-desc-body h2,
.showcase-desc-body h3,
.showcase-desc-body h4 {
  color: #FFFFFF;
  font-weight: 800;
  margin: 22px 0 12px 0;
}

.showcase-desc-body p {
  color: #A1A1AA;
  margin-bottom: 16px;
}

.showcase-desc-body ul,
.showcase-desc-body ol {
  padding-right: 24px;
  margin: 16px 0;
}

.showcase-desc-body li {
  margin-bottom: 10px;
  color: #D4D4D8;
}

.showcase-desc-body li strong {
  color: #FFFFFF;
}

/* استجابة الشاشات الصغيرة (Responsive) */
@media (max-width: 992px) {
  .kayan-showcase-grid {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }

  .showcase-title {
    font-size: 2rem !important;
  }

  .showcase-media-frame .featured-product-img {
    max-width: 100% !important;
    max-height: 380px !important;
    border-radius: 16px !important;
  }
}

@media (max-width: 580px) {
  .showcase-media-frame {
    min-height: 220px;
    border-radius: 14px !important;
  }

  .showcase-media-frame .featured-product-img {
    max-height: 280px !important;
    border-radius: 14px !important;
  }

  .thumb-btn {
    width: 80px;
    height: 54px;
  }

  .showcase-purchase-section .price {
    font-size: 2.1rem !important;
  }

  .showcase-purchase-section .price strong {
    font-size: 2.3rem !important;
  }

  .showcase-purchase-section .btn-primary,
  .showcase-purchase-section button[type="submit"],
  .showcase-purchase-section .wide,
  .showcase-purchase-section .gift,
  .showcase-purchase-section .btn-gift,
  .showcase-purchase-section a[href*="gift"] {
    font-size: 1.05rem !important;
    padding: 0 16px !important;
    height: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
    border-radius: 12px !important;
  }
}
/* إظهار زر السلة في الهيدر بشكل صريح وتام ومنع أي تمرير لأعلى */
.mystic-header .open-basket,
.mystic-cart-btn,
.mystic-actions .open-basket,
.mystic-mobile-actions .open-basket,
.mystic-pill-cart {
    display: inline-flex !important;
    visibility: visible !important;
    width: auto !important;
    height: auto !important;
    max-height: none !important;
    min-height: auto !important;
    pointer-events: auto !important;
}

.mystic-unified-pill,
.mystic-unified-pill *,
.mystic-pill-item,
.mystic-pill-cart,
.mystic-pill-logout,
.mystic-pill-user {
    transform: none !important;
}

.mystic-pill-logout:hover,
.mystic-pill-cart:hover {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    transform: none !important;
}

