/*
 Theme Name:   TopShop Child
 Theme URI:    https://kairaweb.com/wordpress-theme/topshop/
 Description:  Child theme for the TopShop WordPress theme
 Author:       b.kiri
 Author URI:   https://incorporationagency.ca/
 Template:     topshop
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  topshop-child
*/

/* Custom CSS goes below this line */

.feat-img img {
    display: block;
    width: 100%;
}

.feat-img {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 30px;
}

.single.single-post h1.product_title.entry-title {
    font-size: 32px;
}

/* Company Key*/
.page-template-template-company-key .header_EntryCN {
    display: none;
}

.row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(var(--bs-gutter-y)* -1);
    margin-right: calc(var(--bs-gutter-x) / -2);
    margin-left: calc(var(--bs-gutter-x) / -2);
}

.col-xl-6 {
    flex: 0 0 auto;
    width: 50%
}

.blogBTN a {
    color: white;
    border-radius: 6px;
    padding: 8px 9px;
    background: #95c455;
    display: block;
    font-size: 16px;
    font-weight: 700;
    border: 1px solid;
}

.blogBTN {
    width: 15%;
    text-align: center;
    margin: 10px auto 20px;
}

.blogBTN a:hover {
    color: #95c455;
    background: #fff;
}

body.page-id-108526 .header_EntryCN{
	display:none;
}

/* Desktop only: adjust medium input/select widths for left and right label layouts */
@media only screen and (min-width: 641px) {
  .gform_wrapper .left_label input.medium,
  .gform_wrapper .left_label select.medium,
  .gform_wrapper .right_label input.medium,
  .gform_wrapper .right_label select.medium {
    width: calc(35% + 49px) !important;
  }
}

/* Limit WooCommerce button width to content size */
.woocommerce a.button,
.woocommerce-page a.button,
.woocommerce input.button,
.woocommerce-page #content input.button,
.woocommerce-page input.button,
.woocommerce input.button.alt,
.woocommerce-page #content input.button.alt,
.woocommerce button.button.alt,
.woocommerce-page button.button.alt {
  max-width: fit-content !important;
}

/* Styling for ARI Lightbox plugin */
/* Force portrait sizing for Fancybox iframe - Utsav*/
.fancybox-slide--iframe .fancybox-content {
  width: 820px !important;
  height: 1120px !important;
  max-width: 90vw !important;
  max-height: 122vh !important;
}

.fancybox-iframe {
	display: flex;
  width: 100% !important;
  height: 100% !important;
}

.fancybox-toolbar {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Make close button very visible */
.fancybox-button--close {
  position: fixed !important;
  top: 45px !important;
	
/* Use 'right' to pin it relative to the screen edge */
  /* This calculates the distance from the right edge of the screen to the edge of the 820px modal */
  right: calc(45% - 410px) !important;
  transform: none !important;
	
  width: 42px !important;
  height: 42px !important;
  background: red !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  color: #ffffff !important;
  z-index: 999999 !important;
	
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}


/* Tablet */
@media (max-width: 1024px) {
  .fancybox-slide--iframe .fancybox-content {
    width: 760px !important;
    height: 1040px !important;
    max-width: 92vw !important;
    max-height: 95vh !important;
  }
	.fancybox-button--close {
    width: 36px !important;
    height: 36px !important;
    top: 25px !important;
    left: 48% !important; /* adjust as needed */
  }
  
  .fancybox-button--close svg {
    width: 55% !important;
    height: 55% !important;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .fancybox-slide--iframe .fancybox-content {
    width: 96vw !important;
    height: 92vh !important;
    max-width: 96vw !important;
    max-height: 92vh !important;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .fancybox-slide--iframe .fancybox-content {
    width: 98vw !important;
    height: 90vh !important;
    max-width: 98vw !important;
    max-height: 90vh !important;
  }

	.fancybox-button--close {
    width: 36px !important;
    height: 36px !important;
    top: 25px !important;
    left: 48% !important; /* adjust as needed */
  }
  
  .fancybox-button--close svg {
    width: 70% !important;
    height: 70% !important;
  }
}
/*End of styling ARI Plugin*/

/* Domain and Hosting GF Field CSS - u.patel */

.brchost-container {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center; 
    gap: 8px;           
  	margin-top: -38px;
	  margin-left: 100px;
}

/* Mobile Only */
@media (max-width: 767px) {
    .brchost-container {
        margin-left: 0;
        justify-content: center; 
        padding: 0 10px;
    }
}

.brc-powered-glass {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px 7px 10px;
    background: rgba(16, 137, 123, 0.06);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(16, 137, 123, 0.15);
    border-radius: 10px;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.brc-powered-glass:hover {
    background: rgba(16, 137, 123, 0.1);
    border-color: rgba(16, 137, 123, 0.3);
    box-shadow: 0 2px 12px rgba(16, 137, 123, 0.1);
}

.brc-powered-glass .brc-powered-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary, #10897b);
    flex-shrink: 0;
    animation: brc-pulse 2.5s ease-in-out infinite;
}

@keyframes brc-pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.15); }
}

.brc-powered-glass .brc-powered-text {
    font-size: 11px;
    font-weight: 500;
    color: var(--dark-gray, #555555);
    letter-spacing: 0.2px;
    line-height: 1;
    white-space: nowrap;
}

.brc-powered-glass .brc-powered-text strong {
    font-weight: 700;
    color: var(--primary, #10897b);
}

.brc-external-divider {
    color: #727272;
    font-size: 14px;
}

.brc-external-link {
    font-size: 14px; 
    color: #28406d;
    font-weight: 700;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.brc-external-link:hover {
    color: #28406d; 
}
  
.fancybox-navigation {
    display: none !important;
}

.fas{
    color: white;
}
.search-btn.fa-search{
    color: white !important;
}
.header-cart-checkout .fas:hover{
    background-color: #333!important;
}

.header-cart:hover .header-cart-checkout .fas{
    background-color: #333!important;
}


/* Envelope (Outline / Regular style) */
.fa-envelope-o:before {
    content: "\f0e0";
    font-family: "Font Awesome 5 Free";
    font-weight: 400; /* Regular / Outline style */
}

/* Money (Solid style replacement: money-bill-alt or money-bill-wave) */
.fa-money:before {
    content: "\f53a"; /* money-bill-wave */
    font-family: "Font Awesome 5 Free";
    
}

/* Edit / Pencil Square (Solid style) */
.fa-edit:before, 
.fa-pencil-square-o:before {
    content: "\f044";
    font-family: "Font Awesome 5 Free";
    font-weight: 300; /* Solid style */
}

/* End of Domain and Hosting GF Field CSS - u.patel */