
/* =========================
   ULTRA PRODUCT CARD
========================= */

.tr-card {
  list-style: none;
}

.tr-card-wrap {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  position: relative;
}

.tr-card-wrap:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.10);
}

/* IMAGE */

.tr-card-image {
  display: block;
  position: relative;
}

.tr-card-image img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform .3s;
}

.tr-card-wrap:hover img {
  transform: scale(1.05);
}

/* BADGES */

.tr-badge-sale {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #ff3b30;
  color: #fff;
  font-size: 12px;
  padding: 6px 9px;
  border-radius: 999px;
  font-weight: 700;
}

.tr-badge-condition {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #00c56e;
  color: #fff;
  font-size: 12px;
  padding: 6px 9px;
  border-radius: 999px;
  font-weight: 600;
}

/* WISHLIST */

.tr-wishlist {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: #fff;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  cursor: pointer;
}

/* BODY */

.tr-card-body {
  padding: 14px;
}

.tr-card-title {
  font-size: 15px;
  font-weight: 600;
  margin-
  
 }
/* =========================
   PRODUCT GRID
========================= */

.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}


/* ===============================
   RESET WOOCOMMERCE DEFAULT LIST
================================= */

ul.products,
.woocommerce ul.products {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Remove bullets */
ul.products li,
.woocommerce ul.products li {
  list-style: none !important;
}

/* ===============================
   PRODUCT GRID — DESKTOP
================================= */

.tr-deals-grid,
.tr-product-grid,
.woocommerce ul.products {

  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;

}


/* ===============================
   MOBILE — PERFECT GRID
================================= */

@media (max-width: 768px) {

  .tr-deals-grid,
  .tr-product-grid,
  .woocommerce ul.products {

    grid-template-columns: repeat(2, 1fr);
    gap: 14px;

  }

  .tr-card-img img,
  .woocommerce ul.products li.product img {
    height: 180px;
  }

}
/* =====================================
   NEW ARRIVALS / DEALS GRID
===================================== */

.tr-deals-grid,
.tr-product-grid {

  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;

}

/* MOBILE */

@media (max-width: 768px) {

  .tr-deals-grid,
  .tr-product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

}

/* =====================================
   PRODUCT CARD
===================================== */

.tr-card {

  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  padding: 12px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
  transition: .25s;
  position: relative;

}

.tr-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}

/* IMAGE */

.tr-card-img img {

  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 12px;

}

/* SALE BADGE */

.tr-sale {

  position: absolute;
  top: 12px;
  left: 12px;
  background: #ff4d4f;
  color: #fff;
  padding: 5px 10px;
  border-radius: 50px;
  font-size: 12px;

}

/* TITLE */

.tr-title {

  font-size: 15px;
  font-weight: 600;
  margin: 10px 0 6px;
  color: #111;

}

/* PRICE */

.tr-price {

  color: #0f9d58;
  font-weight: 700;
  margin-bottom: 8px;

}

/* BUTTON */

.tr-card .button {

  display: block;
  width: 100%;
  background: #0f9d58;
  color: #fff !important;
  border-radius: 8px;
  padding: 10px 0;
  font-weight: 600;
  text-align: center;

}

.tr-card .button:hover {
  background: #0c7f47;
}

/* REMOVE BULLETS FROM ANY LIST */

.tr-deals-grid,
.tr-product-grid {
  list-style: none !important;
}
.tr-card-img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
/* =====================================
   SINGLE PRODUCT — FULL WIDTH LAYOUT
===================================== */

.single-product .tr-container,
.single-product .container,
.single-product .site-main {
  max-width: 1300px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Remove theme sidebar layouts */

.single-product #primary,
.single-product .content-area {
  width: 100% !important;
}

.single-product aside,
.single-product .sidebar {
  display: none !important;
}
/* =====================================
   PRODUCT TOP SECTION — AMAZON STYLE
===================================== */

.single-product div.product {

  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;

}

/* MOBILE */

@media (max-width: 768px) {
  .single-product div.product {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}
/* PRODUCT IMAGE */

.single-product .woocommerce-product-gallery img {
  width: 100%;
  border-radius: 16px;
  background: #fff;
}
/* PRODUCT TITLE */

.single-product .product_title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
}

/* PRICE */

.single-product .price {
  font-size: 22px;
  font-weight: 700;
  color: #0f9d58;
  margin-bottom: 20px;
}

/* ADD TO CART */

.single-product .single_add_to_cart_button {
  background: #0f9d58 !important;
  border-radius: 10px !important;
  padding: 14px 28px !important;
  font-weight: 700;
  font-size: 16px;
}

.single-product .single_add_to_cart_button:hover {
  background: #0c7f47 !important;
}