/* ================================================================
   iKonia — supplement.css  (clean generic rebuild of theme "rk")
   Brand palette from theme less: red #e2001a, ink #141414, grey #646464
   Original theme CSS/JS were not archived — this is a from-scratch,
   readable baseline that matches the site's real DOM (24-col grid,
   WooCommerce product cards, mega-menu, multi-area footer).
   ================================================================ */

:root {
  --accent: #e2001a;
  --ink: #141414;
  --text: #646464;
  --border: #d5d5d5;
  --muted: #8a8a8a;
  --foot-bg: #fafafa;
  --foot-bd: #e6e6e6;
  --foot-hd: #323232;
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font:
    16px/1.65 "Helvetica Neue",
    Helvetica,
    Arial,
    sans-serif;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: var(--ink);
  text-decoration: none;
}
a:hover {
  color: var(--accent);
}
h1,
h2,
h3,
h4,
h5 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.55em;
}
h1 {
  font-size: 30px;
}
h2 {
  font-size: 24px;
}
h3 {
  font-size: 19px;
}
h4 {
  font-size: 16px;
}
p {
  margin: 0 0 1em;
}
hr {
  border: 0;
  border-top: 1px solid var(--foot-bd);
  margin: 18px 0;
}

/* ---------- Grid (site uses a 24-column .spanN grid) ---------- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
}
.container .container {
  max-width: none;
  padding: 0;
}
.container::after,
.row::after,
.header-main-content::after,
[id^="footer"]::after,
[class*="footer-widget-area"]::after,
.products-container::after {
  content: "";
  display: table;
  clear: both;
}
[class*="span"] {
  float: left;
  min-height: 1px;
  padding-right: 20px;
}
.span24 {
  width: 100%;
  padding-right: 0;
}
.span20 {
  width: 83.333%;
}
.span18 {
  width: 75%;
}
.span14 {
  width: 58.333%;
}
.span10 {
  width: 41.666%;
}
.span6 {
  width: 25%;
}
.span5 {
  width: 20.833%;
}
.span4 {
  width: 16.666%;
}
.span8 {
  width: 33.333%;
}
.span12 {
  width: 50%;
}
.clear {
  clear: both;
}
.hidden-phone {
}

/* ---------- Header ---------- */
#header {
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.header-top-content {
  position: relative;
  padding: 14px 18px;
}
.header-main-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
h1.logo {
  margin: 0;
  flex: 0 0 auto;
}
h1.logo a {
  display: inline-block;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--ink);
}
h1.logo a::before {
  content: "iKonia";
}
h1.logo a::after {
  content: "";
}

/* ---------- Main menu (mega/fly menu → clean red bar) ---------- */
.nav {
  flex: 1 1 auto;
}
.main-menu ul#menu-alexmenu.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 2px;
}
ul#menu-alexmenu > li {
  position: relative;
}
ul#menu-alexmenu > li > a {
  display: block;
  padding: 10px 14px;
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border-radius: 3px;
}
ul#menu-alexmenu > li > a:hover {
  background: var(--accent);
  color: #fff;
}
ul#menu-alexmenu > li > a .menu-desc-lv0,
ul#menu-alexmenu .menu-drop-icon,
li#wd-menu-item-dropdown {
  display: none !important;
}
ul#menu-alexmenu .menu-label-level-0 {
  color: inherit !important;
}
/* dropdowns */
ul#menu-alexmenu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  list-style: none;
  margin: 0;
  padding: 6px 0;
  display: none;
  z-index: 1000;
}
ul#menu-alexmenu > li:hover > .sub-menu {
  display: block;
}
ul#menu-alexmenu .sub-menu li {
  list-style: none;
}
ul#menu-alexmenu .sub-menu a {
  display: block;
  padding: 8px 16px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}
ul#menu-alexmenu .sub-menu a:hover {
  background: #f5f5f5;
  color: var(--accent);
}
ul#menu-alexmenu .sub-menu .menu-label-level-1 {
  color: inherit !important;
}
/* the "Prodotti" mega widget list */
.wd-mega-menu .sub-menu .textwidget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.wd-mega-menu .sub-menu hr {
  margin: 4px 12px;
}
/* search item in menu */
li.search-menu > a::after {
  content: "\f002";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}
li.search-menu form {
  display: none;
}
li.search-menu:hover form {
  display: block;
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  border: 1px solid var(--border);
  padding: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 1000;
  min-width: 240px;
}
.search-input {
  border: 1px solid var(--border);
  padding: 8px 10px;
  font-size: 14px;
  width: 170px;
}
#searchsubmit,
.search-input-btn {
  background: var(--accent);
  color: #fff;
  border: 0;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 13px;
}

/* mobile-only widgets hidden on desktop */
.visible-phone,
.phone_quick_menu_1,
.header-middle,
.main-template-loader {
  display: none;
}

/* ---------- Hero / slider fallback ---------- */
.rev_slider_wrapper,
#rev_slider_1_1,
.tp-bannertimer {
  display: none !important;
}
.romli-hero {
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: 66px 18px;
}
.romli-hero h2 {
  color: #fff;
  font-size: 34px;
  margin-bottom: 10px;
}
.romli-hero p {
  color: #e6e6e6;
  font-size: 17px;
  max-width: 620px;
  margin: 0 auto 22px;
}
.romli-hero .btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 12px 26px;
  border-radius: 3px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ---------- Featured categories (homepage) ---------- */
.romli-cat-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.romli-cat {
  flex: 1 1 200px;
  display: block;
  border: 1px solid var(--border);
  border-radius: 5px;
  overflow: hidden;
  background: #fff;
  text-align: center;
  transition:
    box-shadow 0.15s,
    transform 0.15s;
}
.romli-cat:hover {
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}
.romli-cat-img {
  display: block;
  height: 180px;
  background-size: cover;
  background-position: center;
  background-color: #f4f4f4;
}
.romli-cat-name {
  display: block;
  padding: 14px 8px;
  font-weight: 700;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 15px;
}
.romli-cat:hover .romli-cat-name {
  color: var(--accent);
}

/* ---------- Content ---------- */
#container {
  padding: 30px 0 40px;
}
#content {
  min-height: 200px;
}
.main-content,
.main_content,
.products-content {
  background: #fff;
}
.top-page,
.woocommerce-result-count,
.gridlist-toolbar,
.fcbk_share,
.fcbk_button,
.fcbk_like,
.social_desc,
.block-control {
}
a.home,
.breadcrumbs,
.woocommerce-breadcrumb {
  font-size: 13px;
  color: var(--muted);
}
.entry-content-post,
.term-description,
.short-description,
.std,
.main_content {
  color: var(--text);
}
.entry-content-post p,
.std p {
  margin: 0 0 1em;
}
.page-title,
.product-title {
  color: var(--ink);
}
.entry-content-post img,
.std img {
  height: auto;
}

.entry-content-post ul,
.std ul {
  margin: 0 0 1.1em;
  padding-left: 1.4em;
}
.entry-content-post li,
.std li {
  margin: 0 0 0.4em;
}
.entry-content-post ul {
  list-style: disc;
}
.entry-content-post h2 {
  font-size: 22px;
  margin: 1.5em 0 0.5em;
  color: var(--ink);
}
ul.regioni-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}
ul.regioni-list li {
  margin: 0;
}
ul.regioni-list a {
  font-weight: 600;
  color: var(--ink);
}
ul.regioni-list a:hover {
  color: var(--accent);
}

/* ---------- WooCommerce product cards ---------- */
ul.products {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
ul.products li.product {
  width: calc(33.333% - 16px);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.15s;
}
ul.products li.product:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}
.product_thumbnail_wrapper {
  position: relative;
  display: block;
  background: #f4f4f4;
}
.product-image-front,
.product-image-back {
  display: block;
  min-height: 210px;
  background: linear-gradient(135deg, #ececec, #f7f7f7);
  background-size: cover;
  background-position: center;
}
.product-image-back {
  display: none;
}
.product_label {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 2px;
  text-transform: uppercase;
}
.product-meta-wrapper {
  padding: 14px 16px 18px;
}
.product-meta-wrapper h3.product-title {
  font-size: 16px;
  margin: 0 0 8px;
}
.product-meta-wrapper h3.product-title a {
  color: var(--ink);
}
.product-meta-wrapper h3.product-title a:hover {
  color: var(--accent);
}
.short-description {
  font-size: 13.5px;
  color: var(--text);
  margin-bottom: 12px;
}
.gridlist-buttonwrap a,
.add_to_cart_button,
.button {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  padding: 8px 16px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 600;
}
.gridlist-buttonwrap a:hover,
.button:hover {
  background: var(--accent);
  color: #fff;
}
.archive-product-subcategories {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 20px;
}

/* single product page */
div[itemtype*="schema.org/Product"] {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  padding: 10px 0 24px;
}
.images {
  flex: 0 0 400px;
  max-width: 400px;
  background: #f4f4f4;
  border: 1px solid var(--border);
  border-radius: 5px;
  overflow: hidden;
}
.images img {
  width: 100%;
  height: auto;
  display: block;
}
.thumbnails.list_carousel,
.slider_control,
.product_thumbnails {
  display: none;
}
.summary.entry-summary {
  flex: 1;
  min-width: 280px;
}
.summary .product-title,
.summary h1 {
  margin-top: 0;
}
.social_sharing,
.fcbk_share {
  margin-top: 18px;
}
@media (max-width: 760px) {
  .images {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* ---------- Latest / blog cards (romli main-last-posts, /pages/) ---------- */
.romli-lastposts {
  padding: 10px 0 30px;
}

/* ---------- Sitewide monetization band ---------- */
.romlidata {
  margin: 14px 0;
}
.romlifooter {
  margin: 0 auto;
}

/* ---------- Footer ---------- */
#footer {
  background: var(--foot-bg);
  border-top: 3px solid var(--accent);
  margin-top: 30px;
  padding: 34px 0 0;
  color: var(--foot-text, #646464);
}
#footer .widget-title,
#footer h3 {
  color: var(--foot-hd);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 12px;
}
#footer .textwidget {
  font-size: 12.5px;
  line-height: 1.7;
  color: #7a7a7a;
}
#footer .textwidget div[style] {
  padding-left: 0 !important;
  margin-right: 0 !important;
}
#footer a {
  color: var(--accent);
}
.second-footer-widget-area-1 {
  padding: 0 20px 20px 0;
}
.social-icons ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.social-icons ul li {
  list-style: none;
}
.social-icons ul li span {
  display: none;
}
.social-icons ul li a {
  display: inline-block;
  padding: 6px 10px;
  background: #fff;
  border: 1px solid var(--foot-bd);
  border-radius: 3px;
  font-size: 12px;
  color: var(--ink);
}
.social-icons ul li a:hover {
  background: var(--accent);
  color: #fff;
}
#copy-right {
  background: var(--ink);
  color: #cfcfcf;
  margin-top: 26px;
  padding: 16px;
  font-size: 12.5px;
}
#copy-right a {
  color: #fff;
}
#to-top {
  display: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  ul.products li.product {
    width: calc(50% - 12px);
  }
  [class*="span"] {
    float: none;
    width: 100%;
    padding-right: 0;
  }
  .header-main-content {
    justify-content: center;
  }
  .main-menu ul#menu-alexmenu.menu {
    justify-content: center;
  }
}
@media (max-width: 560px) {
  ul.products li.product {
    width: 100%;
  }
  h1 {
    font-size: 24px;
  }
}
