/*
Theme Name: GrindWoo
Author: Valentin
Description: Tema WooCommerce modernă inspirată de GrindLab, cu design black & white și accente vizuale premium.
Version: 1.0
Text Domain: grindwoo
*/

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #fff;
  color: #111;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
}
.container {
  width: 95%;
  max-width: 1280px;
  margin: 0 auto;
}

/* === HEADER === */
.topbar {
  background: #111;
  color: #fff;
  font-size: 13px;
  padding: 8px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.main-header {
  background: #000;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo img {
  max-height: 50px;
}
.main-menu .menu {
  display: flex;
  gap: 30px;
  list-style: none;
}
.main-menu .menu li a {
  color: #fff;
  font-weight: 600;
  transition: all 0.3s;
}
.main-menu .menu li a:hover {
  color: #ffcc00;
}
.header-icons a {
  color: #fff;
  margin-left: 20px;
  font-size: 18px;
  position: relative;
}
.cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: red;
  color: #fff;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 50%;
}
.social-side {
  position: fixed;
  left: 0;
  top: 35%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  z-index: 999;
}
.social-side a {
  background: #fff;
  border-radius: 50%;
  padding: 10px;
  color: #000;
  font-size: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: transform 0.3s;
}
.social-side a:hover {
  transform: scale(1.1);
}
.social-side .discount {
  transform: rotate(-90deg);
  background: #fff;
  color: #000;
  font-size: 11px;
  font-weight: bold;
  padding: 8px 14px;
  border-radius: 20px;
}

/* === Footer Top Cards === */
.footer-top {
  background: #fff;
  border-top: 1px solid #eee;
  padding: 30px 0;
}
.footer-cards {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-card {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
  min-width: 250px;
  font-size: 14px;
  color: #111;
}
.footer-card i {
  font-size: 24px;
  color: #000;
}

/* === Main Footer === */
.site-footer {
  background: #111;
  color: #fff;
  font-size: 14px;
}
.footer-main {
  padding: 50px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}
.footer-column h4 {
  font-size: 16px;
  margin-bottom: 15px;
}
.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-column ul li {
  margin-bottom: 8px;
}
.footer-column ul li a {
  color: #ccc;
  text-decoration: none;
}
.footer-column ul li a:hover {
  color: #fff;
}

/* === Newsletter === */
.newsletter-form {
  display: flex;
  margin-top: 10px;
}
.newsletter-form input {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 25px 0 0 25px;
  outline: none;
}
.newsletter-form button {
  background: #fff;
  color: #000;
  padding: 10px 16px;
  border: none;
  border-radius: 0 25px 25px 0;
  cursor: pointer;
}
.footer-socials {
  margin-top: 15px;
}
.footer-socials a {
  color: #fff;
  margin-right: 10px;
  font-size: 18px;
}

/* === Bottom Footer === */
.footer-bottom {
  background: #000;
  padding: 15px 0;
}
.footer-bottom-flex {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.footer-bottom-flex p {
  margin: 0;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  padding: 0;
  list-style: none;
}
.footer-links li a {
  color: #888;
  text-decoration: none;
  font-size: 13px;
}
.footer-links li a:hover {
  color: #fff;
}


/* === FOOTER ENHANCED === */

/* === Footer Fixes to Match GrindLab Style === */

/* Icons above each column */
.footer-column::before {
  content: '';
  display: block;
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 22px;
  color: #fff;
  margin-bottom: 10px;
}
.footer-column:nth-child(1)::before { content: '\f0d1'; } /* truck */
.footer-column:nth-child(2)::before { content: '\f0c0'; } /* users */
.footer-column:nth-child(3)::before { content: '\f023'; } /* lock */

.site-footer {
  background: #111;
  color: #fff;
}
.footer-main {
  padding: 60px 0 40px;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}
.footer-column h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
}
.footer-column ul {
  list-style: none;
  padding: 0;
}
.footer-column ul li {
  margin-bottom: 10px;
}
.footer-column ul li a {
  color: #bbb;
  transition: 0.2s ease;
}
.footer-column ul li a:hover {
  color: #fff;
}

/* Newsletter box */
.newsletter-form {
  display: flex;
  background: #fff;
  border-radius: 40px;
  overflow: hidden;
  margin-top: 10px;
  width: 100%;
  max-width: 350px;
}
.newsletter-form input {
  padding: 10px 15px;
  border: none;
  flex: 1;
  font-size: 14px;
}
.newsletter-form button {
  padding: 10px 16px;
  background: #111;
  color: #fff;
  border: none;
  cursor: pointer;
}
.footer-socials {
  margin-top: 15px;
}
.footer-socials a {
  margin-right: 10px;
  color: #fff;
  font-size: 18px;
}
.footer-bottom {
  background: #000;
  padding: 15px 0;
}
.footer-bottom-flex {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}
.footer-links li a {
  font-size: 13px;
  color: #888;
  text-decoration: none;
}
.footer-links li a:hover {
  color: #fff;
}


/* === Fix Font Awesome === */

.footer-column::before {
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 22px;
  color: #fff;
  margin-bottom: 10px;
  display: inline-block;
}


/* === SUPPLEMENT HOMEPAGE SECTIONS === */

/* === SAFE USE INTRO === */
.safe-use-intro {
  padding: 60px 20px 40px;
  background: #f8f8f8;
  text-align: center;
}
.safe-use-intro h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}
.safe-use-intro p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 16px;
  color: #444;
  line-height: 1.6;
}

/* === FEATURED PRODUCTS === */
.featured-products, .best-seller-highlight {
  padding: 60px 0;
  background: #fff;
}
.section-title {
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
}

/* === CATEGORY HIGHLIGHTS === */
.compound-categories {
  background: #f2f2f2;
  padding: 60px 0;
}
.category-grid {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}
.cat-box {
  width: 200px;
  text-align: center;
}
.cat-box img {
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  width: 100%;
}
.cat-box span {
  display: block;
  margin-top: 10px;
  font-weight: 600;
  font-size: 16px;
  color: #111;
}

/* === DISCLAIMER SECTION === */
.disclaimer-section {
  padding: 40px 20px;
  background: #111;
  color: #fff;
}
.disclaimer-section h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
}
.disclaimer-section p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 10px;
  color: #ddd;
}
