/*
Theme Name: PaintMe
Theme URI: 
Author: GM
Description: Multipurpose theme
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: wp-bootstrap-starter
*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
body {overflow-x: hidden;background-color: var(--page-bg);color: var(--text-dark-color);}
/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
@font-face {font-family: 'BerlinerInsScript';src: url('/wp-content/themes/paintme/includes/assets/fonts/tt-berlinerins-trial.script.woff2') format('woff2');font-weight: normal;font-style: normal;}
h1,h2,h3,h4,h5,h6 {clear: both;font-weight: 700;margin-bottom: 1rem;}
h1 {font-size: 5rem;margin: 1.5rem 0;font-family: 'BerlinerInsScript';}
h2 {font-size: 3.5rem;font-family: 'BerlinerInsScript';}
h3 {font-size: 1.25rem;}
h4 {font-size: 1rem;}
h5 {font-size: 0.85rem;line-height: 17.5px;}
p {margin: 1rem 0;}
p:last-child {margin-bottom: 0;}
h3.widget-title {font-size: 1rem;text-transform: uppercase;margin: 0 0 0.5rem;}
.accent {color: #667070;}
.font-normal {font-weight: 300;}
.size-sm {font-size: 0.9rem;}
.blockquote-footer {font-size: 1rem;color: var(--text-dark-color);}
ol,ul {list-style: none;padding: 0;margin: 0;}
li {position: relative;}
li::before {position: absolute;content: "";}
[class*="list"]:not(.qnav, .features-list) li:not(:last-child) {margin-bottom: 0.5rem;}
.list li {padding-left: 2rem;}
.list li::before {width: 0.5rem;height: 0.5rem;border-radius: 0.5rem;background: var(--icons-color);top: 8px;left: 15px;}
.section-dark .list li::before {background: var(--main-light-color);}
.parties-list li {padding-left: 5rem;}
.parties-list li::before {width: 3rem;height: 3rem;left: 15px;background-repeat: no-repeat;background-position: center;filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(0%) hue-rotate(288deg) brightness(102%) contrast(102%);}
.parties-list li.birthday::before {
    background-image: var(--birthday-party);
}
.parties-list li.team-building::before {
    background-image: var(--team-building);
}
.parties-list li.bachelorette-party::before {
    background-image: var(--bachelorette-party);
}
.parties-list li.children-party::before {
    background-image: var(--children-party);
}
.icons-list li,
.socials li,
.reviews .menu li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.25rem;
    z-index: 100;
}
.icons-list.checkmark li::before,
.icons-list.cross li::before {
    width: 12px;
    height: 12px;
    top: 3px;
    left: 0;
}
.mega-menu li::before {
    width: 48px;
    height: 48px;
    top: -10px;
    left: 0;
    background-repeat: no-repeat;
}
.icons-list.checkmark li::before {
    background-image: var(--icon-check);
}
.mega-menu li.paint-wine::before {background-image: var(--icon-nav-paint-wine);}
.mega-menu li.children::before {background-image: var(--icon-nav-children);}
.mega-menu li.online::before {background-image: var(--icon-nav-online);}
.icons-list li.minus::before,
.icons-list li.plus::before {
    width: 16px;
    height: 16px;
    top: 2px;
    left: 0;
}
.icons-list li.plus::before {
    background: var(--icon-plus);
}
.icons-list li.minus::before {
    background: var(--icon-minus);
}
li[class*="social-"]:before {
    width: 20px;
    height: 20px;
    top: 0;
    left: 5px;
}
li.social-mail:before {background: var(--icon-email);}
li.social-call:before {background: var(--icon-phone);}
li.social-bot:before {background: var(--icon-bot);}
li.social-facebook:before {background: var(--icon-facebook);}
li.social-instagram:before {background: var(--icon-instagram);}
li.social-linkedin:before {background: var(--icon-linkedin);}
a,
a:hover {
    color: var(--links-color);
}
a:hover {
    text-decoration: none;
}
.qnav li::before,
h2::before {
    content: "";
    display: inline-block;
    margin-right: 1rem;
    background: var(--icon-h2-bullet) center no-repeat;
}
.section-dark h2::before {filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(1%) hue-rotate(51deg) brightness(102%) contrast(101%);}
h2::before {
    width: 1.25rem;
    height: 1.25rem;
    vertical-align: middle;
}
.qnav li::before {
    width: 1rem;
    height: 1rem;
}
.fixed {
    position: fixed;
}
section img {
    border-radius: var(--img-border-radius);
}
.card-header {
    background-color: transparent;
}
/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
footer {background: var(--footer-background);color: var(--text-dark-color);}
footer::before{content: "";  background-repeat: no-repeat;position: absolute;right: 0;left: 0;width: 100% !important;height: 150px;z-index: 99;}
.footer::before {background-image: url(/wp-content/themes/paintme/img/background/down.svg);}
#footer-widget {z-index: 100;}
@media screen and (min-width: 1100px) {.footer::before{top: -55px;}}
@media only screen and (min-width: 576px) and (max-width: 1099px) {.footer::before{top: -30px;}}
@media screen and (max-width: 575px) {.footer::before{top: -15px;}}
.widget .menu-item:not(:last-child) {margin-bottom: .5rem;}
.widget.franchise {background: var(--main-dark-color);color: var(--main-light-color);box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;}
.menu-pages-container .menu-item {padding-left: 0;}
.widget .nav-link {padding: 0;color: var(--text-dark-color);}
.widget .nav-link:hover {color: var(--links-color);} 
.footer p, .copyright {font-size: .85rem;}
/* Back to Top Button */
.back-top {display: none;border-radius: 50%;background: var(--main-light-color);box-shadow: 0px 6px 6px #0000004D;width: 65px;height: 65px;transition: ease-in-out .5s;}
.back-top.fixed {display: inline-block;right: 10px;bottom: 10px;z-index: 60;position: fixed;}
.back-top::before {content: '';position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%) rotate(180deg);width: 25px;height: 25px;background: var(--icon-arrow) no-repeat center;transition: var(--transition);}
@media screen and (max-width: 575px) {.footer{font-size: .85rem;}}
@media screen and (max-width: 767px) {
h1 {font-size: 3rem;}
h2 {font-size: 2.5rem;}
.back-top {width: 35px;height: 35px;}
.back-top::before {width: 15px;height: 15px;}
.review.back-top.fixed {bottom: 100px;}
}
.menu-info-container .nav-link
{padding: 0 .75rem;}
/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
header {background: var(--header-background);color: var(--main-light-color);}
#primary-menu {position: relative;z-index: 9998;}
.navbar-toggler {z-index: 9999;}
/* DropDown Menu: */
ul.navbar-nav .dropdown-menu {background: var(--home-bg);border: none;}
ul.navbar-nav .dropdown-menu .nav-item {border: none;text-transform: none;height: fit-content;}
.dropdown {position: unset;}
.dropdown-item {padding: 0 0.75rem;}
.dropdown-item:focus, .dropdown-item:hover {border-radius: var(--main-border-radius);}
.mega-menu .dropdown-item {padding: 0 1.5rem;}
.dropdown-toggle {border: none;padding: 0 .5rem;position: relative;background: transparent;cursor: pointer;}
.dropdown-toggle::after, .faq .card-header span::after {border: none;background: var(--icon-arrow) no-repeat;width: 12px;height: 12px;filter: invert(97%) sepia(0%) saturate(12%) hue-rotate(276deg) brightness(104%) contrast(105%);}
.dropdown-toggle::after {position: relative;top: 0.45rem;}
.dropdown-toggle.show::after, .faq .card-header[aria-expanded="true"] span::after {transform: rotate(180deg);transition: all .5s ease;}
.dropdown-toggle.show::after{top: 0.15rem;}
.faq .card-header[aria-expanded="true"] span::after {top: 0.65rem;}
.mega-menu a {font-weight: bold;}
.submenu a {font-weight: normal;}
@media only screen and (min-width: 992px) and (max-width: 1399px) {
  .navbar-nav {font-size: .7rem;}
}
@media screen and (min-width: 1200px) {
  .navbar-nav > .nav-item:not(.mega-menu) {padding: .5rem 0 .5rem 1rem;}
}
@media screen and (min-width: 992px) {
  ul.navbar-nav li.menu-item>.dropdown-menu {top: 50px;right: 0;width: 100%;}
  .navbar-nav {align-items: center;gap: 0.5rem;}
  .navbar-nav > .nav-item:not(.mega-menu, .cart) {padding: .5rem;border: 1px solid var(--text-light-color);border-radius: .25rem;transition: all .5s linear;}
  .navbar-nav > .nav-item.dropdown:not(.mega-menu) {padding: .5rem 0 .5rem 1rem;}
  .navbar-nav > .nav-item:not(.mega-menu, .cart):hover,
  .navbar-nav > .nav-item.active:not(.mega-menu, .cart),
  .navbar-nav > .nav-item:has(.dropdown-toggle.show) {background-color: var(--light-opacity);}
  .navbar-nav .nav-link,.navbar-nav .nav-link:hover {color: var(--main-light-color);}
}
@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .mega-menu {font-size: var(--nav-font-size);}
  .dropdown-toggle::after {width: 10px;height: 10px;top: 0.3rem;}
}
@media screen and (max-width: 991px) {
  body.menu-open:after {content: '';display: block;position: fixed;top: 0;bottom: 0;left: 0;right: 0;width: 100%;height: 100%;z-index: 997;background: rgba(0, 0, 0, 0.5);transition: all 0.1s ease-in-out;-webkit-transition: all 0.1s ease-in-out;-moz-transition: all 0.1s ease-in-out;-o-transition: all 0.1s ease-in-out;}
  .navbar .navbar-toggler {border: medium none;outline: none;}
  .navbar-toggler .navbar-toggler-icon {background: var(--menu-hamburger) no-repeat;transition: var(--transition);width: 25px;height: 25px;}
  .navbar-toggler:focus {box-shadow: none;}
  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {background: var(--menu-close) no-repeat;width: 25px;height: 25px;}
  .navbar-nav {width: 100%;}
  .navbar-nav > .nav-item:not(.mega-menu) {border-bottom: 1px solid var(--main-dark-color);padding: .5rem 0;}
  #primary-menu {position: absolute;z-index: 9998;background: var(--home-bg);width: 300px;padding: 1rem 1.5rem;top: 80px;right: 0;border-radius: 12px 0px 0px 12px;}
  .navbar-nav .nav-link,
  .navbar-nav .nav-link:hover {color: var(--main-dark-color);padding: 0.5rem 1rem;}
  #menu-primary-menu .dropdown-toggle::after {filter: none;position: absolute;top: 0.75rem;right: 0; filter: invert(11%) sepia(90%) saturate(3633%) hue-rotate(335deg) brightness(102%) contrast(99%);}
  .dropdown-toggle.show::after {top: 0.7rem; filter: invert(11%) sepia(90%) saturate(3633%) hue-rotate(335deg) brightness(102%) contrast(99%);}
}
@media (max-width: 768px) {
  .brand-img {
    width: 200px;
  }
}
.bag-icon {background-image: var(--icon-bag);width: 3rem;height: 3rem;text-indent: -9999px;text-align: left;background-repeat: no-repeat;background-position: center center;}
.bag-count {background-color: var(--main-dark-color); border-radius: 1rem;top: 12px;right: 8px;border: 1px solid var(--main-light-color);}
/* Quick Navigation */
.side-quick-nav {background-color: var(--product-background-color);border: 1px solid var(--border-color);}
.contents a {text-decoration: none;}
.side-quick-nav * {color: var(--main-darker-color);}
.qnav-toggler::after {filter: invert(100%) sepia(100%) saturate(1%) hue-rotate(280deg) brightness(100%) contrast(100%);}
@media screen and (max-width: 991px) {
  .contents {padding: .25rem 1rem;}
}
.side-quick-nav .qnav {font-size: .85rem;}
.side-quick-nav .qnav li:not(:last-child) {margin-bottom: .5rem;}
.qnav li::before {top: 3px;left: 6px;}
.qnav-toggler {background-color: transparent;border: none;font-size: 1rem;}
.qnav-toggler::after {content: '';position: absolute;background: var(--icon-arrow) no-repeat;width: 15px;height: 15px;top: 65%;right: 0;transform: translateY(-50%);filter: var(--main-dark-color);}
.qnav-toggler[aria-expanded="true"]::after {transform: rotate(180deg);top: 20%;}
/*--------------------------------------------------------------
# FAQ
--------------------------------------------------------------*/
.faq .card {border: none;background-color: transparent;}
.faq .card-header {background: var(--main-dark-color);position: relative;text-decoration: none;}
.faq .btn-check:focus+.btn, .btn:focus {box-shadow: none;}
.faq .card-header span::before {content: '?';text-align: center;position: absolute;font-size: .85rem;left: 10px;top: 10px;color: var(--main-dark-color);background: var(--secondary-light-color);width: 1.2rem;height: 1.2rem;border-radius: 50%;}
.faq .card-header span::after {content: '';position: absolute;top: 15px;right: 10px;}
/*--------------------------------------------------------------
# PopUp
--------------------------------------------------------------*/
.site-pop .modal-content {border: none;background-color: transparent;}
.site-pop .modal-header {border: none;}
.site-pop span {font-size: 1.45rem; text-transform: uppercase;}
.site-pop label {font-size: 1.25rem;}
.modal-body {background-color: var(--home-bg);}
.pop-title::before {content: ""; background-image: url(/wp-content/themes/paintme/img/background/pop-up-bg.svg); background-position: center; background-repeat: no-repeat; width: 163px; height: 98px; position: absolute;top: -50%;left: 32%;}
.pop-title::after {content: ""; background-image: var(--icon-place); position: absolute; width: 1rem; height: 1rem; background-repeat: no-repeat;right: 50%;top: -25%;}
.form-select {font-size: 1.35rem;}
/*--------------------------------------------------------------
# 404
--------------------------------------------------------------*/
.error-404 .visit-button {width: 250px;}
@media screen and (min-width: 992px) {
  .error-404 h1 {width: fit-content;}
  .error-404 h1 span {font-size: 3rem;}}
.blog-card .thumb {
    padding-top: 66.6667%;
}
.blog-box-title {font-size: 1rem;}
.blog-card .thumb img {position: absolute;top: 0;left: 0;width: 100%;height: 100%;object-fit: cover;padding: 10px;}
.blog-grid-wrap .page-title {margin: 0 0 18px;}
.blog-grid {grid-template-columns: repeat(3, 1fr);gap: 1rem;}
.pagination a, .pagination span {margin:0 4px; padding:6px 10px; border:1px solid var(--main-dark-color); text-decoration:none;
}
.pagination .current { background: var(--main-dark-color); color: var(--main-light-color);}
@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
}
.entry-meta{
    display: none;
}
.alignright {
  display: block;          
  max-width: 100%;       
  height: auto;          
  float: right;
}
ul.paint-list {
    list-style: none;
    padding-left: 0;
  }
  ul.paint-list li {
    position: relative;
    padding-left: 1.5rem;
  }
  .paint-list li::before {
    content: "";
    display: inline-block;
    margin-right: 0.5rem;
    background: var(--icon-h2-bullet) center no-repeat;
    height: 30px;
    width: 30px;
    left: -5px;
}
#breadcrumbs{
    font-style: italic;
}
  #breadcrumbs li {                                       
      font-weight: 400 !important;                        
  }                                                       
  #breadcrumbs a {                                        
      font-weight: 400 !important;
      text-decoration: none !important;
  }
.navigation.post-navigation .nav-links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0,1fr));
	gap: 1.25rem;
}
.navigation.post-navigation .nav-links a {
	padding: .75rem;
	border: 1px solid #eee;
	border-radius: .5rem;
	text-decoration: none;
}
.navigation.post-navigation .nav-thumb img { display:block; }
@media (max-width: 576px) {
	.navigation.post-navigation .nav-links { grid-template-columns: 1fr; }
}
.testimonial-card{
  color: #333;
}
.section-dark .product-row {
  color: #333 !important; 
}

/* Основен стил за снимките */
.zoooom {
  position: relative;
  transition: filter 0.3s ease;
}

img.zoooom:hover {
  filter: brightness(0.8) blur(1px); /* леко потъмняване + замъгляване */
}

/* Лупичка в центъра на самата снимка */
img.zoooom::after {
  content: '🔍';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  font-size: 2rem;
  color: white;
  text-shadow: 0 0 5px rgba(0,0,0,0.6);
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
}

/* Показваме я при hover */
img.zoooom:hover::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Пълен изглед на снимката */
.image-zoom-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  cursor: zoom-out;
  animation: fadeIn 0.25s ease;
}

.image-zoom-overlay img {
  max-width: 95%;
  max-height: 95%;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.dropdown-menu[data-bs-popper] {
    top: auto;
    left: auto;
}

.btn-secondary:hover {
    background-color: transparent;
    border-color: transparent;
}

.btn-check:focus+.btn-secondary, .btn-secondary:focus {
    background-color: transparent;
    border-color: transparent;
}


@media screen and (max-width: 992px) {
  .dropdown-toggle{
    font-size: 14px;
  }
}

#primary .blog-card .thumb{
    padding-top: 0px;
}
.woocommerce-info, .woocommerce-message {background-color: #ffffff;border-top-color: var(--main-dark-color); border-radius: var(--main-border-radius);}
.woocommerce-info::before, .woocommerce-message::before {content: none;}
.woocommerce form.checkout_coupon {background-color: #ffffff;}
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button {background: var(--main-dark-color);color: var(--main-light-color);font-weight: 500;}
p.text-dark{
  color: #000;
  background-color: #fff !important;
}

/* Materials bundle icons (used by [painting_materials_upsell] shortcode) */
.materials-icon {
    display: inline-block;
    width: 36px;
    height: 36px;
    min-width: 36px;
    flex: 0 0 36px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.materials-icon.materials-icon--canvas       { background-image: var(--feature-canvas); }
.materials-icon.materials-icon--brushes      { background-image: var(--feature-brushes); }
.materials-icon.materials-icon--paint-bottle { background-image: var(--feature-paint-bottle); }

/* Hide quantity selector on online painting products (not needed for digital course access) */
.single-product-online .quantity.custom-quantity-wrapper { display: none !important; }