/*
Theme Name: Grshop Child
Template: grshop-grocery
Version: 1.0
*/

.hp-whatsapp-float{
  position:fixed;
  right:20px;
  bottom:20px;
  background:#25D366;
  width:56px;
  height:56px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 10px 25px rgba(0,0,0,.25);
  z-index:9999;
  transition:transform .2s ease;
}

.hp-whatsapp-float:hover{
  transform:scale(1.08);
}

/* =========================
   PRODUCT PAGE – SHOPIFY STYLE
========================= */

.hp-product-page{
  margin:40px auto;
}

.hp-product-grid{
  display:grid;
  grid-template-columns:55% 45%;
  gap:40px;
}

/* IMAGE */
.hp-product-image img{
  border-radius:14px;
}

/* SUMMARY */
.hp-product-summary h1{
  font-size:26px;
  margin-bottom:10px;
}

.hp-product-summary .price{
  font-size:22px;
  color:#6a1b9a;
  margin-bottom:14px;
}

/* VARIATIONS AS PILLS */
.variations td.value select{
  display:none;
}

.variation-radios input{
  display:none;
}

.variation-radios label{
  padding:8px 14px;
  border-radius:20px;
  border:1px solid #ccc;
  cursor:pointer;
  font-size:13px;
  margin:4px;
  display:inline-block;
}

.variation-radios input:checked + label{
  background:#6a1b9a;
  color:#fff;
  border-color:#6a1b9a;
}

/* CTA */
.single_add_to_cart_button{
  background:#6a1b9a !important;
  padding:14px;
  font-size:16px;
  border-radius:8px;
  width:100%;
  margin-top:10px;
}

/* TRUST */
.hp-trust-badges{
  display:flex;
  gap:18px;
  margin-top:16px;
  font-size:13px;
  color:#555;
}

/* TABS */
.hp-product-tabs{
  margin-top:40px;
}

.woocommerce-tabs ul.tabs{
  border:none;
}

.woocommerce-tabs ul.tabs li{
  border:none;
  background:#f5f5f5;
  border-radius:20px;
  margin-right:10px;
}

.woocommerce-tabs ul.tabs li.active{
  background:#6a1b9a;
  color:#fff;
}

/* MOBILE */
@media(max-width:768px){
  .hp-product-grid{
    grid-template-columns:1fr;
  }
}

.variation-radios{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:10px 0;
}

.variation-radios input{
  display:none;
}

.variation-radios label{
  padding:8px 14px;
  border:1px solid #ddd;
  border-radius:6px;
  cursor:pointer;
  font-size:13px;
  background:#fff;
  transition:.2s;
}

.variation-radios input:checked + label{
  background:#7b1d3a;
  border-color:#7b1d3a;
  color:#fff;
}

.variation-radios label:hover{
  border-color:#7b1d3a;
}

/* Center align product description content */
.single-product .woocommerce-Tabs-panel--description {
    text-align: center;
}

/* Center headings inside description */
.single-product .woocommerce-Tabs-panel--description h1,
.single-product .woocommerce-Tabs-panel--description h2,
.single-product .woocommerce-Tabs-panel--description h3,
.single-product .woocommerce-Tabs-panel--description h4 {
    text-align: center;
}

/* Center lists (optional) */
.single-product .woocommerce-Tabs-panel--description ul,
.single-product .woocommerce-Tabs-panel--description ol {
    display: inline-block;
    text-align: left; /* keeps list readable */
}

.single-product .woocommerce-Tabs-panel {
    text-align: center;
}
