Happy 80th Independence Day 🇮🇳

Toggle

Toggle

Tags: Liquid Codes, Toggle · 12 Aug 2026

Page: Product Pages (Optimized for Conversions)

Snippet Code

<style>
.zoya-accordion{
    font-family:'Poppins',sans-serif;
    width:100%;
    margin:25px auto;
}

.zoya-item{
    margin-bottom:14px;
    background:#ffffff;
    border:2px solid #f1f1f1;
    border-left:5px solid #c79a43;
    border-radius:14px;
    overflow:hidden;
    transition:.35s ease;
}

.zoya-item:hover{
    border-color:#c79a43;
    box-shadow:0 12px 30px rgba(199,154,67,.15);
}

.zoya-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:18px 22px;
    cursor:pointer;
    background:#fff;
    transition:.3s;
}

.zoya-item.active .zoya-header{
    background:linear-gradient(90deg,#fffaf2,#ffffff);
}

.zoya-title{
    display:flex;
    align-items:center;
    gap:12px;
    font-size:17px;
    font-weight:600;
    color:#222;
}

.zoya-title svg{
    width:22px;
    height:22px;
    color:#c79a43;
    flex-shrink:0;
}

.zoya-icon{
    width:34px;
    height:34px;
    border-radius:50%;
    background:#f7f3eb;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
    color:#c79a43;
    transition:.35s;
    font-weight:300;
}

.zoya-item.active .zoya-icon{
    transform:rotate(45deg);
    background:#c79a43;
    color:#fff;
}

.zoya-content{
    max-height:0;
    overflow:hidden;
    transition:max-height .4s ease,padding .35s ease;
    padding:0 22px;
    font-size:15px;
    color:#666;
    line-height:1.8;
    background:#fff;
}

.zoya-item.active .zoya-content{
    max-height:600px;
    padding:0 22px 22px;
}

@media(max-width:768px){

.zoya-header{
padding:16px;
}

.zoya-title{
font-size:15px;
}

.zoya-title svg{
width:18px;
height:18px;
}

.zoya-content{
font-size:14px;
padding:0 16px;
}

.zoya-item.active .zoya-content{
padding:0 16px 18px;
}

.zoya-icon{
width:30px;
height:30px;
font-size:20px;
}

}
</style>

<div class="zoya-accordion">

<div class="zoya-item">

<div class="zoya-header">

<div class="zoya-title">

<svg fill="none" stroke="currentColor" stroke-width="2" viewBox="0 0 24 24">
<path d="M4 19h16M4 5h16M4 12h16"/>
</svg>

Product Description

</div>

<div class="zoya-icon">+</div>

</div>

<div class="zoya-content">
{{ product.description }}
</div>

</div>

<div class="zoya-item">

<div class="zoya-header">

<div class="zoya-title">

<svg fill="none" stroke="currentColor" stroke-width="2" viewBox="0 0 24 24">
<path d="M12 21s8-4.35 8-11a8 8 0 10-16 0c0 6.65 8 11 8 11z"/>
</svg>

Occasion

</div>

<div class="zoya-icon">+</div>

</div>

<div class="zoya-content">
Perfect for weddings, festive wear, parties, celebrations and everyday elegance.
</div>

</div>

<div class="zoya-item">

<div class="zoya-header">

<div class="zoya-title">

<svg fill="none" stroke="currentColor" stroke-width="2" viewBox="0 0 24 24">
<path d="M12 8v4l3 3"/>
<circle cx="12" cy="12" r="9"/>
</svg>

Garment Care

</div>

<div class="zoya-icon">+</div>

</div>

<div class="zoya-content">
Dry clean preferred. Do not bleach. Steam iron on low heat. Store in a cool and dry place.
</div>

</div>

</div>

<script>
document.querySelectorAll(".zoya-header").forEach(header=>{
header.onclick=()=>{
const item=header.parentElement;
document.querySelectorAll(".zoya-item").forEach(i=>{
if(i!==item)i.classList.remove("active");
});
item.classList.toggle("active");
};
});
</script>

Instructions

Heyy Guys 👋
Watch the video below to learn how to Import these Codes into your Shopify Ecommerce Store!

Complete Video Tutorial: