/*
Theme Name: GeneratePress Child - Sightlok
Template: generatepress
Version: 1.0.0
Description: Sightlok look on GeneratePress (no page builder).
*/

/* ---------- Fonts (local) ---------- */
@font-face{font-family:"Rajdhani";src:url("/wp-content/uploads/2023/12/rajdhani-regular-webfont.woff") format("woff");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Rajdhani";src:url("/wp-content/uploads/2023/12/rajdhani-medium-webfont.woff") format("woff");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Rajdhani";src:url("/wp-content/uploads/2023/12/rajdhani-semibold-webfont.woff") format("woff");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"Rajdhani";src:url("/wp-content/uploads/2023/12/rajdhani-bold-webfont.woff") format("woff");font-weight:700 900;font-style:normal;font-display:swap}

:root{--sl-red:#c42d30;--sl-red-hover:#ff2c1e;--sl-text:#212529}

html{scroll-behavior:smooth}
body{font-family:"Rajdhani",sans-serif;font-size:20px;font-weight:600;line-height:1.5;color:var(--sl-text);background:#fff;overflow-x:hidden}
body,button,input,select,textarea{font-family:"Rajdhani",sans-serif}
h1,h2,h3,h4,h5,h6{font-family:"Rajdhani",sans-serif;font-weight:700;color:var(--sl-text)}
h1{font-size:30px;line-height:1.1;margin-bottom:8px}
h2{font-size:22px;line-height:1.1}
h3{font-size:22px;line-height:1.3;text-transform:uppercase;letter-spacing:.5px}
.summary h3{font-size:32px;color:#333;margin-bottom:32px}
.pewc-group-heading-wrapper h3{text-transform:none;letter-spacing:normal}
ul.pewc-product-extra-groups{margin:0 0 16px;padding-left:40px}
.pewc-item{padding-left:5px}
.pewc-group-wrap{font-weight:700}
h4{font-size:24px}
a{color:var(--sl-red)}
a:hover,a:focus{color:var(--sl-red-hover)}
ul,ol,li{font-weight:400}
.entry-content p{font-size:20px;font-weight:600;letter-spacing:.2px;line-height:1.7}
small,.small{font-size:20px}

/* ---------- Layout container (old 1140px container) ---------- */
.grid-container{max-width:1140px}
.one-container .site-content{padding:25px 15px 40px}
.separate-containers .inside-article,.one-container .inside-article{padding:0}

/* ---------- Top bar ---------- */
.sl-topbar{background:#000;color:#fff;font-size:15px;font-weight:700;line-height:22px;height:44px;padding:0 15px;display:flex;align-items:center}
.sl-topbar-in{width:100%}
.sl-topbar-in{display:flex;align-items:center;justify-content:space-between;gap:10px}
.sl-topbar a{color:#fff;text-decoration:none}
.sl-topbar a:hover{color:#fff;opacity:.85}
.sl-tb-left{display:flex;align-items:center;min-width:0}
.sl-tb-logo{display:inline-block;background:#fff;padding:3px;border-radius:3px;margin-right:8px;line-height:0}
.sl-tb-logo img{width:18px;height:18px;display:block}
.sl-tb-right{display:flex;align-items:center;gap:5px;flex-shrink:0}
.sl-ic{display:inline-flex;align-items:center;justify-content:center;width:25px;height:23px;border:1px solid #fff;border-radius:1px;padding:3px;background:#fff;color:#000;cursor:pointer;line-height:0}
.sl-topbar a.sl-ic,.sl-topbar a.sl-ic:hover{color:#000}
.sl-ic svg{width:15px;height:15px;fill:currentColor}
button.sl-ic:hover,button.sl-ic:focus{background:#fff;color:#000;opacity:.85}

/* ---------- Main navigation (camo bar) ---------- */
.sl-nav{position:relative;min-height:70px;display:flex;align-items:center;background:#000 url("/wp-content/uploads/2023/05/camo-background.jpg");opacity:.8;padding:0 15px;box-sizing:border-box}
.sl-nav-in{width:100%;max-width:1140px;margin:0 auto;display:flex;align-items:center;justify-content:center}
.sl-menu{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:center}
.sl-menu li{position:relative;margin:0}
.sl-menu a{display:block;padding:11px 15px;font-size:22px;font-weight:800;line-height:33px;text-transform:uppercase;color:#fff;text-decoration:none}
.sl-menu a:hover,.sl-menu a:focus{color:#fff;background:rgba(255,255,255,.12)}
.sl-menu .current-menu-item>a,.sl-menu .current_page_item>a{background:#eee;color:#4c4c4c}
.sl-menu .sub-menu{display:none;position:absolute;top:100%;left:0;z-index:99;min-width:220px;list-style:none;margin:0;padding:0;background:#000}
.sl-menu li:hover>.sub-menu,.sl-menu li:focus-within>.sub-menu{display:block}
.sl-menu .sub-menu a{font-size:18px;line-height:24px;padding:10px 15px}
.sl-menu-toggle{display:none;background:none;border:1px solid rgba(255,255,255,.6);color:#fff;font-size:20px;font-weight:700;padding:6px 12px;align-items:center;gap:8px;cursor:pointer}
.sl-menu-toggle:hover,.sl-menu-toggle:focus{background:none;color:#fff}
.sl-menu-toggle svg{width:22px;height:22px;fill:#fff}
@media (max-width:767px){
  .sl-nav-in{flex-direction:column;align-items:stretch}
  .sl-menu-toggle{display:inline-flex;align-self:flex-end;margin:12px 0}
  .sl-menu{display:none;flex-direction:column;padding-bottom:10px}
  .sl-nav.is-open .sl-menu{display:flex}
  .sl-menu a{font-size:20px;padding:8px 10px}
  .sl-menu .sub-menu{position:static;display:block;background:none;padding-left:15px}
  .sl-tb-left a:last-child{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .sl-topbar{padding:0 10px}
}

/* ---------- Search overlay ---------- */
.sl-search{position:fixed;inset:0;z-index:9999;background:rgba(0,0,0,.94);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:20px}
.sl-search[hidden]{display:none}
.sl-search form{width:100%;max-width:700px}
.sl-search input[type=search]{width:100%;background:none;border:0;border-bottom:2px solid #fff;color:#fff;font-size:40px;font-weight:700;padding:10px 0;text-align:center}
.sl-search input[type=search]:focus{outline:none;background:none;color:#fff}
.sl-search p{color:#aaa;font-size:16px;margin-top:15px}
.sl-search-close{position:absolute;top:20px;right:25px;background:none;border:0;color:#fff;font-size:44px;line-height:1;cursor:pointer}
.sl-search-close:hover,.sl-search-close:focus{background:none;color:#fff}

/* ---------- Page titles hidden where the old site hid them ---------- */
.page-id-1892 .entry-header,.page-id-1598 .entry-header,.page-id-1736 .entry-header,.page-id-1725 .entry-header,.page-id-1734 .entry-header{display:none}

/* ---------- Homepage ---------- */
.home.one-container .site-content{padding-top:0}
.home .inside-article>.entry-content,.page-id-1598 .inside-article>.entry-content,.page .inside-article>.entry-content:first-child{margin-top:0}
.sl-hero{position:relative;width:100vw;left:50%;margin-left:-50vw;aspect-ratio:1024/576;max-height:720px;overflow:hidden;background:#222;margin-bottom:0}
.sl-hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center top;margin:0}
.sl-hero .sl-hero-2{animation:slHero 16s infinite}
@keyframes slHero{0%,37.5%{opacity:0}50%,87.5%{opacity:1}100%{opacity:0}}
@media (prefers-reduced-motion:reduce){.sl-hero .sl-hero-2{animation:none;opacity:0}}
.entry-content p.sl-home-headline{font-size:43px;font-weight:700;line-height:33px;padding-top:40px;margin:20px 0 0}
.home .summary .product_title{display:none}
.woocommerce .star-rating span::before{color:var(--sl-red)}
.woocommerce .star-rating::before{color:#cfc8d8}
.woocommerce div.product .woocommerce-product-rating{line-height:40px;margin-bottom:32px}
.woocommerce div.product .summary p.price{font-size:20px;font-weight:600;line-height:34px;margin-bottom:10px}
.woocommerce-product-details__short-description p{font-size:20px;font-weight:600;line-height:34px;margin:0 0 10px}
.woocommerce-review-link{color:var(--sl-red);font-size:20px}
.home .entry-content>.woocommerce{margin-top:24px}
@media (max-width:767px){.entry-content p.sl-home-headline{font-size:30px;padding-top:25px}.sl-hero{min-height:220px}}

/* ---------- Blog page (query loop grid) ---------- */
.sl-blog-title{font-size:30px;line-height:33px;text-transform:uppercase;margin:20px 0 40px}
.sl-blog-grid .wp-block-post-template{gap:20px;align-items:start}
.sl-blog-grid .wp-block-post{border:1px solid #e6e6e6;background:#fff;padding:20px;text-align:center}
.sl-blog-grid .wp-block-post-title{font-size:35px;line-height:35px;font-variant:small-caps;margin:0 0 10px}
.sl-blog-grid .wp-block-post-title a{color:var(--sl-red);text-decoration:underline}
.sl-blog-grid .wp-block-post-excerpt__excerpt{font-size:20px;font-weight:600;line-height:1.7;letter-spacing:.2px;margin:0}
.sl-blog-grid .wp-block-post-excerpt__more-text{display:none}
.sl-blog-grid .wp-block-query-pagination{margin-top:30px;justify-content:center}

/* ---------- Contact page ---------- */
.sl-contact{margin-top:25px}
.sl-contact>.wp-block-column:first-child{flex-basis:39%!important;text-align:center}
.sl-contact>.wp-block-column:last-child{flex-basis:61%!important}
.sl-contact .wp-block-image img{margin:0 auto}
.sl-contact .wpcf7{max-width:465px}
.wpcf7-form label{font-size:24px;font-weight:600;display:block}
.wpcf7-form input[type=text],.wpcf7-form input[type=email],.wpcf7-form textarea{width:100%;border:1px solid #ccc;border-radius:3px;font-size:18px;padding:6px 12px}
.wpcf7-form .wpcf7-submit{font-size:22px;font-weight:700;background:#000;color:#fff;border:0;padding:10px 24px;cursor:pointer}
.wpcf7-form .wpcf7-submit:hover{background:var(--sl-red)}

/* ---------- Posts ---------- */
.single-post .site-content{flex-wrap:wrap}
.sl-breadcrumb{flex:0 0 100%;box-sizing:border-box;background:#f5f5f5;border-radius:4px;padding:8px 11px;font-size:20px;font-weight:400;line-height:30px;margin-bottom:19px}
.sl-breadcrumb>*{margin-right:20px}
.sl-breadcrumb span{color:#6c757d}
.sl-post-cats{text-align:center;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:1px;line-height:1.4;margin:15px 0 20px}
.sl-post-cats a{color:var(--sl-red);text-decoration:none}
.sl-breadcrumb a{color:var(--sl-red);text-decoration:none}
.sl-breadcrumb .sep,.sl-breadcrumb .separator{color:#6c757d;padding:0 8px}
.single-post .inside-article{border:1px solid #eee;padding:0 10px 20px}
.single-post .entry-header{text-align:center;margin-top:15px}
.single-post .entry-title{font-size:30px;line-height:1.1}
.single-post .entry-meta{text-align:center;font-size:10px;font-style:italic;color:#939393;text-transform:uppercase;letter-spacing:1px}
.single-post .entry-meta a{color:#939393}
.single-post .cat-links,.single-post .tags-links{font-size:10px;text-transform:uppercase;letter-spacing:1px}

/* ---------- Sidebar widgets ---------- */
.sidebar .widget{background:none;padding:0 0 10px;margin-bottom:19px;font-size:20px}
.sidebar .widget-title,.sidebar .widget .wp-block-heading{background:#f7f7f7;border-radius:10px;padding:9px;text-align:center;text-transform:uppercase;font-size:16px;font-weight:700;color:#000;margin-bottom:20px}
.sidebar .widget ul{margin:0 0 16px 20px}
.sidebar .widget li{font-size:15px;line-height:22.5px;border-bottom:1px solid #eaeaea;padding-bottom:9px;margin:6px 0}
.sidebar .widget li a{color:var(--sl-red);font-weight:400}
.sidebar .search-form{display:flex}
.sidebar .search-form label{flex:1}
.sidebar .search-form .search-field{width:100%}
.sidebar .search-form .search-submit svg{fill:#fff}
.sidebar .search-form .search-field{border:1px solid #ccc;font-size:14px;padding:8px 12px;height:40px;flex:1;background:#fff;color:#555}
.sidebar .search-form .search-submit{background:#000;color:#fff;width:50px;height:40px;padding:6px 12px}

/* ---------- WooCommerce (carried over from old theme CSS) ---------- */
.woocommerce ul.products li.product .woocommerce-loop-product__title{color:#333;font-size:20px;line-height:26px}
.woocommerce ul.products li.product .price,.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--sl-red)}
.woocommerce ul.products li.product .price{font-size:18px}
.woocommerce ul.products li.product .button{font-size:16px}
.woocommerce a.button,.woocommerce button.button,.woocommerce button.button.alt,.woocommerce a.button.alt,.woocommerce input.button{background:#000;color:#fff;border-radius:0;font-weight:700}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce button.button.alt:hover,.woocommerce a.button.alt:hover{background:var(--sl-red)!important;color:#fff}
.woocommerce .woocommerce-breadcrumb{font-size:16px}
.woocommerce-product-details__short-description{font-size:16px}
.single-product .summary.entry-summary p.price,.woocommerce table.shop_table th{font-size:20px}
.woocommerce.single-product .single_add_to_cart_button,.woocommerce div.product .woocommerce-tabs ul.tabs li a,.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{font-size:20px}
.single-product table{max-width:550px;text-align:center}
.single-product table thead{background:var(--sl-red);color:#fff}
.single-product table tbody tr:nth-child(even){background:#f2f2f2}
.single-product #tab-description h2{display:none}
body.postid-1917 .woocommerce-tabs ul.tabs,body.home .woocommerce-tabs ul.tabs{display:none!important}
.woocommerce-review__published-date,.woocommerce-review__dash{display:none}
.coupon #coupon_code{width:250px!important;height:40px}
.entry-content ul.pewc-product-extra-groups li,.entry-content ul.pewc-product-extra-groups li *{font-family:"Rajdhani",sans-serif!important}
.pewc-checkbox-image-wrapper:hover,.pewc-radio-image-wrapper:hover,.pewc-radio-checkbox-image-wrapper:hover{border-color:var(--sl-red-hover)!important}
.cr-reviews-slider .cr-review-card .middle-row .datetime{display:none}

/* Single product: add to cart + category tags (old theme look) */
.woocommerce div.product form.cart .single_add_to_cart_button{font-size:20px;font-weight:400;text-transform:uppercase;letter-spacing:1px;line-height:20px;border-radius:3px;padding:10px;background:#000;color:#fff}
.woocommerce div.product form.cart .qty{width:64px;height:44px;font-size:20px;font-weight:400;padding:5px;border:2px solid #767676;background:#fff;color:#000}
.woocommerce div.product .product_meta{font-size:20px}
.woocommerce div.product .product_meta .posted_in{font-style:italic;padding-top:5px;display:block}
.woocommerce div.product .product_meta .posted_in a{position:relative;display:inline-block;background:#000;color:#fff;font-size:11px;font-weight:700;font-style:italic;text-transform:uppercase;letter-spacing:.5px;line-height:14px;padding:3px 7px;margin:2px 4px 2px 10px;border-radius:0 2px 2px 0;text-decoration:none;vertical-align:middle}
.woocommerce div.product .product_meta .posted_in a::before{content:"";position:absolute;left:-7px;top:0;border-style:solid;border-width:10px 7px 10px 0;border-color:transparent #000 transparent transparent}
.woocommerce div.product .product_meta .posted_in a::after{content:"";position:absolute;left:-2px;top:8px;width:4px;height:4px;background:#fff;border-radius:2px}
.woocommerce div.product .product_meta .posted_in a:hover{background:var(--sl-red)}
.woocommerce div.product .product_meta .posted_in a:hover::before{border-right-color:var(--sl-red)}

/* Shop / category grid (old theme look) */
.woocommerce ul.products li.product{box-sizing:border-box;border:1px solid #eee;padding:0 0 15px;text-align:center}
.woocommerce ul.products li.product a img{margin:0 0 20px}
.woocommerce ul.products li.product .woocommerce-loop-product__title{padding:16px 10px 10px;font-weight:700;text-align:center}
.woocommerce ul.products li.product .price{line-height:27px;margin-bottom:9px;font-weight:400}
.woocommerce ul.products li.product .button{text-transform:capitalize;font-size:16px;line-height:16px;border-radius:3px;padding:8px 10px;margin:10px auto}
.woocommerce-products-header__title.page-title{font-size:30px;line-height:33px;padding:9px 14px;margin-bottom:8px}
.woocommerce .woocommerce-result-count{color:#767676;font-size:20px;font-weight:600;line-height:34px;margin:0 0 20px}
.woocommerce .woocommerce-ordering select{font-size:20px;color:#828282;background:#fbfbfb;border:1px solid #a7a7a7;padding:5px}


/* ---------- Default archive/search post loop (category, tag, search results) ---------- */
.archive .site-main article.type-post,
.search .site-main article.type-post,
.tax .site-main article.type-post {
	border:1px solid #eeeeee;
	text-align:center;
	padding:20px 0;
	margin:19px 0;
}
.archive .site-main article.type-post .entry-title,
.search .site-main article.type-post .entry-title,
.tax .site-main article.type-post .entry-title {
	text-align:center;
}
.archive .site-main article.type-post .entry-meta,
.search .site-main article.type-post .entry-meta,
.tax .site-main article.type-post .entry-meta {
	text-align:center;
	font-size:10px;
	font-style:italic;
	color:#939393;
	text-transform:uppercase;
	letter-spacing:1px;
	margin-bottom:12px;
}
.archive .site-main article.type-post .entry-summary,
.search .site-main article.type-post .entry-summary,
.tax .site-main article.type-post .entry-summary {
	text-align:center;
}
.archive .site-main article.type-post footer,
.search .site-main article.type-post footer,
.tax .site-main article.type-post footer {
	text-align:center;
}
.sl-continue-reading{border:1px solid;margin:8px auto 0;padding:4px 10px;display:table;font-size:11px;letter-spacing:1px;text-decoration:none;color:inherit}


/* ---------- Product Add-Ons Ultimate (pewc): match old theme's box-sizing so columns wrap correctly ---------- */
.pewc-checkbox-image-wrapper,
.pewc-checkboxes-images-wrapper .pewc-checkbox-image-wrapper {
	box-sizing: border-box;
}
