/* =======================================================================
   THEME VARIABLES
   ======================================================================= */
:root{
  --primary:#4f46e5;
  --muted:#6b7280;
  --border:#e5e7eb;
  --bg-soft:#fafafa;
  --radius:12px;
}

/* =======================================================================
   RESET
   ======================================================================= */
*,*::before,*::after{box-sizing:border-box}
body{margin:0;font-family:system-ui,Arial,sans-serif;color:#111;line-height:1.6}

/* =======================================================================
   OUTER WRAPPER
   ======================================================================= */
.product-container{max-width:1180px;margin:0 auto;padding:2rem 1rem}
.hero-section{display:flex;flex-wrap:nowrap;gap:2rem;margin-bottom:3rem;flex-direction:row}
.hero-left{flex:1 1 550px;min-width:650px}
.hero-right-content{flex:1 1 380px;min-width:260px;display:flex;flex-direction:column;gap:5px;padding:10px 30px 30px;border:1px solid var(--border);border-radius:var(--radius);background:#fff;margin-bottom:10px}
.additional-info{display:flex;flex-direction:column;gap:0;padding:10px 30px 15px;border:1px solid var(--border);border-radius:var(--radius);background:#fff;margin-bottom:10px;line-height:2px}

.hero-right h1{font-size:23px;line-height:27px;margin:3px auto!important; color:#333 !important;}
.short-description p{    margin: 0 0 1.4rem;
    font-size: .98rem;
color: #374151;
    font-family: "DM Sans", sans-serif;

}
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) .woocommerce-breadcrumb{padding-left:10px}
.review-count{margin-top:10px}
.reviews{display:flex;align-items:center;justify-content:flex-start;gap:8px}

/* =======================================================================
   PRICE + TAGS
   ======================================================================= */
.price{font-size:1.4rem;font-weight:700;display:flex;align-items:center;gap:.75rem}
.price .regular{color:var(--muted);text-decoration:line-through;font-size:.95rem}
.price .discount{background:#22c55e;color:#fff;font-size:.7rem;padding:.15rem .45rem;border-radius:4px}
.tags span{display:inline-block;background:#f3f4f6;padding:.25rem .6rem;margin:.2rem;border-radius:4px;font-size:.75rem}

/* =======================================================================
   BUTTONS
   ======================================================================= */
.button{display:inline-flex;align-items:center;justify-content:center;padding:.5rem 1rem;border-radius:50px !important;font-weight:600;text-decoration:none;transition:.2s;user-select:none; font-size:14px !important;}
.button:hover{transform:translateY(-1px)}
.buy-now{background:#111;color:#fff}
.demo-btn{background:#fff;border:1px solid var(--border)}
.demo-btn:hover{background:var(--bg-soft)}

.buttons{display:flex;gap:10px;width:100%}
.demo-btn,.buy-now{padding:12px 30px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:10px;border-radius:5px!important;color:white!important;width:100%}
.demo-btn{background:rgb(22 163 74)!important}
.buy-now{background:#4f46e5!important}

/* =======================================================================
   GALLERY
   ======================================================================= */
.hero-gallery{position:relative;width:100%;overflow:hidden!important}
.gallery-track{display:flex;transition:transform .45s ease;height:auto!important}
.gallery-slide{width:100%;min-width:100%;height:auto!important;flex-shrink:0;display:flex;justify-content:center;align-items:center}
.gallery-slide img{border-radius:10px;width:100%;height:auto;object-fit:contain;display:block}
.gallery-dots{position:absolute;bottom:20px;left:50%;transform:translateX(-50%);z-index:10}
.gallery-dots .dot.active,.gallery-dots .dot:hover{background:var(--primary)}
.hero-gallery.has-gallery .gallery-track{cursor:grab}
.hero-gallery.has-gallery .gallery-track:active{cursor:grabbing}
.hero-gallery:not(.has-gallery) .gallery-track{display:block}
.hero-gallery img{user-drag:none;user-select:none;pointer-events:none}
.product-images-left{padding:10px;border-radius:20px;box-shadow:rgba(0,0,0,0.04) 0px 3px 30px}

/* =======================================================================
   REVIEWS PANEL
   ======================================================================= */
#reviews{padding:1rem 0}
.woocommerce-Reviews .comment-list{margin:0 0 2rem;padding:0;list-style:none}
.woocommerce-Reviews .comment-list li{border-bottom:1px solid var(--border);padding:1rem 0}
.woocommerce-Reviews .comment-list li:last-child{border-bottom:none}
.woocommerce-Reviews .comment-list .comment-content{margin-top:.5rem;color:#444;font-size:.95rem}
.woocommerce-review__rating{color:var(--primary);font-size:1.1rem;margin-bottom:.5rem}
#review_form_wrapper{border-top:1px solid var(--border);padding-top:2rem}
#review_form{display:flex;flex-direction:column;gap:1rem}
#review_form textarea,#review_form input[type=text],#review_form input[type=email]{width:100%;padding:.75rem;border:1px solid var(--border);border-radius:6px;font-size:.95rem;resize:vertical}
.woocommerce-form-rating p.stars{margin:0 0 1rem}
.woocommerce-form-rating p.stars label{cursor:pointer;color:var(--muted)}
.woocommerce-form-rating p.stars label:hover,.woocommerce-form-rating p.stars label:hover~label,.woocommerce-form-rating p.stars .active{color:var(--primary)}

/* Submit Button Fix */
.woocommerce #review_form #respond .form-submit input{width:auto;background:var(--primary)!important;color:#fff;padding:.75rem 1.6rem!important;border:none;border-radius:999px!important;cursor:pointer;font-weight:600;font-size:.95rem!important;transition:background .2s,transform .15s}
.woocommerce #review_form #respond .form-submit input:hover{transform:translateY(-1px)}

/* =======================================================================
   TABS
   ======================================================================= */
.tab-system{margin-top:3rem}
.tabs{align-items:center;justify-content:center;list-style:none;display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1.25rem}
.tabs a:hover {
  background: #eef2ff;
  transform: translateY(-1px);
}
.tabs a {
  padding: .6rem 1.2rem;
  font-weight: 600;
  border-radius: 999px;
  background: var(--bg-soft);
  text-decoration: none;
  color: #111;
  font-size: .9rem;
  border: 1px solid transparent;
  transition: background .2s, color .2s, box-shadow .2s, transform .15s;
}
.tabs a.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 25px rgba(79, 70, 229, .35);
  border-color: transparent;
}

.tab-content>div{display:none;animation:fade .25s ease}
.tab-content>div.active{display:block}
@keyframes fade{from{opacity:0}to{opacity:1}}
.woocommerce-product-rating .woocommerce-review-link{display:none!important}
#features{white-space:normal}

/* =======================================================================
   VIDEO WRAPPER
   ======================================================================= */
.video-wrapper{position:relative;padding-bottom:56.25%;height:0;overflow:hidden;border-radius:var(--radius)}
.video-wrapper iframe{position:absolute;top:0;left:0;width:100%;height:100%}

/* =======================================================================
   FAQ ACCORDION
   ======================================================================= */
.faq-accordion details{border:1px solid var(--border);border-radius:var(--radius);margin:.6rem 0;background:#fff;overflow:hidden;transition:box-shadow .25s}
.faq-accordion details[open]{box-shadow:0 2px 6px rgba(0,0,0,.06)}
.faq-accordion summary{cursor:pointer;list-style:none;padding:1rem 1.25rem;font-weight:600;display:flex;justify-content:space-between;align-items:center}
.faq-accordion summary::-webkit-details-marker{display:none}
.faq-accordion summary::after{content:'▼';font-size:.8rem;color:var(--muted);transition:transform .25s}
.faq-accordion details[open] summary::after{transform:rotate(180deg)}
.faq-accordion .answer{padding:0 1.25rem 1rem;border-top:1px solid var(--border);font-size:.95rem}

/* =======================================================================
   RELATED PRODUCTS
   ======================================================================= */
.related-products h2{margin:3rem 0 1rem;font-size:1.5rem}

/* =======================================================================
   RESPONSIVE
   ======================================================================= */
@media(max-width:768px){
  .woocommerce-breadcrumb{display:none}
  .product-container{padding:10px 0}
  .tabs{flex-wrap:nowrap;justify-content:flex-start;margin-left:-30px!important;overflow-x:auto;scrollbar-width:none padding:15px !important}
  .tabs::-webkit-scrollbar{display:none}
  .hero-right-content{padding:15px 20px 15px}
  .tabs a{padding:.6rem 1rem;line-height:45px}
  .hero-right h1{font-size:18px;line-height:24px; color:#333;}
  .buttons{flex-direction:column}
  .product-actions{flex-direction:row!important}
  .hero-left{min-width:auto;flex:0}
  .hero-section{flex-direction:column}
  .hero-right{padding:0}
  .price{font-size:1.5rem}
	.hero-section{
		margin-bottom:10px !important
	}
	.tab-system{
		margin-top:0px;
	}
}
