/* ======================================================
   WooCommerce Single Product Styling (Theme Integration)
   ====================================================== */

.product-single {
  margin: 60px 0;
  font-family: inherit;
  color: var(--text-color, #16284C);
}

/* ---------- Product Inner Layout ---------- */
.product-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
}

.product-gallery,
.product-summary {
  flex: 1;
  min-width: 320px;
}

.product-gallery {
  position: relative;
}

.product-gallery img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

/* ---------- Product Summary ---------- */
.product-summary h1.product_title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: inherit;
}

.product-summary .price {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent-color, #446F83);
  margin-bottom: 20px;
}

.product-summary .woocommerce-product-details__short-description {
  margin-bottom: 25px;
  line-height: 1.6;
}

.product-summary .cart {
  margin-bottom: 30px;
}

.product-summary .button {
  background: var(--accent-color, #446F83);
  color: #fff;
  font-weight: 600;
  border-radius: 6px;
  padding: 12px 28px;
  text-transform: uppercase;
  transition: 0.3s;
}

.product-summary .button:hover {
  background: var(--accent-hover-color, #16284C);
}

/* ---------- Tabs Section ---------- */
.product-tabs {
  margin-top: 60px;
  border-top: 1px solid #e5e5e5;
  padding-top: 40px;
}

.woocommerce-tabs ul.tabs {
  display: flex;
  gap: 20px;
  border-bottom: 2px solid #f1f1f1;
  margin-bottom: 30px;
  padding: 0;
  list-style: none;
}

.woocommerce-tabs ul.tabs li {
  margin: 0;
}

.woocommerce-tabs ul.tabs li a {
  display: inline-block;
  padding: 10px 18px;
  text-decoration: none;
  color: var(--text-color, #16284C);
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: 0.3s;
}

.woocommerce-tabs ul.tabs li.active a,
.woocommerce-tabs ul.tabs li a:hover {
  border-color: var(--accent-color, #446F83);
  color: var(--accent-color, #446F83);
}

.woocommerce-Tabs-panel {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .product-inner {
    flex-direction: column;
  }
}

/* ================================
   Shop / Archive Page Styling
   ================================ */

.shop-archive {
  margin: 60px 0;
}

.shop-header {
  text-align: center;
  margin-bottom: 40px;
}

.shop-header .shop-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-color, #16284C);
}

/* Filters + Sorting Bar */
.shop-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 30px;
}

/* Result Count (Left) */
.shop-tools .woocommerce-result-count {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-color, #16284C);
}

/* Dropdown (Right) */
.shop-tools .woocommerce-ordering {
  margin: 0;
}

.shop-tools .woocommerce-ordering select.orderby {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  font-size: 0.95rem;
  color: var(--text-color, #16284C);
  cursor: pointer;
  transition: 0.2s;
}

.shop-tools .woocommerce-ordering select.orderby:hover {
  border-color: var(--accent-color, #446F83);
}

/* Responsive */
@media (max-width: 600px) {
  .shop-tools {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .shop-tools .woocommerce-ordering select.orderby {
    width: 100%;
  }
}
/* Product Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.product-card {
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  background: #fff;
  transition: 0.3s;
}

.product-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.product-thumb img {
  border-radius: 8px;
  margin-bottom: 15px;
}

.product-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.product-title a {
  text-decoration: none;
  color: var(--text-color, #16284C);
}

.product-price {
  font-weight: 700;
  color: var(--accent-color, #446F83);
  margin-bottom: 10px;
}

.product-button .button {
  background: var(--accent-color, #446F83);
  color: #fff;
  border-radius: 6px;
  padding: 8px 20px;
  font-size: 0.9rem;
  transition: 0.3s;
}

.product-button .button:hover {
  background: var(--accent-hover-color, #16284C);
}

.shop-pagination {
  margin-top: 50px;
  text-align: center;
}

/* Responsive */
@media (max-width: 767px) {
  .shop-tools {
    flex-direction: column;
    align-items: flex-start;
  }
}
