:root{
  --ev-navy:#07255b;
  --ev-navy-deep:#041937;
  --ev-blue:#0b8fe8;
  --ev-green:#8dc63f;
  --ev-text:#15304f;
  --ev-muted:#5c728b;
  --ev-border:#d9e7f3;
}

/* GLOBAL */
body{
  font-family:'Inter',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif !important;
  color:var(--ev-text) !important;
  background:#fff !important;
}

a{
  color:var(--ev-blue);
  text-decoration:none !important;
}

a:hover{
  color:var(--ev-navy);
}

/* HEADER */
#header{
  background:#fff !important;
  border-bottom:1px solid rgba(7,37,91,.08);
  box-shadow:0 10px 35px rgba(7,37,91,.07);
  z-index:999;
}

.ev-topbar{
  background:var(--ev-navy);
  color:#fff;
  font-size:15px;
}

.ev-topbar-inner{
  min-height:42px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

.ev-topbar-left,
.ev-topbar-right{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
}

.ev-topbar a,
.ev-topbar span{
  color:#fff !important;
  font-weight:600;
}

.ev-header-main{
  background:#fff !important;
}

.ev-header-row{
  min-height:126px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}

.ev-logo-area{
  display:flex;
  align-items:center;
  gap:16px;
  flex-shrink:0;
}

.ev-logo-link img,
.ev-logo-area img,
#header .ev-logo-area img{
  width:78px !important;
  max-width:78px !important;
  height:78px !important;
  max-height:78px !important;
  object-fit:contain !important;
}

.ev-logo-text strong{
  display:block;
  font-size:18px;
  color:var(--ev-text);
  line-height:1.2;
}

.ev-logo-text span{
  display:block;
  color:var(--ev-muted);
  font-size:14px;
}

.ev-shop-menu{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:26px;
  flex-wrap:wrap;
}

.ev-shop-menu a{
  color:var(--ev-text) !important;
  font-weight:800;
  font-size:16px;
  white-space:nowrap;
}

.ev-shop-menu a:hover{
  color:var(--ev-blue) !important;
}

.ev-menu-cta{
  background:linear-gradient(135deg,var(--ev-blue),var(--ev-green));
  color:#fff !important;
  padding:16px 24px;
  border-radius:999px;
  box-shadow:0 16px 34px rgba(11,143,232,.22);
}

/* PRESTASHOP TOOLS ROW */
.ev-prestashop-tools{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  flex-wrap:wrap;
  padding:16px 0 20px;
  border-top:1px solid rgba(7,37,91,.06);
}

/* keep basket/account/language/currency visible */
.ev-prestashop-tools #_desktop_cart,
.ev-prestashop-tools #_desktop_user_info,
.ev-prestashop-tools #_desktop_language_selector,
.ev-prestashop-tools #_desktop_currency_selector{
  display:flex !important;
}

/* hide old top clutter only */
#_desktop_contact_link,
#contact-link{
  display:none !important;
}

/* category menu */
.ev-prestashop-tools .top-menu,
.ev-prestashop-tools .menu{
  display:flex;
  align-items:center;
  gap:24px;
  flex-wrap:wrap;
}

.ev-prestashop-tools .top-menu > li > a{
  color:var(--ev-text) !important;
  font-weight:800;
  font-size:16px;
}

/* search */
.ev-prestashop-tools #search_widget,
.ev-prestashop-tools .search-widget{
  margin-left:auto;
}

.ev-prestashop-tools #search_widget input,
.ev-prestashop-tools .search-widget input{
  min-width:340px;
  height:54px;
  border-radius:18px !important;
  border:1px solid var(--ev-border) !important;
}

/* MAIN */
#wrapper{
  background:linear-gradient(180deg,#ffffff 0%,#f7fbff 100%) !important;
  padding-top:18px !important;
}

/* TITLES */
h1,h2,h3,h4,h5,h6,
.page-title,
.product-title a{
  color:var(--ev-navy) !important;
  font-weight:800;
}

/* PRODUCTS */
.product-miniature,
.card,
.products .product,
.featured-products .product{
  border-radius:22px !important;
  border:1px solid var(--ev-border) !important;
  box-shadow:0 12px 30px rgba(7,37,91,.08) !important;
  overflow:hidden;
  background:#fff !important;
  transition:all .25s ease;
}

.product-miniature:hover,
.card:hover{
  box-shadow:0 18px 44px rgba(7,37,91,.14) !important;
  transform:translateY(-2px);
}

.product-thumbnail img,
.product-cover img{
  border-radius:18px;
}

.price,
.current-price,
.product-price{
  color:var(--ev-blue) !important;
  font-weight:800 !important;
}

/* BUTTONS */
.btn-primary,
.add-to-cart,
.product-add-to-cart .btn,
.product-actions .btn,
.checkout a.btn-primary{
  background:linear-gradient(135deg,var(--ev-blue),var(--ev-green)) !important;
  border:none !important;
  color:#fff !important;
  border-radius:999px !important;
  font-weight:800 !important;
  box-shadow:0 12px 28px rgba(11,143,232,.22);
}

.btn-secondary,
.btn-outline-primary{
  border-radius:999px !important;
  border:1px solid var(--ev-border) !important;
  background:#fff !important;
  color:var(--ev-blue) !important;
  font-weight:800 !important;
}

/* FORMS */
input,
select,
textarea,
.form-control{
  border-radius:14px !important;
  border:1px solid var(--ev-border) !important;
}

input:focus,
select:focus,
textarea:focus,
.form-control:focus{
  border-color:var(--ev-blue) !important;
  box-shadow:0 0 0 4px rgba(11,143,232,.12) !important;
}

/* FOOTER */
#footer{
  background:linear-gradient(90deg,var(--ev-navy),var(--ev-navy-deep)) !important;
  color:#fff !important;
  padding-top:40px;
}

#footer,
#footer p,
#footer span,
#footer li{
  color:#dcecff !important;
}

#footer h1,
#footer h2,
#footer h3,
#footer h4,
#footer h5,
#footer h6,
#footer .h3{
  color:#fff !important;
}

#footer a{
  color:#dcecff !important;
}

#footer a:hover{
  color:var(--ev-green) !important;
}

/* CHECKOUT */
body#checkout #header{
  position:relative;
}

body#checkout .btn{
  border-radius:999px !important;
}

/* MOBILE HEADER */
@media(max-width:768px){

  #header{
    position:relative !important;
    box-shadow:none !important;
  }

  .ev-topbar{
    font-size:14px;
  }

  .ev-topbar-inner{
    padding:14px 16px;
    min-height:auto;
    flex-direction:column;
    justify-content:center;
    text-align:center;
    gap:8px;
  }

  .ev-topbar-left,
  .ev-topbar-right{
    flex-direction:column;
    gap:8px;
    width:100%;
  }

  .ev-header-row{
    min-height:auto;
    padding:24px 18px 12px;
    flex-direction:column;
    justify-content:center;
    text-align:center;
    gap:18px;
  }

  .ev-logo-area{
    flex-direction:column;
    gap:10px;
  }

  .ev-logo-link img,
  .ev-logo-area img,
  #header .ev-logo-area img{
    width:72px !important;
    max-width:72px !important;
    height:72px !important;
    max-height:72px !important;
  }

  .ev-logo-text strong{
    font-size:20px;
    line-height:1.15;
  }

  .ev-logo-text span{
    font-size:16px;
  }

  .ev-shop-menu{
    width:100%;
    display:grid !important;
    grid-template-columns:1fr 1fr;
    gap:10px;
    padding:12px 0 0;
  }

  .ev-shop-menu a{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:54px;
    padding:12px 10px;
    border-radius:14px;
    background:#f7fbff;
    border:1px solid var(--ev-border);
    font-size:16px;
    text-align:center;
  }

  .ev-menu-cta{
    grid-column:1 / -1;
    min-height:58px;
    color:#fff !important;
    background:linear-gradient(135deg,var(--ev-blue),var(--ev-green)) !important;
  }

  .ev-prestashop-tools{
    display:grid !important;
    grid-template-columns:1fr;
    gap:14px;
    padding:16px 18px 22px !important;
    border-top:1px solid rgba(7,37,91,.08);
  }

  /* mobile menu/category button */
  .ev-prestashop-tools #_mobile_top_menu,
  .ev-prestashop-tools #_desktop_top_menu,
  .ev-prestashop-tools .menu,
  .ev-prestashop-tools .top-menu{
    width:100% !important;
    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
    margin:0 !important;
    padding:0 !important;
  }

  .ev-prestashop-tools .top-menu{
    gap:10px;
    flex-wrap:wrap;
  }

  .ev-prestashop-tools .top-menu > li > a{
    display:block;
    padding:11px 14px !important;
    border-radius:14px;
    background:#f7fbff;
    border:1px solid var(--ev-border);
    font-size:14px !important;
    text-align:center;
  }

  /* search full width */
  .ev-prestashop-tools #search_widget,
  .ev-prestashop-tools .search-widget{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 !important;
  }

  .ev-prestashop-tools #search_widget form,
  .ev-prestashop-tools .search-widget form{
    width:100% !important;
  }

  .ev-prestashop-tools #search_widget input,
  .ev-prestashop-tools .search-widget input{
    width:100% !important;
    min-width:0 !important;
    height:54px !important;
    border-radius:18px !important;
  }

  /* icons row */
  #_mobile_ps_customersignin,
  #_mobile_ps_shoppingcart,
  .ev-prestashop-tools #_desktop_user_info,
  .ev-prestashop-tools #_desktop_cart{
    width:auto !important;
    display:inline-flex !important;
    justify-content:center !important;
    align-items:center !important;
    margin:0 !important;
    padding:0 !important;
  }

  .ev-prestashop-tools .header-block{
    display:inline-flex !important;
    justify-content:center;
    align-items:center;
  }

  .ev-prestashop-tools .header-block__action-btn{
    width:54px !important;
    height:54px !important;
    border-radius:999px;
    background:#f7fbff;
    border:1px solid var(--ev-border);
    display:flex !important;
    align-items:center;
    justify-content:center;
  }

  /* create neat icon row */
  .ev-prestashop-tools{
    justify-items:center;
  }

  #wrapper{
    padding-top:12px !important;
  }

  .product-miniature,
  .card{
    border-radius:18px !important;
  }

  #footer{
    text-align:center;
  }
}

/* MOBILE: MAKE MENU / SEARCH / ACCOUNT / CART HORIZONTAL */
@media(max-width:768px){

  .ev-prestashop-tools{
    display:flex !important;
    flex-direction:row !important;
    justify-content:center !important;
    align-items:center !important;
    gap:14px !important;
    padding:18px 16px 24px !important;
  }

  .ev-prestashop-tools > div,
  .ev-prestashop-tools section,
  .ev-prestashop-tools nav{
    width:auto !important;
    max-width:none !important;
    flex:0 0 auto !important;
  }

  .ev-prestashop-tools #search_widget,
  .ev-prestashop-tools .search-widget{
    width:auto !important;
    max-width:none !important;
    margin:0 !important;
  }

  .ev-prestashop-tools #search_widget form,
  .ev-prestashop-tools .search-widget form{
    width:auto !important;
  }

  .ev-prestashop-tools #search_widget input,
  .ev-prestashop-tools .search-widget input{
    width:58px !important;
    min-width:58px !important;
    height:58px !important;
    padding:0 !important;
    border-radius:50% !important;
    color:transparent !important;
  }

  .ev-prestashop-tools .header-block__action-btn{
    width:58px !important;
    height:58px !important;
    border-radius:50% !important;
  }

  .ev-prestashop-tools .material-icons{
    font-size:28px !important;
  }
}