/* 
 * Custom Theme Styles for PrintPoint
 */

@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&display=swap");

:root {
  --color-primary: #94c139;
  --color-dark: #2b2b2b;
  --color-text: #4a4a4a;
  --color-gray-light: #f5f5f5;
  --color-border: #e2e2e2;
  --color-bg-paper: #faf9f6;
  --font-main: "Oswald", sans-serif;
}

body {
  font-family: var(--font-main);
  color: var(--color-text);
  background-color: var(--color-bg-paper);
}

.dt-flex {
  display: flex;
}
.align-items-center {
  align-items: center;
}
.justify-content-between {
  justify-content: space-between;
}
.justify-content-center {
  justify-content: center;
}
.justify-content-end {
  justify-content: flex-end;
}
.flex-column {
  flex-direction: column;
}

.app-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 15px;
  width: 100%;
}

/* Header Top */
.site-header__top {
  border-bottom: 1px solid var(--color-border);
  padding: 5px 0;
  font-size: 13px;
}
.site-header__top-inner {
  gap: 20px;
}
.top-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 35px; /* Increased from 20 */
}
.top-navigation li {
  position: relative;
}
.top-navigation a {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
  padding: 8px 0;
  font-size: 16px; /* Increased font size */
  font-weight: 500;
}
.top-navigation a:hover {
  color: var(--color-primary);
}

/* Top Menu Dropdown (Vertical 2nd Level) */
.top-navigation ul ul {
  position: absolute;
  top: 100%;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 100;
  min-width: 220px;
  border-top: 2px solid var(--color-primary);
}
.top-navigation li:hover > ul {
  visibility: visible;
  opacity: 1;
}
.top-navigation ul ul a {
  font-size: 14px;
  padding: 12px 15px;
  border-bottom: 1px solid var(--color-border);
}
.top-navigation ul ul li:last-child a {
  border-bottom: none;
}
.top-navigation ul ul a:hover {
  background-color: var(--color-gray-light);
  padding-left: 20px;
}
.lang-switcher {
  position: relative;
  cursor: pointer;
  padding: 10px 0;
}
.lang-current {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-text);
  font-weight: 600;
  text-transform: uppercase;
}
.lang-arrow {
  transition: transform 0.3s ease;
}
.lang-switcher:hover .lang-arrow {
  transform: rotate(180deg);
}
.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  list-style: none !important;
  padding: 5px 5px !important;
  margin: 0 !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  min-width: 60px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-5px);
  transition: all 0.3s ease;
  z-index: 100;
}
.lang-switcher:hover .lang-dropdown {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}
.lang-dropdown li {
  text-align: left;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.lang-dropdown li::before {
  display: none !important;
}
.lang-dropdown a {
  display: block;
  padding: 6px 15px;
  color: var(--color-text);
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
  text-transform: uppercase;
}
.lang-dropdown a:hover,
.lang-dropdown a.active {
  background: var(--color-gray-light);
  color: var(--color-primary);
}

/* Header Middle */
.site-header__middle {
  padding: 20px 0;
}
.site-branding {
  max-width: 200px;
}
.site-branding img {
  max-width: 100%;
  height: auto;
}
.site-branding .site-title a {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-primary);
  text-decoration: none;
  line-height: 1.1;
  display: block;
}
.site-branding .site-title a span {
  color: var(--color-dark);
}

.site-header__contacts {
  gap: 70px; /* Increased from 40 */
}
.contact-col {
  gap: 6px;
}
.contact-link {
  color: var(--color-text);
  text-decoration: none;
  font-size: 17px; /* Increased */
  font-weight: 500;
  line-height: 1.5;
  transition: color 0.3s ease;
}
.contact-link:hover {
  color: var(--color-primary);
}
.messenger-links {
  gap: 15px; /* Increased from 8 */
  margin-top: 4px;
}
.messenger-links svg {
  width: 24px !important;
  height: 24px !important;
}

/* Base Social Icons Placeholder */
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: #fff;
  font-size: 10px;
  text-decoration: none;
  transition: opacity 0.3s;
}
.social-icon:hover {
  opacity: 0.8;
}
.wa-icon {
  background-color: #25d366;
}
.tg-icon {
  background-color: #0088cc;
}

.social-round {
  display: inline-flex;
  width: 38px;
  height: 38px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  transition: all 0.3s;
  text-decoration: none;
  color: var(--color-dark);
}
.social-round:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.inline-svg-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
  text-decoration: none;
  line-height: 1;
}
.inline-svg-link svg {
  width: 38px;
  height: 38px;
  display: block;
}
.inline-svg-link:hover {
  opacity: 0.8;
}

/* Action Button */
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 36px; /* Increased padding */
  border: 2px solid var(--color-primary);
  background-color: transparent;
  color: var(--color-dark);
  cursor: pointer;
  font-family: inherit;
  font-size: 16px; /* Increased */
  font-weight: 600;
  appearance: none;
  outline: none;
  text-shadow: none !important;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  line-height: 1;
}
.btn-outline:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary) !important;
  color: #fff;
}
.header-socials {
  gap: 10px;
}

/* Header Right Grid Layout */
.site-header__right {
  display: grid;
  grid-template-columns: max-content max-content;
  align-items: center;
  column-gap: 30px;
  row-gap: 10px;
}
.header-email {
  justify-self: start;
}
.header-phone {
  justify-self: start;
}
.header-btn {
  justify-self: stretch;
}
.header-order-btn {
  width: 100%;
}
.header-contact-icon {
  margin-right: 10px;
  flex-shrink: 0;
  margin-top: 4px;
}

/* Header Bottom */
.site-header__bottom {
  background-color: var(--color-dark);
}
.main-bottom-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center; /* Centered menu */
}
.main-bottom-nav li {
  position: relative;
}
.main-bottom-nav a {
  display: block;
  padding: 15px 25px;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}
.main-bottom-nav a:hover {
  background-color: var(--color-primary);
  color: #fff; /* better contrast */
}

/* Bottom Nav Dropdown (Vertical nice style) */
.main-bottom-nav ul ul {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #333;
  min-width: 240px;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 100;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 10px 0;
  border-top: 3px solid var(--color-primary);
}
.main-bottom-nav li:hover > ul {
  visibility: visible;
  opacity: 1;
  top: 100%;
}
.main-bottom-nav ul ul a {
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 14px;
  font-weight: 400;
  text-transform: none;
}
.main-bottom-nav ul ul li:last-child a {
  border-bottom: none;
}
.main-bottom-nav ul ul a:hover {
  background-color: transparent;
  color: var(--color-primary);
  padding-left: 28px;
}

/* Subcategories distinct styling */
.main-bottom-nav ul ul li.menu-item-type-taxonomy > a {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.5px;
  padding-bottom: 6px;
}
/* If a category has children (3rd level), give it a small arrow */
.main-bottom-nav ul ul li.menu-item-type-taxonomy.menu-item-has-children > a {
  position: relative;
}
.main-bottom-nav ul ul li.menu-item-type-taxonomy.menu-item-has-children > a::after {
  content: "";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 3px;
  margin-top: -1px;
}
/* Third Level Menu */
.main-bottom-nav ul ul ul {
  top: -3px !important;
  left: 100% !important;
}
.main-bottom-nav li li:hover > ul {
  visibility: visible;
  opacity: 1;
  top: -3px !important;
  left: 100% !important;
}

/* Tier 3 Mega Menu (for many subcategory items) */
.main-bottom-nav li.mega-menu-tier3 > ul {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  min-width: 600px;
  gap: 5px;
}
.main-bottom-nav li.mega-menu-tier3 > ul > li {
  width: 100%;
}
.main-bottom-nav li.mega-menu-tier3 > ul a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

@media (max-width: 1250px) {
  .site-header__contacts {
    gap: 30px;
  }
  .contact-link {
    font-size: 15px;
  }
  .top-navigation ul {
    gap: 15px;
  }
  .top-navigation a {
    font-size: 14px;
  }
  .btn-outline {
    padding: 10px 24px;
    font-size: 14px;
  }
  .header-socials {
    gap: 10px;
  }
}

/* Hide mobile header structure on desktop */
.site-header__mobile,
.mobile-menu-overlay {
  display: none;
}

@media (max-width: 991px) {
  /* Hide desktop header segments entirely */
  .site-header__top,
  .site-header__middle,
  .site-header__bottom {
    display: none !important;
  }

  /* Show native mobile header */
  .site-header__mobile {
    display: block;
    background: #fff;
    padding: 10px 0;
    border-bottom: 1px solid var(--color-border);
  }
  .site-branding img.mobile-logo-img,
  .site-header__mobile .custom-logo {
    max-width: 75px; /* Reduced from 140px / unspecified */
    height: auto;
    display: block;
  }
  .mobile-actions {
    gap: 10px; /* Reduced from 20px */
  }
  .mo-icon {
    width: 25px;
    height: 25px;
    display: block;
  }
  .mo-action-link {
    color: var(--color-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .burger-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    padding: 0;
  }
  .burger-menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--color-dark);
    border-radius: 2px;
  }

  /* Overlay sliding menu */
  .mobile-menu-overlay {
    display: block;
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  .mobile-menu-overlay.active {
    right: 0;
    opacity: 1;
    visibility: visible;
  }
  .mobile-menu-inner {
    position: absolute;
    top: 0;
    right: -360px;
    width: 320px;
    max-width: 90%;
    height: 100%;
    background: #fff;
    padding: 60px 30px 40px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
  }
  .mobile-menu-overlay.active .mobile-menu-inner {
    right: 0;
  }
  .menu-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-dark);
    padding: 5px;
  }

  /* Mobile internal menu styling */
  .mobile-bottom-menu,
  .mobile-top-menu {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
  }

  /* Make top menu slightly distinct */
  .mobile-top-menu {
    margin-bottom: 20px;
  }

  .mobile-bottom-menu > li,
  .mobile-top-menu > li {
    border-bottom: 1px solid var(--color-border);
  }
  .mobile-bottom-menu > li > a,
  .mobile-top-menu > li > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    color: var(--color-dark);
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
  }

  /* Slightly thinner font for top-menu if desired, or keep identical */
  .mobile-top-menu > li > a {
    font-weight: 600;
    font-size: 14px;
  }

  .mobile-bottom-menu li.menu-item-has-children > a::after,
  .mobile-top-menu li.menu-item-has-children > a::after {
    content: ""; /* Use CSS arrow */
    border: solid var(--color-dark);
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    transition: transform 0.3s;
    margin-right: 4px;
  }
  .mobile-bottom-menu li.open > a::after,
  .mobile-top-menu li.open > a::after {
    transform: rotate(-135deg);
    margin-top: 2px;
  }

  .mobile-nav-title {
    font-size: 14px;
    font-weight: 700;
    margin: 30px 0 15px;
    padding-bottom: 8px;
    color: var(--color-primary);
    text-transform: uppercase;
    border-bottom: 2px solid var(--color-border);
  }

  .mobile-bottom-menu ul,
  .mobile-top-menu ul {
    list-style: none;
    padding: 0 0 10px 10PX; /* Changed from 15px indent to 0 to align with parent text */
    display: none;
  }
  .mobile-bottom-menu li.open > ul,
  .mobile-top-menu li.open > ul {
    display: block;
  }

  .mobile-bottom-menu li li a,
  .mobile-top-menu li li a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 14px;
    padding: 6px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .mobile-bottom-menu li li.menu-item-type-taxonomy > a,
  .mobile-top-menu li li.menu-item-type-taxonomy > a {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
  }

  .mo-lang {
    gap: 15px;
    margin: auto;
    margin-bottom: 30px;
  }
  .btn-lang {
    background: #8cc63f;
    color: #fff;
    text-decoration: none;
    padding: 10px 30px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
  }
  .btn-lang.active {
    filter: brightness(0.95);
  }

  .mo-phone-link {
    color: var(--color-dark);
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 25px;
  }

  .mo-order-btn {
    width: 100%;
    margin-bottom: 30px;
  }

  .mo-socials {
    gap: 20px;
    margin-top: auto;
  }
  .mo-social-link {
    color: var(--color-dark);
    display: inline-flex;
  }
  .mo-social-link .mo-icon {
    width: 32px;
    height: 32px;
  }
}

/* ------------------------------------- */
/* Product Cards Archive (Modernized)    */
/* ------------------------------------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}
.product-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  transform: translateY(-5px);
}
.product-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: var(--color-text);
}
.product-card__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #f8f9fa; /* Light grey placeholder bg */
  overflow: hidden;
}
.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-card__img {
  transform: scale(1.05); /* Slight zoom on hover */
}
.product-card__img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #adb5bd;
  font-size: 14px;
}
.product-card__body {
  padding: 15px 20px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.3s ease;
}
.product-card__number {
  font-size: 20px;
  font-weight: 800;
  color: #b5b8bb;
  transition: color 0.3s ease;
}
.product-card__title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--color-dark);
  text-transform: uppercase;
  transition: color 0.3s ease;
}
/* Hover effect for the bottom bar */
.product-card:hover .product-card__body {
  background: var(--color-primary); /* Printpoint green hover */
}
.product-card:hover .product-card__title,
.product-card:hover .product-card__number {
  color: #fff;
}

/* ------------------------------------- */
/* Pagination Styles                     */
/* ------------------------------------- */
.printpoint-pagination .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.printpoint-pagination .nav-links .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 15px;
  background: #fff;
  border: 1px solid var(--color-border);
  color: var(--color-dark);
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.printpoint-pagination .nav-links .page-numbers:hover {
  background: var(--color-gray-light);
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.printpoint-pagination .nav-links .page-numbers.current {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.printpoint-pagination .nav-links .dots {
  border: none;
  background: none;
  color: var(--color-text);
  min-width: auto;
  pointer-events: none;
}
.printpoint-pagination h2.screen-reader-text {
  display: none;
}

/* ------------------------------------- */
/* Mega Menu Columns Support             */
/* ------------------------------------- */
.main-bottom-nav li.mega-menu > ul {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  min-width: 700px;
  padding: 15px;
  gap: 5px 15px;
}
.main-bottom-nav li.mega-menu > ul > li {
  width: 100%;
}
.main-bottom-nav li.mega-menu > ul a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  padding: 10px 15px;
}

/* Prevent dropdown overflow for elements on the right side of the screen */
.main-bottom-nav > ul > li:last-child > ul,
.main-bottom-nav > ul > li:nth-last-child(2) > ul {
  left: auto;
  right: 0;
}

/* ==========================================================================
   Extracted Inline Styles
   ========================================================================== */

/* Utility Classes */
.text-center {
  text-align: center;
}
.uppercase {
  text-transform: uppercase;
}
.no-margin-bottom {
  margin-bottom: 0 !important;
}

/* Front Page */
.page-content-article {
  padding-top: 40px;
}
.home-products-section {
  padding-top: 60px;
  padding-bottom: 60px;
}
.products-section-header {
  margin-bottom: 40px;
}
.products-section-header .section-title {
  font-size: 36px;
  font-weight: 900;
  color: var(--color-dark);
}
.section-description {
  margin-top: 15px;
  font-size: 16px;
  color: #555;
  max-width: 900px;
  line-height: 1.6;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}
.load-more-container {
  margin-top: 50px;
}

/* Reviews Slider */
.reviews-section {
  padding: 0;
  background: transparent;
}
.reviews-swiper {
  padding: 20px 10px 50px 10px;
}
.review-card {
  box-sizing: border-box;
  background: #fff;
  border-radius: 12px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}
.review-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  color: #ffb800;
}
.review-text {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  font-style: italic;
  margin-bottom: 30px;
  flex-grow: 1;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: auto;
}
.author-photo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.author-photo.fallback {
  background: #ececec;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
}
.author-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.author-name {
  font-weight: 700;
  font-size: 16px;
  color: var(--color-dark);
  margin-bottom: 2px;
}
.author-position {
  font-size: 13px;
  color: var(--color-primary);
  font-weight: 500;
}

/* ==========================================================================
   Single Blog Post Styles
   ========================================================================== */
.single-blog-post {
  padding-top: 60px;
  padding-bottom: 60px;
  max-width: 1280px;
  margin: 0 auto;
}
.single-blog-post .entry-header {
  margin-bottom: 40px;
  text-align: left;
}
.single-blog-post .entry-title {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 15px;
  line-height: 1.2;
}
.single-blog-post .entry-meta {
  font-size: 14px;
  color: #888;
  display: flex;
  align-items: center;
  gap: 15px;
}
.single-blog-post .entry-meta .sep {
  color: #ccc;
}
.single-blog-post .post-main-image {
  margin-bottom: 40px;
  border-radius: 8px;
  overflow: hidden;
}
.single-blog-post .post-main-image img {
  width: 100%;
  height: auto;
  display: block;
}
.blog-post-content {
  font-size: 17px;
  line-height: 1.8;
  color: #333;
}
.single-blog-post .entry-footer {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid #eaeaea;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.single-blog-post .post-tag-link {
  display: inline-block;
  padding: 5px 12px;
  background: #f5f5f5;
  border-radius: 4px;
  color: #555;
  text-decoration: none;
  font-size: 13px;
}

/* Post Content Typography & Elements */
.blog-single-cat a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
}
.blog-single-cat a:hover {
  text-decoration: underline;
}
.blog-post-content p {
  margin-bottom: 25px;
}
.blog-post-content h2,
.blog-post-content h3,
.blog-post-content h4 {
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.3;
}
.blog-post-content h2 {
  font-size: 28px;
}
.blog-post-content h3 {
  font-size: 24px;
}
.blog-post-content a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px dotted var(--color-primary);
}
.blog-post-content a:hover {
  border-bottom-style: solid;
}
.blog-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}
.blog-post-content blockquote {
  border-left: 4px solid var(--color-primary);
  margin: 30px 0;
  padding: 15px 25px;
  background: #f9f9f9;
  font-style: italic;
  color: #555;
  border-radius: 0 8px 8px 0;
}

/* WordPress Gallery */
.blog-post-content .gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 40px 0;
}
.blog-post-content .gallery .gallery-item {
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  position: relative;
}
.blog-post-content .gallery .gallery-icon img {
  border: none !important;
  width: 100% !important;
  height: 300px !important;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.blog-post-content .gallery .gallery-item:hover .gallery-icon img {
  transform: scale(1.08);
}
.blog-post-content .gallery .gallery-caption {
  display: none;
}

/* Custom Lightbox */
.custom-lightbox-modal {
  display: none;
  position: fixed;
  z-index: 99999;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  padding: 30px;
}
.custom-lightbox-modal.active {
  display: flex;
}
.custom-lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  border-radius: 4px;
}
.custom-lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  line-height: 1;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  transition: color 0.3s ease;
}
.custom-lightbox-close:hover {
  color: var(--color-primary);
}

@media (max-width: 768px) {
  .blog-post-content .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-post-content .gallery .gallery-icon img {
    height: 200px !important;
  }
}
@media (max-width: 480px) {
  .blog-post-content .gallery {
    grid-template-columns: 1fr;
  }
  .blog-post-content .gallery .gallery-icon img {
    height: auto !important;
    max-height: 350px;
  }
}

/* ==========================================================================
   Page & Single Product Styles
   ========================================================================== */
.py-60 {
  padding-top: 60px;
  padding-bottom: 60px;
}
.py-40 {
  padding-top: 40px;
  padding-bottom: 40px;
}

.single-product-page .entry-header {
  margin-bottom: 30px;
}
.product-content-wrapper {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.product-gallery {
  flex: 1 1 400px;
  max-width: 600px;
}
.main-product-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.product-card-placeholder {
  width: 100%;
  height: 400px;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}
.product-details {
  flex: 1 1 400px;
}
.product-description {
  font-size: 16px;
  line-height: 1.6;
}

/* Breadcrumbs */
.printpoint-breadcrumbs {
  margin-bottom: 25px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
}
.printpoint-breadcrumbs a {
  color: var(--color-dark);
  text-decoration: none;
  transition: color 0.3s;
}
.printpoint-breadcrumbs a:hover {
  color: var(--color-primary);
}
.printpoint-breadcrumbs .sep {
  margin: 0 8px;
  color: #ccc;
}
.printpoint-breadcrumbs .current {
  color: var(--color-primary);
}

/* ==========================================================================
   Buttons Global
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  border: 2px solid transparent;
  border-radius: 6px;
  transition: all 0.3s ease;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.btn-primary {
  color: #fff;
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-primary:hover {
  background-color: var(--color-dark);
  border-color: var(--color-dark);
  color: #fff;
}
.btn-outline {
  color: var(--color-primary);
  background-color: transparent;
  border-color: var(--color-primary);
}
.btn-outline:hover {
  color: #fff;
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}
.site-header__actions a.btn {
  margin-bottom: 12px;
}
/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
  background: transparent;
}
.cta-box {
  background: #fff;
  padding: 50px;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-dark);
  margin: 0 0 10px;
}
.cta-text {
  font-size: 16px;
  color: #666;
  margin: 0;
  line-height: 1.5;
}
@media (max-width: 768px) {
  .cta-box {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }
}

/* ==========================================================================
   Order Modal
   ========================================================================== */
.printpoint-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  padding-bottom: calc(20px + env(safe-area-inset-bottom));
}
.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  cursor: pointer;
}
.modal-window {
  position: relative;
  background: #faf9f6; /* printpoint paper tone */
  width: 100%;
  max-width: 900px;
  border-radius: 12px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
  z-index: 10;
  max-height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  color: #888;
  background: transparent;
  border: none;
  cursor: pointer;
  line-height: 1;
  z-index: 20;
  transition: color 0.3s;
}
.modal-close:hover {
  color: var(--color-dark);
}
.modal-body {
  display: flex;
  flex-wrap: wrap;
}

/* Modal Sidebar (Left) */
.modal-sidebar {
  flex: 1 1 300px;
  background: #fff;
  padding: 40px;
  border-right: 1px solid #eaeaea;
}
.modal-title {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 15px;
  color: var(--color-dark);
}
.modal-desc {
  font-size: 15px;
  color: #666;
  margin-bottom: 30px;
  line-height: 1.5;
}
.modal-contacts p {
  font-size: 15px;
  margin-bottom: 15px;
}
.modal-contacts a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
}
.modal-map {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eaeaea;
}
.modal-map .map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-dark);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}
.modal-map .map-link:hover {
  color: var(--color-primary);
}
.map-iframe-container iframe {
  width: 100% !important;
  height: 250px !important;
  border: none !important;
}

/* Modal Form (Right) */
.modal-form-wrap {
  flex: 2 1 450px;
  padding: 40px;
}
.form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.form-group {
  flex: 1;
  min-width: 200px;
  margin-bottom: 20px;
}
.form-row .form-group {
  margin-bottom: 0;
}
.printpoint-order-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  margin-bottom: 8px;
}
.printpoint-order-form input[type="text"],
.printpoint-order-form input[type="tel"],
.printpoint-order-form input[type="number"],
.printpoint-order-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 15px;
  background: #fff;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
  font-family: inherit;
}
.printpoint-order-form input:focus,
.printpoint-order-form textarea:focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(135, 193, 73, 0.15); /* Primary color light */
}

/* Hide arrows from number inputs */
.printpoint-order-form input[type="number"]::-webkit-inner-spin-button,
.printpoint-order-form input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}
.printpoint-order-form input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

/* Urgent Checkbox Custom */
.checkbox-group {
  display: flex;
  align-items: flex-end; /* Align to bottom, alongside the input */
}
.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.custom-checkbox .checkmark {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 24px;
  width: 24px;
  background-color: #fff;
  border: 2px solid #ddd;
  border-radius: 4px;
  transition: all 0.2s;
}
.custom-checkbox:hover input ~ .checkmark {
  border-color: var(--color-primary);
}
.custom-checkbox input:checked ~ .checkmark {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}
.custom-checkbox .checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 12px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.custom-checkbox input:checked ~ .checkmark:after {
  display: block;
}
.custom-checkbox {
  display: block;
  position: relative;
  padding-left: 35px;
  cursor: pointer;
  font-size: 15px !important;
  user-select: none;
  line-height: 24px;
  margin-bottom: 13px !important;
}
/* File Upload UI */
.file-upload-group {
  margin-top: 10px;
}
.hidden-file-input {
  display: none;
}
.file-upload-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #f0f0f0;
  color: var(--color-dark) !important;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600 !important;
  transition: background 0.3s;
  margin-bottom: 10px !important;
}
.file-upload-btn:hover {
  background: #e4e4e4;
}
.file-list {
  margin-top: 10px;
}
.file-item {
  font-size: 13px;
  color: #444;
  background: #fff;
  padding: 6px 12px;
  border: 1px solid #eee;
  border-radius: 4px;
  margin-bottom: 5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 5px;
}
.file-remove {
  background: transparent;
  border: none;
  color: #e74c3c;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  display: inline-flex;
}
.file-remove:hover {
  color: #c0392b;
}
.file-notice {
  font-size: 12px;
  color: #888;
  margin-top: 8px;
}

.form-submit {
  margin-top: 30px;
}
.btn-block {
  width: 100%;
  padding: 15px;
  font-size: 16px;
}

@media (max-width: 768px) {
  .modal-body {
    flex-direction: column;
  }
  .modal-sidebar,
  .modal-form-wrap {
    padding: 25px;
  }
  .modal-sidebar {
    border-right: none;
    border-bottom: 1px solid #eaeaea;
  }
}

/* Modal Product Preview */
.modal-product-preview {
    margin-top: 30px;
    padding: 15px;
    background: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 8px;
    display: flex;
    gap: 15px;
    align-items: center;
}

.mpp-thumb-wrap {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    background: #f5f5f5;
    border: 1px solid #eee;
}

.mpp-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mpp-info h4 {
    margin: 0 0 5px 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--color-dark);
}

.mpp-color-swatch {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid #ddd;
    margin-right: 5px;
    vertical-align: middle;
}

#mpp-attributes {
    font-size: 12px;
    color: #888;
    line-height: 1.4;
    margin-top: 5px;
}

/* ==========================================================================
   Footer Custom
   ========================================================================== */
.site-footer {
  background: #2b2b2b;
  color: #fff;
  padding: 60px 0 20px;
  font-size: 15px;
  margin-top: 50px;
}
.footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 50px;
}
.footer-col {
  flex: 1;
  min-width: 200px;
}
.footer-title {
  font-size: 18px;
  color: #fff;
  margin-bottom: 20px;
  font-weight: 500;
}
.footer-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-item a {
  color: #fff;
  transition: color 0.3s;
}
.footer-item a:hover {
  color: var(--color-primary);
}
.footer-icon {
  color: var(--color-primary);
  font-size: 16px;
  height: 16px;
  width: 16px;
  margin-top: 5px;
  flex-shrink: 0;
}
.text-green {
  color: var(--color-primary);
  font-weight: 600;
}
.footer-socials {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-social-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  transition:
    background 0.3s,
    transform 0.3s;
}
.footer-social-circle:hover {
  background-color: #72a832; /* slightly darker primary */
  transform: translateY(-2px);
  color: #fff;
}
.footer-social-circle svg {
  width: 16px;
  height: 16px;
  color: #fff;
}
.site-info {
  text-align: left;
  padding: 20px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: #ccc;
  background: none;
}
.site-info a {
  color: inherit;
  text-decoration: none;
}
@media (max-width: 768px) {
  .footer-columns {
    flex-direction: column;
  }
  .site-info {
    text-align: center;
  }
}

