/*
Theme Name: Company
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}
/* === CARD TRONG DANH SÁCH SẢN PHẨM === */
.custom-card-product {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  padding: 0;
  list-style: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s;
}
.custom-card-product:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.custom-card-image {
  position: relative;
}
.custom-card-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.custom-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #f26b22;
  color: #fff;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8em;
}

.custom-card-body {
  padding: 15px;
  text-align: left;
}
.custom-title {
  color: #f26b22;
  font-size: 1.1em;
  margin-bottom: 5px;
}
.custom-price {
  color: #2b3e75;
  font-style: italic;
  font-size: 0.95em;
}

.custom-card-footer {
  padding: 10px 15px;
  border-top: 1px solid #eee;
  text-align: center;
}
.custom-card-footer .button {
  background-color: #f26b22;
  color: #fff;
  border-radius: 5px;
  padding: 8px 20px;
  font-weight: bold;
  text-transform: uppercase;
  transition: 0.2s;
}
.custom-card-footer .button:hover {
  background-color: #e85c19;
}

/* === SINGLE PRODUCT PAGE === */
.custom-single-title {
  color: #f26b22;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 10px;
}

.custom-price {
  color: #f26b22;
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 15px;
}

.custom-short-description {
  color: #2b3e75;
  font-style: italic;
  margin-bottom: 20px;
}

.custom-cart-button {
  background-color: #f26b22;
  color: #fff;
  padding: 12px 25px;
  border-radius: 5px;
  text-transform: uppercase;
  font-weight: bold;
  transition: 0.2s;
}
.custom-cart-button:hover {
  background-color: #e85c19;
}

/* === RESPONSIVE FIX === */
@media(max-width: 768px) {
  .custom-card-product {
    max-width: 100%;
  }
}
