.htmlbox1902 {
  background-color: #161a20;
  color: #cbd5e1;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.6;
  padding: 60px 20px 40px 20px;
  border-top: 3px solid var(--hlcolor);
}

.htmlbox1902 .cdg-footer {
  max-width: 1240px;
  margin: 0 auto;
}

.htmlbox1902 .cdg-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

@media (max-width: 1024px) {
  .htmlbox1902 .cdg-footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .htmlbox1902 .cdg-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.htmlbox1902 .cdg-footer-logo {
  margin-bottom: 18px;
  background: #ffffff;
  display: inline-block;
  padding: 8px 14px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.htmlbox1902 .cdg-footer-logo img {
  display: block;
  max-width: 100%;
  height: auto;
}

.htmlbox1902 .cdg-footer-desc {
  color: #94a3b8;
  font-size: 13.5px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.htmlbox1902 .cdg-footer-badges {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.htmlbox1902 .cdg-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 500;
  color: #e2e8f0;
}

.htmlbox1902 .cdg-badge-item i {
  color: var(--hlcolor);
  font-size: 14px;
}

.htmlbox1902 .cdg-footer-title {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 20px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 10px;
  border: none;
  background: none;
  text-align: left;
}

.htmlbox1902 .cdg-footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--hlcolor);
  border-radius: 2px;
}

.htmlbox1902 ul.cdg-footer-links {
  list-style: none;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.htmlbox1902 ul.cdg-footer-links li {
  list-style: none;
  list-style-type: none;
  margin: 0 0 10px 0;
  padding: 0;
}

.htmlbox1902 .cdg-footer-links a {
  color: #f1f5f9;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: all 0.2s ease;
  display: inline-block;
}

.htmlbox1902 .cdg-footer-links a:hover {
  color: var(--hlcolor);
  transform: translateX(4px);
}

.htmlbox1902 .cdg-contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.htmlbox1902 .cdg-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13.5px;
  color: #94a3b8;
}

.htmlbox1902 .cdg-contact-item strong {
  color: #e2e8f0;
}

.htmlbox1902 .cdg-contact-item a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}

.htmlbox1902 .cdg-contact-item a:hover {
  color: var(--hlcolor);
}

.htmlbox1902 .cdg-c-icon {
  color: var(--hlcolor);
  font-size: 16px;
  margin-top: 3px;
  min-width: 18px;
  text-align: center;
}

.htmlbox1902 .cdg-newsletter-desc {
  color: #94a3b8;
  font-size: 13.5px;
  margin-bottom: 14px;
}

.htmlbox1902 .cdg-newsletter-box {
  margin-bottom: 20px;
}

.htmlbox1902 .cdg-newsletter-form {
  display: flex;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.htmlbox1902 .cdg-newsletter-input {
  flex: 1;
  border: 1px solid #334155;
  background: #0f172a;
  color: #ffffff;
  padding: 10px 14px;
  font-size: 13.5px;
  outline: none;
  border-right: none;
}

.htmlbox1902 .cdg-newsletter-input:focus {
  border-color: var(--hlcolor);
}

.htmlbox1902 .cdg-newsletter-btn {
  background-color: var(--hlcolor);
  color: #ffffff;
  border: none;
  padding: 0 18px;
  cursor: pointer;
  transition: opacity 0.2s ease;
  font-size: 14px;
}

.htmlbox1902 .cdg-newsletter-btn:hover {
  opacity: 0.9;
}

.htmlbox1902 .cdg-newsletter-note {
  display: block;
  font-size: 11px;
  color: #64748b;
  margin-top: 6px;
}

.htmlbox1902 .cdg-quick-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #64748b;
}

.htmlbox1902 .cdg-quick-legal a {
  color: #94a3b8;
  text-decoration: none;
}

.htmlbox1902 .cdg-quick-legal a:hover {
  color: #ffffff;
}
/* ============================================================
   CASA DI GIORGIO - ARCHITECTURAL DESIGN & NATIVE NAVIGATION
   ============================================================ */

/* 1. Base Typography & Global Reset */
body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1e293b;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
}

/* 2. Top Header Announcement Strip */
@media (min-width: 992px) {
  #topbanner::before {
    content: '📞 Τηλεφωνικές Παραγγελίες: 2223 023330   •   📍 Έκθεση & Κατάστημα: Αλιβέρι Ευβοίας   •   🚚 Ασφαλής Παράδοση σε όλη την Ελλάδα';
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    color: #475569;
    font-size: 12px;
    font-weight: 500;
    padding: 7px 16px;
    border-bottom: 1px solid #e2e8f0;
    letter-spacing: 0.3px;
  }
}

body #topbanner,
#thewhole #topbanner,
div.popuplogos,
#topbanner {
  background-color: #ffffff;
  border-bottom: 1px solid #f1f5f9;
  position: relative;
  z-index: 40;
  padding: 0;
  height: auto;
  min-height: 0;
  overflow: visible;
}

#thewhole #innertopbanner,
#innertopbanner {
  max-width: 1280px;
  margin: 0 auto;
  min-height: 64px;
  padding: 8px 20px;
  background: none;
  background-image: none;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-sizing: border-box;
}

/* Logo container & image */
#thewhole #overlay1990,
#overlay1990 {
  display: flex;
  align-items: center;
  height: 48px;
  width: auto;
  min-width: 230px;
  max-width: 270px;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

#thewhole #overlay1990 a,
#overlay1990 a {
  display: flex;
  align-items: center;
  height: 100%;
  width: auto;
  text-decoration: none;
}

#overlay1990 img.cdg-logo-img {
  max-height: 44px;
  width: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
}

/* Search Bar (p_filter in #topbanner & #abovetopbanner) */
#thewhole #topbanner .filter,
#thewhole #abovetopbanner .filter,
#topbanner .filter,
#abovetopbanner .filter {
  margin: 0;
  padding: 0;
  width: 100%;
}

@media (min-width: 992px) {
  #thewhole #abovetopbanner,
  #abovetopbanner {
    display: none;
  }

  #thewhole #topbanner .cdg-header-search,
  #topbanner .cdg-header-search,
  #thewhole #topbanner div:has(> .filter),
  #topbanner div:has(> .filter) {
    flex: 1;
    max-width: 480px;
    margin: 0 16px;
    min-width: 0;
  }
}

#thewhole #topbanner .filter form,
#thewhole #abovetopbanner .filter form,
#topbanner .filter form,
#abovetopbanner .filter form,
#thewhole #topbanner .cdg-header-search form,
#thewhole #abovetopbanner .cdg-header-search form,
#topbanner .cdg-header-search form,
#abovetopbanner .cdg-header-search form {
  display: flex;
  align-items: center;
  width: 100%;
  height: 42px;
  box-sizing: border-box;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 30px;
  padding: 3px 6px 3px 18px;
  transition: all 0.2s ease;
  margin: 0;
}

#thewhole #topbanner .filter form:focus-within,
#thewhole #abovetopbanner .filter form:focus-within,
#topbanner .filter form:focus-within,
#abovetopbanner .filter form:focus-within,
#thewhole #topbanner .cdg-header-search form:focus-within,
#thewhole #abovetopbanner .cdg-header-search form:focus-within,
#topbanner .cdg-header-search form:focus-within,
#abovetopbanner .cdg-header-search form:focus-within {
  border-color: var(--hlcolor);
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(217, 37, 40, 0.12);
}

#thewhole #topbanner .filter form input[type="text"],
#thewhole #abovetopbanner .filter form input[type="text"],
#thewhole #topbanner .filter form input,
#thewhole #abovetopbanner .filter form input,
#topbanner .filter form input,
#abovetopbanner .filter form input,
#thewhole #topbanner .cdg-header-search input,
#thewhole #abovetopbanner .cdg-header-search input,
#topbanner .cdg-header-search input,
#abovetopbanner .cdg-header-search input {
  flex: 1;
  min-width: 0;
  width: auto;
  height: 100%;
  border: none;
  background: transparent;
  outline: none;
  font-size: 13.5px;
  color: #1e293b;
  padding: 7px 0;
  margin: 0;
  box-shadow: none;
}

#thewhole #topbanner .filter form input::placeholder,
#thewhole #abovetopbanner .filter form input::placeholder,
#topbanner .filter form input::placeholder,
#abovetopbanner .filter form input::placeholder,
#thewhole #topbanner .cdg-header-search input::placeholder,
#thewhole #abovetopbanner .cdg-header-search input::placeholder,
#topbanner .cdg-header-search input::placeholder,
#abovetopbanner .cdg-header-search input::placeholder {
  color: #94a3b8;
  opacity: 1;
}

#thewhole #topbanner .filter form button[type="submit"],
#thewhole #abovetopbanner .filter form button[type="submit"],
#thewhole #topbanner .filter form button,
#thewhole #abovetopbanner .filter form button,
#topbanner .filter form button,
#abovetopbanner .filter form button,
#thewhole #topbanner .cdg-header-search button,
#thewhole #abovetopbanner .cdg-header-search button,
#topbanner .cdg-header-search button,
#abovetopbanner .cdg-header-search button {
  border: none;
  background: var(--hlcolor);
  color: #ffffff;
  width: 34px;
  min-width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  flex-shrink: 0;
  transition: opacity 0.2s, transform 0.15s;
}

#thewhole #topbanner .filter form button:hover,
#thewhole #abovetopbanner .filter form button:hover,
#topbanner .filter form button:hover,
#abovetopbanner .filter form button:hover,
#thewhole #topbanner .cdg-header-search button:hover,
#thewhole #abovetopbanner .cdg-header-search button:hover,
#topbanner .cdg-header-search button:hover,
#abovetopbanner .cdg-header-search button:hover {
  opacity: 0.9;
  transform: scale(1.04);
}

#thewhole #topbanner .filter form button .material-icons,
#thewhole #abovetopbanner .filter form button .material-icons,
#topbanner .filter form button .material-icons,
#abovetopbanner .filter form button .material-icons {
  font-size: 18px;
  line-height: 1;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  margin: 0;
}
  /* Header Right Group */
  .cdg-header-right-group {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
  }

  /* Support Hotline */
  .cdg-header-support {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .cdg-hs-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fef2f2;
    color: var(--hlcolor);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
  }

  .cdg-hs-content {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
  }

  .cdg-hs-label {
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
  }

  .cdg-hs-phone {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    text-decoration: none;
    transition: color 0.18s;
  }

  .cdg-hs-phone:hover {
    color: var(--hlcolor);
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  #topbanner .cdg-header-search,
  #topbanner div:has(> .filter) {
    max-width: 320px;
    margin: 0 10px;
  }

  .cdg-header-right-group {
    gap: 12px;
  }

  .cdg-header-support .cdg-hs-label {
    display: none;
  }

  #thewhole #overlay1990,
  #overlay1990 {
    min-width: 210px;
    max-width: 230px;
  }
}

/* Language Chooser */
#topbanner .langchooser {
  margin: 0;
}

#topbanner .langlist ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

#topbanner .langlist li a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

#topbanner .langlist li.active a,
#topbanner .langlist li a:hover {
  color: #0f172a;
  background-color: #f1f5f9;
}

#topbanner .langlist img {
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

/* 3. Main Navigation Bar (Architectural Luxury) */
#topmenu {
  background-color: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.04);
  position: sticky;
  top: 0;
  z-index: 45;
}

#innertopmenu {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  box-sizing: border-box;
}

#topmenu div.horizmenu.topmenu > ul {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 2px;
  min-height: 54px;
}

/* Top-level menu items */
#topmenu div.horizmenu.topmenu > ul > li {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}

#topmenu div.horizmenu.topmenu > ul > li > a {
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.35px;
  text-transform: uppercase;
  color: #334155;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
  min-height: 54px;
  height: 54px;
  box-sizing: border-box;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
}

/* Top-level Active state */
#topmenu div.horizmenu.topmenu > ul > li.active > a,
#topmenu #treemenu_m10_parent_734 > li.active > a {
  color: var(--hlcolor);
  border-bottom: 2px solid var(--hlcolor);
  font-weight: 700;
  background: transparent;
}

/* Top-level Hover state */
#topmenu div.horizmenu.topmenu > ul > li:hover > a {
  color: var(--hlcolor);
  border-bottom: 2px solid var(--hlcolor);
  background: transparent;
}

/* Subtle chevron down on items with submenus */
#topmenu div.horizmenu.topmenu > ul > li.haschilds > a::after {
  content: '\f107';
  font-family: FontAwesome;
  font-size: 10px;
  color: #94a3b8;
  margin-left: 6px;
  transition: transform 0.2s ease, color 0.2s ease;
}

#topmenu div.horizmenu.topmenu > ul > li.haschilds:hover > a::after {
  transform: rotate(180deg);
  color: var(--hlcolor);
}

/* Highlight badge for ΠΡΟΣΦΟΡΕΣ */
#topmenu div.horizmenu.topmenu > ul > li > a[href*="2180"] {
  color: var(--hlcolor);
  font-weight: 800;
}

#topmenu div.horizmenu.topmenu > ul > li > a[href*="2180"]::before {
  content: 'SALE';
  display: inline-block;
  background: var(--hlcolor);
  color: #ffffff;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 4px;
  margin-right: 5px;
  letter-spacing: 0.5px;
  vertical-align: middle;
}

/* 4. Elegant Megamenu Dropdown Panels */
#topmenu div.horizmenu.topmenu div.megamenu {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 24px;
  position: absolute;
  top: 100%;
  left: 0;
  width: max-content;
  max-width: calc(100vw - 40px);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-top: none;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.14), 0 0 0 1px rgba(15, 23, 42, 0.05);
  padding: 22px 26px;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  text-align: left;
  box-sizing: border-box;
}

/* Items near right edge align to the right */
#topmenu div.horizmenu.topmenu > ul > li:nth-last-child(-n+3) div.megamenu {
  left: auto;
  right: 0;
}

/* Reveal smoothly on hover */
#topmenu div.horizmenu.topmenu > ul > li:hover > div.megamenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* Megamenu text wrapping and natural column layout */
#topmenu div.horizmenu.topmenu div.megamenu,
#topmenu div.horizmenu.topmenu div.megamenu *,
#topmenu div.horizmenu.topmenu .acolumn,
#topmenu div.horizmenu.topmenu .megafirstlevelitemmegafirstlevelitem,
#topmenu div.horizmenu.topmenu .megafirstlevelitemmegafirstlevelitem ul li a {
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
}

/* Column layout inside megamenu */
#topmenu div.horizmenu.topmenu .acolumn {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 230px;
  min-width: 220px;
  max-width: 260px;
  box-sizing: border-box;
  float: none;
}

#topmenu div.horizmenu.topmenu .megafirstlevelitemmegafirstlevelitem {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* H2 category headers inside megamenu */
#topmenu div.horizmenu.topmenu .megafirstlevelitemmegafirstlevelitem h2 {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  color: #0f172a;
  letter-spacing: 0.4px;
  margin: 0;
  padding: 0 0 6px 0;
  border-bottom: 2px solid #f1f5f9;
  position: relative;
  line-height: 1.3;
}

#topmenu div.horizmenu.topmenu .megafirstlevelitemmegafirstlevelitem h2 a {
  color: #0f172a;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  transition: color 0.18s ease;
  display: block;
  padding: 2px 0;
  background: transparent;
}

#topmenu div.horizmenu.topmenu .megafirstlevelitemmegafirstlevelitem h2 a:hover {
  color: var(--hlcolor);
  background: transparent;
}

/* Active H2 in megamenu */
#topmenu div.horizmenu.topmenu .megafirstlevelitemmegafirstlevelitem.active h2 a,
#topmenu div.horizmenu.topmenu .megafirstlevelitemmegafirstlevelitem.active h2 {
  color: var(--hlcolor);
  border-bottom-color: var(--hlcolor);
}

/* Sub-items list */
#topmenu div.horizmenu.topmenu .megafirstlevelitemmegafirstlevelitem ul {
  list-style: none;
  margin: 4px 0 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

#topmenu div.horizmenu.topmenu .megafirstlevelitemmegafirstlevelitem ul li {
  list-style: none;
  margin: 0;
  padding: 0;
  background: transparent;
}

/* All links in megamenu lists */
#topmenu div.horizmenu.topmenu .megafirstlevelitemmegafirstlevelitem ul li a {
  color: #475569;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  padding: 4px 6px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  border-radius: 4px;
  background: transparent;
  transition: color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
  line-height: 1.35;
}

/* Bullet for regular leaf links: aligned cleanly with the first line of text */
#topmenu div.horizmenu.topmenu .megafirstlevelitemmegafirstlevelitem ul li.nochilds > a::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #cbd5e1;
  flex-shrink: 0;
  margin-top: 6px;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

/* Hover on regular leaf links: soft light hover, NO red background */
#topmenu div.horizmenu.topmenu .megafirstlevelitemmegafirstlevelitem ul li.nochilds > a:hover {
  color: var(--hlcolor);
  background-color: #f8fafc;
  transform: translateX(2px);
}

#topmenu div.horizmenu.topmenu .megafirstlevelitemmegafirstlevelitem ul li.nochilds > a:hover::before {
  background-color: var(--hlcolor);
  transform: scale(1.2);
}

/* Active leaf link in megamenu */
#topmenu div.horizmenu.topmenu .megafirstlevelitemmegafirstlevelitem ul li.active > a {
  color: var(--hlcolor);
  font-weight: 700;
  background-color: rgba(217, 37, 40, 0.06);
}

#topmenu div.horizmenu.topmenu .megafirstlevelitemmegafirstlevelitem ul li.active > a::before {
  background-color: var(--hlcolor);
  box-shadow: 0 0 0 2px rgba(217, 37, 40, 0.25);
}

/* Parent sub-category item that has children (e.g. ΠΟΜΟΛΑ) */
#topmenu div.horizmenu.topmenu .megafirstlevelitemmegafirstlevelitem ul li.haschilds > a {
  font-weight: 700;
  color: #1e293b;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 6px 4px 2px 4px;
  cursor: default;
  background: transparent;
  transform: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

#topmenu div.horizmenu.topmenu .megafirstlevelitemmegafirstlevelitem ul li.haschilds > a::before {
  content: '\f105';
  font-family: FontAwesome;
  font-size: 11px;
  color: var(--hlcolor);
  display: inline-block;
  width: auto;
  height: auto;
  background: transparent;
  border-radius: 0;
  margin: 0;
  margin-top: 1px;
}

/* 3rd Level Nested List: cleanly indented with architectural guide line */
#topmenu div.horizmenu.topmenu .megafirstlevelitemmegafirstlevelitem ul ul {
  margin: 2px 0 6px 8px;
  padding: 0 0 0 10px;
  border-left: 2px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

#topmenu div.horizmenu.topmenu .megafirstlevelitemmegafirstlevelitem ul ul li a {
  font-size: 12.5px;
  color: #64748b;
  padding: 3px 6px;
}

#topmenu div.horizmenu.topmenu .megafirstlevelitemmegafirstlevelitem ul ul li a:hover {
  color: var(--hlcolor);
  background-color: #f8fafc;
  transform: translateX(2px);
}

#topmenu div.horizmenu.topmenu .megafirstlevelitemmegafirstlevelitem ul ul li a:hover::before {
  background-color: var(--hlcolor);
}

/* Safety reset: ensure sitelook hover never turns megamenu backgrounds red */
div.topmenu div.megamenu li:hover > a,
div.topmenu div.megamenu li.inactive:hover > a,
div.topmenu div.megamenu li.active:hover > a,
div.topmenu div.megamenu div:hover > a,
div.topmenu div.megamenu div.inactive:hover > a,
div.topmenu div.megamenu div.active:hover > a {
  background-color: transparent;
  background-image: none !important;
}

/* 5. Mobile Header & Drawer */
@media (min-width: 992px) {
  body #mobile-header {
    display: none;
  }
}

@media (max-width: 991px) {
  body #topbanner,
  body #topmenu {
    display: none;
  }

  #thewhole #abovetopbanner,
  #abovetopbanner {
    display: block;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 10px 16px;
    margin: 0;
    box-sizing: border-box;
    width: 100%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  }

  #thewhole #innerabovetopbanner,
  #innerabovetopbanner {
    max-width: 680px;
    margin: 0 auto;
    padding: 0;
    background: none;
    box-sizing: border-box;
  }

  #abovetopbanner .filter,
  #abovetopbanner .cdg-header-search {
    max-width: 100%;
    margin: 0;
  }

  body #mobile-header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    position: sticky;
    top: 0;
    z-index: 50;
  }

  #mobile-header .header__menu-toggle {
    color: #0f172a;
    font-size: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
  }

  #mobile-header .mobile-header-startlink {
    background-image: url('/site_images/logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    height: 38px;
    width: 180px;
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
  }

  .side-nav__container {
    background: #ffffff;
  }

  .side-nav__header {
    background: #0f172a;
    color: #ffffff;
    padding: 18px 20px;
    font-size: 14px;
    font-weight: 700;
  }

  .side-nav__hide {
    color: #ffffff;
  }

  .side-nav_menu ul li a {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
  }

  .side-nav_menu ul li a:hover,
  .side-nav_menu ul li.active a {
    color: var(--hlcolor);
    background: #f8fafc;
  }
}


/* ============================================================
   CASA DI GIORGIO - ARCHITECTURAL PRODUCT CATALOG & DETAIL
   ============================================================ */

/* 1. Global Product Layout & Containers */
#thewhole #content,
#thewhole #innercontent {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

#thewhole #twopluscols {
  display: block;
  padding: 16px 0 40px;
}

#thewhole #twopluscols #lefty {
  display: none;
}

/* Hide legacy delimiters & 1px images */
#thewhole #content .delimiter,
#thewhole #content .am_850,
#thewhole #content .am_1323,
#thewhole #content .am_1477,
#thewhole #content .am_1484,
#thewhole #content .am_1487,
#thewhole #content .am_1489,
#thewhole #content .am_1491,
#thewhole #content .theitems .delimiter,
#thewhole #content img[src*="2924705938d03ed8e32788f1d4aa6612497821fd.png"] {
  display: none;
}

/* 3. Main Content Area (#righty) */
#thewhole #twopluscols #righty {
  flex: 1;
  min-width: 0;
  width: 100%;
  float: none;
  margin-left: 0;
}

/* Breadcrumbs (Native CMS path module) */
#thewhole .path.cdg-path,
.path.cdg-path {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #94a3b8;
  margin: 0 0 14px 0;
  line-height: 1.4;
}

#thewhole .path.cdg-path a,
.path.cdg-path a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.15s ease;
}

#thewhole .path.cdg-path a:hover,
.path.cdg-path a:hover {
  color: var(--hlcolor);
}

#thewhole .path.cdg-path span:last-child,
.path.cdg-path span:last-child {
  color: #0f172a;
  font-weight: 600;
}

#thewhole .path.cdg-path span:last-child a,
.path.cdg-path span:last-child a {
  color: #0f172a;
  font-weight: 600;
  pointer-events: none;
}

/* Page Title */
#thewhole #content h1.pagetitle {
  font-size: 32px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.5px;
  margin: 0 0 14px 0;
  line-height: 1.2;
}

/* Catalog Description (via native htmlbox #1338 inside items #844 aboveitems) */
.aboveitems .htmlbox1338 {
  margin: 4px 0 24px 0;
  padding-bottom: 20px;
  border-bottom: 1px solid #e2e8f0;
}

.aboveitems .htmlbox1338 .cdg-catalog-desc {
  font-size: 14.5px;
  color: #64748b;
  line-height: 1.6;
  max-width: 820px;
  margin: 0;
}

/* 4. Product Listing Cards */
/* Native catalog grid layout is managed 100% via sitelook (horizitems) */

/* Ensure sampleitem is hidden by default; toggled natively by CMS edit controls */
div.sampleitem,
.sampleitem,
.theitems .item.sampleitem {
  display: none;
}

#thewhole #content .horizontalitems .theitems .item .itemcontent {
  width: 100%;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: visible;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

html:not(.editoptionsmode) #thewhole #content .horizontalitems .theitems .item .itemcontent:hover {
  transform: translateY(-5px);
  border-color: #cbd5e1;
  box-shadow: 0 16px 32px -6px rgba(15, 23, 42, 0.08);
}

#thewhole #content .horizontalitems .horizitemboxy,
#thewhole #content .horizontalitems .infoboxy {
  width: 100%;
  display: flex;
  flex-direction: column;
  flex: 1;
  border: none;
  background: transparent;
  padding: 0;
  margin: 0;
}

/* Card Image Box */
#thewhole #content .horizontalitems .photos-846 {
  height: 230px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px 15px 0 0;
  border-bottom: 1px solid #f1f5f9;
  padding: 20px;
  box-sizing: border-box;
}

#thewhole #content .horizontalitems .photos-846 a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 15px 15px 0 0;
  overflow: hidden;
}

#thewhole #content .horizontalitems .photos-846 .photos img,
#thewhole #content .horizontalitems .photos-846 img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.35s ease;
}

#thewhole #content .horizontalitems .theitems .item .itemcontent:hover .photos-846 img {
  transform: scale(1.06);
}

/* Card Text & Information */
#thewhole #content .horizontalitems .textboxy {
  padding: 20px 20px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

#thewhole #content .horizontalitems .textboxy h3 {
  margin: 0 0 10px 0;
  padding: 0;
  line-height: 1.35;
}

#thewhole #content .horizontalitems .textboxy h3 a {
  font-size: 16.5px;
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
  transition: color 0.18s;
  display: block;
}

#thewhole #content .horizontalitems .theitems .item:hover .textboxy h3 a {
  color: var(--hlcolor);
}

#thewhole #content .horizontalitems .price {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

#thewhole #content .horizontalitems .price .label {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#thewhole #content .horizontalitems .price .value,
#thewhole #content .horizontalitems .price {
  font-size: 21px;
  font-weight: 800;
  color: var(--hlcolor);
  font-feature-settings: "tnum";
}

/* Card Details Button */
#thewhole #content .horizontalitems .linkto,
#thewhole #content div.items div.linkto,
#thewhole #content .horizontalitems .itemcontent .linkto {
  padding: 0 20px 20px;
  margin: 0;
  background: transparent;
  background-color: transparent;
  border: none;
  box-shadow: none;
}

#thewhole #content div.items div.wishlistbutton,
#thewhole #content div.items div.basketbutton {
  background: transparent;
  background-color: transparent;
  border: none;
  box-shadow: none;
}

#thewhole #content .horizontalitems .linkto_a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
  padding: 11px 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: #1e293b;
  text-decoration: none;
  transition: all 0.2s ease;
}

#thewhole #content .horizontalitems .linkto_a::after {
  content: '→';
  font-size: 14px;
  transition: transform 0.2s;
}

#thewhole #content .horizontalitems .theitems .item .itemcontent:hover .linkto_a {
  background: var(--hlcolor);
  border-color: var(--hlcolor);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(217, 37, 40, 0.25);
}

#thewhole #content .horizontalitems .theitems .item .itemcontent:hover .linkto_a::after {
  transform: translateX(4px);
}

#thewhole #content .horizontalitems .wishlistbutton {
  display: none;
}

/* 5. Product Detail Page */
body.itemdetail #thewhole #content {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

body.itemdetail #thewhole #twopluscols {
  display: block;
}

body.itemdetail #thewhole #twopluscols #lefty {
  display: none;
}

body.itemdetail #thewhole #twopluscols #righty {
  width: 100%;
  float: none;
}

body.itemdetail #thewhole .am_1493 {
  display: none;
}

/* Detail Back Link - Clean borderless pill button */
#thewhole .items.noeshop .detail .back,
#thewhole div.items div.back,
#thewhole .items .detail .back {
  border: none;
  background: none;
  background-image: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  margin: 0 0 24px 0;
  float: none;
  display: inline-block;
}

#thewhole .items.noeshop .detail .back a,
#thewhole div.items div.back a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: #f1f5f9;
  border: none;
  border-radius: 20px;
  font-size: 13.5px;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

#thewhole .items.noeshop .detail .back a::before {
  content: '←';
  font-size: 15px;
  transition: transform 0.2s;
}

#thewhole .items.noeshop .detail .back a:hover {
  background: #e2e8f0;
  color: var(--hlcolor);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

#thewhole .items.noeshop .detail .back a:hover::before {
  transform: translateX(-3px);
}

/* Detail 2-Column Showcase */
#thewhole #content .cdg-product-layout,
.cdg-product-layout {
  display: grid;
  grid-template-columns: minmax(360px, 1.3fr) minmax(320px, 1fr);
  gap: 40px;
  align-items: start;
  margin-bottom: 40px;
}

#thewhole #content .cdg-media-col,
.cdg-media-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 24px;
  width: 100%;
}

#thewhole #content .cdg-main-photo-card,
.cdg-main-photo-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  padding: 16px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: visible;
  box-sizing: border-box;
}

#thewhole #content .cdg-main-photo-card div.photos,
#thewhole #content .cdg-main-photo-card .photos-1478,
#thewhole #content .cdg-main-photo-card .amodule,
#thewhole #content .cdg-main-photo-card .p_photos_main_image_detail,
.cdg-main-photo-card div.photos,
.cdg-main-photo-card .photos-1478,
.cdg-main-photo-card .amodule,
.cdg-main-photo-card .p_photos_main_image_detail {
  float: none;
  width: 100%;
  clear: both;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

#thewhole #content .cdg-main-photo-card .p_photos_main_image_detail a.colorbox,
#thewhole #content .cdg-main-photo-card .p_photos_main_image_detail a,
.cdg-main-photo-card .p_photos_main_image_detail a.colorbox,
.cdg-main-photo-card .p_photos_main_image_detail a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 440px;
  max-height: none;
  background: #f8fafc;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #f1f5f9;
  position: relative;
  box-sizing: border-box;
}

#thewhole #content .cdg-main-photo-card .p_photos_main_image_detail .photos img,
#thewhole #content .cdg-main-photo-card .p_photos_main_image_detail img.img-responsive,
#thewhole #content .cdg-main-photo-card .p_photos_main_image_detail img,
.cdg-main-photo-card .p_photos_main_image_detail .photos img,
.cdg-main-photo-card .p_photos_main_image_detail img.img-responsive,
.cdg-main-photo-card .p_photos_main_image_detail img {
  max-height: 600px;
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 12px;
  image-rendering: -webkit-optimize-contrast;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: zoom-in;
}

#thewhole #content .cdg-main-photo-card:hover .p_photos_main_image_detail img,
.cdg-main-photo-card:hover .p_photos_main_image_detail img {
  transform: scale(1.025);
}

#thewhole #content .cdg-main-photo-card .zoomtext,
.cdg-main-photo-card .zoomtext {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 8px 20px;
  border-radius: 20px;
  margin-top: 14px;
  transition: all 0.2s ease;
  cursor: pointer;
  letter-spacing: 0.2px;
}

#thewhole #content .cdg-main-photo-card .zoomtext:hover,
.cdg-main-photo-card .zoomtext:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #cbd5e1;
}

/* Detail Gallery Wrap */
.cdg-gallery-wrap {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px;
}

.cdg-gallery-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

/* Native gallery layout via sitelook */

.cdg-gallery-wrap .item {
  width: 84px;
  height: 84px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  overflow: visible;
  background: #f8fafc;
  padding: 4px;
  box-sizing: border-box;
  transition: all 0.2s ease;
  cursor: pointer;
}

.cdg-gallery-wrap .item .photos img {
  border-radius: 6px;
}

.cdg-gallery-wrap .item:hover {
  border-color: var(--hlcolor);
  transform: translateY(-2px);
}

.cdg-gallery-wrap .photos img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cdg-gallery-wrap .am_2072,
.cdg-gallery-wrap h1.header {
  display: none;
}

.cdg-trust-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px;
}

.cdg-trust-item {
  text-align: center;
  font-size: 11.5px;
  font-weight: 600;
  color: #475569;
  line-height: 1.3;
}

.cdg-trust-icon {
  font-size: 18px;
  margin-bottom: 4px;
  display: block;
  color: var(--hlcolor);
}

/* Detail Right Column */
.cdg-info-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cdg-product-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #64748b;
}

.cdg-product-tag span.badge-avail {
  background: #fef2f2;
  color: var(--hlcolor);
  border: 1px solid #fecaca;
  padding: 3px 10px;
  border-radius: 12px;
}

.cdg-info-col h1.cdg-detail-title {
  font-size: 32px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin: 0;
  letter-spacing: -0.4px;
}

.cdg-price-card {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cdg-price-card .price-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #64748b;
}

.cdg-price-card .price-val {
  font-size: 36px;
  font-weight: 900;
  color: var(--hlcolor);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.cdg-price-card .price-sub {
  font-size: 12.5px;
  font-weight: 500;
  color: #475569;
  margin-top: 4px;
}

.cdg-specs-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.cdg-specs-card h3.specs-header {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #0f172a;
  margin: 0 0 14px 0;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
}

.cdg-specs-card .textbox .value p {
  font-size: 14.5px;
  line-height: 1.7;
  color: #334155;
  margin: 0 0 10px 0;
}

.cdg-specs-card .textbox .value p:last-child {
  margin-bottom: 0;
}

.cdg-specs-card .textbox .value strong {
  color: #0f172a;
  font-weight: 700;
}

.cdg-hotline-bar {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: 14px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 8px 20px -4px rgba(15, 23, 42, 0.2);
}

.cdg-hl-text {
  font-size: 13px;
  line-height: 1.35;
}

.cdg-hl-text span.title {
  font-weight: 700;
  font-size: 14px;
  display: block;
  margin-bottom: 2px;
}

.cdg-hl-text span.subtitle {
  color: #94a3b8;
  font-size: 12px;
}

.cdg-hl-btn {
  background: var(--hlcolor);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.cdg-hl-btn:hover {
  opacity: 0.92;
}

/* 17. Product Detail Inquiry Card */
.cdg-inquiry-card {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  padding: 26px;
}

.cdg-inquiry-card h2 {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px 0;
}

.cdg-inquiry-card p.inquiry-sub {
  font-size: 13px;
  color: #64748b;
  margin: 0 0 18px 0;
  line-height: 1.5;
}

.cdg-inquiry-card form p {
  margin: 0 0 14px 0;
}

.cdg-inquiry-card label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}

.cdg-inquiry-card p.required label::after {
  content: ' *';
  color: var(--hlcolor);
  font-weight: 700;
}

.cdg-inquiry-card p.notrequired label::after {
  content: ' (προαιρετικό)';
  font-size: 11.5px;
  font-weight: 400;
  color: #94a3b8;
}

.cdg-inquiry-card input[type="text"],
.cdg-inquiry-card input[type="email"],
.cdg-inquiry-card input[type="tel"],
.cdg-inquiry-card textarea {
  width: 100%;
  box-sizing: border-box;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  font-family: inherit;
  color: #0f172a;
  outline: none;
  transition: all 0.2s ease;
}

.cdg-inquiry-card textarea {
  min-height: 100px;
  resize: vertical;
  line-height: 1.5;
}

.cdg-inquiry-card input[type="text"]:focus,
.cdg-inquiry-card input[type="email"]:focus,
.cdg-inquiry-card input[type="tel"]:focus,
.cdg-inquiry-card textarea:focus {
  border-color: var(--hlcolor);
  box-shadow: 0 0 0 3px rgba(217, 37, 40, 0.12);
}

.cdg-inquiry-card .submit button {
  width: 100%;
  background: var(--hlcolor);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(217, 37, 40, 0.25);
}

.cdg-inquiry-card .submit button:hover {
  background: #b91c1c;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(217, 37, 40, 0.35);
}

/* Responsive Media Queries */
@media (max-width: 991px) {
  #thewhole #twopluscols {
    flex-direction: column;
  }

  #thewhole #twopluscols #lefty {
    width: 100%;
  }

  

  
}

@media (max-width: 900px) {
  #thewhole #content .cdg-product-layout,
  .cdg-product-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  #thewhole #content .cdg-media-col,
  .cdg-media-col {
    position: static;
  }

  #thewhole #content .cdg-main-photo-card,
  .cdg-main-photo-card {
    padding: 12px;
  }

  #thewhole #content .cdg-main-photo-card .p_photos_main_image_detail a.colorbox,
  #thewhole #content .cdg-main-photo-card .p_photos_main_image_detail a,
  .cdg-main-photo-card .p_photos_main_image_detail a.colorbox,
  .cdg-main-photo-card .p_photos_main_image_detail a {
    min-height: 280px;
  }

  #thewhole #content .cdg-main-photo-card .p_photos_main_image_detail .photos img,
  #thewhole #content .cdg-main-photo-card .p_photos_main_image_detail img,
  .cdg-main-photo-card .p_photos_main_image_detail .photos img,
  .cdg-main-photo-card .p_photos_main_image_detail img {
    max-height: 480px;
  }

  #thewhole #content .cdg-hotline-bar,
  .cdg-hotline-bar {
    flex-direction: column;
    text-align: center;
  }

  #thewhole #content .cdg-hl-btn,
  .cdg-hl-btn {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
}

/* Product Card Dimensions Badge */
#thewhole #content .horizontalitems .cdg-card-dim {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f1f5f9;
  color: #1e293b;
  font-size: 12.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  margin-top: 6px;
  margin-bottom: 8px;
  width: fit-content;
  letter-spacing: 0.2px;
}

#thewhole #content .horizontalitems .cdg-card-dim .dim-sub {
  color: #64748b;
  font-weight: 500;
  font-size: 11px;
}

/* Detail Page Dimension Badge */
.cdg-product-tag span.badge-dim {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 700;
}

/* Detail Page Tech Specs Table */
.cdg-specs-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 18px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  font-size: 13.5px;
}

.cdg-specs-table tr:nth-child(odd) {
  background-color: #f8fafc;
}

.cdg-specs-table tr:nth-child(even) {
  background-color: #ffffff;
}

.cdg-specs-table th,
.cdg-specs-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid #f1f5f9;
}

.cdg-specs-table tr:last-child th,
.cdg-specs-table tr:last-child td {
  border-bottom: none;
}

.cdg-specs-table th {
  font-weight: 600;
  color: #475569;
  width: 32%;
  background: transparent;
}

.cdg-specs-table td {
  font-weight: 500;
  color: #0f172a;
}

.cdg-specs-table td.dim-highlight {
  font-weight: 800;
  color: var(--hlcolor);
  font-size: 14.5px;
}


/* ============================================================
   CASA DI GIORGIO - FOOTER STYLING & RESET OVERRIDES
   ============================================================ */
#belowsite .htmlbox1902 ul.cdg-footer-links {
  list-style: none;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

#belowsite .htmlbox1902 ul.cdg-footer-links li {
  list-style: none;
  list-style-type: none;
  margin: 0 0 10px 0;
  padding: 0;
}

#belowsite .htmlbox1902 .cdg-footer-links a {
  color: #f1f5f9;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  display: inline-block;
  transition: all 0.2s ease;
}

#belowsite .htmlbox1902 .cdg-footer-links a:hover {
  color: var(--hlcolor);
  transform: translateX(4px);
}

#belowsite .htmlbox1902 .cdg-contact-item a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}

#belowsite .htmlbox1902 .cdg-contact-item a:hover {
  color: var(--hlcolor);
}

#belowsite .htmlbox1902 .cdg-quick-legal a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}

#belowsite .htmlbox1902 .cdg-quick-legal a:hover {
  color: #ffffff;
}


/* ============================================================
   CASA DI GIORGIO - CONTACT FORM COMPONENT STYLING (.c_cdg_contactform)
   ============================================================ */
div.contactform.c_cdg_contactform {
  max-width: 1200px;
  margin: 0 auto 50px auto;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-top: none;
  border-radius: 0 0 16px 16px;
  padding: 30px 36px 40px 36px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}

div.contactform.c_cdg_contactform h2 {
  display: none;
}

div.contactform.c_cdg_contactform form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 24px;
  margin: 0;
  padding: 0;
}

div.contactform.c_cdg_contactform form p {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

div.contactform.c_cdg_contactform form p label {
  position: static;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 8px;
  display: block;
  float: none;
  width: auto;
  text-align: left;
  line-height: 1.4;
}

div.contactform.c_cdg_contactform form input[type="text"],
div.contactform.c_cdg_contactform form input[type="email"],
div.contactform.c_cdg_contactform form input[type="tel"],
div.contactform.c_cdg_contactform form select {
  width: 100%;
  box-sizing: border-box;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14.5px;
  color: #0f172a;
  font-family: inherit;
  transition: all 0.2s ease;
  outline: none;
  height: 48px;
}

div.contactform.c_cdg_contactform form select {
  cursor: pointer;
  appearance: auto;
}

div.contactform.c_cdg_contactform form input:focus,
div.contactform.c_cdg_contactform form select:focus,
div.contactform.c_cdg_contactform form textarea:focus {
  background: #ffffff;
  border-color: var(--hlcolor);
  box-shadow: 0 0 0 4px rgba(217, 37, 40, 0.12);
}

div.contactform.c_cdg_contactform form p.textarea {
  grid-column: 1 / -1;
}

div.contactform.c_cdg_contactform form textarea {
  width: 100%;
  box-sizing: border-box;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 14.5px;
  color: #0f172a;
  font-family: inherit;
  min-height: 140px;
  resize: vertical;
  transition: all 0.2s ease;
  outline: none;
}

div.contactform.c_cdg_contactform form .submit {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
  padding: 0;
}

div.contactform.c_cdg_contactform form .submit button {
  background: var(--hlcolor);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  padding: 14px 42px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(217, 37, 40, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

div.contactform.c_cdg_contactform form .submit button:hover {
  background: #b91c1c;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(217, 37, 40, 0.35);
}

div.contactform.c_cdg_contactform form .submit button:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  div.contactform.c_cdg_contactform {
    padding: 24px 20px 32px 20px;
    margin-bottom: 36px;
  }
  div.contactform.c_cdg_contactform form {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  div.contactform.c_cdg_contactform form .submit button {
    width: 100%;
    justify-content: center;
  }
}


/* Native CMS Dynamic Fields (p_dynfields) Styling in Specs Card */
.cdg-specs-card .dynfields {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 18px;
}

.cdg-specs-card .dynfields .infoline.dynfield {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
}

.cdg-specs-card .dynfields .dynfieldlabel {
  font-weight: 700;
  color: #334155;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cdg-specs-card .dynfields .dynfieldlabel::before {
  content: '📐';
  font-size: 15px;
}

.cdg-specs-card .dynfields .dynfieldvalue {
  font-weight: 800;
  color: #0f172a;
  font-size: 14.5px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 4px 14px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* ============================================================
   NEW ARRIVALS / FEATURED PRODUCTS (HOMEPAGE)
   ============================================================ */
#thewhole #content .c_new_arrivals {
  max-width: 1240px;
  margin: 50px auto 70px auto;
  padding: 0 10px;
  box-sizing: border-box;
}

#thewhole #content .c_new_arrivals .theitems {
  margin-top: 10px;
}

@media (min-width: 1100px) {
  #thewhole #content .c_new_arrivals .theitems .item:not(.sampleitem) {
    width: calc((100% - 72px) / 4);
    margin-right: 24px;
    margin-bottom: 24px;
  }
  #thewhole #content .c_new_arrivals .theitems .item:not(.sampleitem):nth-child(3n) {
    margin-right: 24px;
  }
  #thewhole #content .c_new_arrivals .theitems .item:not(.sampleitem):nth-child(4n) {
    margin-right: 0;
  }
}

@media (min-width: 768px) and (max-width: 1099px) {
  #thewhole #content .c_new_arrivals .theitems .item:not(.sampleitem) {
    width: calc((100% - 20px) / 2);
    margin-right: 20px;
    margin-bottom: 20px;
  }
  #thewhole #content .c_new_arrivals .theitems .item:not(.sampleitem):nth-child(2n) {
    margin-right: 0;
  }
}

@media (max-width: 767px) {
  #thewhole #content .c_new_arrivals .theitems .item:not(.sampleitem) {
    width: 100%;
    margin-right: 0;
    margin-bottom: 20px;
  }
}


#thewhole #content .c_new_arrivals .item .ordermove {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
}

/* ============================================================
   ADMIN PRODUCT MANAGEMENT: ΝΕΕΣ ΠΑΡΑΛΑΒΕΣ
   ============================================================ */
#thewhole #content .admintopboxy {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 18px;
  margin: 15px 0 25px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

#thewhole #content .admintopboxy .infoline.code {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  display: inline-flex;
  align-items: center;
}

#thewhole #content .admintopboxy .infoline.code .value {
  color: #0f172a;
  background: #e2e8f0;
  padding: 2px 8px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 13px;
  font-weight: 700;
  margin-left: 6px;
}

#thewhole #content .admintopboxy .group {
  display: inline-flex;
  margin: 0;
  padding: 0;
  min-height: 0;
  background: none;
  background-color: transparent;
}

#thewhole #content .admintopboxy .group a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

#thewhole #content .admintopboxy .group.active a {
  background: #ef4444;
  color: #ffffff;
  border: 1px solid #dc2626;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.25);
}

#thewhole #content .admintopboxy .group.active a:hover {
  background: #dc2626;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
}

#thewhole #content .admintopboxy .group.active a::before {
  content: '✓ ';
  font-weight: 900;
  font-size: 14px;
}

#thewhole #content .admintopboxy .group:not(.active) a,
#thewhole #content .admintopboxy .group.inactive a {
  background: #10b981;
  color: #ffffff;
  border: 1px solid #059669;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
}

#thewhole #content .admintopboxy .group:not(.active) a:hover,
#thewhole #content .admintopboxy .group.inactive a:hover {
  background: #059669;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
}

#thewhole #content .admintopboxy .group:not(.active) a::before,
#thewhole #content .admintopboxy .group.inactive a::before {
  content: '＋ ';
  font-weight: 900;
  font-size: 13px;
}

#thewhole #content .admintopboxy .delimiter {
  display: none;
}

.cdg-admin-featured-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  margin-top: 8px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.cdg-admin-featured-btn.active {
  background: #fee2e2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.cdg-admin-featured-btn.active:hover {
  background: #fecaca;
  color: #b91c1c;
}

.cdg-admin-featured-btn:not(.active) {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.cdg-admin-featured-btn:not(.active):hover {
  background: #d1fae5;
  color: #047857;
}


/* ============================================================
   CASA DI GIORGIO - CMS ADMIN UI ISOLATION & ITEMS MODULE FIX
   ============================================================ */

/* 1. Belowsite & Dark Container Edit UI Isolation */
#thewhole #belowsite a.openedexpand,
#thewhole #belowsite .htmlbox-edit-links a.openedexpand,
#thewhole #belowsite .htmlbox-edit-links a.editlink.openedexpand,
#thewhole div.htmlbox a.openedexpand {
  color: #1e293b;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-bottom: none;
  font-weight: 600;
}

#thewhole #belowsite .editform,
#thewhole #belowsite .editoptions,
#thewhole #belowsite .htmlbox-edit-container {
  color: #1e293b;
}

#thewhole #belowsite .editform form div.tabbarmenu ul li a,
#thewhole #belowsite .htmlbox-edit-container .tabbarmenu ul li a,
#thewhole div.htmlbox div.editform form div.tabbarmenu ul li a {
  color: #475569;
}

#thewhole #belowsite .editform form div.tabbarmenu ul li a.active,
#thewhole #belowsite .htmlbox-edit-container .tabbarmenu ul li a.active,
#thewhole div.htmlbox div.editform form div.tabbarmenu ul li a.active {
  color: #0f172a;
  font-weight: 700;
}

#thewhole #belowsite .editform form div.tabbarmenu ul li a.inactive,
#thewhole #belowsite .htmlbox-edit-container .tabbarmenu ul li a.inactive,
#thewhole div.htmlbox div.editform form div.tabbarmenu ul li a.inactive {
  color: #64748b;
}

#thewhole #belowsite .editform form div.tabbarmenu ul li a span,
#thewhole #belowsite .htmlbox-edit-container .tabbarmenu ul li a span {
  color: inherit;
}

#thewhole #belowsite .editform a:not(.btn):not(.button),
#thewhole #belowsite .editoptions a:not(.btn):not(.button) {
  color: #0284c7;
}

#thewhole #belowsite .editform a:hover:not(.btn):not(.button),
#thewhole #belowsite .editoptions a:hover:not(.btn):not(.button) {
  color: var(--hlcolor);
}

/* 2. Items Module & Child Modules Admin Options Isolation */
html.editoptionsmode #thewhole #content .horizontalitems .theitems,
html.editoptionsmode #thewhole #content .horizontalitems .theitems .item,
html.editoptionsmode #thewhole #content .horizontalitems .theitems .item .itemcontent,
html.editoptionsmode #thewhole #content .horizontalitems .horizitemboxy,
html.editoptionsmode #thewhole #content .horizontalitems .infoboxy,
html.editoptionsmode #thewhole #content .horizontalitems .textboxy,
html.editoptionsmode #thewhole #content .horizontalitems .photos,
html.editoptionsmode #thewhole #content .horizontalitems .photos-846,
html.editoptionsmode div.items div.item,
html.editoptionsmode div.items div.itemcontent {
  position: static;
  overflow: visible;
  transform: none;
}

#thewhole div.items .editoptions form,
#thewhole div.editoptions form {
  position: absolute;
  z-index: 70;
  max-width: 95vw;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  background-color: #f8f8f8;
  color: #1e293b;
}


.c-newlogo {
    background-image: url(/site_images/logo.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

a.mobile-header-startlink {
    background-image: url(/site_images/logo.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    width: 190px;
    height: 38px;
    top: 8px;
    left: 50%;
    margin-left: 0;
    transform: translateX(-50%);
}

.side-nav__header {
    background-color: white;
    background-image: url(/site_images/logo.png);
    color: #333;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain;
    margin-left: 4vh;
    margin-right: 4vh;
}.c-newsletter {
padding-top: 100px;
padding-bottom: 100px;
width: 60%;
margin: auto;
}

.c-newsletter form {
    margin: auto;
}

.c-newsletter form label {
    display: block;
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.4em;
    font-weight: 800;
font-family: 'Manrope', sans-serif;
}

.c-newsletter form input {
    padding: 10px;
    border: 2px solid #d3d3d3;
    border-radius: 5px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}


.c-newsletter form input:focus-visible {
outline: none;
    box-shadow: 0px 0px 10px rgb(0 0 0 / 20%);
}

.c-newsletter form input::placeholder {
color: #d1d1d5;
font-size: 14px;
}

.c-newsletter form .submit {
margin-top: 20px;
text-align: center;
}

.c-newsletter form .submit button {
    font-size: 14px;
    font-weight: 400;
    padding: 20px 25px;
    color: white;
    background-color: #595959;
    transition: 0.3s;
    letter-spacing: 1px;
    border-radius: 3px;
    border-color: transparent;
    min-width: 170px;
}

.c-newsletter form .submit button:hover {
color: white;
background-color: #e0751b;
}

@media only screen and (max-width: 768px) {
.c-newsletter {
width: 90%;
}
}