/*Add Css Custom Here*/
div.tshirtecommerce-btn-group{ 
	display: inline-block; 
	background-color: #ff3c20;
    border-radius: 3px;
    margin: 0 5px;
    padding: 0 10px;
   
    width: auto;
    vertical-align: top;
}
div.tshirtecommerce-btn-group > a{ color: white; text-transform: uppercase;}
/*====== Fix bugs Megamenu not showing icon font (26/1/2018) =====*/
@media (min-width: 992px)  {
	.common-home .navbar-compact.typeheader-1 .container-megamenu.vertical #menuHeading .megamenuToogle-pattern:before,
	.common-home .navbar-compact.typeheader-1 .container-megamenu.vertical #menuHeading .megamenuToogle-pattern:after{display: none;}
	.common-home .navbar-compact.typeheader-1 .container-megamenu.vertical .vertical-wrapper{
      visibility: hidden;
      opacity: 0;
    }   
    .common-home .navbar-compact.typeheader-1 .container-megamenu.vertical:hover .vertical-wrapper{
      visibility: visible;
      opacity: 1;
      top: 40px; } 
}
@media (min-width: 992px){
	/*.menu-vertical .container-megamenu.vertical .vertical-wrapper ul.megamenu > li > a {    padding: 9px 0; line-height: 24px; height: auto;}
	.menu-vertical .container-megamenu.vertical .vertical-wrapper ul.megamenu > li > a i,
	.menu-vertical .container-megamenu.vertical .vertical-wrapper ul.megamenu > li > a b {
	    display: inline-block;
	}
	.menu-vertical .container-megamenu.vertical .vertical-wrapper ul.megamenu > li.with-sub-menu > a:before{display: none;} */
	.menu-vertical .container-megamenu.vertical .vertical-wrapper ul.megamenu > li > a img{position: static; transform: inherit;}

}

.typeheader-12 .navbar-logo .logo{
	min-height: 40px;
}


header .container-megamenu.horizontal .menu-layouts .sub-menu ul li a{ line-height: 30px; padding: 0; }
header .container-megamenu.horizontal .shoppage .title-shoppage {
    text-transform: uppercase;
    display: block;
    font-weight: bold;
    color: #222;
    font-size: 16px;
    line-height: 100%;
    padding-bottom: 12px;
    margin-bottom: 6px;
    border-bottom: 1px solid #eaeaea;
}
header .container-megamenu.horizontal .content-feature li a, 
header .container-megamenu.horizontal ul.megamenu li .sub-menu .content .static-menu .menu ul ul li a, 
header .container-megamenu.horizontal ul.megamenu li .sub-menu .content .html a.subcategory_item, 
header .container-megamenu.horizontal ul.megamenu .sub-menu .content .hover-menu .menu ul a.main-menu{
	color: #666;
}
header .container-megamenu.horizontal .shoppage ul li:hover{ padding: 0; }
body .container-megamenu.vertical{ z-index: 99; }
header .container-megamenu.vertical .vertical-wrapper ul.megamenu > li > a i.fa{ width: 30px; padding: 0; text-align: center; }
header .container-megamenu.vertical .vertical-wrapper ul.megamenu .loadmore{ padding-left: 46px; }

.layout-17.common-home #content .module.so_newletter_custom_popup .modcontent{ border: none; }

body .container-megamenu.vertical {
    z-index: 99;
}
@media (max-width: 767px)  {
	.typeheader-1 .container-megamenu.vertical{
		z-index: 9;
	}	
}
/* Hide language name, keep flag only */
.typeheader-34 .top-link .btn-group .btn-link span:not(.flag-icon),
.typeheader-34 .top-link .language-currency .btn-link span:not(.flag-icon) {
    display: none !important;
}


/* Fix sidebar category heading: clear floats so border-bottom renders below full content */
.categories-home .cat-wrap.theme4 .so-categories-inner .so-categories-heading {
    height: auto !important;
    min-height: 50px;
    overflow: hidden;
}
.categories-home .cat-wrap.theme4 .so-categories-inner .so-categories-heading .cat-title,
.categories-home .cat-wrap.theme4 .so-categories-inner .so-categories-heading .cat-title a {
    white-space: normal !important;
    max-width: 100% !important;
    overflow: visible !important;
    text-overflow: clip !important;
    width: auto !important;
}

/* Home slider text overlay (native, responsive) */
.sohomepage-slider .sohomeslider-description {
    padding: 0 !important;
    top: 0 !important;
    left: 0 !important;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.sohomepage-slider .sohomeslider-description h2 {
    display: none;
}
.slider-text-box {
    position: absolute;
    top: 0;
    width: 44%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.88);
    padding: 0 5%;
    box-sizing: border-box;
    pointer-events: auto;
}
.slider-text-box.pos-right { right: 0; }
.slider-text-box.pos-left  { left: 0; }
.slider-text-box h2 {
    display: block !important;
    color: #1e1e1e;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 14px !important;
    text-transform: none !important;
}
.slider-text-box p {
    color: #555;
    font-size: 17px;
    line-height: 1.4;
    margin: 0 0 24px;
}
.slider-text-box .btn-slider {
    display: inline-block;
    background: #2bb9a9;
    color: #fff !important;
    padding: 13px 30px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 3px;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.2s;
}
.slider-text-box .btn-slider:hover {
    background: #239b8d;
}
@media (max-width: 767px) {
    .slider-text-box {
        width: 100%;
        background: rgba(255, 255, 255, 0.82);
        padding: 0 8%;
    }
    .slider-text-box h2 { font-size: 22px; margin-bottom: 8px !important; }
    .slider-text-box p { font-size: 14px; margin-bottom: 14px; }
    .slider-text-box .btn-slider { padding: 9px 20px; font-size: 13px; }
}
/* Force search bar always visible instead of icon-only on 1200-1650px */
@media (min-width: 1200px) and (max-width: 1650px) {
    .typeheader-34 .header-middle .search-header-w {
        width: 240px !important;
        position: relative !important;
    }
    .typeheader-34 .header-middle .search-header-w .icon-search {
        display: none !important;
    }
    .typeheader-34 .header-middle .search-header-w #sosearchpro .search {
        display: block !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
    }
}

/* Search bar always visible — higher specificity overrides header34.css media query */
@media (min-width: 1200px) and (max-width: 1650px) {
    header.typeheader-34 .header-middle .search-header-w {
        width: 240px;
        position: relative;
    }
    header.typeheader-34 .header-middle .search-header-w .icon-search {
        display: none !important;
    }
    header.typeheader-34 .header-middle .search-header-w #sosearchpro .search {
        display: block;
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        margin: 0;
        padding: 0;
        box-shadow: none;
    }
}

/* Search input more visible in header */
header.typeheader-34 #sosearchpro .search input {
    border: 2px solid #aaa !important;
    background-color: #f5f5f5 !important;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.08) !important;
}
header.typeheader-34 #sosearchpro .search input:focus {
    border-color: #2bb9a9 !important;
    background-color: #fff !important;
    box-shadow: 0 0 0 2px rgba(43,185,169,0.2) !important;
    outline: none !important;
}
/* Submit button visible */
header.typeheader-34 #sosearchpro .search .button-search {
    background-color: transparent !important;
    border: none !important;
    color: #888 !important;
}
header.typeheader-34 #sosearchpro .search .button-search:hover {
    color: #2bb9a9 !important;
}

/* ===== Phone dropdown in header ===== */
.typeheader-34 .phone-header-w {
    position: relative;
    margin: 0 8px;
    z-index: 200;
    flex-shrink: 0;
}
.typeheader-34 .phone-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    color: #222;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    user-select: none;
    padding: 6px 8px;
    border-radius: 4px;
    transition: background 0.15s;
}
.typeheader-34 .phone-toggle:hover {
    background: #f5f5f5;
}
.typeheader-34 .phone-toggle .fa-phone {
    color: #2bb9a9;
    font-size: 14px;
}
.typeheader-34 .phone-toggle .fa-angle-down {
    font-size: 11px;
    color: #999;
    transition: transform 0.2s;
}
.typeheader-34 .phone-header-w.open .fa-angle-down {
    transform: rotate(180deg);
}
.typeheader-34 .phone-dropdown {
    display: none;
    position: absolute;
    top: calc(100% - 8px);
    right: 0;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.13);
    min-width: 200px;
    z-index: 9999;
    overflow: hidden;
}
.typeheader-34 .phone-header-w.open .phone-dropdown {
    display: block;
}
.typeheader-34 .phone-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none !important;
    border-bottom: 1px solid #f2f2f2;
    transition: background 0.15s, color 0.15s;
}
.typeheader-34 .phone-dropdown a:last-child {
    border-bottom: none;
}
.typeheader-34 .phone-dropdown a:hover {
    background: #f0fdfb;
    color: #2bb9a9 !important;
}
.typeheader-34 .phone-dropdown a .fa-phone {
    color: #2bb9a9;
    font-size: 13px;
    width: 14px;
    flex-shrink: 0;
}
/* Shrink search on 1200-1650 to fit phone */
@media (min-width: 1200px) and (max-width: 1650px) {
    .typeheader-34 .header-middle .search-header-w {
        width: 160px !important;
    }
    header.typeheader-34 .header-middle .search-header-w {
        width: 160px !important;
    }
    header.typeheader-34 .header-middle .search-header-w #sosearchpro .search {
        width: 160px !important;
    }
}
/* Hide phone on mobile */
@media (max-width: 1199px) {
    .typeheader-34 .phone-header-w {
        display: none;
    }
}

/* Operator logos in phone dropdown */
.op-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 3px;
}

/* Divider in phone dropdown */
.typeheader-34 .phone-drop-sep {
    height: 1px;
    background: #ebebeb;
    margin: 4px 0;
}

/* Messenger links */
.typeheader-34 .phone-dropdown .messenger-viber .fa-viber,
.typeheader-34 .phone-dropdown .messenger-viber .fab {
    color: #7360f2 !important;
    font-size: 18px;
    width: 22px;
    text-align: center;
}
.typeheader-34 .phone-dropdown .messenger-tg .fa-telegram,
.typeheader-34 .phone-dropdown .messenger-tg .fab {
    color: #2aabee !important;
    font-size: 18px;
    width: 22px;
    text-align: center;
}

/* Middle-right flexbox layout — vertical centering */
.typeheader-34 .header-middle .middle-right {
    display: flex !important;
    align-items: center;
    flex-direction: row-reverse;
    height: 87px;
}
.typeheader-34 .header-middle .middle-right > * {
    float: none !important;
}


/* SO Categories left column — fits longest category name on one line */
@media (min-width: 1400px) {
    .col_wcdm {
        width: 23% !important;
        flex: 0 0 23% !important;
        max-width: 23% !important;
    }
    .col_hevi {
        width: 77% !important;
        flex: 0 0 77% !important;
        max-width: 77% !important;
    }
}
@media (min-width: 1200px) and (max-width: 1399px) {
    .col_wcdm {
        width: 33% !important;
        flex: 0 0 33% !important;
        max-width: 33% !important;
    }
    .col_hevi {
        width: 67% !important;
        flex: 0 0 67% !important;
        max-width: 67% !important;
    }
}
/* Bold nav menu links */
.typeheader-34 .container-megamenu.horizontal ul.megamenu > li > a {
    font-weight: 700 !important;
}

/* Bold nav menu links — correct selector */
.megamenu-pattern ul.megamenu > li > a,
.megamenu-pattern ul.megamenu > li > a strong {
    font-weight: 700 !important;
}

/* Slider text on mobile — compact bottom bar */
@media (max-width: 767px) {
    .slider-text-box {
        width: 100% !important;
        height: auto !important;
        top: auto !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        background: rgba(0,0,0,0.52) !important;
        padding: 10px 16px !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px;
    }
    .slider-text-box h2 {
        font-size: 15px !important;
        color: #fff !important;
        margin: 0 !important;
        font-weight: 700;
        line-height: 1.2;
    }
    .slider-text-box p {
        display: none !important;
    }
    .slider-text-box .btn-slider {
        padding: 7px 14px !important;
        font-size: 12px !important;
        white-space: nowrap;
        flex-shrink: 0;
    }
}

/* ===== Fix: меню не налазить на блок пошуку (typeheader-34) ===== */
@media (min-width: 1200px) {
    /* ущільнити відступи між пунктами меню */
    .typeheader-34 .container-megamenu.horizontal ul.megamenu > li {
        margin-right: 22px !important;
    }
    /* трохи звузити блок пошуку і додати зазор ліворуч */
    .typeheader-34 .header-middle .search-header-w {
        width: 210px !important;
        margin: 0 12px !important;
    }
    .typeheader-34 .header-middle .search-header-w #sosearchpro .search {
        width: 210px !important;
    }
}

/* SO Categories sidebar — фіксована ширина по найдовшій назві (перекриває % правила вище) */
@media (min-width: 1200px) {
    .col_wcdm {
        width: 400px !important;
        flex: 0 0 400px !important;
        max-width: 400px !important;
    }
    .col_hevi {
        width: calc(100% - 400px) !important;
        flex: 0 0 calc(100% - 400px) !important;
        max-width: calc(100% - 400px) !important;
    }
}

/* ===== Social links block on product page (Share This replacement) ===== */
.social-share .title-share {
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-size: 14px;
    color: #333;
}
.social-links {
    display: flex;
    gap: 10px;
    align-items: center;
}
.social-links .soc {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: 18px;
    transition: opacity .2s, transform .2s;
    text-decoration: none;
}
.social-links .soc:hover { opacity: .85; transform: translateY(-2px); color: #fff !important; }
.social-links .soc-fb { background: #1877f2; }
.social-links .soc-ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.social-links .soc-yt { background: #ff0000; }
.social-links .soc-tt { background: #000; }
.social-links .soc svg { width: 20px; height: 20px; display: block; fill: #fff; }

/* ===== Hover image swap on product card (category) ===== */
.product-image-container .image { position: relative; display: block; }
.product-image-container .image .img-hover-swap {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity .4s ease;
    pointer-events: none;
}
.product-item-container:hover .image .img-hover-swap { opacity: 1; }

/* Product title: normal case (not capitalize each word) */
.title-product h1 { text-transform: none !important; }

/* Description heading: normal case */
.product-property-title { text-transform: none !important; }

/* Account icon in header (replaces three dots) */
.typeheader-34 .account .account-icon { font-size: 20px; color: #222; }
.typeheader-34 .account:hover .account-icon { color: #2bb9a9; }

/* Product tags — match shop teal palette */
#tab-tags a.btn.btn-primary {
  background: transparent !important;
  border: 1px solid #2bb9a9 !important;
  color: #2bb9a9 !important;
  border-radius: 3px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  padding: 3px 10px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  margin: 2px 3px 2px 0 !important;
  transition: background 0.2s, color 0.2s !important;
  box-shadow: none !important;
}
#tab-tags a.btn.btn-primary:hover {
  background: #2bb9a9 !important;
  color: #fff !important;
}
