/*
Theme Name: T4murah Full
Theme URI: https://t4murah.42web.io/
Author: T4murah
Description: Tema WooCommerce mandiri T4murah dengan header responsif, menu kategori hierarkis, homepage kategori, shop, dan layout mobile/desktop yang konsisten.
Version: 1.0.6
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: t4murah-full
*/

:root{
  --t4-blue:#0b447f;
  --t4-blue-2:#0e5aa5;
  --t4-orange:#ff7a00;
  --t4-dark:#18202a;
  --t4-text:#243447;
  --t4-muted:#667085;
  --t4-bg:#f5f8fc;
  --t4-border:#e2e8f0;
  --t4-white:#fff;
  --t4-radius:16px;
  --t4-shadow:0 8px 28px rgba(15,54,92,.08);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--t4-text);background:#fff;line-height:1.55}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto}
button,input,select,textarea{font:inherit}
.t4-container{width:min(1180px,calc(100% - 32px));margin:auto}

/* Header */
.t4-topbar{background:var(--t4-blue);color:#fff;font-size:14px}
.t4-topbar-inner{min-height:40px;display:flex;align-items:center;justify-content:center}
.t4-header{background:#fff;border-bottom:1px solid var(--t4-border);position:relative;z-index:100}
.t4-header-main{display:grid;grid-template-columns:190px 1fr auto;gap:22px;align-items:center;padding:18px 0}
.t4-brand img{max-height:58px;width:auto;display:block}
.t4-brand-text{font-weight:800;font-size:25px;color:var(--t4-blue)}
.t4-search{display:flex;min-width:0}
.t4-search input{flex:1;min-width:0;border:1px solid var(--t4-border);background:#f7f9fc;border-radius:12px 0 0 12px;padding:13px 16px;outline:none}
.t4-search button{border:0;background:var(--t4-orange);color:#fff;font-weight:800;padding:0 22px;border-radius:0 12px 12px 0;cursor:pointer}
.t4-header-actions{display:flex;gap:10px;align-items:center}
.t4-account,.t4-cart{padding:11px 13px;border:1px solid var(--t4-border);border-radius:12px;font-weight:700;white-space:nowrap}
.t4-cart{background:var(--t4-orange);color:#fff;border-color:var(--t4-orange)}
.t4-cart-count{font-weight:900}
.t4-nav-wrap{border-top:1px solid #f0f2f5}
.t4-nav{display:flex;align-items:center;gap:8px;min-height:54px}
.t4-nav>a,.t4-nav-item>a{display:flex;align-items:center;gap:7px;padding:14px 16px;font-weight:800;color:var(--t4-blue);border-radius:10px}
.t4-nav>a:hover,.t4-nav-item>a:hover,.t4-nav-item:focus-within>a{background:#eef6ff}
.t4-nav-item{position:relative}
.t4-nav-arrow{font-size:13px}
.t4-category-panel{position:absolute;left:0;top:calc(100% + 1px);width:min(900px,calc(100vw - 32px));background:#fff;border:1px solid var(--t4-border);border-radius:0 0 18px 18px;box-shadow:0 18px 45px rgba(15,54,92,.16);padding:20px;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-4px);transition:.16s ease}
.t4-nav-item:hover .t4-category-panel,.t4-nav-item:focus-within .t4-category-panel{opacity:1;visibility:visible;pointer-events:auto;transform:none}
.t4-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.t4-root-card{border:1px solid var(--t4-border);border-radius:14px;background:#fff;padding:14px}
.t4-root-link{display:block;color:var(--t4-blue);font-weight:900;margin-bottom:8px}
.t4-root-link:hover{color:var(--t4-orange)}
.t4-cat-level{list-style:none;margin:0;padding:0}
.t4-cat-level li{margin:4px 0}
.t4-cat-level a{display:block;padding:3px 0;color:#475467;font-size:14px}
.t4-cat-level-3{padding-left:12px}
.t4-cat-level-3 a{font-size:13px;color:#667085}

/* Mobile */
.t4-mobile-toggle{display:none;border:1px solid var(--t4-border);background:#fff;border-radius:12px;padding:10px 13px;color:var(--t4-blue);font-weight:800}
.t4-mobile-nav{display:none}
.t4-mobile-nav.is-open{display:block}
.t4-mobile-nav-inner{padding:8px 0 18px}
.t4-mobile-main-link,.t4-mobile-cat-toggle{width:100%;display:flex;justify-content:space-between;align-items:center;padding:15px 4px;border:0;border-bottom:1px solid var(--t4-border);background:#fff;color:var(--t4-blue);font-weight:800;text-align:left}
.t4-mobile-category-box{display:none;background:#fff;border:1px solid var(--t4-border);border-radius:14px;margin:10px 0;overflow:hidden}
.t4-mobile-category-box.is-open{display:block}
.t4-mobile-root{border-bottom:1px solid var(--t4-border)}
.t4-mobile-root:last-child{border-bottom:0}
.t4-mobile-root-btn{width:100%;border:0;background:#f7fbff;padding:14px 16px;display:flex;justify-content:space-between;align-items:center;text-align:left;color:var(--t4-blue);font-weight:900;cursor:pointer}
.t4-mobile-subtree{display:none;padding:4px 16px 10px 28px}
.t4-mobile-subtree.is-open{display:block}
.t4-mobile-sub-btn{width:100%;border:0;background:#fff;padding:9px 0;display:flex;justify-content:space-between;text-align:left;color:#344054;font-weight:700;cursor:pointer}
.t4-mobile-subtree .t4-mobile-grand{display:none;padding-left:14px}
.t4-mobile-subtree .t4-mobile-grand.is-open{display:block}
.t4-mobile-leaf{display:block;padding:6px 0;color:#667085;font-size:14px}

/* Main / Home */
.t4-main{min-height:50vh}
.t4-hero{background:linear-gradient(135deg,#edf6ff,#fff);padding:42px 0}
.t4-hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:30px;align-items:center}
.t4-hero h1{font-size:clamp(32px,4vw,54px);line-height:1.08;color:var(--t4-blue);margin:0 0 16px}
.t4-hero h1 span{color:var(--t4-orange)}
.t4-hero p{font-size:18px;color:#52606d;max-width:650px}
.t4-hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}
.t4-btn{display:inline-flex;align-items:center;justify-content:center;padding:13px 20px;border-radius:12px;font-weight:900}
.t4-btn-primary{background:var(--t4-orange);color:#fff}
.t4-btn-secondary{background:#fff;color:var(--t4-blue);border:1px solid var(--t4-border)}
.t4-hero-art{min-height:280px;border-radius:24px;background:linear-gradient(145deg,#0b447f,#0e5aa5);display:flex;align-items:center;justify-content:center;color:#fff;text-align:center;padding:30px;box-shadow:var(--t4-shadow)}
.t4-hero-art strong{font-size:32px}
.t4-section{padding:46px 0}
.t4-section-head{text-align:center;margin-bottom:26px}
.t4-section-head h2{margin:0;color:var(--t4-blue);font-size:32px}
.t4-section-head p{margin:8px auto 0;color:var(--t4-muted)}
.t4-home-category-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.t4-home-category{padding:20px 14px;text-align:center;border:1px solid var(--t4-border);border-radius:16px;background:#fff;box-shadow:var(--t4-shadow);transition:.18s}
.t4-home-category:hover{transform:translateY(-3px);border-color:#b8d4ef}
.t4-home-category-icon{width:54px;height:54px;margin:0 auto 10px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#edf6ff;color:var(--t4-blue);font-size:25px}
.t4-home-category strong{display:block;color:var(--t4-blue);font-size:14px}

/* Woo */
.woocommerce .site-main,.t4-content{padding:38px 0}
.woocommerce ul.products{margin:0!important}
.woocommerce ul.products li.product{border:1px solid var(--t4-border);border-radius:16px;padding:14px!important;background:#fff;box-shadow:var(--t4-shadow);overflow:hidden}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:15px;color:#23395d}
.woocommerce ul.products li.product .price{color:var(--t4-orange);font-weight:900}
.woocommerce ul.products li.product .button,.woocommerce a.button,.woocommerce button.button{background:var(--t4-orange);color:#fff;border-radius:10px;font-weight:800}
.woocommerce .woocommerce-breadcrumb{color:#667085}
.t4-shop-layout{display:grid;grid-template-columns:240px 1fr;gap:26px}
.t4-shop-sidebar{border:1px solid var(--t4-border);border-radius:16px;padding:18px;background:#fff;height:max-content}
.t4-shop-sidebar h3{margin-top:0;color:var(--t4-blue)}
.t4-shop-sidebar ul{list-style:none;margin:0;padding:0}
.t4-shop-sidebar li{margin:8px 0}
.t4-shop-sidebar a{color:#475467}
.t4-page-title{color:var(--t4-blue);margin-top:0}

/* Footer */
.t4-footer{background:#0b2f55;color:#fff;margin-top:50px}
.t4-footer-top{padding:40px 0;display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:30px}
.t4-footer h3{margin-top:0}
.t4-footer a{color:#dbeafe}
.t4-footer-bottom{border-top:1px solid rgba(255,255,255,.15);padding:16px 0;font-size:14px;color:#cbd5e1}

/* WP basics */
.alignwide{max-width:1200px;margin-left:auto;margin-right:auto}
.wp-caption{max-width:100%}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}


/* WordPress admin bar: keep it at the very top and prevent it from entering page content */
html{margin-top:0!important;}
body.admin-bar{padding-top:32px;}
#wpadminbar{position:fixed!important;top:0!important;left:0!important;width:100%!important;z-index:999999!important;}
@media(max-width:782px){body.admin-bar{padding-top:46px;}#wpadminbar{position:fixed!important;top:0!important;}}

/* Global alignment polish */
.t4-topbar,.t4-header,.t4-main,.t4-footer{width:100%;}
.t4-hero-grid,.t4-section>.t4-container,.t4-footer-top,.t4-footer-bottom{max-width:1180px;}
.t4-hero-grid{margin-left:auto;margin-right:auto;}
.t4-section-head{max-width:900px;margin-left:auto;margin-right:auto;}
.t4-home-category{min-height:118px;display:flex;flex-direction:column;align-items:center;justify-content:center;}

@media(max-width:980px){
  .t4-header-main{grid-template-columns:1fr auto;gap:12px}
  .t4-brand{grid-column:1}
  .t4-header-actions{grid-column:2;grid-row:1}
  .t4-search{grid-column:1 / -1;grid-row:2}
  .t4-nav-wrap{display:none}
  .t4-mobile-toggle{display:inline-flex}
  .t4-mobile-bar{display:flex;align-items:center;justify-content:space-between;padding:8px 0}
  .t4-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .t4-hero-grid{grid-template-columns:1fr}
  .t4-home-category-grid{grid-template-columns:repeat(3,1fr)}
  .t4-shop-layout{grid-template-columns:1fr}
  .t4-shop-sidebar{display:none}
}
@media(min-width:981px){.t4-mobile-bar,.t4-mobile-nav{display:none!important}}
@media(max-width:600px){
  .t4-container{width:min(100% - 24px,1180px)}
  .t4-topbar-inner{font-size:12px;text-align:center}
  .t4-header-main{padding:12px 0}
  .t4-brand img{max-height:48px}
  .t4-account{display:none}
  .t4-cart{padding:9px 11px}
  .t4-category-grid{grid-template-columns:1fr}
  .t4-category-panel{display:none}
  .t4-hero{padding:30px 0}
  .t4-hero-art{min-height:190px}
  .t4-hero-art strong{font-size:25px}
  .t4-section{padding:34px 0}
  .t4-section-head h2{font-size:27px}
  .t4-home-category-grid{grid-template-columns:repeat(2,1fr);gap:10px}
  .t4-home-category{padding:15px 8px}
  .t4-footer-top{grid-template-columns:1fr}
}

/* Product image hardening */
.woocommerce ul.products li.product .t4-product-link{display:block;text-decoration:none}
.woocommerce ul.products li.product .t4-product-image{width:100%;aspect-ratio:1/1;background:#f7f8fa;border-radius:10px;overflow:hidden;margin:0 0 12px;display:flex;align-items:center;justify-content:center}
.woocommerce ul.products li.product .t4-product-thumbnail{display:block;width:100%;height:100%;object-fit:contain}
.woocommerce ul.products li.product .t4-product-placeholder{object-fit:contain;padding:28px;opacity:.75}


/* =========================================================
   v1.0.3 — Global visual alignment & WooCommerce polish
   CSS-only refinement; no order/cart/category logic changed.
   ========================================================= */
:root{
  --t4-container:1180px;
  --t4-gap:24px;
  --t4-radius-sm:10px;
}

.t4-container{width:min(var(--t4-container),calc(100% - 40px));}
.t4-main{width:100%;}
.t4-content{padding:42px 0 54px;}
.t4-content > *:first-child{margin-top:0;}

/* Header: one consistent horizontal rhythm */
.t4-header-main{min-height:86px;padding:16px 0;}
.t4-brand{min-width:0;}
.t4-brand .custom-logo{display:block;max-width:190px;max-height:54px;width:auto;height:auto;}
.t4-header-actions{justify-content:flex-end;}
.t4-nav{min-height:52px;gap:4px;}
.t4-nav>a,.t4-nav-item>a{padding:13px 15px;font-size:15px;}

/* Consistent headings and page spacing */
.t4-page-title,
.woocommerce .page-title,
.woocommerce-products-header__title{font-size:32px;line-height:1.2;color:var(--t4-blue);margin:0 0 22px;font-weight:900;}
.woocommerce .woocommerce-breadcrumb{margin:0 0 18px!important;font-size:13px;color:var(--t4-muted);}
.woocommerce .woocommerce-result-count{margin:7px 0 18px!important;color:var(--t4-muted);font-size:14px;}
.woocommerce .woocommerce-ordering{margin:0 0 18px!important;}
.woocommerce .woocommerce-ordering select,
.woocommerce form .form-row select,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row input[type=text],
.woocommerce form .form-row input[type=email],
.woocommerce form .form-row input[type=tel],
.woocommerce form .form-row input[type=password]{
  width:100%;min-height:44px;border:1px solid #d7dee8;border-radius:10px;background:#fff;padding:10px 12px;color:var(--t4-text);box-shadow:none;
}
.woocommerce form .form-row textarea{min-height:110px;}
.woocommerce form .form-row label{display:block;margin:0 0 6px;font-size:13px;font-weight:800;color:#344054;}
.woocommerce form .form-row{margin:0 0 16px;}

/* Shop/product grids */
.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;margin:0!important;padding:0!important;}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none!important;}
.woocommerce ul.products li.product{float:none!important;width:auto!important;margin:0!important;min-width:0;display:flex;flex-direction:column;}
.woocommerce ul.products li.product .t4-product-link{display:block;}
.woocommerce ul.products li.product .woocommerce-loop-product__title{line-height:1.4;min-height:42px;margin:0 0 7px;padding:0;font-size:15px;font-weight:800;}
.woocommerce ul.products li.product .price{margin:0 0 12px;font-size:15px;line-height:1.35;}
.woocommerce ul.products li.product .button{margin-top:auto;align-self:flex-start;padding:10px 13px;line-height:1.2;}
.woocommerce ul.products li.product .t4-product-image{aspect-ratio:1/1;margin-bottom:13px;border-radius:12px;}

/* Product detail */
.woocommerce div.product{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:38px;align-items:start;}
.woocommerce div.product div.images,
.woocommerce div.product div.summary{float:none!important;width:auto!important;margin:0!important;}
.woocommerce div.product div.images img{border-radius:12px;}
.woocommerce div.product .product_title{font-size:32px;line-height:1.22;color:#26384d;margin:0 0 16px;font-weight:900;}
.woocommerce div.product p.price{font-size:20px;color:#a08300;font-weight:900;margin:0 0 14px;}
.woocommerce div.product .stock{color:#6f8a00;font-weight:700;margin:0 0 14px;}
.woocommerce div.product form.cart{margin:16px 0 20px;display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.woocommerce div.product form.cart .quantity{margin:0!important;}
.woocommerce .quantity .qty{min-height:42px;border:1px solid #cfd7e2;border-radius:9px;padding:8px 9px;text-align:center;}
.woocommerce div.product form.cart .button{min-height:42px;padding:10px 17px;}
.woocommerce div.product .product_meta{padding-top:14px;border-top:1px solid var(--t4-border);font-size:13px;color:#667085;}
.woocommerce div.product .woocommerce-tabs{grid-column:1/-1;margin-top:0;}
.woocommerce div.product .woocommerce-tabs ul.tabs{margin:0 0 22px!important;padding:0!important;border-bottom:1px solid var(--t4-border);}
.woocommerce div.product .woocommerce-tabs ul.tabs::before{display:none;}
.woocommerce div.product .woocommerce-tabs ul.tabs li{border:1px solid var(--t4-border);border-bottom:0;border-radius:9px 9px 0 0;background:#f7f9fc;margin:0 4px 0 0;padding:8px 12px;}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active{background:#fff;}
.woocommerce div.product .woocommerce-tabs .panel{margin:0!important;line-height:1.7;}
.woocommerce div.product .related.products{grid-column:1/-1;margin-top:34px;}
.woocommerce div.product .related.products > h2{font-size:24px;color:var(--t4-blue);margin:0 0 18px;}

/* Cart */
.woocommerce-cart .entry-content,.woocommerce-cart .site-main,
.woocommerce-checkout .entry-content,.woocommerce-checkout .site-main{padding-top:42px;padding-bottom:54px;}
.woocommerce-cart .cart-collaterals{margin-top:24px;}
.woocommerce-cart table.shop_table{border-collapse:separate;border-spacing:0;border:1px solid var(--t4-border);border-radius:12px;overflow:hidden;}
.woocommerce-cart table.shop_table th{background:#f7f9fc;color:#344054;font-weight:900;padding:13px 12px;}
.woocommerce-cart table.shop_table td{padding:13px 12px;vertical-align:middle;}
.woocommerce-cart table.shop_table .product-thumbnail img{width:46px!important;height:46px!important;object-fit:contain;border-radius:7px;}
.woocommerce-cart .coupon{display:flex;gap:8px;align-items:center;}
.woocommerce-cart .coupon .input-text{min-height:42px;border:1px solid #d7dee8;border-radius:9px;padding:9px 11px;}
.woocommerce .cart_totals{border:1px solid var(--t4-border);border-radius:12px;padding:18px;background:#fff;}
.woocommerce .cart_totals h2{font-size:22px;color:#26384d;margin:0 0 14px;}
.woocommerce .cart_totals table{margin:0 0 16px;}
.woocommerce .cart_totals .checkout-button{width:100%;text-align:center;margin:0;}

/* Checkout */
.woocommerce-checkout #customer_details{margin-bottom:26px;}
.woocommerce-checkout .col2-set{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:28px;}
.woocommerce-checkout .col2-set .col-1,.woocommerce-checkout .col2-set .col-2{float:none!important;width:auto!important;}
.woocommerce-checkout h3{color:var(--t4-blue);font-size:20px;margin:0 0 16px;}
.woocommerce-checkout #order_review_heading{margin-top:8px;}
.woocommerce-checkout #order_review{border:1px solid var(--t4-border);border-radius:12px;padding:18px;background:#fff;}
.woocommerce-checkout table.shop_table{border:0;margin:0 0 16px;}
.woocommerce-checkout table.shop_table th{font-weight:900;color:#344054;}
.woocommerce-checkout #payment{border:1px solid var(--t4-border);border-radius:12px;background:#f8f6fb;padding:16px;}
.woocommerce-checkout #payment ul.payment_methods{padding:0 0 10px;border-bottom:1px solid #e4deed;}
.woocommerce-checkout #payment div.payment_box{background:#eeeaf4;margin:10px 0;padding:14px;border-radius:8px;}
.woocommerce-checkout #payment div.payment_box::before{display:none;}
.woocommerce-checkout #place_order{width:100%;min-height:44px;margin-top:8px;}

/* Buttons */
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,
.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt{border:0;padding:11px 16px;border-radius:10px;background:var(--t4-orange);color:#fff;font-weight:900;line-height:1.2;box-shadow:none;}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover,.woocommerce #respond input#submit:hover{background:#e96e00;color:#fff;}

/* Notices / order received */
.woocommerce-message,.woocommerce-info,.woocommerce-error{border-radius:10px;border-top:3px solid var(--t4-orange);box-shadow:none;padding:14px 18px!important;}
.woocommerce-order{max-width:100%;}
.woocommerce-order .woocommerce-order-overview{margin:0 0 24px!important;padding:16px!important;border:1px solid var(--t4-border);border-radius:12px;background:#fff;}
.woocommerce-order h2,.woocommerce-order h3{color:var(--t4-blue);}

/* Pagination */
.woocommerce nav.woocommerce-pagination ul{border:0!important;display:flex;gap:6px;justify-content:center;}
.woocommerce nav.woocommerce-pagination ul li{border:0!important;}
.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{min-width:38px;height:38px;display:flex;align-items:center;justify-content:center;border:1px solid var(--t4-border);border-radius:9px;background:#fff;}
.woocommerce nav.woocommerce-pagination ul li span.current{background:var(--t4-blue);color:#fff;border-color:var(--t4-blue);}

/* Footer stays aligned with the same container */
.t4-footer{margin-top:0;}
.t4-footer-top{padding:44px 0;}
.t4-footer-bottom{padding:16px 0;}

@media(max-width:980px){
  .t4-container{width:min(var(--t4-container),calc(100% - 32px));}
  .woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;}
  .woocommerce div.product{grid-template-columns:1fr;gap:24px;}
  .woocommerce div.product .woocommerce-tabs,.woocommerce div.product .related.products{grid-column:auto;}
  .woocommerce-checkout .col2-set{grid-template-columns:1fr;gap:12px;}
}
@media(max-width:600px){
  .t4-container{width:calc(100% - 24px);}
  .t4-header-main{min-height:0;}
  .t4-search input{padding:11px 12px;}
  .t4-search button{padding:0 16px;}
  .t4-content{padding:28px 0 38px;}
  .t4-page-title,.woocommerce .page-title,.woocommerce-products-header__title{font-size:26px;}
  .woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
  .woocommerce ul.products li.product{padding:10px!important;border-radius:12px;}
  .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:14px;min-height:40px;}
  .woocommerce ul.products li.product .price{font-size:14px;}
  .woocommerce ul.products li.product .button{font-size:13px;padding:9px 10px;width:100%;}
  .woocommerce div.product .product_title{font-size:25px;}
  .woocommerce div.product p.price{font-size:19px;}
  .woocommerce-cart table.shop_table{font-size:13px;}
  .woocommerce-cart .coupon{flex-wrap:wrap;}
  .woocommerce-cart .coupon .input-text{width:100%;}
  .woocommerce-cart .coupon button{width:100%;}
  .woocommerce-cart table.shop_table .product-thumbnail{display:none;}
  .woocommerce-checkout #order_review{padding:14px;}
}


/* v1.0.5 homepage visual restoration */
.t4-topbar-inner{justify-content:space-between;max-width:1180px;font-size:12px;min-height:34px;}
.t4-header-main{grid-template-columns:180px minmax(0,1fr) auto;gap:22px;min-height:82px;}
.t4-brand .custom-logo{max-width:155px;max-height:58px;}
.t4-nav-wrap{background:#fff;}
.t4-nav{min-height:46px;}
.t4-nav>a,.t4-nav-item>a{padding:11px 14px;font-size:14px;}
.t4-home-banner{padding:12px 0 24px;background:#fff;}
.t4-banner-link{display:block;border-radius:18px;overflow:hidden;box-shadow:0 10px 28px rgba(15,54,92,.12);}
.t4-banner-link img{display:block;width:100%;height:auto;}
.t4-home-categories{padding:8px 0 42px;background:#fff;}
.t4-home-heading{text-align:left;margin:0 0 18px;}
.t4-home-heading h2,.t4-section-row h2{margin:0;color:var(--t4-blue);font-size:25px;line-height:1.25;font-weight:900;}
.t4-home-heading p,.t4-section-row p{margin:5px 0 0;color:#7a8697;font-size:13px;}
.t4-category-showcase{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;}
.t4-category-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:92px;border:1px solid #e5ebf3;border-radius:11px;background:#fff;box-shadow:0 4px 14px rgba(15,54,92,.045);font-size:12px;font-weight:800;color:#164c84;text-align:center;padding:9px;transition:.18s ease;}
.t4-category-tile:hover{transform:translateY(-2px);border-color:#c9dced;box-shadow:0 8px 20px rgba(15,54,92,.08);}
.t4-category-icon{width:38px;height:38px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:#f0f7ff;font-size:20px;border:1px solid #e1edf9;}
.t4-featured-products{background:#f5f8fc;padding:34px 0 42px;}
.t4-section-row{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:16px;}
.t4-section-row>a{color:var(--t4-blue);font-size:12px;font-weight:900;white-space:nowrap;}
.t4-home-products{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;}
.t4-home-product{background:#fff;border-radius:11px;border:1px solid #e2e8f0;overflow:hidden;display:flex;flex-direction:column;min-width:0;box-shadow:0 4px 14px rgba(15,54,92,.05);}
.t4-home-product-image{display:block;aspect-ratio:1/1;background:#fff;padding:8px;overflow:hidden;}
.t4-home-product-image img{display:block;width:100%;height:100%;object-fit:contain;}
.t4-home-product-body{padding:8px 10px 10px;display:flex;flex-direction:column;flex:1;}
.t4-home-product-title{display:block;color:#253b57;font-size:12px;font-weight:800;line-height:1.35;min-height:48px;}
.t4-home-product-price{color:var(--t4-orange);font-weight:900;font-size:12px;margin:6px 0 8px;min-height:18px;}
.t4-home-product-button{display:flex;align-items:center;justify-content:center;min-height:32px;background:var(--t4-blue);color:#fff;border-radius:7px;font-size:11px;font-weight:900;margin-top:auto;}
.t4-home-product-button:hover{background:#083765;color:#fff;}
.t4-benefits{padding:34px 0 26px;background:#fff;}
.t4-section-row-simple{margin-bottom:14px;}
.t4-benefit-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;}
.t4-benefit-grid>div{border:1px solid #e5ebf3;border-radius:11px;padding:18px 12px;text-align:center;min-height:130px;}
.t4-benefit-grid span{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;background:#eef6ff;color:var(--t4-blue);margin:0 auto 8px;font-size:17px;}
.t4-benefit-grid strong{display:block;color:#31445d;font-size:13px;}
.t4-benefit-grid p{font-size:11px;color:#7a8697;margin:5px 0 0;line-height:1.45;}
.t4-consult{padding:18px 0 42px;background:#fff;}
.t4-consult-box{border-radius:15px;background:linear-gradient(100deg,#0b4f91,#0e63b6);color:#fff;padding:20px 28px;display:flex;align-items:center;justify-content:space-between;gap:20px;}
.t4-consult-box h2{font-size:20px;margin:0 0 4px;color:#fff;}
.t4-consult-box p{margin:0;color:#dbeafe;font-size:12px;}
.t4-consult-box a{background:var(--t4-orange);color:#fff;border-radius:8px;padding:11px 16px;font-weight:900;font-size:12px;white-space:nowrap;}
.t4-footer{background:#071f3a;}
.t4-footer-top{grid-template-columns:1.25fr 1fr 1fr 1.2fr;padding:38px 0 28px;gap:34px;}
.t4-footer-logo .custom-logo{max-width:105px;max-height:90px;background:#fff;border-radius:5px;padding:6px;}
.t4-footer-top h3{font-size:14px;margin:0 0 13px;color:#fff;}
.t4-footer-top p,.t4-footer-top a{font-size:11px;line-height:1.55;color:#d7e5f4;}
.t4-footer-top a{display:block;margin:0 0 7px;}
.t4-footer-wa{display:inline-block!important;background:var(--t4-orange);padding:8px 12px;border-radius:7px;color:#fff!important;font-weight:900;margin-top:4px!important;}
.t4-footer-location{margin-top:12px!important;}
.t4-footer-bottom{font-size:10px;padding:12px 0;color:#aebed0;}
@media(max-width:980px){
 .t4-header-main{grid-template-columns:150px 1fr auto;gap:12px;}
 .t4-category-showcase{grid-template-columns:repeat(5,1fr);}
 .t4-home-products{grid-template-columns:repeat(4,1fr);}
 .t4-footer-top{grid-template-columns:repeat(2,1fr);}
}
@media(max-width:700px){
 .t4-topbar-inner span:last-child{display:none;}
 .t4-header-main{grid-template-columns:1fr auto;}
 .t4-brand .custom-logo{max-width:125px;max-height:48px;}
 .t4-search{grid-column:1/-1;grid-row:2;order:3;}
 .t4-header-actions{grid-column:2;grid-row:1;}
 .t4-account{display:none;}
 .t4-nav-wrap{display:none;}
 .t4-home-banner{padding:8px 0 18px;}
 .t4-container{width:calc(100% - 24px);}
 .t4-category-showcase{grid-template-columns:repeat(2,1fr);gap:8px;}
 .t4-home-products{grid-template-columns:repeat(2,1fr);gap:9px;}
 .t4-home-product-title{font-size:11px;min-height:44px;}
 .t4-benefit-grid{grid-template-columns:repeat(2,1fr);}
 .t4-section-row{align-items:flex-start;}
 .t4-section-row>a{display:none;}
 .t4-consult-box{align-items:flex-start;flex-direction:column;padding:20px;}
 .t4-footer-top{grid-template-columns:1fr 1fr;gap:24px 18px;}
}

/* v1.0.6 — compact mobile header controls */
@media (max-width:700px){
  .t4-header-main{gap:8px;padding:9px 0 8px;}
  .t4-brand .custom-logo{max-width:112px;max-height:42px;}
  .t4-header-actions{gap:6px;align-items:center;}
  .t4-cart{padding:7px 9px;border-radius:9px;font-size:12px;line-height:1.2;}
  .t4-cart-count{font-size:12px;}
  .t4-mobile-toggle{padding:7px 9px;border-radius:9px;font-size:12px;line-height:1.2;}
  .t4-search{margin-top:3px;}
  .t4-search input{height:36px;padding:8px 10px;font-size:12px;border-radius:9px 0 0 9px;}
  .t4-search button{height:36px;padding:0 13px;font-size:12px;border-radius:0 9px 9px 0;}
}


/* v1.0.7 — T4murah header wordmark
   Header uses the approved T4murah wordmark only: no .com and no tagline. */
.t4-header-logo-link{display:block;width:max-content;max-width:100%;line-height:0;}
.t4-header-logo-image{display:block;width:auto;height:auto;max-width:155px;max-height:42px;object-fit:contain;}
@media(max-width:700px){
  .t4-header-logo-image{max-width:112px;max-height:32px;}
}
/* v1.0.8 - Mobile width fix */
@media (max-width:700px){
    html,
    body{
        width:100%;
        max-width:100%;
        overflow-x:hidden;
    }

    .t4-container{
        width:100%;
        max-width:100%;
        min-width:0;
        margin-left:0;
        margin-right:0;
        padding-left:8px;
        padding-right:8px;
        box-sizing:border-box;
    }

    .t4-main{
        width:100%;
        max-width:100%;
        min-width:0;
        box-sizing:border-box;
    }

    .t4-footer{
        width:100%;
        max-width:100%;
        min-width:0;
        box-sizing:border-box;
    }
}/* =========================================================
   T4MURAH - MOBILE CART ICON
   Desktop tetap normal
   ========================================================= */

@media (max-width: 767px) {

    .t4-cart-label {
        display: none !important;
    }

    .t4-cart {
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
        white-space: nowrap !important;
    }

    .t4-cart-icon {
        display: inline-block !important;
        font-size: 20px !important;
        line-height: 1 !important;
    }

    .t4-cart-count {
        font-size: 12px !important;
        line-height: 1 !important;
    }

}