/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Template: astra
Author: Brainstorm Force
Author URI: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
Description: The Astra WordPress theme is lightning-fast and highly customizable. It has over 1 million downloads and the only theme in the world with 5,700+ five-star reviews! It’s ideal for professional web designers, solopreneurs, small businesses, eCommerce, membership sites and any type of website. It offers special features and templates so it works perfectly with all page builders like Spectra, Elementor, Beaver Builder, etc. Fast performance, clean code, mobile-first design and schema markup are all built-in, making the theme exceptionally SEO-friendly. It’s fully compatible with WooCommerce, SureCart and other eCommerce plugins and comes with lots of store-friendly features and templates. Astra also provides expert support for free users. A dedicated team of fully trained WordPress experts are on hand to help with every aspect of the theme. Try the live demo of Astra: https://zipwp.org/themes/astra/
Tags: custom-menu,custom-logo,entertainment,one-column,two-columns,left-sidebar,e-commerce,right-sidebar,custom-colors,editor-style,featured-images,full-width-template,microformats,post-formats,rtl-language-support,theme-options,threaded-comments,translation-ready,blog
Version: 4.9.0.1741829593
Updated: 2025-03-13 12:33:13

*/

/*** tinggi text input single product */
.quantity.buttons_added{ height:45px; }

/*** matikan popup Add to Cart */
#astra-mobile-cart-drawer,
.astra-mobile-cart-overlay {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
}
.ast-mobile-cart-active body.ast-hfb-header {
    overflow: unset !important;
}

/* attributes in mini-cart and shop frontend *//* .order-item-attributes ->page after checkout */
.cart-item-attributes, .order-item-attributes {
    line-height: 12px;
	background: #ffffff5e;
    display: inline;
    padding: 0 10px;
}
.woocommerce-mini-cart .cart-item-attributes {
    display: inline-block;
}
.attprod {
    font-size: 14px;
    line-height: 15px;
    padding-bottom: 3px;
    background: #ffffff5e;
	border-radius: 4px;
}






/* setting checkout page */
.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals {
    float: none;
    width: unset;
}	
.woocommerce-cart .woocommerce {
	display: grid;
	grid-template-columns: 3fr 1fr;
	gap: 40px;
	align-items: start;
}
.woocommerce-cart .woocommerce-cart-form {
	grid-column: 1;
	width: 100%;
}
.woocommerce-cart .cart-collaterals {
	grid-column: 2;
	position: sticky;
	top: 100px;
	align-self: start;
	z-index: 10;
}
.woocommerce-cart .cart_totals {
	background: #ffffff;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}
.woocommerce-cart-form .shop_table {
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}	
.woocommerce-cart-form .product-name {
	width: 45%;
}
.woocommerce-cart-form .product-price,
.woocommerce-cart-form .product-quantity,
.woocommerce-cart-form .product-subtotal {
	width: 14%;
	text-align: center;
}
.wc-proceed-to-checkout .checkout-button {
	font-weight: 600;
	font-size: 16px !important;
}
.wc-proceed-to-checkout .checkout-button:hover {
	background: #333;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.cart_totals .shop_table th,
.cart_totals .shop_table td {
	padding: 14px 0;
	font-size: 15px;
}
.cart_totals .order-total th,
.cart_totals .order-total td {
	border-top: 2px solid #eee;
	font-size: 18px;
	font-weight: 600;
	padding-top: 20px;
}
.cart_totals .order-total .woocommerce-Price-amount {
	font-size: 22px;
	color: #000;
}
/* =====================================================
   MOBILE RESPONSIVE - Kembali ke Layout Vertikal
   ===================================================== */
@media (max-width: 991px) {
    tr.woocommerce-cart-form__cart-item.cart_item {
		border: 2px solid;
		margin-bottom: 6px !important;
	}	
    .woocommerce-cart .woocommerce {
        display: block;
    }    
    .woocommerce-cart .woocommerce-cart-form,
    .woocommerce-cart .cart-collaterals {
        grid-column: auto;
        width: 100%;
    }    
    .woocommerce-cart .cart-collaterals {
        position: static;
        margin-top: 40px;
    }
    .woocommerce-cart-form .product-thumbnail,
    .woocommerce-cart-form .product-remove {
        display: table-cell;
    }
    .woocommerce-cart-form .shop_table {
        font-size: 14px;
    }
    .woocommerce-cart-form .product-name {
        width: auto;
    }
    .wc-proceed-to-checkout .checkout-button {
        font-size: 13px !important;
    }
    .wc-proceed-to-checkout {
        position: sticky;
        bottom: -13px !important;
        background: #fff;
        padding: 2px 2px !important;
        border-top: 1px solid #eee;
        z-index: 100;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    }
}
/* =====================================================
   EXTRA: Visual Polish & Accessibility
   ===================================================== */
/* Hover effect pada baris produk */
.woocommerce-cart-form tbody tr:hover {
    background: #fafafa;
    transition: background 0.2s ease;
}
/* Focus state untuk aksesibilitas */
.woocommerce-cart-form input.qty:focus,
.woocommerce-cart-form .button:focus,
.wc-proceed-to-checkout .checkout-button:focus {
    outline: 2px solid #007cba;
    outline-offset: 2px;
}
/* Smooth scroll untuk anchor links */
.woocommerce-cart a {
    scroll-behavior: smooth;
}
/* Hide screen-reader text dari visual tapi tetap untuk a11y */
.screen-reader-text:not(:focus) {
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    overflow: hidden;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* page after checkout */
th.woocommerce-table__product-table.product-total,
td.woocommerce-table__product-total.product-total, tfoot td {
    text-align: right;
}
tfoot span.woocommerce-Price-amount.amount {
    font-weight: 600 !important;
}
tfoot tr:last-child span.woocommerce-Price-amount.amount {
    font-size: 1.3em;
}








