/* Product Page - aptekamiodowa */
#product {
  padding: 20px 0;
}
/* Breadcrumbs */
.breadcrumb {
  font-size: 12px;
  color: #999;
  margin-bottom: 20px;
}
.breadcrumb a {
  color: #999;
  text-decoration: none;
}
.breadcrumb a:hover {
  color: #e8a000;
}
.breadcrumb span {
  margin: 0 5px;
}
/* Product layout */
.pb-left-column {
  position: relative;
}
/* Product images */
#image-block {
  margin-bottom: 15px;
  border: 1px solid #eee;
  border-radius: 4px;
  overflow: hidden;
  text-align: center;
  background: #fff;
}
#image-block img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}
#thumbs_list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
#thumbs_list li {
  list-style: none;
}
#thumbs_list li a {
  display: block;
  width: 70px;
  height: 70px;
  border: 2px solid #eee;
  border-radius: 3px;
  overflow: hidden;
  transition: border-color 0.2s;
}
#thumbs_list li a:hover,
#thumbs_list li a.shown {
  border-color: #e8a000;
}
#thumbs_list li a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/* Product info */
.pb-right-column h1 {
  font-size: 22px;
  color: #333;
  margin-bottom: 8px;
  line-height: 1.3;
}
.pb-right-column .manufacturer-name {
  font-size: 12px;
  color: #888;
  margin-bottom: 12px;
}
.pb-right-column .manufacturer-name a {
  color: #e8a000;
  text-decoration: none;
}
/* Price block */
#our_price_display {
  font-size: 28px;
  font-weight: bold;
  color: #e8a000;
}
#old_price {
  font-size: 16px;
  color: #999;
  text-decoration: line-through;
  margin-right: 8px;
}
.discount-percentage {
  display: inline-block;
  background: #e74c3c;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 3px;
  margin-left: 8px;
}
.tax-shipping-info {
  font-size: 11px;
  color: #999;
  margin-top: 4px;
}
/* Product availability */
#availability_value {
  font-size: 13px;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 3px;
  display: inline-block;
}
.available {
  background: #dff0d8;
  color: #3c763d;
}
.last-remaining-items {
  background: #fcf8e3;
  color: #8a6d3b;
}
.out-of-stock {
  background: #f2dede;
  color: #a94442;
}
/* Quantity */
#quantity_wanted_p {
  margin: 15px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
#quantity_wanted_p label {
  font-size: 13px;
  color: #555;
  font-weight: 600;
}
.cart_quantity_button {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 3px;
  overflow: hidden;
}
.cart_quantity_button .cart_quantity_up,
.cart_quantity_button .cart_quantity_down {
  width: 28px;
  height: 34px;
  line-height: 34px;
  text-align: center;
  background: #f5f5f5;
  cursor: pointer;
  font-size: 16px;
  color: #555;
  user-select: none;
  transition: background 0.15s;
}
.cart_quantity_button .cart_quantity_up:hover,
.cart_quantity_button .cart_quantity_down:hover {
  background: #e8a000;
  color: #fff;
}
#quantity_wanted {
  width: 50px;
  height: 34px;
  text-align: center;
  border: none;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  font-size: 14px;
  color: #333;
}
/* Add to cart */
#add_to_cart {
  margin: 15px 0;
}
#add_to_cart button {
  background: #e8a000;
  color: #fff;
  border: none;
  padding: 12px 30px;
  font-size: 15px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
  font-weight: bold;
}
#add_to_cart button:hover {
  background: #cc8c00;
}
#add_to_cart button:disabled {
  background: #ccc;
  cursor: not-allowed;
}
/* Product actions */
.product-actions {
  display: flex;
  gap: 10px;
  margin: 10px 0 15px;
}
.product-actions a {
  font-size: 12px;
  color: #777;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border: 1px solid #ddd;
  border-radius: 3px;
  transition: all 0.2s;
}
.product-actions a:hover {
  color: #e8a000;
  border-color: #e8a000;
}
/* Short description */
#short_description_block {
  margin: 15px 0;
  padding: 15px;
  background: #f9f9f9;
  border-left: 3px solid #e8a000;
  border-radius: 0 4px 4px 0;
}
#short_description_content {
  font-size: 13px;
  color: #555;
  line-height: 1.6;
}
/* Product attributes */
#attributes {
  margin: 15px 0;
}
.attribute_list {
  margin-bottom: 12px;
}
.attribute_list label {
  display: block;
  font-size: 13px;
  color: #555;
  font-weight: 600;
  margin-bottom: 6px;
}
.attribute_list ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.attribute_list ul li a,
.attribute_list ul li span {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-size: 12px;
  color: #555;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}
.attribute_list ul li a:hover,
.attribute_list ul li.selected a {
  background: #e8a000;
  border-color: #e8a000;
  color: #fff;
}
/* Product tabs */
#idTab1, #more_info_block {
  margin-top: 30px;
}
.product-tabs {
  border-bottom: 2px solid #e8a000;
  margin-bottom: 0;
  display: flex;
  flex-wrap: wrap;
}
.product-tabs li {
  list-style: none;
}
.product-tabs li a {
  display: block;
  padding: 10px 20px;
  color: #555;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid transparent;
  border-bottom: none;
  border-radius: 4px 4px 0 0;
  margin-bottom: -2px;
  transition: all 0.2s;
}
.product-tabs li a:hover {
  color: #e8a000;
  background: #fff9ee;
}
.product-tabs li.active a,
.product-tabs li a.selected {
  background: #fff;
  border-color: #e8a000 #e8a000 #fff;
  color: #e8a000;
}
.tab-content {
  background: #fff;
  border: 1px solid #eee;
  border-top: none;
  padding: 20px;
  border-radius: 0 0 4px 4px;
}
.tab-content .tab-pane {
  display: none;
}
.tab-content .tab-pane.active {
  display: block;
}
/* Description tab */
#idTab1 p,
.tab-content p {
  font-size: 13px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 12px;
}
.tab-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.tab-content table tr:nth-child(even) {
  background: #f9f9f9;
}
.tab-content table td {
  padding: 8px 12px;
  border: 1px solid #eee;
  color: #555;
}
.tab-content table td:first-child {
  font-weight: 600;
  width: 35%;
  color: #333;
}
/* Reviews */
#product_comments_block_tab {
  margin-top: 0;
}
.comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.comment-list li {
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}
.comment-list li:last-child {
  border-bottom: none;
}
.comment-author {
  font-weight: bold;
  font-size: 13px;
  color: #333;
  margin-bottom: 4px;
}
.comment-date {
  font-size: 11px;
  color: #999;
  margin-bottom: 8px;
}
.comment-content {
  font-size: 13px;
  color: #555;
  line-height: 1.6;
}
.star-rating {
  color: #e8a000;
  font-size: 14px;
  margin-bottom: 5px;
}
/* Related products */
.related-products {
  margin-top: 30px;
}
.related-products h3 {
  font-size: 18px;
  color: #333;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e8a000;
}

@media (max-width: 768px) {
  .pb-right-column h1 {
    font-size: 18px;
  }
  #our_price_display {
    font-size: 22px;
  }
}
