/*
Theme Name: Free Study Gujarat Team Shop
Theme URI: https://shop.mytechnologyhubs.com/
Author: Hub Solutions
Author URI: https://shop.mytechnologyhubs.com/
Description: A WooCommerce WordPress theme for shop.mytechnologyhubs.com with TheHour-style clean header, category dropdown, product cards, product detail gallery, quantity controls, add to cart, product information, full FAQ/About/Contact/Policy content pages and dark footer.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: thehour-clone-shop
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: ecommerce, woocommerce, shop, education, responsive
*/

:root{
  --th-bg:#f4f8fb;
  --th-card:#ffffff;
  --th-text:#102033;
  --th-muted:#637083;
  --th-line:#e8eef5;
  --th-black:#111111;
  --th-blue:#3f46df;
  --th-blue-dark:#2f36c9;
  --th-shadow:0 12px 34px rgba(16,32,51,.08);
  --th-soft-shadow:0 8px 24px rgba(16,32,51,.06);
  --th-radius:10px;
  --th-radius-lg:12px;
  --th-max:960px;
  --th-wide:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--th-text);
  background:var(--th-bg);
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size:14px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
a{color:inherit;text-decoration:none}
a:hover{color:var(--th-blue)}
img{max-width:100%;height:auto;display:block}
button,input,select,textarea{font:inherit}
.th-container{max-width:var(--th-max);margin:0 auto;padding:0 20px}
.th-wide-container{max-width:var(--th-wide);margin:0 auto;padding:0 20px}
.th-top-ad{
  height:24px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#999;
  background:#fff;
  font-size:12px;
  border-bottom:1px solid #f2f2f2;
}
.th-header{
  position:sticky;
  top:0;
  z-index:99;
  height:58px;
  background:#fff;
  box-shadow:0 2px 15px rgba(0,0,0,.06);
}
.admin-bar .th-header{top:32px}
.th-header-inner{
  height:58px;
  max-width:1120px;
  margin:0 auto;
  padding:0 18px;
  display:grid;
  grid-template-columns:310px 1fr 80px;
  align-items:center;
  gap:20px;
}
.th-brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:20px;line-height:1.05;letter-spacing:-.03em;color:#122033;white-space:nowrap;min-width:0}
.th-brand img{width:42px;height:42px;border-radius:50%;object-fit:cover}
.th-brand-mark{width:42px;height:42px;border-radius:999px;background:#111;display:grid;place-items:center;border:2px solid #2f2412;box-shadow:0 3px 10px rgba(0,0,0,.12)}
.th-brand-mark span{font-size:10px;color:#d7b56d;font-weight:900;line-height:1}
.th-nav{display:flex;justify-content:center;align-items:center;gap:22px;font-size:13px;font-weight:700;color:#253247}
.th-nav-item{position:relative;display:flex;align-items:center;gap:5px;height:58px;cursor:pointer}
.th-nav a{display:flex;align-items:center;height:58px;color:#253247}
.th-nav a:hover,.th-nav-item:hover>a{color:var(--th-blue)}
.th-chevron{font-size:12px;opacity:.75;transition:transform .2s ease}
.th-nav-item:hover .th-chevron{transform:rotate(180deg)}
.th-cat-menu{
  position:absolute;
  top:54px;
  left:50%;
  transform:translateX(-50%);
  width:240px;
  padding:9px;
  background:#fff;
  border:1px solid var(--th-line);
  border-radius:10px;
  box-shadow:var(--th-soft-shadow);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:.18s ease;
}
.th-nav-item:hover .th-cat-menu,.th-nav-item.th-open .th-cat-menu{opacity:1;visibility:visible;pointer-events:auto;top:58px}
.th-cat-menu a{height:auto;display:block;padding:9px 11px;border-radius:8px;font-weight:700;color:#29384d}
.th-cat-menu a:hover{background:#f4f7fb;color:var(--th-blue)}
.th-cart-link{justify-self:end;position:relative;width:34px;height:34px;border-radius:999px;background:#fff;display:grid;place-items:center;box-shadow:inset 0 0 0 1px #eff2f6;color:#172236}
.th-cart-link svg{width:21px;height:21px}
.th-cart-count{position:absolute;top:-8px;right:-7px;min-width:17px;height:17px;padding:0 4px;border-radius:999px;background:#e62828;color:#fff;font-size:10px;line-height:17px;text-align:center;font-weight:800;border:2px solid #fff}
.th-mobile-toggle{display:none;width:38px;height:38px;border:0;background:#fff;border-radius:9px;box-shadow:inset 0 0 0 1px #edf1f5;align-items:center;justify-content:center;gap:4px;flex-direction:column}
.th-mobile-toggle span{width:18px;height:2px;background:#121b2e;border-radius:999px}
.th-mobile-menu{display:none;background:#fff;border-top:1px solid var(--th-line);box-shadow:0 12px 26px rgba(0,0,0,.08);padding:10px 18px 16px}
.th-mobile-menu a{display:block;padding:10px 2px;font-weight:700;border-bottom:1px solid #f4f4f4}
.th-section{padding:44px 0}
.th-section-title{font-size:26px;line-height:1.2;text-align:left;margin:0 0 24px;font-weight:900;letter-spacing:-.03em;color:#152033}
.th-center-title{text-align:center}
.th-empty{background:#fff;border:1px dashed #cbd4df;border-radius:10px;padding:24px;text-align:center;color:var(--th-muted);max-width:760px;margin:20px auto}
.th-cat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.th-cat-card{background:#fff;border-radius:12px;box-shadow:var(--th-soft-shadow);overflow:hidden;border:1px solid #edf1f5;transition:transform .2s ease,box-shadow .2s ease}
.th-cat-card:hover{transform:translateY(-3px);box-shadow:var(--th-shadow)}
.th-cat-image{height:170px;background:#f2f6fb;display:grid;place-items:center;overflow:hidden}
.th-cat-image img{width:100%;height:100%;object-fit:cover}
.th-cat-fallback{width:72px;height:72px;border-radius:50%;background:#111;color:#d7b56d;display:grid;place-items:center;font-weight:900}
.th-cat-card h3{margin:0;padding:13px 14px;font-size:15px;text-align:center}
.th-products-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.th-product-card{position:relative;background:#fff;border:1px solid #edf1f5;border-radius:12px;overflow:hidden;box-shadow:var(--th-soft-shadow);transition:transform .2s ease,box-shadow .2s ease;min-height:100%;display:flex;flex-direction:column}
.th-product-card:hover{transform:translateY(-3px);box-shadow:var(--th-shadow)}
.th-product-card-img{height:255px;background:#fff;display:grid;place-items:center;overflow:hidden;border-bottom:1px solid #f2f4f7}
.th-product-card-img img{width:100%;height:100%;object-fit:cover}
.th-product-card-body{padding:14px;display:flex;flex-direction:column;gap:8px;flex:1}
.th-product-card h3{margin:0;font-size:15px;line-height:1.35;font-weight:800;color:#132034;min-height:40px}
.th-price{font-weight:900;font-size:18px;color:#070b12;line-height:1.2}
.th-price del,.th-card-price del,.price del{font-size:12px;color:#9aa5b5;margin-left:5px;font-weight:600;text-decoration-color:#a2aab5}
.th-price ins,.price ins{text-decoration:none}
.th-view-btn,.th-add-card .button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.button{
  display:inline-flex!important;align-items:center;justify-content:center;gap:6px;background:var(--th-blue)!important;color:#fff!important;border:0!important;border-radius:999px!important;font-weight:800!important;font-size:12px!important;line-height:1!important;padding:11px 18px!important;box-shadow:none!important;text-decoration:none!important;cursor:pointer;transition:.2s ease!important}
.th-view-btn:hover,.th-add-card .button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover,.button:hover{background:var(--th-blue-dark)!important;color:#fff!important}
.th-add-card{margin-top:auto}
.th-sale-badge{position:absolute;top:10px;left:10px;background:#111;color:#fff;border-radius:999px;padding:4px 9px;font-size:11px;font-weight:900;z-index:2}
.th-page-header{padding:32px 0 8px}
.th-breadcrumb{font-size:12px;color:#708096;font-weight:700;margin-bottom:15px}
.th-page-title{font-size:34px;line-height:1.15;margin:0 0 12px;font-weight:900;letter-spacing:-.04em}
.th-sort-row{display:flex;align-items:center;justify-content:space-between;margin:0 0 20px;gap:14px;color:#5f6e81;font-size:13px}
.th-sort-row select{border:1px solid #dfe6ef;border-radius:8px;padding:9px 12px;background:#fff;outline:none;color:#253247}
.th-product-single{padding:52px 0 72px}
.th-product-layout{max-width:960px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:start;padding:0 20px}
.th-gallery-card{position:relative;background:#fff;border-radius:8px;box-shadow:var(--th-soft-shadow);overflow:hidden;min-height:720px;border:1px solid #edf1f5}
.th-gallery-frame{position:relative;width:100%;height:720px;display:grid;place-items:center;background:#fff;overflow:hidden}
.th-gallery-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;visibility:hidden;transition:opacity .18s ease}
.th-gallery-img.th-active{opacity:1;visibility:visible;position:relative}
.th-gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:5;width:26px;height:34px;border:0;border-radius:999px;background:rgba(255,255,255,.88);box-shadow:0 3px 10px rgba(0,0,0,.10);display:grid;place-items:center;font-weight:900;color:#1c2c42;cursor:pointer}
.th-gallery-arrow:hover{background:#fff;color:var(--th-blue)}
.th-gallery-prev{left:7px}.th-gallery-next{right:7px}
.th-product-panel{background:#fff;border-radius:8px;box-shadow:var(--th-soft-shadow);border:1px solid #edf1f5;padding:28px 32px;min-height:720px;color:#213049}
.th-back-category{display:block;color:#6a7688;font-size:13px;font-weight:800;margin-bottom:22px}
.th-single-title{font-size:36px;line-height:1.08;margin:0 0 10px;font-weight:900;letter-spacing:-.045em;color:#102033}
.th-single-short{margin:0 0 18px;color:#667386;font-size:14px}
.th-single-price{font-size:20px;font-weight:900;margin:6px 0 18px;color:#050911}
.th-single-price del{font-size:12px;color:#9aa5b5;margin-left:6px;font-weight:600}
.th-cart-form{margin:0 0 22px;display:flex;flex-direction:column;align-items:center;gap:18px}
.th-qty-wrap{display:flex;justify-content:center;align-items:center;gap:8px}
.th-qty-btn{width:28px;height:28px;border:0;border-radius:999px;background:#e9eef5;color:#627088;font-weight:900;display:grid;place-items:center;cursor:pointer;line-height:1}
.th-qty-btn:hover{background:#dde5ef;color:#162236}
.th-qty-wrap input.qty{width:46px!important;height:26px!important;border:1px solid #d6deea!important;border-radius:6px!important;text-align:center!important;padding:0!important;background:#fff!important;font-size:13px!important;font-weight:800;color:#172236!important;appearance:textfield!important}
.th-qty-wrap input::-webkit-outer-spin-button,.th-qty-wrap input::-webkit-inner-spin-button{appearance:none;margin:0}
.th-product-panel .single_add_to_cart_button{background:var(--th-blue)!important;border-radius:999px!important;font-size:12px!important;padding:13px 31px!important;min-width:125px!important;color:#fff!important;border:0!important;font-weight:900!important;text-transform:none!important}
.th-info-block{margin:18px 0 16px}
.th-info-block h3{font-size:13px;margin:0 0 8px;font-weight:900;color:#173047}
.th-info-block ul{margin:0 0 18px 18px;padding:0;color:#25364c;font-size:13px}
.th-info-block li{margin:2px 0}
.th-description{color:#48566c;font-size:13px;line-height:1.72}
.th-description p{margin:0 0 12px}
.th-related{max-width:1180px;margin:0 auto;padding:10px 20px 60px}
.th-related .th-section-title{text-align:left;font-size:24px}
.woocommerce-notices-wrapper{max-width:960px;margin:22px auto 0;padding:0 20px}
.woocommerce-message,.woocommerce-info,.woocommerce-error{background:#fff;border:1px solid #dde5ef;border-left:4px solid var(--th-blue);border-radius:8px;padding:14px 18px!important;margin:0 0 16px!important;box-shadow:var(--th-soft-shadow);list-style:none;color:#1d2b40}
.woocommerce-error{border-left-color:#d83a3a}
.th-content-page{padding:48px 0 72px}
.th-page-card{background:#fff;border-radius:10px;box-shadow:var(--th-soft-shadow);border:1px solid #edf1f5;padding:34px;max-width:860px;margin:0 auto;color:#33435a}
.th-page-card h1,.th-page-card h2{color:#112033;line-height:1.2;font-weight:900;letter-spacing:-.03em}
.th-page-card h1{font-size:32px;margin:0 0 18px}.th-page-card h2{font-size:22px;margin:26px 0 10px}
.th-page-card p{margin:0 0 14px}
.th-footer{background:#111;color:#fff;margin-top:0;padding:38px 0 26px}
.th-footer-grid{max-width:960px;margin:0 auto;padding:0 20px;display:grid;grid-template-columns:1fr 1fr;gap:80px}
.th-footer h3{margin:0 0 14px;font-size:20px;font-weight:900;letter-spacing:-.03em;color:#fff}
.th-footer p{margin:0;color:#d6d6d6;max-width:360px;line-height:1.55}
.th-footer ul{list-style:none;margin:0;padding:0}
.th-footer li{margin:0 0 8px}
.th-footer a{color:#e9e9e9;font-weight:700}
.th-footer a:hover{color:#fff;text-decoration:underline}
.th-copyright{text-align:center;color:#bfbfbf;font-size:13px;margin-top:30px;padding-top:22px;border-top:1px solid rgba(255,255,255,.08)}
.woocommerce-cart .entry-content,.woocommerce-checkout .entry-content,.woocommerce-account .entry-content{max-width:960px;margin:0 auto;padding:40px 20px 70px}
.woocommerce table.shop_table{background:#fff;border:1px solid #e5ebf2!important;border-radius:10px;overflow:hidden;box-shadow:var(--th-soft-shadow)}
.woocommerce table.shop_table th{font-weight:900;color:#112033;background:#f8fafc}
.woocommerce table.shop_table td,.woocommerce table.shop_table th{border-color:#edf1f5!important;padding:14px!important}
.woocommerce-cart-form,.cart-collaterals,.woocommerce-checkout form.checkout,.woocommerce-MyAccount-content,.woocommerce-MyAccount-navigation{background:#fff;border:1px solid #edf1f5;border-radius:10px;box-shadow:var(--th-soft-shadow);padding:22px;margin-bottom:22px}
.input-text,select,textarea{border:1px solid #dbe3ed;border-radius:8px;padding:10px 12px;background:#fff;color:#1d2b40}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea{line-height:1.5}
.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout{max-width:960px;margin:40px auto 70px;padding:0 20px}
@media (max-width:1100px){
  .th-products-grid{grid-template-columns:repeat(3,1fr)}
  .th-cat-grid{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:820px){
  .admin-bar .th-header{top:46px}
  .th-header-inner{grid-template-columns:auto 1fr auto;gap:12px}
  .th-brand{font-size:16px;white-space:normal}.th-brand img,.th-brand-mark{width:38px;height:38px}
  .th-nav{display:none}.th-mobile-toggle{display:flex;justify-self:end}.th-cart-link{justify-self:end}
  body.th-menu-open .th-mobile-menu{display:block;position:sticky;top:58px;z-index:98}
  .th-products-grid{grid-template-columns:repeat(2,1fr);gap:14px}.th-cat-grid{grid-template-columns:repeat(2,1fr);gap:14px}
  .th-product-card-img{height:230px}.th-cat-image{height:150px}
  .th-product-layout{grid-template-columns:1fr;gap:20px;padding:0 14px}
  .th-gallery-card,.th-gallery-frame,.th-product-panel{min-height:auto}
  .th-gallery-frame{height:620px}
  .th-product-panel{padding:24px 20px}
  .th-single-title{font-size:30px}
  .th-footer-grid{grid-template-columns:1fr;gap:28px}
}
@media (max-width:520px){
  .th-top-ad{font-size:11px;height:22px}
  .th-header{height:56px}.th-header-inner{height:56px;padding:0 12px}
  .th-brand{font-size:17px;gap:8px}.th-brand img,.th-brand-mark{width:34px;height:34px}
  .th-products-grid{grid-template-columns:1fr 1fr;gap:11px}.th-cat-grid{grid-template-columns:1fr 1fr;gap:11px}
  .th-product-card-img{height:190px}.th-cat-image{height:126px}
  .th-product-card-body{padding:10px}.th-product-card h3{font-size:13px;min-height:36px}.th-price{font-size:15px}.th-view-btn,.th-add-card .button{padding:9px 12px!important;font-size:11px!important}
  .th-section{padding:34px 0}.th-section-title{font-size:23px;margin-bottom:18px}
  .th-product-single{padding:28px 0 44px}
  .th-gallery-frame{height:520px}
  .th-single-title{font-size:26px}.th-product-panel{border-radius:8px;padding:22px 17px}.th-page-title{font-size:28px}.th-page-card{padding:24px 18px}
}
@media (max-width:390px){.th-gallery-frame{height:470px}.th-product-card-img{height:165px}}


/* Free Study Gujarat Team content pages */
.th-page-intro{
  background:linear-gradient(135deg,#f6f8ff,#eef7ff);
  border:1px solid #e2eaf7;
  border-radius:12px;
  padding:18px 20px;
  margin:0 0 22px;
  color:#21324a;
  font-size:15px;
}
.th-page-intro p:last-child{margin-bottom:0}
.th-faq-list h3{
  margin:18px 0 7px;
  padding:13px 15px;
  border-radius:10px;
  background:#f8fafc;
  border:1px solid #edf1f6;
  font-size:16px;
  color:#112033;
}
.th-check-list{margin:8px 0 20px!important;padding:0!important;list-style:none!important}
.th-check-list li{
  position:relative;
  padding:7px 0 7px 30px;
  border-bottom:1px solid #f0f3f7;
}
.th-check-list li:before{
  content:"✓";
  position:absolute;
  left:0;
  top:7px;
  width:20px;
  height:20px;
  border-radius:50%;
  background:#111;
  color:#fff;
  display:grid;
  place-items:center;
  font-size:12px;
  font-weight:900;
}
.th-contact-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  margin:20px 0 26px;
}
.th-contact-box{
  border:1px solid #edf1f5;
  border-radius:12px;
  background:#fbfdff;
  padding:18px;
  box-shadow:0 6px 18px rgba(16,32,51,.04);
}
.th-contact-box h2{font-size:18px!important;margin:0 0 8px!important}
.th-contact-box p{margin:0 0 8px!important}
@media (max-width:820px){.th-contact-grid{grid-template-columns:1fr}}
