/**
 * Core Core Structural Layout Stylesheet
 * --------------------------------------------------
 */

/* Header Core Component Top Layout Controls */
.eshopping-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--eshopping-bg);
  border-bottom: 1px solid var(--eshopping-border);
  box-shadow: var(--eshopping-shadow-sm);
  transition: var(--eshopping-transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.site-branding .site-title-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--eshopping-primary);
  letter-spacing: -0.5px;
}

/* Primary Desktop Navigation Rules Grid Map */
.main-navigation-wrapper {
  display: none;
}

@media (min-width: 992px) {
  .main-navigation-wrapper {
    display: block;
  }
  
  .main-navigation-wrapper ul {
    display: flex;
    list-style: none;
    gap: 2rem;
  }
  
  .main-navigation-wrapper a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--eshopping-text-primary);
    position: relative;
    padding: 0.5rem 0;
  }
  
  .main-navigation-wrapper a:hover {
    color: var(--eshopping-accent);
  }
}

/* Functional Actions Group Wrapper Layout Matrix */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.lang-list-inline {
  list-style: none;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  border: 1px solid var(--eshopping-border);
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  background-color: var(--eshopping-bg-alt);
}

.eshopping-mini-cart-trigger {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--eshopping-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--eshopping-bg-alt);
}

.eshopping-cart-badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--eshopping-accent);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-shadow: var(--eshopping-shadow-sm);
}

/* Responsive Mobile Navigation Elements Component Configurations */
.eshopping-mobile-menu-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1010;
}

@media (min-width: 992px) {
  .eshopping-mobile-menu-hamburger {
    display: none;
  }
}

.hamburger-line {
  width: 100%;
  height: 2.5px;
  background-color: var(--eshopping-primary);
  border-radius: 2px;
  transition: var(--eshopping-transition);
}

/* Active Transformation Scripts Trigger State Mappings */
.eshopping-mobile-menu-hamburger[aria-expanded="true"] .line-top {
  transform: translateY(8px) rotate(45deg);
}

.eshopping-mobile-menu-hamburger[aria-expanded="true"] .line-mid {
  opacity: 0;
}

.eshopping-mobile-menu-hamburger[aria-expanded="true"] .line-bot {
  transform: translateY(-8px) rotate(-45deg);
}

.eshopping-mobile-navigation-drawer {
  position: absolute;
  top: 70px;
  left: 0;
  width: 100%;
  background-color: var(--eshopping-bg);
  border-bottom: 2px solid var(--eshopping-border);
  box-shadow: var(--eshopping-shadow-lg);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.eshopping-mobile-navigation-drawer[aria-hidden="false"] {
  max-height: 100vh;
}

.mobile-drawer-inner {
  padding: 1.5rem;
}

.mobile-menu-vertical-list {
  display: flex;
  flex-direction: column;
  list-style: none;
  gap: 1.25rem;
}

.mobile-menu-vertical-list a {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--eshopping-text-primary);
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--eshopping-bg-alt);
}

/* Semantic Footprint Layout Grid Configurations */
.eshopping-site-footer {
  background-color: var(--eshopping-primary);
  color: #ffffff;
  padding-top: 3.5rem;
  margin-top: auto;
}

.footer-grid-system {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .footer-grid-system {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-heading {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #ffffff;
  position: relative;
}

.footer-description-text {
  color: #94a3b8;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.trust-badge-cod {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(249, 115, 22, 0.15);
  border: 1px solid var(--eshopping-accent);
  padding: 0.5rem 1rem;
  border-radius: var(--eshopping-radius);
  color: var(--eshopping-accent);
  font-weight: 700;
}

.footer-links-vertical-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links-vertical-list a {
  color: #94a3b8;
  font-size: 0.95rem;
}

.footer-links-vertical-list a:hover {
  color: var(--eshopping-accent);
  transform: translateX(4px);
}

body.rtl .footer-links-vertical-list a:hover {
  transform: translateX(-4px);
}

.social-channels-vector-deck {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-channel-anchor {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
}

.social-channel-anchor:hover {
  background-color: var(--eshopping-accent);
  color: #ffffff;
}

.footer-legal-grounding-banner {
  background-color: #0f172a;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
  color: #64748b;
}

.baseline-flex-wrapper {
  display: flex;
  justify-content: center;
  text-align: center;
}
