/*
 Theme Name:   Astra Child - Jewelry Store
 Theme URI:    https://yourdomain.com
 Description:  Custom lightweight theme for artificial jewelry store
 Author:       Your Name
 Author URI:   https://yourdomain.com
 Template:     astra
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  astra-child
*/

:root {
  --primary-color: #ea3068;
  --secondary-color: #f5f5f5;
  --text-dark: #333;
  --text-light: #666;
  --white: #ffffff;
  --light-gray: #f9f9f9;
}

/* GENERAL STYLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
}

/* HEADER & NAVIGATION */
.site-header {
  background-color: var(--white);
  border-bottom: 1px solid #eee;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.site-logo img {
  max-width: 150px;
  height: auto;
}

.site-navigation ul {
  list-style: none;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.site-navigation a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.site-navigation a:hover {
  color: var(--primary-color);
}

/* TOP BANNER */
.top-banner {
  background-color: var(--primary-color);
  color: var(--white);
  text-align: center;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  animation: slide 30s infinite linear;
}

@keyframes slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* SLIDER/CAROUSEL */
.hero-slider {
  position: relative;
  overflow: hidden;
  margin-bottom: 40px;
}

.hero-slider img {
  width: 100%;
  height: auto;
  display: block;
}

.slider-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.slider-dot.active {
  background-color: var(--primary-color);
}

/* PRODUCTS GRID */
.products-section {
  margin: 60px 0;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.view-all-link {
  color: var(--text-light);
  text-decoration: none;
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 600;
  float: right;
}

.view-all-link:hover {
  color: var(--primary-color);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

/* PRODUCT CARD */
.product-card {
  background-color: var(--white);
  border: 1px solid #f0f0f0;
  transition: all 0.3s ease;
  position: relative;
}

.product-card:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transform: translateY(-5px);
}

.product-image {
  position: relative;
  overflow: hidden;
  height: 300px;
  background-color: var(--light-gray);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 10;
}

.quick-view-btn {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 10px 25px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
}

.product-card:hover .quick-view-btn {
  opacity: 1;
}

.quick-view-btn:hover {
  background-color: #d1245a;
}

.product-info {
  padding: 20px;
}

.product-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.4;
  min-height: 40px;
}

.product-price {
  display: flex;
  gap: 10px;
  align-items: center;
}

.price-original {
  color: var(--text-light);
  text-decoration: line-through;
  font-size: 13px;
}

.price-sale {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-color);
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
  .site-navigation ul {
    flex-direction: column;
    gap: 15px;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
  }

  .product-image {
    height: 200px;
  }

  .section-title {
    font-size: 20px;
  }

  .view-all-link {
    float: none;
    display: block;
    margin-top: 10px;
  }
}

/* FOOTER */
.site-footer {
  background-color: var(--text-dark);
  color: var(--white);
  padding: 50px 20px 20px;
  margin-top: 80px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.footer-section h3 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.footer-section ul {
  list-style: none;
}

.footer-section a {
  color: #ccc;
  text-decoration: none;
  font-size: 13px;
  line-height: 2;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary-color);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background-color: rgba(255,255,255,0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 12px;
  color: #999;
}

/* WOOCOMMERCE CUSTOMIZATIONS */
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  list-style: none;
}

.woocommerce-Price-amount {
  font-weight: 700;
  color: var(--primary-color);
}

.woocommerce-variation-price {
  display: block;
  margin: 10px 0;
}

/* ADD TO CART BUTTON */
.product-add-to-cart .button {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 12px 30px;
  font-weight: 600;
  width: 100%;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.product-add-to-cart .button:hover {
  background-color: #d1245a;
}

/* CART & CHECKOUT */
.woocommerce-cart table {
  width: 100%;
  border-collapse: collapse;
}

.woocommerce-cart table th,
.woocommerce-cart table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.woocommerce-cart table th {
  background-color: var(--light-gray);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
}

/* LOADING ANIMATION */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(234, 48, 104, 0.3);
  border-radius: 50%;
  border-top-color: var(--primary-color);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}/*
 Theme Name:   Astra Child - Jewelry Store
 Theme URI:    https://yourdomain.com
 Description:  Custom lightweight theme for artificial jewelry store
 Author:       Your Name
 Author URI:   https://yourdomain.com
 Template:     astra
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  astra-child
*/

:root {
  --primary-color: #ea3068;
  --secondary-color: #f5f5f5;
  --text-dark: #333;
  --text-light: #666;
  --white: #ffffff;
  --light-gray: #f9f9f9;
}

/* GENERAL STYLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
}

/* HEADER & NAVIGATION */
.site-header {
  background-color: var(--white);
  border-bottom: 1px solid #eee;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.site-logo img {
  max-width: 150px;
  height: auto;
}

.site-navigation ul {
  list-style: none;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.site-navigation a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.site-navigation a:hover {
  color: var(--primary-color);
}

/* TOP BANNER */
.top-banner {
  background-color: var(--primary-color);
  color: var(--white);
  text-align: center;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  animation: slide 30s infinite linear;
}

@keyframes slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* SLIDER/CAROUSEL */
.hero-slider {
  position: relative;
  overflow: hidden;
  margin-bottom: 40px;
}

.hero-slider img {
  width: 100%;
  height: auto;
  display: block;
}

.slider-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.slider-dot.active {
  background-color: var(--primary-color);
}

/* PRODUCTS GRID */
.products-section {
  margin: 60px 0;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.view-all-link {
  color: var(--text-light);
  text-decoration: none;
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 600;
  float: right;
}

.view-all-link:hover {
  color: var(--primary-color);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

/* PRODUCT CARD */
.product-card {
  background-color: var(--white);
  border: 1px solid #f0f0f0;
  transition: all 0.3s ease;
  position: relative;
}

.product-card:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transform: translateY(-5px);
}

.product-image {
  position: relative;
  overflow: hidden;
  height: 300px;
  background-color: var(--light-gray);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 10;
}

.quick-view-btn {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 10px 25px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
}

.product-card:hover .quick-view-btn {
  opacity: 1;
}

.quick-view-btn:hover {
  background-color: #d1245a;
}

.product-info {
  padding: 20px;
}

.product-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.4;
  min-height: 40px;
}

.product-price {
  display: flex;
  gap: 10px;
  align-items: center;
}

.price-original {
  color: var(--text-light);
  text-decoration: line-through;
  font-size: 13px;
}

.price-sale {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-color);
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
  .site-navigation ul {
    flex-direction: column;
    gap: 15px;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
  }

  .product-image {
    height: 200px;
  }

  .section-title {
    font-size: 20px;
  }

  .view-all-link {
    float: none;
    display: block;
    margin-top: 10px;
  }
}

/* FOOTER */
.site-footer {
  background-color: var(--text-dark);
  color: var(--white);
  padding: 50px 20px 20px;
  margin-top: 80px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.footer-section h3 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.footer-section ul {
  list-style: none;
}

.footer-section a {
  color: #ccc;
  text-decoration: none;
  font-size: 13px;
  line-height: 2;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary-color);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background-color: rgba(255,255,255,0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 12px;
  color: #999;
}

/* WOOCOMMERCE CUSTOMIZATIONS */
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  list-style: none;
}

.woocommerce-Price-amount {
  font-weight: 700;
  color: var(--primary-color);
}

.woocommerce-variation-price {
  display: block;
  margin: 10px 0;
}

/* ADD TO CART BUTTON */
.product-add-to-cart .button {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 12px 30px;
  font-weight: 600;
  width: 100%;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.product-add-to-cart .button:hover {
  background-color: #d1245a;
}

/* CART & CHECKOUT */
.woocommerce-cart table {
  width: 100%;
  border-collapse: collapse;
}

.woocommerce-cart table th,
.woocommerce-cart table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.woocommerce-cart table th {
  background-color: var(--light-gray);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
}

/* LOADING ANIMATION */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(234, 48, 104, 0.3);
  border-radius: 50%;
  border-top-color: var(--primary-color);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}