/*
Theme Name: TC Shop Modern
Theme URI: https://example.com/
Author: Tech Codi
Author URI: https://example.com/
Description: Modern, fast and conversion-focused WooCommerce theme for product selling websites.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tc-shop-modern
Tags: e-commerce, woocommerce, responsive, custom-logo, featured-images
*/

:root{
  --tc-bg:#f6f7fb;
  --tc-card:#ffffff;
  --tc-text:#151923;
  --tc-muted:#697386;
  --tc-primary:#5b4bff;
  --tc-primary-2:#7c6cff;
  --tc-dark:#111827;
  --tc-border:#e8eaf1;
  --tc-success:#0f9f6e;
  --tc-shadow:0 12px 36px rgba(17,24,39,.08);
  --tc-radius:20px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--tc-bg);color:var(--tc-text);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;line-height:1.6}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
button,input,select,textarea{font:inherit}
.tc-container{width:min(1180px,calc(100% - 32px));margin-inline:auto}
.tc-topbar{background:#111827;color:#fff;font-size:14px}
.tc-topbar .tc-container{display:flex;justify-content:center;align-items:center;min-height:36px;text-align:center}
.tc-site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.94);backdrop-filter:blur(14px);border-bottom:1px solid rgba(232,234,241,.9)}
.tc-header-inner{display:grid;grid-template-columns:auto 1fr auto;gap:24px;align-items:center;min-height:76px}
.tc-brand{display:flex;align-items:center;gap:12px;font-size:23px;font-weight:800;letter-spacing:-.03em}
.tc-brand img{max-height:48px;width:auto}
.tc-nav ul{list-style:none;display:flex;justify-content:center;gap:28px;margin:0;padding:0;font-weight:650}
.tc-nav a:hover{color:var(--tc-primary)}
.tc-header-actions{display:flex;align-items:center;gap:10px}
.tc-icon-btn{height:42px;min-width:42px;padding:0 13px;border:1px solid var(--tc-border);background:#fff;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-weight:700;position:relative}
.tc-icon-btn:hover{border-color:#d5d8e5;box-shadow:0 5px 18px rgba(17,24,39,.07)}
.tc-cart-count{position:absolute;right:-5px;top:-7px;background:var(--tc-primary);color:#fff;border-radius:999px;min-width:20px;height:20px;font-size:11px;display:flex;align-items:center;justify-content:center;padding:0 5px;border:2px solid #fff}
.tc-mobile-toggle{display:none;border:1px solid var(--tc-border);background:#fff;border-radius:12px;width:44px;height:44px}
.tc-hero{padding:72px 0 48px;overflow:hidden}
.tc-hero-grid{display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:48px}
.tc-eyebrow{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;background:#eceafe;color:#4d3df0;font-weight:750;font-size:14px}
.tc-hero h1{font-size:clamp(42px,6vw,72px);line-height:1.03;letter-spacing:-.055em;margin:20px 0 20px;max-width:760px}
.tc-hero p{font-size:19px;color:var(--tc-muted);max-width:650px;margin:0 0 30px}
.tc-hero-actions{display:flex;gap:12px;flex-wrap:wrap}
.tc-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:50px;padding:0 20px;border-radius:14px;font-weight:800;border:1px solid transparent;transition:.2s ease}
.tc-btn-primary{background:linear-gradient(135deg,var(--tc-primary),var(--tc-primary-2));color:#fff;box-shadow:0 12px 28px rgba(91,75,255,.28)}
.tc-btn-primary:hover{transform:translateY(-2px);box-shadow:0 16px 30px rgba(91,75,255,.36)}
.tc-btn-secondary{background:#fff;border-color:var(--tc-border)}
.tc-hero-card{background:linear-gradient(145deg,#171a27,#2c245f);min-height:460px;border-radius:34px;position:relative;padding:28px;box-shadow:0 35px 80px rgba(32,26,90,.24);display:flex;align-items:center;justify-content:center;isolation:isolate}
.tc-hero-card:before,.tc-hero-card:after{content:"";position:absolute;border-radius:999px;filter:blur(2px);z-index:-1}.tc-hero-card:before{width:240px;height:240px;background:rgba(124,108,255,.35);right:-35px;top:-55px}.tc-hero-card:after{width:180px;height:180px;background:rgba(255,255,255,.09);left:18px;bottom:12px}
.tc-feature-product{background:#fff;width:min(360px,92%);border-radius:24px;padding:16px;box-shadow:0 24px 60px rgba(0,0,0,.24);transform:rotate(-2deg)}
.tc-feature-product img{border-radius:18px;aspect-ratio:1/1;object-fit:cover;background:#f4f4f8}
.tc-feature-product h3{font-size:18px;margin:14px 2px 3px}
.tc-feature-product .price{font-weight:850;color:var(--tc-primary)}
.tc-trust-strip{padding:10px 0 44px}
.tc-trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.tc-trust-item{background:#fff;border:1px solid var(--tc-border);border-radius:16px;padding:18px;display:flex;gap:12px;align-items:center}
.tc-trust-icon{width:42px;height:42px;border-radius:12px;background:#f0efff;display:flex;align-items:center;justify-content:center;font-size:20px}
.tc-trust-item strong{display:block;font-size:14px}.tc-trust-item span{display:block;color:var(--tc-muted);font-size:12px}
.tc-section{padding:54px 0}
.tc-section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:26px}
.tc-section-head h2{font-size:34px;line-height:1.15;letter-spacing:-.035em;margin:0}.tc-section-head p{color:var(--tc-muted);margin:6px 0 0}
.tc-section-link{font-weight:800;color:var(--tc-primary)}
.tc-category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.tc-category-card{background:#fff;border:1px solid var(--tc-border);border-radius:20px;overflow:hidden;transition:.22s ease}
.tc-category-card:hover{transform:translateY(-4px);box-shadow:var(--tc-shadow)}
.tc-category-card img{width:100%;aspect-ratio:4/3;object-fit:cover;background:#f1f3f7}.tc-category-card-content{padding:16px 18px}.tc-category-card h3{margin:0;font-size:18px}.tc-category-card span{font-size:13px;color:var(--tc-muted)}
/* WooCommerce product grids */
.woocommerce ul.products,.woocommerce-page ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin:0!important}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none!important}
.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{width:auto!important;margin:0!important;float:none!important;background:#fff;border:1px solid var(--tc-border);border-radius:20px;padding:12px 12px 16px;overflow:hidden;transition:.2s ease;position:relative}
.woocommerce ul.products li.product:hover{transform:translateY(-4px);box-shadow:var(--tc-shadow)}
.woocommerce ul.products li.product a img{margin:0 0 14px!important;border-radius:15px;aspect-ratio:1/1;object-fit:cover;background:#f4f5f8}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:16px!important;line-height:1.4;padding:0 3px!important;color:var(--tc-text);font-weight:760}
.woocommerce ul.products li.product .price{font-size:16px!important;font-weight:850;color:var(--tc-primary)!important;padding:0 3px}
.woocommerce span.onsale{min-height:auto;min-width:auto;line-height:1;padding:8px 10px;border-radius:999px;background:#ff4e6a;margin:10px!important;font-size:12px}
.woocommerce ul.products li.product .button{width:calc(100% - 6px);margin:10px 3px 0!important;border-radius:12px;background:var(--tc-dark);color:#fff;text-align:center;padding:12px 14px;font-weight:800}
.woocommerce ul.products li.product .button:hover{background:var(--tc-primary)}
.woocommerce .star-rating{color:#f7a900}
.tc-promo{background:linear-gradient(135deg,#111827,#322b74);color:#fff;border-radius:28px;padding:42px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:24px;box-shadow:0 24px 60px rgba(17,24,39,.18)}
.tc-promo h2{font-size:34px;margin:0 0 8px;letter-spacing:-.03em}.tc-promo p{margin:0;color:#d9dcff}
.tc-footer{background:#10131c;color:#d9deeb;margin-top:70px;padding:56px 0 94px}
.tc-footer-grid{display:grid;grid-template-columns:1.3fr repeat(3,1fr);gap:38px}.tc-footer h3,.tc-footer h4{color:#fff;margin-top:0}.tc-footer p{color:#aab2c5}.tc-footer ul{list-style:none;margin:0;padding:0;display:grid;gap:9px}.tc-footer a:hover{color:#fff}.tc-footer-bottom{border-top:1px solid #262b38;margin-top:36px;padding-top:20px;color:#8993a8;font-size:13px}
.tc-content{padding:46px 0}.tc-content-card{background:#fff;border:1px solid var(--tc-border);border-radius:20px;padding:28px}
.woocommerce .woocommerce-breadcrumb{margin-bottom:18px!important;color:var(--tc-muted)}
.woocommerce div.product{background:#fff;border:1px solid var(--tc-border);border-radius:24px;padding:24px;overflow:hidden}
.woocommerce div.product div.images img{border-radius:18px}.woocommerce div.product .product_title{font-size:36px;letter-spacing:-.035em}.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--tc-primary);font-weight:850}.woocommerce div.product form.cart .button{background:var(--tc-primary);border-radius:12px;min-height:48px;padding:0 22px}.woocommerce .quantity .qty{min-height:48px;border:1px solid var(--tc-border);border-radius:10px}
.woocommerce-cart .cart-collaterals .cart_totals,.woocommerce-checkout #order_review,.woocommerce-checkout .woocommerce-checkout-review-order{background:#fff;border:1px solid var(--tc-border);border-radius:18px;padding:20px}
.woocommerce form.checkout_coupon,.woocommerce form.login,.woocommerce form.register,.woocommerce form.woocommerce-form-login{border:1px solid var(--tc-border)!important;border-radius:18px;background:#fff}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select{border:1px solid #dfe3ec;border-radius:12px;padding:12px 13px;min-height:46px;background:#fff}
.woocommerce button.button,.woocommerce a.button,.woocommerce input.button{border-radius:12px!important}
.tc-mobile-nav{display:none}
@media(max-width:980px){
 .tc-header-inner{grid-template-columns:auto 1fr auto}.tc-nav{display:none;position:absolute;top:76px;left:16px;right:16px;background:#fff;border:1px solid var(--tc-border);border-radius:18px;box-shadow:var(--tc-shadow);padding:16px}.tc-nav.is-open{display:block}.tc-nav ul{flex-direction:column;gap:5px}.tc-nav a{display:block;padding:11px 10px}.tc-mobile-toggle{display:inline-flex;align-items:center;justify-content:center}.tc-header-actions .tc-account-label{display:none}.tc-hero{padding-top:42px}.tc-hero-grid{grid-template-columns:1fr;gap:30px}.tc-hero-card{min-height:390px}.tc-trust-grid{grid-template-columns:repeat(2,1fr)}.tc-category-grid{grid-template-columns:repeat(2,1fr)}.woocommerce ul.products,.woocommerce-page ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}.tc-footer-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:640px){
 body{padding-bottom:70px}.tc-container{width:min(100% - 22px,1180px)}.tc-topbar{font-size:12px}.tc-header-inner{min-height:66px;gap:10px}.tc-nav{top:67px}.tc-brand{font-size:19px}.tc-brand img{max-height:40px}.tc-header-actions .tc-icon-btn.tc-account{display:none}.tc-header-actions .tc-icon-btn{height:40px;min-width:40px;padding:0 10px}.tc-hero{padding:30px 0 26px}.tc-hero h1{font-size:42px}.tc-hero p{font-size:16px}.tc-hero-actions .tc-btn{width:100%}.tc-hero-card{min-height:330px;border-radius:24px}.tc-trust-grid{grid-template-columns:1fr 1fr;gap:10px}.tc-trust-item{padding:13px 10px;align-items:flex-start}.tc-trust-icon{width:36px;height:36px;flex:0 0 auto}.tc-category-grid{grid-template-columns:repeat(2,1fr);gap:12px}.tc-category-card-content{padding:12px}.tc-category-card h3{font-size:15px}.tc-section{padding:36px 0}.tc-section-head h2{font-size:27px}.tc-section-head{align-items:flex-start}.tc-section-link{font-size:13px;white-space:nowrap}.woocommerce ul.products,.woocommerce-page ul.products{gap:12px}.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{padding:9px 9px 12px;border-radius:16px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:14px!important}.woocommerce ul.products li.product .button{font-size:13px;padding:10px 7px}.tc-promo{grid-template-columns:1fr;padding:28px 22px;border-radius:22px}.tc-promo h2{font-size:28px}.tc-footer{padding:44px 0 34px}.tc-footer-grid{grid-template-columns:1fr 1fr;gap:26px 20px}.tc-footer-grid>div:first-child{grid-column:1/-1}.tc-mobile-nav{position:fixed;display:grid;grid-template-columns:repeat(4,1fr);left:0;right:0;bottom:0;height:64px;background:#fff;border-top:1px solid var(--tc-border);z-index:99;box-shadow:0 -8px 30px rgba(17,24,39,.07)}.tc-mobile-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:11px;font-weight:750;color:#596174;gap:2px}.tc-mobile-nav a span:first-child{font-size:20px;line-height:1}.woocommerce div.product{padding:14px}.woocommerce div.product .product_title{font-size:28px}
}
