/*********************************************
 * HEADER & NAVIGATION
 *********************************************/

/* Header Container */
.header {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  position: relative;
  margin-bottom: 4px;
}

/* Logo Section */
.logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  margin: 0 20px;
}
.logo-container img {
  width: 100px;
  height: 100px;
  transition: transform 3s ease-in-out;
}
.logo-container img:hover {
  transform: rotate(360deg);
}

/* Navigation Buttons */
.nav-buttons {
  display: flex;
  gap: 25px;
}
.nav-button {
  padding: 5px 10px;
  width: 80px;
  color: white;
  border: 3px solid black;
  border-radius: 20px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  box-shadow: 4px 4px 0px black;
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-button:hover {
  transform: translateY(-3px);
  box-shadow: 2px 2px 0px black;
  border: solid;
  color: white;
}

/*********************************************
 * WRAPPER & SIDEBAR
 *********************************************/
.wrapper {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
}

.sidebar {
  flex: 0 0 20%;
  padding: 10px;
  text-align: center;
  height: auto;
  margin: 10px 0 0 10px;
  display: block;
  border-radius: 10px;
}

/* Search Container */
.search-heading {
  margin: 14px 0 10px;
  padding-left: 10px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--primary);
  text-align: left;
  text-transform: uppercase;
  opacity: 0.7;
}

.search-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.search-input {
  width: 90%;
  padding: 8px;
  margin-bottom: 10px;
  border: 2px solid var(--surface);
  border-radius: 5px;
}

.search-button {
  cursor: pointer;
  margin: 6px auto;
  border: none;
  background-color: transparent;
  filter: hue-rotate(var(--search-hue)) brightness(4);
}

.search-button:hover {
  transform: translateY(-3px);
}

/* Tagsbox & Hashtags */
.tagsbox {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  max-height: 70%;
  min-height: 20%;
  overflow-y: auto;
  margin: 0 10px;
  box-sizing: border-box;
}
.tagsbox.hidden {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}
.tag-heading {
  margin: 14px 0 10px;
  padding-left: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--primary);
  text-align: left;
  text-transform: uppercase;
  opacity: 0.7;
}
.hashtags {
  line-height: 1;
  margin: 0;
  padding: 0;
}
.hashtags a {
  display: inline-block;
  margin: 2px;
  background-color: #fff;
  padding: 3px 6px;
  border-radius: 4px;
  font-size: 0.8rem;
  border: 1px solid #e0e0e0;
  text-decoration: underline;
  transition: background-color 0.3s, color 0.3s;
}
.hashtags a:hover {
  text-decoration: none;
}
/* Sidebar + product-card tag links */
.hashtags a[data-tag="hott" i],
.product-card-tag a[data-tag="hott" i] {
  background-color: rgba(255, 77, 77, 0.521);
  color: #fff !important;
  border: 1px solid #b30000;
  font-weight: 700;
  padding: 2px 8px;
   white-space: nowrap; 
}
.hashtags a[data-tag="hott" i]::after,
.product-card-tag a[data-tag="hott" i]::after {
  content: "🔥";
}

/* “new” tag variant */
.hashtags a[data-tag="new" i],
.product-card-tag a[data-tag="new" i] {
  background-color: rgba(245, 196, 48, 0.95);
  color: #222 !important;
  border: 1px solid #8f6b00;
  font-weight: 700;
  padding: 2px 8px;
     white-space: nowrap; 
}
.hashtags a[data-tag="new" i]::after,
.product-card-tag a[data-tag="new" i]::after {
  content: "🆕";
}

aside h3 {
  font-size: 20px;
}

/*********************************************
 * FOOTER
 *********************************************/
.site-footer {
  width: 100%;
  background: transparent;
  margin-top: 10px;
  box-sizing: border-box;
}

.footer-links-bar {
  background: var(--secondary);
  border-radius: 12px 12px 0 0;
  padding: 24px 10px;
  margin-bottom: 5px;
}
.footer-links-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-links-row-column h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  text-align: center;
}
.footer-links-row-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}
.footer-links-row-column li {
  margin: 6px 0;
}

.footer-main {
  background: var(--secondary);
  border-radius: 0 0 12px 12px;
  padding: 4px;
  font-size: 12px;

}
.footer-promo-row {
  display: grid;
  grid-template-columns: 3fr 1fr 1.15fr 1.15fr;
  align-items: center;
  gap: 30px;
  padding: 10px 20px;
}

.footer-newsletter {
  display: grid;
  grid-template-columns: 280px 300px;
  align-items: center;
  gap: 2px;
}
.footer-newsletter-title {
  margin: 0;
}
.footer-newsletter-copy h3 {
  margin-bottom: 10px;
  font-size: 15px;

}
.footer-newsletter form {
  display: flex;
  align-items: center;
  gap: 8px;
}

#newsletter-success {
margin: 0;
padding: 10px 14px;
font-weight: 700;
text-align: center;
color: var(--ink);
background: rgba(255,255,255,.55);
border: 2px solid var(--ink);
border-radius: 6px;
}
.footer-newsletter input {
  flex: 1;
  min-width: 0;
  padding: 9px 12px;
  border: 2px solid #333;
  border-radius: 5px;
  font-family: inherit;
  margin: 0;
}

.footer-newsletter button {
  width: auto;
  padding: 9px 14px;
  border: 2px solid #333;
  border-radius: 5px;
  box-shadow: 2px 2px 0 #333;
  font-family: inherit;
}
.footer-socials {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  min-width: max-content;
}

.footer-promo-item p,
.footer-promo-copy,
.footer-socials p {
  display: block;
  margin: 0;
  white-space: nowrap;
  color: #333;
}

.footer-socials img {
  width: 38px;
  height: 38px;
}

.social-tag{
  color: var(--primary);
  font-weight: 800;
}

.footer-promo-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-trust-row {
  display: flex;
  align-items: center;
  gap: 24px;
    width: min(100%, 620px);
  grid-template-columns: 1fr 1fr;
}

.footer-trust-row .footer-promo-item {
  flex: 1;
}
.footer-icon-img {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  object-fit: contain;
}

.footer-promo-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-promo-item p {
  margin: 0;
  line-height: 1.25;
}
.footer-legal {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 5px;
  font-size: 0.8rem;
}
.footer-legal p {
  margin: 0;
}


