templates/base.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html>
  3.     <head>
  4.         <meta charset="UTF-8">
  5.         <meta name="description" content="Ogani Template">
  6.         <meta name="keywords" content="Ogani, unica, creative, html">
  7.         <meta name="viewport" content="width=device-width, initial-scale=1.0">
  8.         <meta
  9.         http-equiv="X-UA-Compatible" content="ie=edge">
  10.         <!-- Favicons -->
  11.         <link href="{{asset('uploads/brochures/logo2_1.jpg')}}" rel="icon">
  12.         <title>{{ title|raw }}</title>
  13.         <!-- Google Font -->
  14.         <link
  15.         href="https://fonts.googleapis.com/css2?family=Cairo:wght@200;300;400;600;900&display=swap" rel="stylesheet">
  16.         <!-- Css Styles -->
  17.         <link rel="stylesheet" href="{{asset('ogani_master/css/bootstrap.min.css')}}" type="text/css">
  18.         <link rel="stylesheet" href="{{asset('ogani_master/css/font-awesome.min.css')}}" type="text/css">
  19.         <link rel="stylesheet" href="{{asset('ogani_master/css/elegant-icons.css')}}" type="text/css">
  20.         <link rel="stylesheet" href="{{asset('ogani_master/css/nice-select.css')}}" type="text/css">
  21.         <link rel="stylesheet" href="{{asset('ogani_master/css/jquery-ui.min.css')}}" type="text/css">
  22.         <link rel="stylesheet" href="{{asset('ogani_master/css/owl.carousel.min.css')}}" type="text/css">
  23.         <link rel="stylesheet" href="{{asset('ogani_master/css/slicknav.min.css')}}" type="text/css">
  24.         <link rel="stylesheet" href="{{asset('ogani_master/css/style.css')}}" type="text/css">
  25.         <link rel="stylesheet" href="{{asset('ogani_master/css/home.css')}}" type="text/css">
  26.         <link rel="stylesheet" href="{{asset('ogani_master/css/catalog.css')}}" type="text/css">
  27.         <!--<script>
  28.             document.addEventListener('DOMContentLoaded', function () {
  29.                 var currentStep = 1;
  30.                 var step1 = document.getElementById('gc-step-1');
  31.                 var step2 = document.getElementById('gc-step-2');
  32.                 var btnSuiv = document.getElementById('gc-btn-suiv');
  33.                 var btnPrec = document.getElementById('gc-btn-prec');
  34.                 var btnValider = document.getElementById('gc-btn-valider');
  35.                 function showStep(n) {
  36.                     currentStep = n;
  37.                     if (!step1 || !step2) return;
  38.                     if (n === 1) {
  39.                         step1.style.display = 'block';
  40.                         step2.style.display = 'none';
  41.                         btnSuiv.style.display = 'inline-block';
  42.                         btnPrec.style.display = 'none';
  43.                         btnValider.style.display = 'none';
  44.                     } else {
  45.                         step1.style.display = 'none';
  46.                         step2.style.display = 'block';
  47.                         btnSuiv.style.display = 'none';
  48.                         btnPrec.style.display = 'inline-block';
  49.                         btnValider.style.display = 'inline-block';
  50.                     }
  51.                 }
  52.                 // Quand on clique sur un produit en masse
  53.                 document.addEventListener('click', function (e) {
  54.                     var link = e.target.closest('.lien-grosse-commande');
  55.                     if (!link) return;
  56.                     // Remplit le titre + description
  57.                     var titre = link.dataset.produitLibelle || '';
  58.                     var desc = link.dataset.produitDescription || '';
  59.                     document.getElementById('gc_produit_titre').textContent = titre;
  60.                     document.getElementById('gc_produit_description').textContent = desc;
  61.                     // Id du produit
  62.                     document.getElementById('gc_input_produit_id').value = link.dataset.produitId || '';
  63.                     // Construit la liste des options de masse
  64.                     var container = document.getElementById('gc_tarifs_container');
  65.                     container.innerHTML = '';
  66.                     for (var i = 1; i <= 5; i++) {
  67.                         var prix = link.dataset['prix' + i];
  68.                         var label = link.dataset['desc' + i];
  69.                         if (prix && prix !== '1' && label) {
  70.                             var optionId = 'gc_option_' + i;
  71.                             var wrapper = document.createElement('div');
  72.                             wrapper.className = 'form-check mb-1';
  73.                             wrapper.innerHTML =
  74.                                 '<input class="form-check-input" type="radio" name="tranche" id="' + optionId + '"' +
  75.                                 ' data-prix="' + prix + '" data-label="' + label + '">' +
  76.                                 '<label class="form-check-label" for="' + optionId + '">' +
  77.                                 label + ' - <strong>' +
  78.                                 parseInt(prix, 10).toLocaleString("fr-FR") + ' FCFA</strong>' +
  79.                                 '</label>';
  80.                             container.appendChild(wrapper);
  81.                         }
  82.                     }
  83.                     // Reset des champs
  84.                     document.getElementById('gc_quantite').value = '';
  85.                     document.getElementById('gc_date').value = '';
  86.                     document.getElementById('gc_telephone').value = '';
  87.                     showStep(1);
  88.                 });
  89.                 // Bouton "Voir le récapitulatif"
  90.                 if (btnSuiv) {
  91.                     btnSuiv.addEventListener('click', function () {
  92.                         var selected = document.querySelector('#gc_tarifs_container input[type="radio"]:checked');
  93.                         if (!selected) {
  94.                             alert("Veuillez choisir un type d'achat en masse.");
  95.                             return;
  96.                         }
  97.                         var quantite = document.getElementById('gc_quantite').value;
  98.                         var date = document.getElementById('gc_date').value;
  99.                         var tel = document.getElementById('gc_telephone').value;
  100.                         if (!quantite || !date || !tel) {
  101.                             alert("Merci de remplir le nombre de poulets, la date de livraison et votre téléphone.");
  102.                             return;
  103.                         }
  104.                         var prix = parseInt(selected.dataset.prix, 10) || 0;
  105.                         var total = prix * parseInt(quantite, 10);
  106.                         // Remplir les champs cachés envoyés au contrôleur
  107.                         document.getElementById('gc_input_tarif_label').value = selected.dataset.label;
  108.                         document.getElementById('gc_input_prix_unitaire').value = prix;
  109.                         document.getElementById('gc_input_total').value = total;
  110.                         // Récapitulatif visuel
  111.                         document.getElementById('gc_recap_produit').textContent =
  112.                             document.getElementById('gc_produit_titre').textContent;
  113.                         document.getElementById('gc_recap_option').textContent =
  114.                             selected.dataset.label + ' (' + prix.toLocaleString("fr-FR") + ' FCFA)';
  115.                         document.getElementById('gc_recap_quantite').textContent = quantite;
  116.                         document.getElementById('gc_recap_tel').textContent = tel;
  117.                         // Formatage simple de la date en FR
  118.                         try {
  119.                             var d = new Date(date);
  120.                             document.getElementById('gc_recap_date').textContent =
  121.                                 d.toLocaleDateString('fr-FR');
  122.                         } catch (e) {
  123.                             document.getElementById('gc_recap_date').textContent = date;
  124.                         }
  125.                         document.getElementById('gc_recap_total').textContent =
  126.                             total.toLocaleString("fr-FR") + ' FCFA';
  127.                         showStep(2);
  128.                     });
  129.                 }
  130.                 // Bouton "Modifier"
  131.                 if (btnPrec) {
  132.                     btnPrec.addEventListener('click', function () {
  133.                         showStep(1);
  134.                     });
  135.                 }
  136.             });
  137.         </script> -->
  138.         <script>
  139.             document.addEventListener('DOMContentLoaded', function () {
  140.                 var currentStep = 1;
  141.                 var step1 = document.getElementById('gc-step-1');
  142.                 var step2 = document.getElementById('gc-step-2');
  143.                 var btnSuiv = document.getElementById('gc-btn-suiv');
  144.                 var btnPrec = document.getElementById('gc-btn-prec');
  145.                 var btnValider = document.getElementById('gc-btn-valider');
  146.                 var quantiteInput = document.getElementById('gc_quantite');
  147.                 var dateInput = document.getElementById('gc_date');
  148.                 function getTomorrowISO() {
  149.                     var d = new Date();
  150.                     d.setDate(d.getDate() + 1);
  151.                     var yyyy = d.getFullYear();
  152.                     var mm = String(d.getMonth() + 1).padStart(2, '0');
  153.                     var dd = String(d.getDate()).padStart(2, '0');
  154.                     return yyyy + '-' + mm + '-' + dd;
  155.                 }
  156.                 function showStep(n) {
  157.                     currentStep = n;
  158.                     if (!step1 || !step2) return;
  159.                     if (n === 1) {
  160.                         step1.style.display = 'block';
  161.                         step2.style.display = 'none';
  162.                         btnSuiv.style.display = 'inline-block';
  163.                         btnPrec.style.display = 'none';
  164.                         btnValider.style.display = 'none';
  165.                     } else {
  166.                         step1.style.display = 'none';
  167.                         step2.style.display = 'block';
  168.                         btnSuiv.style.display = 'none';
  169.                         btnPrec.style.display = 'inline-block';
  170.                         btnValider.style.display = 'inline-block';
  171.                     }
  172.                 }
  173.                 // Quand on clique sur un produit en masse
  174.                 document.addEventListener('click', function (e) {
  175.                     var link = e.target.closest('.lien-grosse-commande');
  176.                     if (!link) return;
  177.                     // Remplit le titre + description
  178.                     var titre = link.dataset.produitLibelle || '';
  179.                     var desc = link.dataset.produitDescription || '';
  180.                     document.getElementById('gc_produit_titre').textContent = titre;
  181.                     document.getElementById('gc_produit_description').textContent = desc;
  182.                     // Id du produit
  183.                     document.getElementById('gc_input_produit_id').value = link.dataset.produitId || '';
  184.                     // Construit la liste des options de masse
  185.                     var container = document.getElementById('gc_tarifs_container');
  186.                     container.innerHTML = '';
  187.                     for (var i = 1; i <= 5; i++) {
  188.                         var prix = link.dataset['prix' + i];
  189.                         var label = link.dataset['desc' + i];
  190.                         if (prix && prix !== '1' && label) {
  191.                             // --- EXTRACTION AUTOMATIQUE DES BORNES MINI / MAXI ---
  192.                             var min = null, max = null;
  193.                             var numbers = label.match(/\d+/g); // tous les nombres présents dans le texte
  194.                             if (numbers && numbers.length >= 2) {
  195.                                 // ex : "10-20 Poulets"
  196.                                 min = parseInt(numbers[0], 10);
  197.                                 max = parseInt(numbers[1], 10);
  198.                             } else if (numbers && numbers.length === 1) {
  199.                                 // ex : "200 et plus Poulets"
  200.                                 min = parseInt(numbers[0], 10);
  201.                                 max = null; // pas de max
  202.                             }
  203.                             // -----------------------------------------------------
  204.                             var optionId = 'gc_option_' + i;
  205.                             var wrapper = document.createElement('div');
  206.                             wrapper.className = 'form-check mb-1';
  207.                             var minAttr = (min !== null ? ' data-min="' + min + '"' : '');
  208.                             var maxAttr = (max !== null ? ' data-max="' + max + '"' : '');
  209.                             wrapper.innerHTML =
  210.                                 '<input class="form-check-input" type="radio" name="tranche" id="' + optionId + '"' +
  211.                                 ' data-prix="' + prix + '" data-label="' + label + '"' +
  212.                                 minAttr + maxAttr + '>' +
  213.                                 '<label class="form-check-label" for="' + optionId + '">' +
  214.                                 label + ' - <strong>' +
  215.                                 parseInt(prix, 10).toLocaleString("fr-FR") + ' FCFA</strong>' +
  216.                                 '</label>';
  217.                             container.appendChild(wrapper);
  218.                         }
  219.                     }
  220.                     // Reset des champs
  221.                     quantiteInput.value = '';
  222.                     quantiteInput.removeAttribute('min');
  223.                     quantiteInput.removeAttribute('max');
  224.                     quantiteInput.placeholder = '';
  225.                     if (dateInput) {
  226.                         dateInput.value = '';
  227.                         dateInput.min = getTomorrowISO();   // date minimale = demain
  228.                     }
  229.                     // La date doit être au minimum demain
  230.                     var selectedDate = new Date(date);
  231.                     var tomorrow = new Date(getTomorrowISO());
  232.                     if (selectedDate < tomorrow) {
  233.                         alert("La date de livraison doit être au minimum la date de demain.");
  234.                         return;
  235.                     }
  236.                     document.getElementById('gc_telephone').value = '';
  237.                     
  238.                     showStep(1);
  239.                 });
  240.                 // Quand on change d'option, on ajuste min/max + placeholder du champ quantité
  241.                 document.addEventListener('change', function (e) {
  242.                     if (!e.target.matches('#gc_tarifs_container input[type="radio"]')) return;
  243.                     var selected = e.target;
  244.                     var min = selected.dataset.min ? parseInt(selected.dataset.min, 10) : null;
  245.                     var max = selected.dataset.max ? parseInt(selected.dataset.max, 10) : null;
  246.                     if (min !== null && max !== null) {
  247.                         quantiteInput.min = min;
  248.                         quantiteInput.max = max;
  249.                         quantiteInput.placeholder = "Entre " + min + " et " + max;
  250.                     } else if (min !== null && max === null) {
  251.                         quantiteInput.min = min;
  252.                         quantiteInput.removeAttribute('max');
  253.                         quantiteInput.placeholder = "Au moins " + min;
  254.                     } else {
  255.                         quantiteInput.removeAttribute('min');
  256.                         quantiteInput.removeAttribute('max');
  257.                         quantiteInput.placeholder = "";
  258.                     }
  259.                 });
  260.                 // Bouton "Voir le récapitulatif"
  261.                 if (btnSuiv) {
  262.                     btnSuiv.addEventListener('click', function () {
  263.                         var selected = document.querySelector('#gc_tarifs_container input[type="radio"]:checked');
  264.                         if (!selected) {
  265.                             alert("Veuillez choisir un type d'achat en masse.");
  266.                             return;
  267.                         }
  268.                         var quantite = document.getElementById('gc_quantite').value;
  269.                         var date = document.getElementById('gc_date').value;
  270.                         var tel = document.getElementById('gc_telephone').value;
  271.                         if (!quantite || !date || !tel) {
  272.                             alert("Merci de remplir le nombre de poulets, la date de livraison et votre téléphone.");
  273.                             return;
  274.                         }
  275.                         quantite = parseInt(quantite, 10);
  276.                         if (isNaN(quantite) || quantite <= 0) {
  277.                             alert("Veuillez saisir un nombre de poulets valide.");
  278.                             return;
  279.                         }
  280.                         // --- VALIDATION PAR RAPPORT À LA TRANCHE CHOISIE ---
  281.                         var min = selected.dataset.min ? parseInt(selected.dataset.min, 10) : null;
  282.                         var max = selected.dataset.max ? parseInt(selected.dataset.max, 10) : null;
  283.                         if (min !== null && max !== null) {
  284.                             // cas "10-20 Poulets"
  285.                             if (quantite < min || quantite > max) {
  286.                                 alert("Pour cette option, le nombre de poulets doit être compris entre " + min + " et " + max + ".");
  287.                                 return;
  288.                             }
  289.                         } else if (min !== null && max === null) {
  290.                             // cas "200 et plus"
  291.                             if (quantite < min) {
  292.                                 alert("Pour cette option, le nombre de poulets doit être au minimum de " + min + ".");
  293.                                 return;
  294.                             }
  295.                         }
  296.                         // ---------------------------------------------------
  297.                         var prix = parseInt(selected.dataset.prix, 10) || 0;
  298.                         var total = prix * quantite;
  299.                         // Remplir les champs cachés envoyés au contrôleur
  300.                         document.getElementById('gc_input_tarif_label').value = selected.dataset.label;
  301.                         document.getElementById('gc_input_prix_unitaire').value = prix;
  302.                         document.getElementById('gc_input_total').value = total;
  303.                         // Récapitulatif visuel
  304.                         document.getElementById('gc_recap_produit').textContent =
  305.                             document.getElementById('gc_produit_titre').textContent;
  306.                         document.getElementById('gc_recap_option').textContent =
  307.                             selected.dataset.label + ' (' + prix.toLocaleString("fr-FR") + ' FCFA)';
  308.                         document.getElementById('gc_recap_quantite').textContent = quantite;
  309.                         document.getElementById('gc_recap_tel').textContent = tel;
  310.                         // Formatage simple de la date en FR
  311.                         try {
  312.                             var d = new Date(date);
  313.                             document.getElementById('gc_recap_date').textContent =
  314.                                 d.toLocaleDateString('fr-FR');
  315.                         } catch (e) {
  316.                             document.getElementById('gc_recap_date').textContent = date;
  317.                         }
  318.                         document.getElementById('gc_recap_total').textContent =
  319.                             total.toLocaleString("fr-FR") + ' FCFA';
  320.                         showStep(2);
  321.                     });
  322.                 }
  323.                 // Bouton "Modifier"
  324.                 if (btnPrec) {
  325.                     btnPrec.addEventListener('click', function () {
  326.                         showStep(1);
  327.                     });
  328.                 }
  329.             });
  330.         </script>
  331.         <style>
  332.             .product-card__image-button {
  333.                 display: block;
  334.                 position: relative;
  335.                 width: 270px;
  336.                 max-width: 100%;
  337.                 padding: 0;
  338.                 border: 0;
  339.                 background: transparent;
  340.                 cursor: zoom-in;
  341.                 margin: 0 auto;
  342.             }
  343.             .product-card__img {
  344.                 width: 270px;
  345.                 max-width: 100%;
  346.                 height: 270px;
  347.                 object-fit: cover;
  348.                 display: block;
  349.             }
  350.             .product-card__image-count {
  351.                 position: absolute;
  352.                 right: 10px;
  353.                 bottom: 10px;
  354.                 padding: 4px 9px;
  355.                 border-radius: 999px;
  356.                 background: rgba(0, 0, 0, .68);
  357.                 color: #fff;
  358.                 font-size: .78rem;
  359.                 font-weight: 700;
  360.             }
  361.             .product-card__price {
  362.                 display: flex;
  363.                 flex-wrap: wrap;
  364.                 align-items: center;
  365.                 gap: 8px;
  366.                 margin-top: 8px;
  367.             }
  368.             .product-card__promo-top {
  369.                 display: flex;
  370.                 align-items: center;
  371.                 gap: 8px;
  372.                 width: 100%;
  373.             }
  374.             .product-card__price-current {
  375.                 font-size: 1.15rem;
  376.                 font-weight: 700;
  377.                 color: #c62828;
  378.             }
  379.             .product-card__price-old {
  380.                 font-size: .95rem;
  381.                 color: #7a7a7a;
  382.                 text-decoration: line-through;
  383.             }
  384.             .product-card__badge {
  385.                 display: inline-flex;
  386.                 align-items: center;
  387.                 padding: 4px 10px;
  388.                 border-radius: 999px;
  389.                 background: #ffe8d9;
  390.                 color: #bf360c;
  391.                 font-size: .75rem;
  392.                 font-weight: 700;
  393.                 letter-spacing: .04em;
  394.                 text-transform: uppercase;
  395.             }
  396.             .product-card__discount {
  397.                 display: inline-flex;
  398.                 align-items: center;
  399.                 padding: 4px 9px;
  400.                 border-radius: 999px;
  401.                 background: #c62828;
  402.                 color: #fff;
  403.                 font-size: .82rem;
  404.                 font-weight: 700;
  405.             }
  406.             .product-gallery-modal .modal-content {
  407.                 border: 0;
  408.                 border-radius: 16px;
  409.                 overflow: hidden;
  410.             }
  411.             .product-gallery {
  412.                 background: #111;
  413.                 border-radius: 12px;
  414.                 overflow: hidden;
  415.                 min-height: 270px;
  416.             }
  417.             .product-gallery__image {
  418.                 width: 270px;
  419.                 max-width: 100%;
  420.                 height: 270px;
  421.                 object-fit: cover;
  422.                 display: block;
  423.                 margin: 0 auto;
  424.                 background: #111;
  425.             }
  426.             .product-gallery__counter {
  427.                 position: absolute;
  428.                 right: 16px;
  429.                 bottom: 14px;
  430.                 padding: 5px 10px;
  431.                 border-radius: 999px;
  432.                 background: rgba(0, 0, 0, .7);
  433.                 color: #fff;
  434.                 font-weight: 700;
  435.             }
  436.             .product-gallery__details {
  437.                 margin-top: 16px;
  438.                 color: #4f4f4f;
  439.             }
  440.             .product-gallery__price {
  441.                 display: flex;
  442.                 align-items: center;
  443.                 gap: 10px;
  444.                 font-size: 1.1rem;
  445.                 font-weight: 800;
  446.                 color: #c62828;
  447.             }
  448.             .product-gallery__price del {
  449.                 color: #888;
  450.                 font-size: .95rem;
  451.                 font-weight: 600;
  452.             }
  453.             .kit-section {
  454.                 background: linear-gradient(180deg, #fffaf3 0%, #ffffff 100%);
  455.             }
  456.             .kit-card {
  457.                 height: 100%;
  458.                 border: 1px solid #f1e3cf;
  459.                 border-radius: 20px;
  460.                 background: #fff;
  461.                 box-shadow: 0 18px 40px rgba(96, 58, 18, 0.08);
  462.                 overflow: hidden;
  463.             }
  464.             .kit-card--fallback {
  465.                 border: 0;
  466.                 background:
  467.                     radial-gradient(circle at top right, rgba(255, 210, 84, .22), transparent 34%),
  468.                     linear-gradient(145deg, #123a2a 0%, #0f2f23 58%, #0a221a 100%);
  469.                 box-shadow: 0 24px 60px rgba(7, 38, 27, .28);
  470.             }
  471.             .kit-card__media {
  472.                 position: relative;
  473.                 aspect-ratio: 16 / 10;
  474.                 overflow: hidden;
  475.                 background: #f7efe4;
  476.             }
  477.             .kit-card__image {
  478.                 width: 100%;
  479.                 height: 100%;
  480.                 object-fit: cover;
  481.                 display: block;
  482.             }
  483.             .kit-card__floating-badge {
  484.                 position: absolute;
  485.                 top: 16px;
  486.                 left: 16px;
  487.                 display: inline-flex;
  488.                 align-items: center;
  489.                 padding: 5px 12px;
  490.                 border-radius: 999px;
  491.                 background: #ffd84d;
  492.                 color: #19351f;
  493.                 font-size: .78rem;
  494.                 font-weight: 700;
  495.             }
  496.             .kit-card__content {
  497.                 padding: 24px;
  498.             }
  499.             .kit-card__header {
  500.                 display: flex;
  501.                 justify-content: space-between;
  502.                 align-items: flex-start;
  503.                 gap: 16px;
  504.                 margin-bottom: 16px;
  505.             }
  506.             .kit-card__title {
  507.                 margin: 0 0 8px;
  508.                 font-size: 1.3rem;
  509.                 font-weight: 700;
  510.                 color: #2f2419;
  511.             }
  512.             .kit-card__status {
  513.                 display: flex;
  514.                 flex-wrap: wrap;
  515.                 gap: 8px;
  516.                 margin: 0;
  517.             }
  518.             .kit-card__badge,
  519.             .kit-card__availability {
  520.                 display: inline-flex;
  521.                 align-items: center;
  522.                 padding: 4px 10px;
  523.                 border-radius: 999px;
  524.                 font-size: .75rem;
  525.                 font-weight: 700;
  526.                 text-transform: uppercase;
  527.             }
  528.             .kit-card__badge {
  529.                 background: #e8f5e9;
  530.                 color: #2e7d32;
  531.             }
  532.             .kit-card__availability {
  533.                 background: #fff3e0;
  534.                 color: #ef6c00;
  535.             }
  536.             .kit-card__availability--muted {
  537.                 background: rgba(197, 223, 207, .15);
  538.                 color: #d6e7dc;
  539.             }
  540.             .kit-card__price-block {
  541.                 display: flex;
  542.                 flex-direction: column;
  543.                 align-items: flex-end;
  544.                 gap: 6px;
  545.             }
  546.             .kit-card__price-label {
  547.                 font-size: .76rem;
  548.                 font-weight: 700;
  549.                 letter-spacing: .06em;
  550.                 text-transform: uppercase;
  551.                 opacity: .78;
  552.             }
  553.             .kit-card__price {
  554.                 white-space: nowrap;
  555.                 font-size: 1.25rem;
  556.                 font-weight: 800;
  557.                 color: #bf360c;
  558.             }
  559.             .kit-card__description,
  560.             .kit-card__dates,
  561.             .kit-card__meta {
  562.                 margin-bottom: 12px;
  563.                 color: #5f5144;
  564.             }
  565.             .kit-card__items {
  566.                 margin: 0;
  567.                 padding: 0;
  568.                 list-style: none;
  569.                 display: grid;
  570.                 gap: 10px;
  571.             }
  572.             .kit-card__items li {
  573.                 display: flex;
  574.                 justify-content: space-between;
  575.                 align-items: center;
  576.                 padding: 10px 12px;
  577.                 border-radius: 12px;
  578.                 background: #fcf6ee;
  579.                 color: #2f2419;
  580.             }
  581.             .kit-card__item-qty {
  582.                 font-weight: 700;
  583.                 color: #8d6e63;
  584.             }
  585.             .kit-card__actions {
  586.                 display: flex;
  587.                 flex-wrap: wrap;
  588.                 gap: 10px;
  589.                 margin-top: 16px;
  590.             }
  591.             .kit-card__fallback-body {
  592.                 display: grid;
  593.                 gap: 18px;
  594.             }
  595.             .kit-card__fallback-promo {
  596.                 padding: 16px 18px;
  597.                 border-radius: 18px;
  598.                 background: rgba(255, 255, 255, .08);
  599.                 color: #f8fbf8;
  600.             }
  601.             .kit-card__fallback-promo strong {
  602.                 display: block;
  603.                 margin-top: 8px;
  604.                 font-size: 1.8rem;
  605.                 line-height: 1.1;
  606.             }
  607.             .kit-card__actions--fallback {
  608.                 align-items: center;
  609.                 justify-content: space-between;
  610.             }
  611.             .kit-card__cta {
  612.                 display: inline-flex;
  613.                 align-items: center;
  614.                 justify-content: center;
  615.                 padding: 12px 18px;
  616.                 border-radius: 999px;
  617.                 background: #f2f1e8;
  618.                 color: #123a2a;
  619.                 font-weight: 700;
  620.             }
  621.             .kit-card__ghost-link {
  622.                 color: #eff7f1;
  623.                 font-weight: 700;
  624.             }
  625.             .kit-card__tags {
  626.                 display: flex;
  627.                 flex-wrap: wrap;
  628.                 gap: 10px;
  629.             }
  630.             .kit-card__tag {
  631.                 display: inline-flex;
  632.                 align-items: center;
  633.                 padding: 7px 12px;
  634.                 border-radius: 999px;
  635.                 background: rgba(201, 227, 210, .14);
  636.                 color: #dfeee4;
  637.                 font-size: .78rem;
  638.                 font-weight: 600;
  639.             }
  640.             .kit-card--fallback .kit-card__title,
  641.             .kit-card--fallback .kit-card__description,
  642.             .kit-card--fallback .kit-card__price,
  643.             .kit-card--fallback .kit-card__price-label {
  644.                 color: #f8fbf8;
  645.             }
  646.             .kit-card--fallback .kit-card__description {
  647.                 font-size: 1rem;
  648.                 line-height: 1.7;
  649.                 color: rgba(240, 247, 242, .84);
  650.             }
  651.             @media (max-width: 767px) {
  652.                 .kit-card__header,
  653.                 .kit-card__actions--fallback {
  654.                     flex-direction: column;
  655.                     align-items: flex-start;
  656.                 }
  657.                 .kit-card__price-block {
  658.                     align-items: flex-start;
  659.                 }
  660.             }
  661.             .kit-popup {
  662.                 border: 0;
  663.                 border-radius: 24px;
  664.                 background: linear-gradient(145deg, #fff7ec 0%, #ffffff 60%);
  665.                 box-shadow: 0 24px 60px rgba(52, 31, 12, 0.18);
  666.             }
  667.             .kit-popup--fallback {
  668.                 background:
  669.                     radial-gradient(circle at top right, rgba(255, 212, 78, .22), transparent 34%),
  670.                     linear-gradient(145deg, #123a2a 0%, #0f2f23 58%, #0a221a 100%);
  671.                 box-shadow: 0 28px 70px rgba(7, 38, 27, .3);
  672.             }
  673.             .kit-popup__eyebrow {
  674.                 display: inline-block;
  675.                 margin-bottom: 6px;
  676.                 font-size: .78rem;
  677.                 font-weight: 700;
  678.                 letter-spacing: .08em;
  679.                 text-transform: uppercase;
  680.                 color: #bf360c;
  681.             }
  682.             .kit-popup__price {
  683.                 font-size: 1.8rem;
  684.                 font-weight: 800;
  685.                 color: #bf360c;
  686.                 margin-bottom: 12px;
  687.             }
  688.             .kit-popup__media {
  689.                 margin-bottom: 16px;
  690.                 border-radius: 18px;
  691.                 overflow: hidden;
  692.             }
  693.             .kit-popup__image {
  694.                 width: 100%;
  695.                 height: 240px;
  696.                 object-fit: cover;
  697.                 display: block;
  698.             }
  699.             .kit-popup__description {
  700.                 color: #5f5144;
  701.             }
  702.             .kit-popup__items {
  703.                 margin: 0 0 16px;
  704.                 padding-left: 18px;
  705.                 color: #2f2419;
  706.             }
  707.             .kit-popup__status {
  708.                 display: flex;
  709.                 flex-wrap: wrap;
  710.                 gap: 10px;
  711.                 align-items: center;
  712.                 color: #5f5144;
  713.             }
  714.             .kit-popup__badge {
  715.                 display: inline-flex;
  716.                 align-items: center;
  717.                 padding: 5px 10px;
  718.                 border-radius: 999px;
  719.                 background: #e8f5e9;
  720.                 color: #2e7d32;
  721.                 font-size: .78rem;
  722.                 font-weight: 700;
  723.                 text-transform: uppercase;
  724.             }
  725.             .kit-popup__fallback {
  726.                 position: relative;
  727.                 padding: 28px;
  728.                 color: #f5fbf7;
  729.             }
  730.             .kit-popup__close--fallback {
  731.                 position: absolute;
  732.                 right: 16px;
  733.                 top: 12px;
  734.                 color: #ffffff;
  735.                 opacity: 1;
  736.                 text-shadow: none;
  737.             }
  738.             .kit-popup__fallback-top {
  739.                 display: flex;
  740.                 justify-content: space-between;
  741.                 align-items: center;
  742.                 gap: 12px;
  743.                 margin-bottom: 18px;
  744.             }
  745.             .kit-popup__eyebrow--fallback {
  746.                 margin-bottom: 0;
  747.                 padding: 6px 12px;
  748.                 border-radius: 999px;
  749.                 background: #ffd84d;
  750.                 color: #163022;
  751.             }
  752.             .kit-popup__badge--fallback {
  753.                 background: rgba(211, 229, 219, .16);
  754.                 color: #e2f1e7;
  755.             }
  756.             .kit-popup__title--fallback {
  757.                 font-size: 2.1rem;
  758.                 font-weight: 800;
  759.                 color: #ffffff;
  760.                 margin-bottom: 10px;
  761.             }
  762.             .kit-popup__description--fallback {
  763.                 max-width: 560px;
  764.                 color: rgba(239, 247, 242, .84);
  765.                 font-size: 1rem;
  766.                 line-height: 1.7;
  767.             }
  768.             .kit-popup__price-card {
  769.                 display: inline-flex;
  770.                 flex-direction: column;
  771.                 gap: 8px;
  772.                 padding: 16px 18px;
  773.                 margin-top: 8px;
  774.                 border-radius: 20px;
  775.                 background: rgba(255, 255, 255, .08);
  776.             }
  777.             .kit-popup__price-label {
  778.                 font-size: .78rem;
  779.                 font-weight: 700;
  780.                 letter-spacing: .08em;
  781.                 text-transform: uppercase;
  782.                 color: rgba(233, 244, 237, .78);
  783.             }
  784.             .kit-popup__price--fallback {
  785.                 margin-bottom: 0;
  786.                 color: #ffffff;
  787.             }
  788.             .kit-popup__fallback-actions {
  789.                 display: flex;
  790.                 flex-wrap: wrap;
  791.                 align-items: center;
  792.                 gap: 14px;
  793.                 margin-top: 22px;
  794.             }
  795.             .kit-popup__cta {
  796.                 display: inline-flex;
  797.                 align-items: center;
  798.                 justify-content: center;
  799.                 padding: 12px 18px;
  800.                 border-radius: 999px;
  801.                 background: #f2f1e8;
  802.                 color: #123a2a;
  803.                 font-weight: 700;
  804.             }
  805.             .kit-popup__link {
  806.                 color: #eff7f1;
  807.                 font-weight: 700;
  808.             }
  809.             .kit-popup__fallback-tags {
  810.                 display: flex;
  811.                 flex-wrap: wrap;
  812.                 gap: 10px;
  813.                 margin-top: 22px;
  814.             }
  815.             .kit-popup__tag {
  816.                 display: inline-flex;
  817.                 align-items: center;
  818.                 padding: 7px 12px;
  819.                 border-radius: 999px;
  820.                 background: rgba(201, 227, 210, .14);
  821.                 color: #dfeee4;
  822.                 font-size: .78rem;
  823.                 font-weight: 600;
  824.             }
  825.             .cart-price {
  826.                 display: inline-flex;
  827.                 flex-direction: column;
  828.                 align-items: flex-end;
  829.                 line-height: 1.2;
  830.             }
  831.             .cart-price__current {
  832.                 color: #c62828;
  833.                 font-weight: 700;
  834.             }
  835.             .cart-price__old {
  836.                 color: #7a7a7a;
  837.                 font-size: .85rem;
  838.                 text-decoration: line-through;
  839.             }
  840.         </style>
  841.     </head>
  842.     <body>
  843.         <!-- ======= Header ======= -->
  844.         {{ include('Header.html.twig') }}
  845.         <!-- ======= Body   ======= -->
  846.         {{ include('Body.html.twig') }}
  847.         <!-- ======= Footer   ======= -->
  848.         {{ include('Footer.html.twig') }}
  849.         {% block body %}{% endblock %}
  850.         <!-- Js Plugins -->
  851.         <script src="{{asset('ogani_master/js/jquery-3.3.1.min.js')}}"></script>
  852.         <script src="{{asset('ogani_master/js/bootstrap.min.js')}}"></script>
  853.         <script src="{{asset('ogani_master/js/jquery.nice-select.min.js')}}"></script>
  854.         <script src="{{asset('ogani_master/js/jquery-ui.min.js')}}"></script>
  855.         <script src="{{asset('ogani_master/js/jquery.slicknav.js')}}"></script>
  856.         <script src="{{asset('ogani_master/js/mixitup.min.js')}}"></script>
  857.         <script src="{{asset('ogani_master/js/owl.carousel.min.js')}}"></script>
  858.         <script src="{{asset('ogani_master/js/main.js')}}"></script>
  859.         <script src="{{asset('ogani_master/js/home.js')}}"></script>
  860.         <script>
  861.             (function () {
  862.                 document.addEventListener('DOMContentLoaded', function () {
  863.                     var modalElement = document.getElementById('kitWelcomeModal');
  864.                     if (!modalElement || typeof window.jQuery === 'undefined') {
  865.                         return;
  866.                     }
  867.                     var storageKey = 'kit-popup-dismissed';
  868.                     if (window.sessionStorage.getItem(storageKey) === '1') {
  869.                         return;
  870.                     }
  871.                     window.jQuery(modalElement).modal('show');
  872.                     window.jQuery(modalElement).on('hidden.bs.modal', function () {
  873.                         window.sessionStorage.setItem(storageKey, '1');
  874.                     });
  875.                 });
  876.             })();
  877.         </script>
  878.     </body>
  879. </html>