/*
Theme Name: Elementra Child Theme
Template: elementra
Theme URI: https://elementra.themerex.net/
Description: Elementra Child Theme
Author: ThemeREX
Author URI: https://themerex.net/
Version: 1.0
Tested up to: 6.7
Requires at least: 5.0
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, e-commerce, portfolio, grid-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks
Text Domain: elementra
*/


/* =Child-Theme customization starts here
------------------------------------------------------------ */

@font-face{
  font-family: "Russoile Grunge";
  src: url("/wp-content/themes/elementra-child/assets/fonts/rusoile-grunge.woff2") format("woff2"),
       url("/wp-content/themes/elementra-child/assets/fonts/rusoile-grunge.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

#lansare_website .elementor-field-group.elementor-field-type-submit{
	align-items: flex-start !important;
} 

/* Rotație infinită */
.spin {
  display: inline-block;
  animation: spin 12s linear infinite; 
  transform-origin: 50% 50%;
  will-change: transform;
}
  
/* Variante de viteză (opțional) */
.spin--slow  { animation-duration: 12s; }
.spin--fast  { animation-duration: 3s; }

/* Pauză la hover (opțional) */
.spin:hover { animation-play-state: paused; }

/* Respectă preferința userilor cu motion redus */
@media (prefers-reduced-motion: reduce) {
  .spin, .spin--slow, .spin--fast { animation: none; }
}

/* Keyframes */
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Pune în Customizer → Additional CSS sau în style.css din tema child */
.single-product .content_wrap,
.single-product .content{
  max-width: 100% !important;
	width:100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Pentru Elementor să poată întinde la 100% */
.single-product .elementor-section.elementor-section-boxed > .elementor-container {
  max-width: 100% !important;
}

.single-product .page_content_wrap{
	padding-bottom:0px;
} 

.wc-nutritie-box{
  margin:16px 0 24px; 
} 
.wc-nutritie-table{ 
  list-style:none; margin:0; padding:0;
  display:grid; gap:6px;
}
.wc-n-row{
  display:grid; grid-template-columns: 1fr auto; /* nume stânga, valoare dreapta */
  align-items:center; gap:12px;
  padding:8px 10px; border-bottom:1px solid #E4E4E7;
}
.wc-n-row:nth-child(odd){ background:#fdfdfd; }
.wc-n-key{ font-weight:500; }
.wc-n-val{ text-align:right; white-space:nowrap; font-variant-numeric: tabular-nums; }

/* Mobile fine-tune */
@media (max-width:480px){
  .wc-n-row{ grid-template-columns: 1fr auto; }
}

.wc-alergeni-box{
  margin: 16px 0 24px;  
} 
.wc-alergeni-list{
	padding-left:0px;
  margin: 0;
  list-style-type: none; 
}


.meniu-box{
	 position: relative; 
}

.meniu-item .elementor-heading-title:hover a::after{
	content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;              
  height: 11px;                   
  background-image: url("/wp-content/uploads/2025/10/zigzag.png");
  background-repeat: repeat-x;   
  background-position: left bottom;
  background-size: auto 11px;    
  pointer-events: none;
}