/*
Theme Name: Ananke Child
Template: ananke
*/

/* Container Styling Fixes */
.woocommerce-container {
  margin-top: 20px;
}

/* Widen the container for single products */
.product-container-wide {
  width: 90%;
  max-width: 1600px;
  margin: 0 auto;
}

/* Ensure columns don't restrict width in the wide container */
.product-container-wide .twelve.columns {
  width: 100%;
  margin-left: 0;
}

/* Product Gallery and Summary Spacing */
.woocommerce div.product div.images,
.woocommerce div.product div.summary {
  margin-bottom: 40px;
}

/* Force Left Alignment for Product Title */
.woocommerce div.product .product_title {
  text-align: left;
  margin-left: 0;
  font-size: 26px;
  margin-bottom: 15px;
  color: #333;
}

/* Hide Description Tab Heading */
.woocommerce-Tabs-panel--description h2 {
  display: none;
}

/* Contact Info Styling */
.product-contact-info {
  background: #fff;
  padding: 30px;
  border: 1px solid #eee;
  border-radius: 8px; /* Rounded corners */
  margin-top: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); /* Soft shadow */
}

.product-contact-info h3 {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  color: #222;
}

.product-contact-info p {
  margin-bottom: 20px;
  font-size: 17px;
  color: #777;
  line-height: 1.6;
}

.product-contact-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-contact-info ul li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  font-size: 17px;
  padding-bottom: 15px;
  border-bottom: 1px solid #f5f5f5;
}

.product-contact-info ul li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.product-contact-info ul li i {
  width: 30px;
  color: #d4a017; /* Gold/Premium accent color */
  font-size: 18px;
  text-align: center;
  margin-right: 10px;
}

.product-contact-info ul li strong {
  margin-right: 8px;
  color: #333;
  font-weight: 600;
}

.product-contact-info ul li a {
  text-decoration: none;
  color: #555;
  transition: all 0.3s ease;
}

.product-contact-info ul li a:hover {
  color: #d4a017;
}

/* Hide annoying meta if needed or style it down */
.product_meta {
  margin-top: 30px;
  font-size: 13px;
  color: #aaa;
  border-top: 1px solid #eee;
}

/* Description Tab Typography Polish - Refined */
.woocommerce-Tabs-panel--description {
  padding: 10px 0;
}

.woocommerce-Tabs-panel--description p {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 15px;
  color: #444;
}

/* Ensure the main 'Description' tab title remains hidden */
.woocommerce-Tabs-panel--description > h2:first-child {
  display: none !important;
}

/* Style specific user-added headings inside description content */
.woocommerce-Tabs-panel--description h3,
.woocommerce-Tabs-panel--description h4,
.woocommerce-Tabs-panel--description h5 {
  text-align: left;
  margin-top: 25px;
  margin-bottom: 10px;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
}

.woocommerce-Tabs-panel--description h3 {
  font-size: 20px;
}
.woocommerce-Tabs-panel--description h4 {
  font-size: 18px;
}
.woocommerce-Tabs-panel--description h5 {
  font-size: 16px;
}

/* Stylish Bullet Lists in Description */
.woocommerce-Tabs-panel--description ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.woocommerce-Tabs-panel--description ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  font-size: 17px;
  line-height: 1.6;
  color: #444;
}

.woocommerce-Tabs-panel--description ul li:before {
  content: "\f00c"; /* FontAwesome check */
  font-family: FontAwesome;
  position: absolute;
  left: 0;
  top: 5px;
  color: #d4a017;
  font-size: 14px;
}

/* Encode Price Styling to make it stand out */
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  font-size: 26px;
  color: #222;
  font-weight: 700;
  margin-bottom: 25px;
  letter-spacing: 0.5px;
}

.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins {
  text-decoration: none;
  color: #d4a017;
  font-weight: 800;
}

.woocommerce div.product p.price del,
.woocommerce div.product span.price del {
  opacity: 0.5;
  font-size: 18px;
  font-weight: 400;
}

/* Limit Header Short Description to 2 Lines */
#blog-single-product .sub-text,
#blog-woocommerce .sub-text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 3.2em; /* Fallback */
  line-height: 1.6em;
}

/* Increase Breadcrumb Font Size */
.woocommerce-breadcrumb {
  font-size: 17px !important;
  color: #444;
  margin-bottom: 20px;
}

.woocommerce-breadcrumb a {
  color: #444;
  text-decoration: none;
}

/* Archive Product Layout Polish */
.post-type-archive-product .woocommerce-products-header {
  display: none; /* Hide default WC header since we have Parallax */
}
