

:root {
  --primary-color: #1e293b;
  --bg-color: #ffffff;
  --panel-bg: #f8fafc;
  --border-color: #e2e8f0;
  --active-color: #3b82f6;
  --text-color: #334155;
  --text-muted: #64748b;
  --transition-speed: 0.3s;
}


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-tap-highlight-color: transparent !important;
}

*:focus, *:active, *:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  position: relative;
}


.app-container {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}


.main-scroll-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow-y: auto;
  overflow-x: hidden;
  display: block;
  background-color: var(--bg-color);
  -webkit-overflow-scrolling: touch;
}


.top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background-color: rgba(19, 27, 76, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  box-shadow: 0 4px 16px rgba(19, 27, 76, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  z-index: 50;
}


.top-bar .icon-btn {
  color: #ffffff;
}

.top-bar .icon-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.top-bar .icon-btn:active {
  background-color: rgba(255, 255, 255, 0.2);
}


.top-bar-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-img {
  height: 38px;
  max-width: 140px;
  object-fit: contain;
  display: block;
  transition: opacity 0.2s;
}

.logo-img:hover {
  opacity: 0.9;
}


.top-bar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}


.lang-dropdown-container {
  position: relative;
}

.lang-dropdown {
  position: absolute;
  top: 50px;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 60;
}


html[dir="rtl"] .lang-dropdown {
  right: 0;
}

html[dir="ltr"] .lang-dropdown {
  left: 0;
}

.lang-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown .language-list {
  padding: 6px;
  margin: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lang-dropdown .language-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  background-color: #ffffff;
}

.lang-dropdown .language-item:hover {
  background-color: var(--panel-bg);
}

.lang-dropdown .language-item.active {
  background-color: rgba(59, 130, 246, 0.05);
  color: var(--active-color);
}

.lang-dropdown .lang-name {
  font-size: 0.9rem;
  font-weight: 500;
}

.lang-dropdown .check-icon {
  display: none;
  color: var(--active-color);
}

.lang-dropdown .language-item.active .check-icon {
  display: flex;
}


.more-menu-container {
  position: relative;
  display: inline-block;
}

.more-dropdown {
  position: absolute;
  top: 52px;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  width: 210px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 60;
}


html[dir="rtl"] .more-dropdown {
  left: 0;
  right: auto;
}

html[dir="ltr"] .more-dropdown {
  right: 0;
  left: auto;
}

.more-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.more-menu-list {
  padding: 6px;
  margin: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.more-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-color);
  font-size: 0.9rem;
  font-weight: 500;
}

.more-menu-item svg {
  color: var(--text-muted);
  transition: color 0.2s;
}

.more-menu-item:hover {
  background-color: var(--panel-bg);
  color: #131B4C;
}

.more-menu-item:hover svg {
  color: #131B4C;
}


.icon-btn {
  background: none;
  border: none;
  color: var(--primary-color);
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  transition: background-color 0.2s, color 0.2s;
  outline: none;
}

.icon-btn:hover {
  background-color: var(--panel-bg);
}

.icon-btn:active {
  background-color: var(--border-color);
}


.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-speed), visibility var(--transition-speed);
  z-index: 100;
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}


.sidebar {
  position: fixed;
  top: 16px;
  bottom: 16px;
  width: 280px;
  background-color: rgba(19, 27, 76, 0.95); 
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  z-index: 101;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-speed) ease-in-out;
  color: #ffffff;
  border-radius: 24px; 
  border: 1px solid rgba(255, 255, 255, 0.15);
}


html[dir="rtl"] .sidebar {
  right: 16px;
  transform: translateX(calc(100% + 32px));
}


html[dir="ltr"] .sidebar {
  left: 16px;
  transform: translateX(calc(-100% - 32px));
}


.sidebar.active {
  transform: translateX(0) !important;
}


.sidebar-header {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-logo-wrapper {
  background-color: transparent; 
  border-radius: 12px; 
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  border-radius: 6px; 
}

.close-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background-color 0.2s, color 0.2s;
}

.close-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.sidebar-content {
  flex: 1;
  overflow-y: auto;
  padding: 16px 0;
}

.sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s ease;
  width: 100%;
  border: none;
  background: none;
  text-align: inherit;
  cursor: pointer;
}

.sidebar-link svg {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}

.sidebar-link:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.sidebar-link:hover svg {
  color: #ffffff;
}

.sidebar-link.active {
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-weight: 700;
}

.sidebar-link.active svg {
  color: #ffffff;
}


.submenu-toggle {
  justify-content: space-between;
}

.submenu-toggle span {
  flex: 1;
  text-align: start;
}

html[dir="rtl"] .submenu-toggle span {
  margin-right: 12px;
}

html[dir="ltr"] .submenu-toggle span {
  margin-left: 12px;
}


.submenu-toggle svg:first-child {
  margin: 0;
}

.arrow-icon {
  transition: transform 0.3s ease;
}

.has-submenu.open .arrow-icon {
  transform: rotate(180deg);
}


.submenu {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: rgba(0, 0, 0, 0.15);
}

.has-submenu.open .submenu {
  max-height: 200px; 
}

.submenu-link {
  display: block;
  padding: 10px 20px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.2s;
}

html[dir="rtl"] .submenu-link {
  padding-right: 52px;
}

html[dir="ltr"] .submenu-link {
  padding-left: 52px;
}

.submenu-link:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.05);
}


.sidebar-content {
  padding: 20px;
  flex: 1;
  overflow-y: auto;
}


.categories-bar {
  position: relative;
  width: 100%;
  flex-shrink: 0;
  height: 310px; 
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  z-index: 40;
  border-bottom-left-radius: 40px !important;
  border-bottom-right-radius: 40px !important;
  overflow: hidden !important;
  padding: 82px 0 20px 0; 
  background-image: linear-gradient(rgba(19, 27, 76, 0.25), rgba(19, 27, 76, 0.55)), url('https://i.ibb.co/TDSYB1DB/1000187086.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: inset 0 -30px 40px rgba(19, 27, 76, 0.45);
}

.categories-scroll {
  display: flex;
  gap: 12px;
  width: 100%;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 4px 16px; 
  scroll-snap-type: x mandatory;
}


.categories-scroll::-webkit-scrollbar {
  display: none;
}


.categories-scroll {
  -ms-overflow-style: none;  
  scrollbar-width: none;  
}


.category-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: rgba(100, 116, 139, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  color: #ffffff;
  cursor: pointer;
  white-space: nowrap;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  outline: none;
  scroll-snap-align: start;
}

.category-item svg {
  color: #ffffff;
  transition: color 0.2s;
}

.category-item:hover {
  background-color: rgba(100, 116, 139, 0.6);
  transform: translateY(-1px);
}

.category-item.active {
  background-color: #ffffff;
  border-color: #ffffff;
  color: #131B4C;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.category-item.active svg {
  color: #131B4C;
}


.app-content {
  position: relative;
  padding: 24px 16px 48px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.banner-link {
  width: 100%;
  max-width: 500px;
  display: block;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 28px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.banner-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 28px;
}


.search-engine-container {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  width: calc(100% - 32px);
  max-width: 500px;
  z-index: 50;
}

.search-input-wrapper {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50px; 
  padding: 0 16px;
  height: 52px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-input-wrapper:focus-within {
  border-color: #ffffff;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}


html[dir="rtl"] .search-icon {
  margin-left: 10px;
  margin-right: 0;
}

html[dir="ltr"] .search-icon {
  margin-right: 10px;
  margin-left: 0;
}

.search-icon {
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: color 0.3s;
}

.search-input-wrapper:focus-within .search-icon {
  color: #131B4C;
}

.search-input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  height: 100%;
  font-size: 0.95rem;
  color: #ffffff;
  font-weight: 500;
  transition: color 0.3s;
}

.search-input-wrapper:focus-within .search-input {
  color: #131B4C;
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.75);
}

.search-input-wrapper:focus-within .search-input::placeholder {
  color: #94a3b8;
}

.search-clear-btn {
  border: none;
  background: none;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, transform 0.2s;
  flex-shrink: 0;
}

.search-input-wrapper:focus-within .search-clear-btn {
  color: #94a3b8;
}

.search-clear-btn:hover {
  color: #ef4444;
  transform: scale(1.1);
}

.search-filter-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%; 
  border: 1px solid rgba(255, 255, 255, 0.35);
  background-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.search-filter-btn:hover {
  border-color: #ffffff;
  background-color: rgba(255, 255, 255, 0.95);
  color: #131B4C;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transform: translateY(-1px);
}

.search-filter-btn:active {
  transform: translateY(1px);
}


.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  width: 100%;
  max-width: 500px;
  margin-top: 12px;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    max-width: 850px !important;
    gap: 20px !important;
  }
}

.service-card {
  background-color: #ffffff;
  border: 2px solid #f1f5f9;
  border-radius: 20px;
  padding: 28px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 100px;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: #131B4C;
  box-shadow: 0 10px 20px rgba(19, 27, 76, 0.1);
}

.service-icon-wrapper {
  width: 58px;
  height: 58px;
  background-color: rgba(19, 27, 76, 0.05);
  color: #131B4C;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-icon-wrapper {
  background-color: #131B4C;
  color: #ffffff;
  transform: scale(1.06);
}

.service-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e293b;
  text-align: center;
  transition: color 0.3s;
}

.service-card:hover .service-title {
  color: #131B4C;
}


.featured-slider-section {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 32px 16px 48px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--bg-color);
  overflow: hidden;
  flex-shrink: 0;
}

.slider-header {
  text-align: center;
  margin-bottom: 24px;
}

.slider-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #131B4C;
  margin-bottom: 6px;
}

.slider-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 90%;
  margin: 0 auto;
}


.carousel-container-3d {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  overflow: visible;
  margin: 16px 0;
}


.carousel-track-3d {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
}


.carousel-card-3d {
  position: absolute;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(19, 27, 76, 0.14);
  cursor: pointer;
  user-select: none;
  -webkit-user-drag: none;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.4, 1), 
              opacity 0.5s cubic-bezier(0.25, 1, 0.4, 1), 
              box-shadow 0.5s cubic-bezier(0.25, 1, 0.4, 1);
  background-color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.card-inner {
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel-card-3d img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}


.carousel-card-3d::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(19, 27, 76, 0.35); 
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 2;
}


.carousel-card-3d.active::after {
  opacity: 0; 
}

.carousel-card-3d.active {
  box-shadow: 0 18px 40px rgba(19, 27, 76, 0.3);
  border-color: rgba(255, 255, 255, 0.9);
}


.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-color);
  color: #131B4C;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 25;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.25s ease;
  outline: none;
}

.nav-arrow:hover {
  background-color: #131B4C;
  color: #ffffff;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 8px 20px rgba(19, 27, 76, 0.25);
}

.nav-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.prev-arrow {
  left: -8px;
}

.next-arrow {
  right: -8px;
}


html[dir="rtl"] .prev-arrow {
  left: auto;
  right: -8px;
  transform: translateY(-50%) rotate(180deg);
}

html[dir="rtl"] .prev-arrow:hover {
  transform: translateY(-50%) rotate(180deg) scale(1.08);
}

html[dir="rtl"] .prev-arrow:active {
  transform: translateY(-50%) rotate(180deg) scale(0.95);
}

html[dir="rtl"] .next-arrow {
  right: auto;
  left: -8px;
  transform: translateY(-50%) rotate(180deg);
}

html[dir="rtl"] .next-arrow:hover {
  transform: translateY(-50%) rotate(180deg) scale(1.08);
}

html[dir="rtl"] .next-arrow:active {
  transform: translateY(-50%) rotate(180deg) scale(0.95);
}


.carousel-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  margin-top: 24px;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--border-color);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-dot:hover {
  background-color: #94a3b8;
}

.carousel-dot.active {
  background-color: #131B4C;
  width: 26px;
  border-radius: 50px;
}


@media (max-width: 480px) {
  .carousel-card-3d {
    width: 175px;
    height: 175px;
  }
  .carousel-container-3d {
    height: 245px;
  }
}

@media (min-width: 481px) {
  .carousel-card-3d {
    width: 220px;
    height: 220px;
  }
  .carousel-container-3d {
    height: 300px;
  }
}


.footer-section {
  width: 100% !important;
  max-width: 500px !important;
  margin: 40px auto 120px auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 20px !important;
  box-sizing: border-box !important;
  padding: 0 16px !important;
  flex-shrink: 0 !important;
}

.footer-socials {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 16px !important;
}

.social-circle-btn {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 18px !important;
  color: #ffffff !important;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.2) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.social-circle-btn:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 18px rgba(255, 255, 255, 0.15) !important;
}

.social-circle-btn.whatsapp {
  background: linear-gradient(135deg, #2563eb, #1e40af) !important;
}

.social-circle-btn.facebook {
  background: linear-gradient(135deg, #2563eb, #1e40af) !important;
}

.social-circle-btn.instagram {
  background: linear-gradient(135deg, #2563eb, #1e40af) !important;
}

.social-circle-btn.email {
  background: linear-gradient(135deg, #2563eb, #1e40af) !important;
}


.brands-grid-section {
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 15px 0 25px 0 !important;
}

.brands-grid-title {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #f59e0b !important;
  margin: 0 0 10px 0 !important;
  text-align: center !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3) !important;
}

.brands-icons-container {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 16px !important;
  width: 100% !important;
}

.brand-icon-card {
  width: 65px !important;
  height: 65px !important;
  background-color: #ffffff !important;
  border-radius: 16px !important;
  border: 1.5px solid rgba(245, 158, 11, 0.8) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.brand-icon-card:hover {
  transform: translateY(-4px) scale(1.08) !important;
  box-shadow: 0 12px 24px rgba(19, 27, 76, 0.25) !important;
  border-color: #2563eb !important;
}

.brand-icon-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}


.footer-link {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: #000000 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.footer-link i {
  color: #131b4c !important;
  font-size: 13px !important;
  transition: transform 0.2s ease !important;
}

.footer-link:hover {
  color: #2563eb !important;
}

.footer-link:hover i {
  color: #2563eb !important;
  transform: scale(1.15) !important;
}

.company-name {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-weight: 700 !important;
  color: #131b4c !important;
}

.addresses-container {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  align-items: center !important;
}

.address-item {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 13px !important;
  color: #334155 !important;
}

.address-item i {
  color: #ef4444 !important;
}

.trademarks-registered-badge {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #10b981 !important;
  margin-top: 4px !important;
}

@media (min-width: 768px) {
  .footer-section {
    max-width: 800px !important;
  }
}


.app-download-promo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 32px auto 16px auto;
  width: 100%;
  max-width: 340px;
  text-align: center;
  padding: 0 16px;
  gap: 16px;
}

.promo-img-wrapper {
  display: block;
  width: 100%;
  max-width: 290px;
  transition: transform 0.3s ease;
}

.promo-img-wrapper:hover {
  transform: scale(1.03);
}

.promo-banner-img {
  width: 100%;
  height: auto;
  display: block;
}


.brands-slideshow-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

.brands-slideshow-container .slideshow-title {
  font-size: 14px;
  font-weight: 700;
  color: #1b2d41;
  margin: 0;
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 6px 14px;
  border-radius: 9999px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.square-slideshow-box {
  width: 260px;
  height: 260px;
  max-width: 90vw;
  max-height: 90vw;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  border: 2px solid #e2e8f0;
  background-color: #ffffff;
  padding: 12px;
  box-sizing: border-box;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.square-slideshow-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
  border-color: #10b981;
}

.slideshow-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  transition: opacity 0.4s ease-in-out;
  opacity: 0;
}

.slideshow-img.fade-in-active {
  opacity: 1;
}


.promo-slideshow-container {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  width: 100%;
  max-width: 320px;
  margin: 10px auto 16px auto;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.promo-slide {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  width: 100%;
  height: auto;
  display: block;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  pointer-events: none;
}

.promo-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.promo-slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  transition: transform 0.3s ease;
}

.promo-slide img:hover {
  transform: translateY(-2px) scale(1.01);
}


.keyboard-typewriter-container {
  width: auto;
  max-width: 90%;
  margin: 6px auto;
  padding: 8px 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: rgba(19, 27, 76, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  min-height: 40px;
  z-index: 45;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.typewriter-text {
  font-family: 'Cairo', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.5;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  display: inline-block;
  direction: rtl;
}

.typewriter-cursor {
  display: inline-block;
  width: 2px;
  height: 15px;
  background-color: #ffffff;
  margin-right: 5px;
  animation: typewriter-blink 0.75s step-end infinite;
  vertical-align: middle;
}

@keyframes typewriter-blink {
  from, to { background-color: transparent }
  50% { background-color: #ffffff }
}


.footer-meta-grid {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 20px !important;
  text-align: center !important;
  margin: 15px 0 25px 0 !important;
  font-family: 'Cairo', sans-serif !important;
}

@media (min-width: 480px) {
  .footer-meta-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

.footer-grid-col {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 8px !important;
}

.footer-col-title {
  font-size: 14.5px !important;
  font-weight: 700 !important;
  color: #f59e0b !important;
  margin-bottom: 4px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.footer-col-links, .footer-col-info {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  align-items: center !important;
}

.footer-col-links a {
  font-size: 13px !important;
  color: #000000 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.footer-col-links a:hover {
  color: #2563eb !important;
}

.footer-col-info p {
  font-size: 13px !important;
  color: #000000 !important;
  margin: 0 !important;
}


.developer-credit-box {
  width: 100% !important;
  margin-top: 15px !important;
  padding: 12px 16px !important;
  background: rgba(19, 27, 76, 0.05) !important;
  border: 1px solid rgba(19, 27, 76, 0.15) !important;
  border-radius: 12px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 8px !important;
  text-align: center !important;
}

.dev-text {
  font-size: 12.5px !important;
  font-weight: 600 !important;
  color: #000000 !important;
  margin: 0 !important;
}

.dev-name {
  color: #2563eb !important;
  font-weight: 700 !important;
}

.dev-whatsapp-btn {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: #25d366 !important;
  color: #ffffff !important;
  padding: 6px 14px !important;
  border-radius: 20px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: transform 0.2s ease, background 0.2s ease !important;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3) !important;
}

.dev-whatsapp-btn:hover {
  transform: scale(1.04) !important;
  background: #20ba5a !important;
}

.dev-whatsapp-btn i {
  font-size: 14px !important;
}


img {
  -webkit-touch-callout: none !important; 
  -webkit-user-select: none !important;
  -khtml-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
  -webkit-user-drag: none !important; 
  user-drag: none !important;
}


.custom-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translate(-50%, 50px);
  background: rgba(19, 27, 76, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 30px;
  font-family: 'Cairo', sans-serif;
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  direction: rtl;
}

.custom-toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
}


.custom-about-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(12, 17, 43, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.custom-about-modal.show {
  opacity: 1;
  visibility: visible;
}

.custom-about-card {
  background: rgba(19, 27, 76, 0.95);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  width: 90%;
  max-width: 360px;
  border-radius: 20px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  transform: scale(0.85);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  direction: rtl;
  font-family: 'Cairo', sans-serif;
}

.custom-about-modal.show .custom-about-card {
  transform: scale(1);
}

.modal-logo-wrap {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px auto;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal-title-text {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.modal-body-text {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 24px;
}

.modal-close-action-btn {
  background: #ffffff;
  color: #131b4c;
  border: none;
  border-radius: 30px;
  padding: 8px 24px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
}

.modal-close-action-btn:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.02);
}

.modal-close-action-btn:active {
  transform: scale(0.98);
}



.floating-chat-container {
  position: relative;
  z-index: 99999;
}


.floating-chat-btn {
  position: fixed;
  width: 56px;
  height: 56px;
  background-color: #25d366;
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  cursor: grab;
  z-index: 99999;
  user-select: none;
  touch-action: none; 
  transition: border-radius 0.2s cubic-bezier(0.4, 0, 0.2, 1), 
              background-color 0.2s ease, 
              box-shadow 0.2s ease, 
              transform 0.1s ease;
}

.floating-chat-btn:active {
  cursor: grabbing;
  transform: scale(0.95);
}


.floating-chat-btn.docked-right {
  right: 0;
  border-radius: 16px 0 0 16px;
}

.floating-chat-btn.docked-left {
  left: 0;
  border-radius: 0 16px 16px 0;
}

.floating-chat-btn.floating-round {
  border-radius: 50% !important;
}

.floating-chat-btn .icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.floating-chat-btn:hover .icon-wrapper {
  transform: scale(1.1);
}


.chat-badge {
  position: absolute;
  top: -4px;
  left: -4px;
  background-color: #ff3b30;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.7);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 6px rgba(255, 59, 48, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 59, 48, 0);
  }
}


.whatsapp-chat-window {
  position: fixed;
  bottom: 84px;
  right: 16px;
  width: 350px;
  max-width: calc(100vw - 32px);
  height: 480px;
  max-height: calc(100vh - 120px);
  background-color: #efeae2; 
  background-image: radial-gradient(circle, rgba(0,0,0,0.02) 1.2px, transparent 1.2px);
  background-size: 16px 16px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 100000;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.whatsapp-chat-window.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}


.whatsapp-chat-window.docked-left-window {
  right: auto;
  left: 16px;
}


.chat-header {
  background-color: #075e54;
  color: #ffffff;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.chat-header-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.company-avatar {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #ffffff;
  padding: 2px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.company-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.online-indicator {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 11px;
  height: 11px;
  background-color: #4cd964;
  border-radius: 50%;
  border: 2px solid #075e54;
}

.company-info-chat {
  display: flex;
  flex-direction: column;
}

.chat-title {
  font-size: 14px;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

.chat-status {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 2px;
}

.close-chat-window {
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.close-chat-window:hover {
  background-color: rgba(255, 255, 255, 0.15);
}


.chat-messages-container {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scrollbar-width: thin;
}

.chat-message {
  max-width: 80%;
  display: flex;
  flex-direction: column;
}

.chat-message .message-content {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13.5px;
  line-height: 1.5;
  position: relative;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.chat-message.bot-msg {
  align-self: flex-start;
}

.chat-message.bot-msg .message-content {
  background-color: #ffffff;
  color: #333333;
  border-top-left-radius: 0;
}

.chat-message.user-msg {
  align-self: flex-end;
}

.chat-message.user-msg .message-content {
  background-color: #d9fdd3; 
  color: #111a24;
  border-top-right-radius: 0;
}

.message-time {
  font-size: 9.5px;
  color: rgba(0, 0, 0, 0.45);
  align-self: flex-end;
  margin-top: 4px;
  display: block;
  text-align: left;
}


.chat-interactive-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
  animation: fadeIn 0.3s ease;
}

.chat-opt-btn {
  background-color: #ffffff;
  color: #075e54;
  border: 1px solid #e0e0e0;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-align: right;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.chat-opt-btn:hover {
  background-color: #f0faf5;
  border-color: #25d366;
  transform: translateY(-1px);
}

.chat-opt-btn:active {
  transform: translateY(0);
}


.chat-typing-indicator {
  align-self: flex-start;
  background-color: #ffffff;
  padding: 10px 16px;
  border-radius: 12px;
  border-top-left-radius: 0;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  display: none;
  align-items: center;
  gap: 4px;
}

.chat-typing-indicator span {
  width: 6px;
  height: 6px;
  background-color: #075e54;
  border-radius: 50%;
  display: inline-block;
  animation: typing-bounce 1.4s infinite ease-in-out both;
}

.chat-typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.chat-typing-indicator span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing-bounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}


.chat-input-form {
  background-color: #f0f2f5;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.chat-input-form input {
  flex: 1;
  border: none;
  background-color: #ffffff;
  padding: 10px 16px;
  border-radius: 20px;
  font-size: 13.5px;
  outline: none;
  color: #333333;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.chat-send-btn {
  background-color: #075e54;
  color: #ffffff;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.chat-send-btn:hover {
  background-color: #128c7e;
}

.chat-send-btn:active {
  transform: scale(0.95);
}


[dir="rtl"] .chat-opt-btn {
  text-align: right;
}
[dir="ltr"] .chat-opt-btn {
  text-align: left;
}

[dir="rtl"] .chat-message.bot-msg {
  align-self: flex-start;
}
[dir="rtl"] .chat-message.user-msg {
  align-self: flex-end;
}
[dir="rtl"] .chat-message.bot-msg .message-content {
  border-top-left-radius: 0;
  border-top-right-radius: 12px;
}
[dir="rtl"] .chat-message.user-msg .message-content {
  border-top-right-radius: 0;
  border-top-left-radius: 12px;
}


.rice-factory-promo-container {
  margin-top: 30px;
  padding: 24px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #eef2f6;
  text-align: center;
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.rice-title-primary {
  font-size: 26px;
  font-weight: 800;
  color: #1a202c;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.rice-title-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: #319795; 
  background-color: #e6fffa;
  padding: 6px 14px;
  border-radius: 9999px;
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(49, 151, 149, 0.1);
}

.rice-icon-badge {
  color: #dd6b20; 
  font-size: 18px;
}

.rice-keyboard-typewriter {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f7fafc;
  border: 1px dashed #e2e8f0;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 24px;
  font-size: 15px;
  font-weight: 600;
  color: #2d3748;
}

.rice-keyboard-cursor {
  font-weight: bold;
  color: #319795;
  margin-right: 3px;
  animation: rice-cursor-blink 0.8s infinite;
}

@keyframes rice-cursor-blink {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

.rice-factory-banner-wrap {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.rice-factory-banner-wrap:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12) !important;
}

.rice-factory-img-element {
  width: 100% !important;
  height: auto !important;
  max-height: 480px !important;
  display: block !important;
  object-fit: cover !important;
}



.cellophane-factory-promo-container {
  margin-top: 30px;
  padding: 24px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #eef2f6;
  text-align: center;
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.cellophane-title-primary {
  font-size: 26px;
  font-weight: 800;
  color: #1a202c;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.cellophane-title-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: #2b6cb0; 
  background-color: #ebf8ff;
  padding: 6px 14px;
  border-radius: 9999px;
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(43, 108, 176, 0.1);
}

.cellophane-icon-badge {
  color: #3182ce;
  font-size: 18px;
}

.cellophane-keyboard-typewriter {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f7fafc;
  border: 1px dashed #e2e8f0;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 24px;
  font-size: 15px;
  font-weight: 600;
  color: #2d3748;
}

.cellophane-keyboard-cursor {
  font-weight: bold;
  color: #2b6cb0;
  margin-right: 3px;
  animation: cellophane-cursor-blink 0.8s infinite;
}

@keyframes cellophane-cursor-blink {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

.cellophane-factory-banner-wrap {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.cellophane-factory-banner-wrap:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12) !important;
}

.cellophane-factory-img-element {
  width: 100% !important;
  height: auto !important;
  max-height: 480px !important;
  display: block !important;
  object-fit: cover !important;
}



.charcoal-factory-promo-container {
  margin-top: 30px;
  padding: 24px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #eef2f6;
  text-align: center;
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.charcoal-title-primary {
  font-size: 26px;
  font-weight: 800;
  color: #1a202c;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.charcoal-title-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: #dd6b20; 
  background-color: #fffaf0;
  padding: 6px 14px;
  border-radius: 9999px;
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(221, 107, 32, 0.1);
}

.charcoal-icon-badge {
  color: #e53e3e; 
  font-size: 18px;
}

.charcoal-keyboard-typewriter {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f7fafc;
  border: 1px dashed #e2e8f0;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 24px;
  font-size: 15px;
  font-weight: 600;
  color: #2d3748;
}

.charcoal-keyboard-cursor {
  font-weight: bold;
  color: #dd6b20;
  margin-right: 3px;
  animation: charcoal-cursor-blink 0.8s infinite;
}

@keyframes charcoal-cursor-blink {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

.charcoal-factory-banner-wrap {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.charcoal-factory-banner-wrap:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12) !important;
}

.charcoal-factory-img-element {
  width: 100% !important;
  height: auto !important;
  max-height: 480px !important;
  display: block !important;
  object-fit: cover !important;
}




.rice-factory-promo-container,
.cellophane-factory-promo-container,
.charcoal-factory-promo-container {
  display: none !important;
  opacity: 0;
}

.rice-factory-promo-container.active-promo,
.cellophane-factory-promo-container.active-promo,
.charcoal-factory-promo-container.active-promo {
  display: block !important;
  opacity: 1;
  animation: fadeSlideUpProduct 0.7s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes fadeSlideUpProduct {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.product-swipable-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  margin: 24px auto 12px;
  max-width: 450px;
  padding: 0 16px;
  box-sizing: border-box;
}


.product-swipable-square {
  width: 200px;
  height: 200px;
  aspect-ratio: 1 / 1;
  position: relative;
  border-radius: 24px;
  background-color: #ffffff;
  border: 3px solid #10b981;
  padding: 6px;
  box-sizing: border-box;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.15);
  overflow: hidden;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.3s ease;
}

.product-swipable-square:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.22);
}

.product-swipable-square:active {
  cursor: grabbing;
}


.swipe-slide-item {
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  bottom: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(0.92) rotate(-1deg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 18px;
}

.swipe-slide-item.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1) rotate(0deg);
  z-index: 5;
}

.swipe-slide-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}


.slide-badge {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #1b2d41;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  white-space: nowrap;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}


.product-swipable-container .nav-arrow {
  position: static !important;
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #1b2d41 !important;
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05) !important;
  transition: all 0.2s ease !important;
  flex-shrink: 0 !important;
}

.product-swipable-container .nav-arrow:hover {
  background-color: #10b981 !important;
  border-color: #10b981 !important;
  color: #ffffff !important;
  transform: scale(1.1);
}


.product-swipe-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.swipe-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background-color: #cbd5e1;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.swipe-dot.active {
  width: 22px;
  background-color: #10b981;
}


.product-keyboard-typewriter-container {
  width: auto;
  max-width: 90%;
  margin: 12px auto 24px;
  padding: 8px 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: rgba(16, 185, 129, 0.08);
  border: 1px dashed rgba(16, 185, 129, 0.35);
  border-radius: 30px;
  min-height: 40px;
  z-index: 45;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.05);
}

.product-section-keyboard-text {
  font-family: 'Cairo', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #10b981;
  line-height: 1.5;
  display: inline-block;
  direction: rtl;
}

.product-section-keyboard-cursor {
  display: inline-block;
  width: 2px;
  height: 15px;
  background-color: #10b981;
  margin-right: 5px;
  animation: product-typewriter-blink 0.75s step-end infinite;
  vertical-align: middle;
}

@keyframes product-typewriter-blink {
  from, to { background-color: transparent }
  50% { background-color: #10b981 }
}


.split-card-layout {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  height: 100% !important;
  background: #ffffff !important;
  overflow: hidden !important;
}

.split-top, .split-bottom {
  flex: 1 !important;
  width: 100% !important;
  height: 50% !important;
  overflow: hidden !important;
  position: relative !important;
}

.split-top {
  border-bottom: 2px solid rgba(19, 27, 76, 0.1) !important;
}

.split-top img, .split-bottom img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.4, 1) !important;
}

.carousel-card-3d:hover .split-top img,
.carousel-card-3d:hover .split-bottom img {
  transform: scale(1.08) !important;
}

.tape-badge-overlay {
  position: absolute !important;
  bottom: 8px !important;
  right: 8px !important;
  background: rgba(19, 27, 76, 0.88) !important;
  color: #ffffff !important;
  padding: 4px 10px !important;
  border-radius: 20px !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  z-index: 15 !important;
  direction: rtl !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  font-family: 'Cairo', sans-serif !important;
  white-space: nowrap !important;
}

@media (max-width: 480px) {
  .tape-badge-overlay {
    bottom: 4px !important;
    right: 4px !important;
    font-size: 9px !important;
    padding: 2px 8px !important;
  }
}


.promo-split-banner {
  display: flex !important;
  flex-direction: column !important;
  background: #ffffff !important;
  border-radius: 16px !important;
  overflow: hidden !important;
}

.promo-split-top, .promo-split-bottom {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  overflow: hidden !important;
}

.promo-split-top {
  border-bottom: 3px solid rgba(19, 27, 76, 0.15) !important;
}

.promo-split-top img, .promo-split-bottom img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  object-fit: cover !important;
  transition: transform 0.4s ease !important;
}

.promo-split-top:hover img, .promo-split-bottom:hover img {
  transform: scale(1.03) !important;
}
.image-number-badge {
  position: absolute !important;
  top: 12px !important;
  left: 12px !important;
  background: #e53e3e !important; 
  color: #ffffff !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: 'Cairo', sans-serif !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4) !important;
  border: 2px solid #ffffff !important;
  z-index: 90 !important;
  transition: transform 0.3s ease !important;
}

.carousel-card-3d:hover .image-number-badge {
  transform: scale(1.15) !important;
}

.placeholder-card {
  background: linear-gradient(135deg, #1e293b, #0f172a) !important;
  border: 2px dashed rgba(255, 255, 255, 0.15) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: 12px !important;
  position: relative !important;
}

.placeholder-content {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  color: rgba(255, 255, 255, 0.4) !important;
}

.placeholder-icon {
  font-size: 32px !important;
}

.placeholder-text {
  font-family: 'Cairo', sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}


.ticker-section {
  width: 100% !important;
  max-width: 500px !important;
  margin-bottom: 12px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  box-sizing: border-box !important;
}

.ticker-title {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #f59e0b !important;
  margin: 0 0 12px 0 !important;
  text-align: center !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3) !important;
}

.ticker-wrap {
  width: 100% !important;
  overflow: hidden !important;
  background: rgba(19, 27, 76, 0.6) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 18px !important;
  padding: 14px 0 !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4) !important;
  display: flex !important;
  align-items: center !important;
  box-sizing: border-box !important;
  direction: ltr !important;
}

.ticker-track {
  display: flex !important;
  width: max-content !important;
  animation: infinite-ticker 16s linear infinite !important;
  direction: ltr !important;
}

.ticker-item {
  width: 80px !important;
  height: 80px !important;
  margin: 0 14px !important;
  flex-shrink: 0 !important;
  background-color: #ffffff !important;
  border-radius: 14px !important;
  border: 2px solid rgba(245, 158, 11, 0.8) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
  transition: transform 0.2s ease !important;
}

.ticker-item:hover {
  transform: scale(1.05) !important;
}

.ticker-item img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}


@keyframes infinite-ticker {
  0% {
    transform: translate3d(-50%, 0, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}


.top-promo-letter-badge {
  position: absolute !important;
  top: 14px !important;
  left: 14px !important;
  background: #3b82f6 !important; 
  color: #ffffff !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: 'Cairo', sans-serif !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35) !important;
  border: 2.5px solid #ffffff !important;
  z-index: 15 !important;
  pointer-events: none !important;
  text-shadow: none !important;
}


.promo-flow-container {
  width: 100% !important;
  max-width: 500px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  margin: 16px auto !important;
  box-sizing: border-box !important;
  padding: 0 16px !important;
  direction: rtl !important;
}

.promo-flow-card {
  background: linear-gradient(135deg, #131b4c 0%, #0a0e29 100%) !important;
  border: 1.5px solid rgba(245, 158, 11, 0.4) !important; 
  border-radius: 20px !important;
  padding: 24px !important;
  box-shadow: 0 10px 25px rgba(19, 27, 76, 0.15) !important;
  text-align: center !important;
  position: relative !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.promo-flow-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 16px 35px rgba(19, 27, 76, 0.3) !important;
  border-color: #f59e0b !important;
}

.promo-flow-title {
  font-family: 'Cairo', sans-serif !important;
  font-size: 19px !important;
  font-weight: 800 !important;
  color: #f59e0b !important; 
  margin: 0 0 12px 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
}

.promo-flow-text {
  font-family: 'Cairo', sans-serif !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  line-height: 1.7 !important;
  margin: 0 !important;
}


.promo-flow-connector {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  margin: 8px 0 !important;
  cursor: pointer !important;
  background: none !important;
  border: none !important;
  outline: none !important;
  transition: all 0.25s ease !important;
  width: max-content !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.promo-flow-connector:hover {
  transform: scale(1.1) !important;
}

.promo-flow-connector-label {
  font-family: 'Cairo', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #131b4c !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  background-color: rgba(245, 158, 11, 0.12) !important;
  border: 1px solid rgba(245, 158, 11, 0.3) !important;
  padding: 4px 14px !important;
  border-radius: 999px !important;
}

.promo-flow-connector-arrow {
  color: #131b4c !important;
  font-size: 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.flow-pulse-arrow {
  animation: flow-pulse 1.4s infinite ease-in-out !important;
}

@keyframes flow-pulse {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.8;
  }
  50% {
    transform: translateY(6px);
    opacity: 1;
    color: #f59e0b !important; 
  }
}

.flow-pulse-arrow-up {
  animation: flow-pulse-up 1.4s infinite ease-in-out !important;
}

@keyframes flow-pulse-up {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.8;
  }
  50% {
    transform: translateY(-6px);
    opacity: 1;
    color: #f59e0b !important;
  }
}


.floating-scroll-guide {
  position: fixed !important;
  bottom: 85px !important;
  left: 20px !important;
  z-index: 99999 !important;
  background: linear-gradient(135deg, #131b4c 0%, #0a0e29 100%) !important;
  border: 1.5px solid #f59e0b !important; 
  border-radius: 50px !important;
  padding: 10px 20px !important;
  color: #ffffff !important;
  font-family: 'Cairo', sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  box-shadow: 0 10px 30px rgba(19, 27, 76, 0.45) !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  direction: rtl !important;
  text-shadow: none !important;
}

.floating-scroll-guide:hover {
  transform: translateY(-4px) scale(1.05) !important;
  box-shadow: 0 14px 35px rgba(245, 158, 11, 0.5) !important;
  border-color: #ffffff !important;
}

.floating-scroll-guide:active {
  transform: translateY(-2px) scale(0.98) !important;
}

.floating-scroll-guide-icon {
  font-size: 15px !important;
  color: #f59e0b !important;
}

.pulse-floating-icon-down {
  animation: float-pulse-icon-down 1.4s infinite ease-in-out !important;
}

@keyframes float-pulse-icon-down {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
    color: #ffffff !important;
  }
}


.factory-showcase-container {
  width: 90% !important;
  max-width: 500px !important;
  margin: 30px auto 10px auto !important;
  background: linear-gradient(135deg, #131b4c 0%, #0a0e29 100%) !important;
  border: 1.5px solid rgba(245, 158, 11, 0.4) !important; 
  border-radius: 20px !important;
  padding: 20px !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4) !important;
  text-align: center !important;
  direction: rtl !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.factory-showcase-container:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 20px 45px rgba(245, 158, 11, 0.15) !important;
}

.factory-showcase-header {
  margin-bottom: 15px !important;
}

.factory-badge {
  display: inline-block !important;
  background: rgba(245, 158, 11, 0.12) !important;
  border: 1px solid rgba(245, 158, 11, 0.3) !important;
  color: #f59e0b !important;
  font-family: 'Cairo', sans-serif !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  padding: 4px 14px !important;
  border-radius: 999px !important;
  margin-bottom: 8px !important;
  letter-spacing: 0.5px !important;
}

.factory-title {
  font-family: 'Cairo', sans-serif !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4) !important;
}

.factory-image-wrapper {
  position: relative !important;
  width: 100% !important;
  height: 220px !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  background: #000000 !important;
  margin-bottom: 14px !important;
}

.factory-image-wrapper img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out !important;
  opacity: 1;
}

.factory-image-wrapper img.fade-out {
  opacity: 0.2 !important;
  transform: scale(0.97) !important;
}

.factory-overlay {
  position: absolute !important;
  bottom: 12px !important;
  left: 12px !important;
  background: rgba(0, 0, 0, 0.7) !important;
  backdrop-filter: blur(4px) !important;
  padding: 4px 12px !important;
  border-radius: 30px !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.factory-status {
  font-family: 'Cairo', sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #34d399 !important; 
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.status-dot {
  width: 7px !important;
  height: 7px !important;
  background-color: #34d399 !important;
  border-radius: 50% !important;
  display: inline-block !important;
  animation: pulse-dot 1.5s infinite ease-in-out !important;
}

@keyframes pulse-dot {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.4);
    opacity: 0.4;
  }
}

.factory-desc {
  font-family: 'Cairo', sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #cbd5e1 !important; 
  line-height: 1.6 !important;
  margin: 0 !important;
  padding: 0 8px !important;
}

/* 3-Second Auto Square Slider */
.account-slider-container,
.home-slider-container {
  width: 90% !important;
  max-width: 500px !important;
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  min-height: 240px !important;
  flex-shrink: 0 !important;
  position: relative !important;
  border-radius: 28px !important;
  overflow: hidden !important;
  margin: 24px auto 14px auto !important;
  background-color: transparent !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35) !important;
  border: 1.5px solid rgba(245, 158, 11, 0.45) !important;
  display: block !important;
  box-sizing: border-box !important;
}

.slider-control-bar {
  position: absolute !important;
  top: 14px !important;
  left: 14px !important;
  right: 14px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  z-index: 20 !important;
  pointer-events: none !important;
}

.slider-action-btn {
  pointer-events: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: rgba(15, 23, 42, 0.75) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(245, 158, 11, 0.5) !important;
  color: #fff !important;
  padding: 6px 14px !important;
  border-radius: 30px !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3) !important;
  user-select: none !important;
}

.slider-action-btn:hover {
  background: rgba(245, 158, 11, 0.9) !important;
  color: #0f172a !important;
  border-color: #f59e0b !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.4) !important;
}

.slider-action-btn:active {
  transform: scale(0.96) !important;
}

.slider-action-btn.paused {
  background: rgba(239, 68, 68, 0.85) !important;
  border-color: #ef4444 !important;
  color: #fff !important;
}

/* Slider Pause/Play Overlay Toast & Longpress hint */
.slider-touch-toast {
  position: absolute !important;
  bottom: 24px !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(10px) !important;
  background: rgba(15, 23, 42, 0.88) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(245, 158, 11, 0.5) !important;
  color: #fefefe !important;
  padding: 6px 16px !important;
  border-radius: 24px !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  z-index: 25 !important;
  pointer-events: none !important;
  opacity: 0 !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4) !important;
  white-space: nowrap !important;
}

.slider-touch-toast.show {
  opacity: 1 !important;
  transform: translateX(-50%) translateY(0) !important;
}

.slider-touch-toast i {
  color: #f59e0b !important;
}

.account-slide {
  user-select: none !important;
  -webkit-user-select: none !important;
  -webkit-touch-callout: none !important;
}

.account-slide img {
  pointer-events: auto !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  -webkit-user-drag: none !important;
}

/* Long press ripple animation on slide */
.account-slide.long-pressing {
  transform: scale(0.98) !important;
  transition: transform 0.35s ease !important;
  filter: brightness(1.1) !important;
}

.slider-side-nav {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  background: rgba(15, 23, 42, 0.65) !important;
  backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.95rem !important;
  cursor: pointer !important;
  z-index: 18 !important;
  transition: all 0.25s ease !important;
  opacity: 0.85 !important;
}

.slider-side-nav:hover {
  opacity: 1 !important;
  background: rgba(245, 158, 11, 0.9) !important;
  color: #0f172a !important;
  border-color: #f59e0b !important;
  transform: translateY(-50%) scale(1.1) !important;
}

.slider-side-nav.prev {
  right: 12px !important;
}

.slider-side-nav.next {
  left: 12px !important;
}

.account-slides,
.home-slides {
  width: 100% !important;
  height: 100% !important;
  position: relative !important;
  display: block !important;
  cursor: pointer !important;
}

.account-slide,
.home-slide {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out !important;
  display: block !important;
}

.account-slide.active,
.home-slide.active {
  opacity: 1 !important;
  visibility: visible !important;
}

.account-slide img,
.home-slide img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 26px !important;
  display: block !important;
}

.slider-indicators {
  position: absolute !important;
  bottom: 14px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  display: flex !important;
  gap: 8px !important;
  z-index: 15 !important;
}

.indicator-dot {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background-color: rgba(255, 255, 255, 0.45) !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
}

.indicator-dot.active {
  background-color: #f59e0b !important;
  width: 22px !important;
  border-radius: 6px !important;
}

/* Lightbox Modal & Zoom Controls */
.image-lightbox-modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 99999 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}

.image-lightbox-modal.active {
  display: flex !important;
  animation: lightboxFadeIn 0.25s ease-out !important;
}

@keyframes lightboxFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox-backdrop {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(10, 15, 29, 0.92) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  cursor: zoom-out !important;
}

.lightbox-wrapper {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 2 !important;
  padding: 16px !important;
  box-sizing: border-box !important;
}

.lightbox-toolbar {
  position: absolute !important;
  top: 20px !important;
  left: 20px !important;
  right: 20px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  z-index: 10 !important;
  pointer-events: none !important;
}

.lightbox-zoom-actions {
  pointer-events: auto !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: rgba(20, 27, 45, 0.85) !important;
  backdrop-filter: blur(12px) !important;
  padding: 6px 14px !important;
  border-radius: 30px !important;
  border: 1px solid rgba(245, 158, 11, 0.4) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
}

.lightbox-zoom-indicator {
  color: #f59e0b !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  min-width: 46px !important;
  text-align: center !important;
  user-select: none !important;
}

.lightbox-tool-btn {
  pointer-events: auto !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.95rem !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.lightbox-tool-btn:hover {
  background: #f59e0b !important;
  color: #0f172a !important;
  border-color: #f59e0b !important;
  transform: scale(1.1) !important;
}

.lightbox-close-btn {
  background: rgba(239, 68, 68, 0.8) !important;
  border-color: #ef4444 !important;
  font-size: 1.1rem !important;
  width: 42px !important;
  height: 42px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
}

.lightbox-close-btn:hover {
  background: #ef4444 !important;
  color: #ffffff !important;
  transform: scale(1.1) rotate(90deg) !important;
}

.lightbox-viewport {
  max-width: 90vw !important;
  max-height: 80vh !important;
  width: auto !important;
  height: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  cursor: grab !important;
  user-select: none !important;
}

.lightbox-viewport.panning {
  cursor: grabbing !important;
}

.lightbox-img {
  max-width: 85vw !important;
  max-height: 75vh !important;
  object-fit: contain !important;
  border-radius: 16px !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7) !important;
  transition: transform 0.2s ease-out !important;
  transform-origin: center center !important;
}

.lightbox-nav-arrow {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  background: rgba(20, 27, 45, 0.75) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(245, 158, 11, 0.4) !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.2rem !important;
  cursor: pointer !important;
  z-index: 15 !important;
  transition: all 0.2s ease !important;
}

.lightbox-nav-arrow:hover {
  background: #f59e0b !important;
  color: #0f172a !important;
  transform: translateY(-50%) scale(1.12) !important;
}

.lightbox-nav-arrow.prev {
  right: 24px !important;
}

.lightbox-nav-arrow.next {
  left: 24px !important;
}

@media (max-width: 768px) {
  .lightbox-nav-arrow {
    width: 40px !important;
    height: 40px !important;
    font-size: 1rem !important;
  }
  .lightbox-nav-arrow.prev { right: 10px !important; }
  .lightbox-nav-arrow.next { left: 10px !important; }
  .lightbox-zoom-actions {
    padding: 4px 10px !important;
    gap: 4px !important;
  }
  .lightbox-tool-btn {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.85rem !important;
  }
  .lightbox-close-btn {
    width: 36px !important;
    height: 36px !important;
  }
}

@media (max-width: 1023px) {
  .desktop-grid-left-panel,
  .desktop-grid-right-panel {
    display: contents !important;
  }
}


@media (min-width: 1024px) {
  
  .main-scroll-wrapper,
  .about-scroll-wrapper,
  .products-scroll-wrapper,
  .premium-scroll-wrapper,
  .account-scroll-wrapper {
    max-width: 100% !important;
    padding-left: 40px !important;
    padding-right: 40px !important;
    box-sizing: border-box !important;
    display: block !important;
  }

  
  .categories-bar {
    height: 330px !important;
    border-bottom-left-radius: 50px !important;
    border-bottom-right-radius: 50px !important;
    padding-top: 92px !important;
  }

  
  .categories-scroll {
    justify-content: center !important;
    gap: 24px !important;
    max-width: 1350px !important;
    margin: 0 auto !important;
    overflow-x: visible !important;
  }

  
  .search-engine-container {
    max-width: 750px !important;
    bottom: 24px !important;
  }

  
  .rice-charcoal-cellophane-section {
    display: flex !important;
    flex-direction: row-reverse !important; 
    gap: 40px !important;
    max-width: 1440px !important;
    margin: 40px auto !important;
    padding: 0 10px 100px 10px !important;
    align-items: flex-start !important;
    width: 98% !important;
    box-sizing: border-box !important;
  }

  
  .desktop-grid-left-panel {
    flex: 1 !important;
    width: 48% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 30px !important;
    box-sizing: border-box !important;
  }

  
  .desktop-grid-right-panel {
    flex: 1.08 !important;
    width: 52% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 30px !important;
    box-sizing: border-box !important;
    position: sticky !important;
    top: 90px !important; 
  }

  
  .rice-factory-promo-container,
  .cellophane-factory-promo-container,
  .charcoal-factory-promo-container,
  .carousel-container-3d,
  .factory-showcase-container,
  .ticker-section,
  .promo-flow-container,
  .app-download-promo {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }

  
  .carousel-container-3d {
    height: 380px !important;
  }

  .carousel-card-3d {
    width: 200px !important;
    height: 290px !important;
  }

  

  
  .about-card, .ticker-section {
    max-width: 1440px !important;
    width: 96% !important;
    margin: 40px auto !important;
    box-sizing: border-box !important;
  }

  .about-card {
    padding: 50px !important;
    border-radius: 30px !important;
  }

  
  .products-container {
    max-width: 1440px !important;
    width: 96% !important;
    margin: 40px auto !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 30px !important;
  }

  .products-header-card {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 24px !important;
    padding: 36px !important;
  }

  
  .products-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
    width: 100% !important;
  }

  
  .premium-container {
    max-width: 1440px !important;
    width: 96% !important;
    margin: 40px auto !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 30px !important;
  }

  
  .services-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
    max-width: 100% !important;
    margin: 10px 0 !important;
  }

  
  .search-page-wrapper {
    padding: 24px 40px !important;
    box-sizing: border-box !important;
  }

  .search-header, .search-categories-bar, .search-results-container {
    max-width: 1440px !important;
    width: 96% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  #food-results, #home-results {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
  }

  .social-contacts-container {
    max-width: 1440px !important;
    width: 96% !important;
    margin: 30px auto !important;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
  }

  .contact-card {
    height: 80px !important;
    justify-content: center !important;
  }
}

/* Reusable classes to eliminate repetitive inline styles */
.card-inner > a {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
}

.promo-banner-link {
  position: relative;
  display: block;
  cursor: default;
}

.promo-badge-overlay {
  bottom: 12px !important;
  right: 12px !important;
  font-size: 11px !important;
  padding: 6px 12px !important;
}

.about-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.15) !important;
  margin: 10px 0 !important;
}

.company-name {
  font-weight: 700;
}

.search-input-wrapper,
.search-input {
  cursor: pointer;
}

.ticker-section {
  margin: 8px auto 16px auto !important;
  width: 100% !important;
  max-width: 500px !important;
}

.ticker-wrap {
  padding: 6px 0 !important;
  background: rgba(19, 27, 76, 0.4) !important;
  border-radius: 12px !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

.ticker-item {
  width: 52px !important;
  height: 52px !important;
  margin: 0 8px !important;
  border-radius: 8px !important;
  border-color: rgba(245, 158, 11, 0.6) !important;
  background-color: #ffffff !important;
}
