
/* CATEGORY BLOCKS */

/* Homepage category blocks */
.homepage-categories {
  clear: both;
  margin-bottom: 30px;
}

.homepage-categories-heading {
  margin-bottom: 18px;
}

.homepage-categories-heading p {
  margin-bottom: 0;
}

.homepage-category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  clear: both;
}

.homepage-category-card {
  display: flex;
  flex-direction: column;
  min-height: 205px;
  background: #ffffff;
  border: 1px solid #edf0f4;
  border-radius: 10px;
  padding: 20px;
  color: #1f2933;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(0,0,0,0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.homepage-category-card:hover {
  transform: translateY(-3px);
  border-color: #e10777;
  box-shadow: 0 10px 26px rgba(0,0,0,0.11);
  color: #1f2933;
  text-decoration: none;
}

.homepage-category-card .category-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #f9fafc;
  color: #e10777;
  text-align: center;
  line-height: 44px;
  font-size: 21px;
  margin-bottom: 14px;
}

.homepage-category-card .category-label {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 800;
  color: #1f2933;
  margin-bottom: 8px;
}

.homepage-category-card .category-text {
  font-size: 14px;
  line-height: 1.55;
  color: #4a5568;
  margin-bottom: 14px;
  flex: 1;
}

.homepage-category-card .category-link {
  font-size: 13px;
  font-weight: 800;
  color: #e10777;
  margin-top: auto;
}

.homepage-category-card:hover .category-icon {
  background: #e10777;
  color: #ffffff;
}

@media only screen and (max-width: 991px) {
  .homepage-category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media only screen and (max-width: 767px) {
  .homepage-category-grid {
    grid-template-columns: 1fr;
  }

  .homepage-category-card {
    min-height: auto;
  }
}

/* LEFT NAV CSS */

/* Modern left category nav */
.mega-container .navleft-container {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  overflow: visible;
  padding-bottom: 12px;
}

.mega-menu-title {
  background: #1f2933;
  border-radius: 10px 10px 0 0;
  padding: 14px 16px;
}

.mega-menu-title h3 {
  margin: 0;
  font-size: 16px;  
  color: #ffffff;
}

.mega-menu-title h3 span {
  color: #ffffff;
}

.mega-menu-category {
  position: relative;
  margin: 0;
  padding: 0 0px;
}

.mega-menu-category > ul.nav {
  margin: 0;
  padding: 0;
}

.mega-menu-category > ul.nav > li {
  position: relative;
  list-style: none;
}

.mega-menu-category > ul.nav > li > a {
  display: block;
  padding: 13px 14px;  
  background: #f7f9fc;
  border: 1px solid #edf0f4;
  border-radius: 8px;
  color: #1f2933;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.mega-menu-category > ul.nav > li > a:after {
  content: "\f105";
  font-family: FontAwesome;
  float: right;
  color: #e10777;
}

.mega-menu-category > ul.nav > li:hover > a {
  background: #e10777;
  border-color: #e10777;
  color: #ffffff;
}

.mega-menu-category > ul.nav > li:hover > a:after {
  color: #ffffff;
}

/* Flyout panel */
.mega-menu-category .wrap-popup {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  z-index: 999;
  width: 300px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.14);  
}

.mega-menu-category > ul.nav > li:hover > .wrap-popup {
  display: block;
}

.mega-menu-category .popup {
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.mega-menu-category .popup ul.nav,
.mega-menu-category .popup ul.subnav {
  margin: 0;
  padding: 0;
}

.mega-menu-category .popup li {
  list-style: none;
}

.mega-menu-category .popup li a {
  display: block;
  padding: 10px 12px;
  border-radius: 7px;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.mega-menu-category .popup li a:hover {
  background: #f6f8fb;
  color: #e10777;
}

.mega-menu-category .popup li a span {
  display: block;
  line-height: 1.35;
}

/* Hide empty nested flyouts neatly */
.mega-menu-category .subnav .wrap-popup:empty {
  display: none;
}

/* Left banner */
.navleft-container img {
  width: 100%;
  border-radius: 10px;
  margin-top: 15px;
}

/* Mobile stays hidden as your existing template handles mobile separately */
@media only screen and (max-width: 991px) {
  .mega-menu-category .wrap-popup {
    width: 260px;
  }
}

/* MAIN WEBSITE CSS */
  .main-slider {
    background: #f6f8fb;
    padding-bottom: 35px;
  }

  .single-img-add {
    background: #ffffff;
    padding: 18px;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    margin-bottom: 25px;
  }

  .single-img-add img {
    border-radius: 8px;
  }

  .getfreequote {
    margin-bottom: 15px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }

  .getfreequote:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  }

.about-page h1 {
  font-size: 30px;
  line-height: 1.25;
  color: #1f2933;
  margin-top: 0;
  margin-bottom: 14px;
  font-weight: 700;
  max-width: 760px;
}

  .about-page h2 {
    font-size: 20px;
    color: #1f2933;
    margin-top: 0;
    margin-bottom: 12px;
    font-weight: 700;
  }

  .about-page p {
    font-size: 15px;
    line-height: 1.75;
    color: #4a5568;
  }

  .intro-panel {
    margin-bottom: 25px;
  }

  .intro-actions {
    margin-top: 18px;
  }

  .modern-btn {
    display: inline-block;
    background: #e10777;
    color: #ffffff !important;
    padding: 11px 20px;
    border-radius: 6px;
    font-weight: 700;
    margin-right: 10px;
    margin-bottom: 10px;
    text-decoration: none;
  }

  .modern-btn.secondary {
    background: #1f2933;
  }

  .but_small_box {
    background: #f9fafc;
    border: 1px solid #edf0f4;
    border-radius: 10px;
    padding: 22px;
    margin-bottom: 22px;
    min-height: 220px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }

  .but_small_box:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
  }

  .stcode_title1 {
    border-bottom: 2px solid #e10777;
    margin-bottom: 14px;
    padding-bottom: 6px;
	padding-top: 10px;  
  }

  .videocontainer {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(0,0,0,0.12);
  }

  .local-printing-box {
    background: #1f2933;
    border-color: #1f2933;
  }

  .local-printing-box h2,
  .local-printing-box p,
  .local-printing-box strong {
    color: #ffffff;
  }

  .local-printing-box a {
    color: #ffffff;
    text-decoration: underline;
  }

  .jtv-service-area {
    background: #ffffff;
    padding: 25px 0;
  }

  .block-wrapper {
    border-radius: 10px;
    background: #f9fafc;
    border: 1px solid #edf0f4;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }

  .block-wrapper:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
  }

  .service-wrapper h3 {
    font-size: 16px;
    font-weight: 700;
  }

  .service-wrapper p {
    font-size: 14px;
  }

  .about-page a,
  .service-wrapper a {    
    font-weight: 600;
  }

	@media only screen and (max-width: 767px) {
	  .about-page {
		padding: 22px 16px;
	  }

	  .about-page h1 {
		font-size: 24px;
		line-height: 1.3;
	  }

	  .about-page h2 {
		font-size: 18px;
	  }

	  .single-img-add {
		padding: 12px;
	  }

	  .modern-btn {
		display: block;
		text-align: center;
		margin-right: 0;
	  }
	}
	.page-heading-panel {
	  background: #ffffff;
	  padding: 24px 28px;
	  border-radius: 10px;
	  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
	  margin-bottom: 18px;
	}

	.page-heading-panel h1 {
	  font-size: 32px;
	  line-height: 1.25;
	  color: #1f2933;
	  margin: 0;
	  font-weight: 700;
	}

	@media only screen and (max-width: 767px) {
	  .page-heading-panel {
		padding: 20px 16px;
	  }

	  .page-heading-panel h1 {
		font-size: 24px;
		line-height: 1.3;
	  }
	}

/* FORM CSS */

/* Quote request form */
.contact-form-box {
  background: #f9fafc;
  border: 1px solid #edf0f4;
  border-radius: 10px;
  padding: 24px 18px;
  margin-top: 15px;
}

.contact-form-box .page-subheading {
  font-size: 18px;
  font-weight: 700;
  color: #1f2933;
  margin: 10px 0 18px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e31e24;
}

.contact-form-box label {
  display: block;
  margin-bottom: 16px;
}

.contact-form-box input,
.contact-form-box textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #d8dee8;
  border-radius: 8px;
  background: #ffffff;
  color: #1f2933;
  font-size: 14px;
  padding: 11px 13px;
  outline: none;
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form-box textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-form-box input:focus,
.contact-form-box textarea:focus {
  border-color: #e31e24;
  box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.12);
}

.contact-form-box input::placeholder,
.contact-form-box textarea::placeholder {
  color: #7b8794;
}

.contact-form-box input[type="checkbox"] {
  width: auto;
  min-height: auto;
  height: auto;
  padding: 0;
  margin-right: 8px;
  vertical-align: middle;
  box-shadow: none;
}

.contact-form-box label:has(input[type="checkbox"]) {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-form-box .button {
  background: #e31e24;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-form-box .button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(227, 30, 36, 0.25);
}

.contact-form-box .mfControls {
  text-align: left;
}

@media only screen and (max-width: 767px) {
  .contact-form-box {
    padding: 18px 12px;
  }

  .contact-form-box .button {
    width: 100%;
  }
}

/* Quote form dropdowns - native select */
.contact-form-box select {
  display: block !important;
  width: 100% !important;
  height: 46px !important;
  min-height: 46px !important;
  border: 1px solid #d8dee8 !important;
  border-radius: 8px !important;
  background-color: #ffffff !important;
  color: #1f2933 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  padding: 0 12px !important;
  cursor: pointer !important;
  outline: none !important;
  box-shadow: none !important;
  pointer-events: auto !important;
  margin-bottom: 16px !important;

  -webkit-appearance: auto !important;
  -moz-appearance: auto !important;
  appearance: auto !important;
}

.contact-form-box select:focus {
  border-color: #e31e24 !important;
  box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.12) !important;
}

/* FOOTER */
	.modern-footer .container-fluid {
	  padding-left: 35px;
	  padding-right: 35px;
	}

	@media only screen and (max-width: 767px) {
	  .modern-footer .container-fluid {
		padding-left: 16px;
		padding-right: 16px;
	  }
	}
	/* Footer links */
	.modern-footer a {
	  color: #ffffff;
	  text-decoration: none;
	  font-weight: 600;
	  transition: color 0.2s ease, opacity 0.2s ease;
	}

	.modern-footer a:hover,
	.modern-footer a:focus {
	  color: #e10777;
	  text-decoration: none;
	  outline: none;
	}

	.modern-footer .list-links a {
	  color: #d8dee8;
	  font-weight: 500;
	}

	.modern-footer .list-links a:hover,
	.modern-footer .list-links a:focus {
	  color: #ffffff;
	}

	.modern-footer .footer-description a {
	  color: #ffffff;
	  font-weight: 300;
	}

	.modern-footer .footer-description a:hover,
	.modern-footer .footer-description a:focus {
	  color: #e10777;
	}

/* PRODUCT LISTINGS */
/* Product result cards */
.product-result-form {
  display: block;
}

.product-result-col {
  margin-bottom: 24px;
}

.product-result-card {
  background: #ffffff;
  border: 1px solid #edf0f4;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  overflow: hidden;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-result-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.10);
}

.product-result-image {
  background: #f9fafc;
  padding: 18px;
  text-align: center;
  min-height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-result-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.product-result-content {
  padding: 18px;
}

.product-result-title {
  font-size: 16px;
  line-height: 1.35;
  color: #1f2933;
  font-weight: 700;
  margin: 0 0 10px;
}

.product-result-description {
  min-height: 72px;
}

.product-result-description p {
  font-size: 14px;
  line-height: 1.6;
  color: #4a5568;
  margin: 0;
}

.product-result-footer {
  border-top: 1px solid #edf0f4;
  margin-top: 16px;
  padding-top: 16px;
}

.product-result-price {
  margin-bottom: 14px;
}

.product-result-price .price-label,
.product-result-price .vat-label {
  display: block;
  font-size: 12px;
  color: #7b8794;
}

.product-result-price strong {
  display: block;
  font-size: 22px;
  line-height: 1.2;
  color: #e10777;
  font-weight: 800;
}

.product-result-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.product-qty-control {
  display: flex;
  align-items: stretch;
  border: 1px solid #d8dee8;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}

.product-qty-control input {
  width: 44px;
  height: 40px;
  border: none;
  border-right: 1px solid #d8dee8;
  text-align: center;
  color: #1f2933;
  font-weight: 700;
  outline: none;
}

.product-qty-buttons {
  width: 28px;
  display: flex;
  flex-direction: column;
}

.product-qty-buttons button {
  height: 20px;
  border: none;
  background: #f6f8fb;
  color: #1f2933;
  line-height: 18px;
  padding: 0;
  cursor: pointer;
}

.product-qty-buttons button:hover {
  background: #e10777;
  color: #ffffff;
}

.product-cart-btn,
.product-more-btn {
  display: inline-block;
  background: #e10777;
  color: #ffffff !important;
  border: none;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.product-cart-btn:hover,
.product-more-btn:hover {
  background: #1f2933;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.14);
}

.product-more-btn {
  background: #1f2933;
}

.product-more-btn:hover {
  background: #e10777;
}

@media only screen and (max-width: 767px) {
  .product-result-image {
    min-height: 150px;
  }

  .product-result-description {
    min-height: auto;
  }

  .product-result-actions {
    align-items: stretch;
  }

  .product-cart-btn,
  .product-more-btn {
    flex: 1;
    text-align: center;
  }
}

/* Product detail view */
.product-detail-wrap {
  margin-bottom: 28px;
}

.product-detail-form {
  display: block;
}

.product-detail-card {
  background: #ffffff;
  border: 1px solid #edf0f4;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  padding: 24px;
  margin-bottom: 24px;
}

.product-detail-image {
  background: #f9fafc;
  border: 1px solid #edf0f4;
  border-radius: 10px;
  min-height: 320px;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.product-detail-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.product-detail-content {
  padding: 6px 0 6px 18px;
}

.product-detail-title {
  font-size: 30px;
  line-height: 1.25;
  color: #1f2933;
  margin: 0 0 14px;
  font-weight: 700;
}

.product-detail-code,
.product-detail-stock {
  font-size: 14px;
  color: #7b8794;
  margin-bottom: 10px;
}

.product-detail-price {
  background: #f9fafc;
  border: 1px solid #edf0f4;
  border-radius: 10px;
  padding: 18px;
  margin: 18px 0 22px;
}

.product-detail-price .price-label,
.product-detail-price .vat-label {
  display: block;
  font-size: 13px;
  color: #7b8794;
}

.product-detail-price strong {
  display: block;
  font-size: 32px;
  line-height: 1.2;
  color: #e10777;
  font-weight: 800;
}

.product-detail-description {
  margin-bottom: 22px;
}

.product-detail-description p {
  font-size: 15px;
  line-height: 1.75;
  color: #4a5568;
}

.product-detail-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid #edf0f4;
  padding-top: 20px;
}

.product-back-btn {
  display: inline-block;
  background: #1f2933;
  color: #ffffff !important;
  border: none;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.product-back-btn:hover {
  background: #e10777;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.14);
}

.product-related-section {
  background: #ffffff;
  border: 1px solid #edf0f4;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  padding: 22px;
  margin-top: 24px;
}

@media only screen and (max-width: 767px) {
  .product-detail-card {
    padding: 16px;
  }

  .product-detail-image {
    min-height: 220px;
    margin-bottom: 18px;
  }

  .product-detail-content {
    padding: 0;
  }

  .product-detail-title {
    font-size: 24px;
  }

  .product-detail-price strong {
    font-size: 28px;
  }

  .product-detail-actions {
    align-items: stretch;
  }

  .product-cart-btn,
  .product-back-btn {
    flex: 1;
    text-align: center;
  }
}

.product-result-option {
  width: 100%;
  display: block;
  margin: 12px 0 15px 0;
  clear: both;
}

.product-option-label {
  display: block;
  width: 100%;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: bold;
  color: #333;
}

.product-option-select {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 8px 10px;
  font-size: 13px;
}

.product-result-clickable {
  cursor: pointer;
}

.product-result-option,
.product-result-actions {
  cursor: default;
}
