/*!
Theme Name: anntaylorarts
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: anntaylorarts
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

anntaylorarts is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/



/* Force Flexbox and strip absolute positioning from Cart Actions */
table.shop_table .actions,
.woocommerce-cart table.cart td.actions {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    padding: 20px !important;
    clear: both !important;
}

/* Reset the Coupon Container */
table.shop_table .actions .coupon,
.woocommerce-cart table.cart td.actions .coupon {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    float: none !important;
    margin: 0 !important;
    position: relative !important;
    width: auto !important;
}

/* Fix Input Field - Prevent Overlap */
table.shop_table .actions .coupon .input-text,
table.shop_table .actions .coupon input[name="coupon_code"] {
    float: none !important;
    position: static !important; /* Kills absolute positioning overlap */
    width: 200px !important;
    min-width: 150px !important;
    margin: 0 !important;
    padding: 0 15px !important;
    height: 45px !important;
    border: 1px solid #ccc !important;
    background: #fff !important;
}

/* Fix Buttons - Restore Visibility and Structure */
table.shop_table .actions .button,
table.shop_table .actions button[name="apply_coupon"],
table.shop_table .actions button[name="update_cart"] {
    float: none !important;
    position: static !important; /* Kills absolute positioning overlap */
    margin: 0 !important;
    padding: 0 20px !important;
    height: 45px !important;
    width: auto !important;
    background-color: #f0f0f0 !important; 
    color: #333 !important;
    border: 1px solid #ccc !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 3px !important;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    table.shop_table .actions {
        flex-direction: column !important;
        gap: 15px !important;
        align-items: stretch !important;
    }
    table.shop_table .actions .coupon {
        width: 100% !important;
        flex-direction: column !important;
        gap: 10px !important;
    }
    table.shop_table .actions .coupon .input-text,
    table.shop_table .actions .coupon button[name="apply_coupon"],
    table.shop_table .actions button[name="update_cart"] {
        width: 100% !important;
    }
}

section.custom-shortcode-section {
    margin-top: 70px;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt {
    background-color: #c2233a !important;
    color: #fff;
    -webkit-font-smoothing: antialiased;
}

/*CSS For Checkout page*/

/* Fix WooCommerce Checkout Form Field Widths */
.woocommerce-checkout .form-row {
    display: block !important;
    float: none !important;
    margin-bottom: 20px !important;
}

/* Force labels to stack above inputs */
.woocommerce-checkout .form-row label {
    display: block !important;
    width: 100% !important;
    margin-bottom: 8px !important;
    text-align: left !important;
    line-height: 1.5 !important;
}

/* Expand inputs, selects, and textareas to full width */
.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    display: block !important;
    padding: 10px 15px !important;
    min-height: 45px !important;
    float: none !important;
}

/* Fix half-width fields for desktop (First/Last Name) */
@media (min-width: 768px) {
    .woocommerce-checkout .form-row.form-row-first,
    .woocommerce-checkout .form-row.form-row-last {
        width: 48% !important;
        float: left !important;
        clear: none !important;
    }
    
    .woocommerce-checkout .form-row.form-row-last {
        float: right !important;
    }

    /* Clear the floats so subsequent full-width fields don't overlap */
    .woocommerce-checkout .form-row.form-row-wide {
        clear: both !important;
    }
}


/* Custom Css */
body.wp-singular.post-template-default.single.single-post .breadcumb-content {
    bottom: -150px !important;
}
@media (max-width: 767px) {
    .woocommerce {
        display: block;
        margin: 0px !important;
        padding: 0px !important;
    }
}














/* ==========================================================
   ANN TAYLOR ARTS
   PRODUCT CATEGORY TWO COLUMN LAYOUT
========================================================== */


/*
 * Main layout
 *
 * LEFT  = Category navigation
 * RIGHT = WooCommerce products
 */
.anntaylorarts-category-products-layout {

	display: grid;

	grid-template-columns: 25% minmax(0, 75%);

	gap: 30px;

	width: 100%;

	align-items: start;

	box-sizing: border-box;
}


/* ==========================================================
   LEFT CATEGORY SIDEBAR
========================================================== */

.anntaylorarts-category-sidebar {

	width: 100%;

	box-sizing: border-box;

	padding: 0;
}


.anntaylorarts-category-sidebar-inner {

	width: 100%;

	box-sizing: border-box;
}


/*
 * View All
 */
.anntaylorarts-view-all-wrapper {

	margin-bottom: 18px;
}


.anntaylorarts-view-all {

	display: inline-block;

	padding: 0;

	margin: 0;

	color: #222;

	background: transparent;

	font-size: 17px;

	font-weight: 600;

	line-height: 1.4;

	text-decoration: none;

	transition: all 0.2s ease;
}


.anntaylorarts-view-all:hover {

	color: #000;

	text-decoration: underline;
}


/*
 * If View All is the current page.
 */
.anntaylorarts-view-all.is-active {

	font-weight: 600;

	text-decoration: underline;
}


/* ==========================================================
   CHILD CATEGORIES
========================================================== */

.anntaylorarts-child-categories {

	display: flex;

	flex-direction: column;

	width: 100%;

	margin: 0;

	padding: 0;
}


.anntaylorarts-child-category {

	display: block;

	width: 100%;

	padding: 7px 0;

	margin: 0;

	color: #333;

	background: transparent;

	font-size: 16px;

	font-weight: 400;

	line-height: 1.45;

	text-decoration: none;

	box-sizing: border-box;

	transition:
		color 0.2s ease,
		text-decoration 0.2s ease;
}


.anntaylorarts-child-category:hover {

	color: #000;

	text-decoration: underline;
}


/*
 * Current child category.
 */
.anntaylorarts-child-category.is-active {

	color: #000;

	font-weight: 600;

	text-decoration: underline;
}


/* ==========================================================
   INFORMATIONAL TEXT
========================================================== */

.anntaylorarts-category-note {

	margin-top: 18px;

	color: #333;

	font-size: 15px;

	font-weight: 400;

	line-height: 1.5;
}


/* ==========================================================
   RIGHT PRODUCT AREA
========================================================== */

.anntaylorarts-category-products {

	width: 100%;

	min-width: 0;

	box-sizing: border-box;
}


/*
 * WooCommerce sorting area
 *
 * It stays inside the RIGHT column.
 */
.anntaylorarts-category-products .woocommerce-ordering {

	float: right;

	margin-bottom: 30px;
}


/*
 * Result count
 */
.anntaylorarts-category-products .woocommerce-result-count {

	float: left;

	margin-bottom: 30px;
}


/*
 * Clear the sorting/result area.
 */
/* .anntaylorarts-category-products .woocommerce-result-count::after {

	content: "";

	display: block;

	clear: both;
} */


/*
 * Product grid
 */
.anntaylorarts-category-products ul.products {

	width: 100%;

	clear: both;

	margin: 0;

	padding: 0;

	box-sizing: border-box;
}


/*
 * Clear pagination.
 */
.anntaylorarts-category-products .woocommerce-pagination {
	clear: both;
	width: 100%;
}


/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 991px) {

	.anntaylorarts-category-products-layout {
		grid-template-columns: 30% minmax(0, 70%);
		gap: 25px;
	}

}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 767px) {

	.anntaylorarts-category-products-layout {
		display: block;
		width: 100%;
	}


	.anntaylorarts-category-sidebar {
		width: 100%;
		margin-bottom: 35px;
	}


	.anntaylorarts-category-products {
		width: 100%;
	}


	.anntaylorarts-category-products .woocommerce-ordering {
		float: none;
		width: 100%;
		margin-bottom: 25px;
	}


	.anntaylorarts-category-products .woocommerce-result-count {
		float: none;
		width: 100%;
		margin-bottom: 15px;
	}


	.anntaylorarts-child-category {
		font-size: 15px;
		padding: 8px 0;
	}


	.anntaylorarts-view-all {
		font-size: 16px;
	}

}

/* ============================================================
   ANN TAYLOR ARTS - PRODUCT CATEGORY GRID
   ============================================================ */

/* 3-column product grid */
.anntaylorarts-category-products ul.products {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 30px !important;
}

/* Remove WooCommerce/theme column restrictions */
.anntaylorarts-category-products ul.products li.product {
	width: auto !important;
	float: none !important;
	margin: 0 !important;
}


/* ============================================================
   CATEGORY DESCRIPTION
   ============================================================ */

.anntaylorarts-category-description {
	margin-bottom: 30px;
}

.anntaylorarts-category-description p:last-child {
	margin-bottom: 0;
}


/* ============================================================
   EMPTY / DISABLED CATEGORIES
   ============================================================ */

.anntaylorarts-child-category-disabled {
	cursor: default;
	opacity: 0.55;
	text-decoration: none;
}


/* ============================================================
   TABLET / MOBILE
   ============================================================ */

@media (max-width: 767px) {

	.anntaylorarts-category-products ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 20px !important;
	}

}


@media (max-width: 480px) {

	.anntaylorarts-category-products ul.products {
		grid-template-columns: 1fr !important;
	}

}


.woocommerce .products ul::after, .woocommerce .products ul::before, .woocommerce ul.products::after, .woocommerce ul.products::before {
    content: " ";
    display: none;
}







.single-product .woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
    float: none;
}
.single-product .woocommerce .products ul, .woocommerce ul.products {
    display: flex;
	flex-wrap:wrap;
}






/* ============================================================
   MAIN CATEGORY HEADER
   ============================================================ */

.anntaylorarts-category-header {
	width: 100%;
	text-align: center;
	margin: 0 auto 45px;
	padding: 0;
}

.anntaylorarts-category-title {
	margin: 0 0 25px;
	font-size: 36px;
	line-height: 1.2;
	font-weight: 600;
}

.anntaylorarts-category-description {
	max-width: 850px;
	margin: 0 auto;
	font-size: 18px;
	line-height: 1.8;
}

.anntaylorarts-category-description p {
	margin: 0 0 18px;
}

.anntaylorarts-category-description p:last-child {
	margin-bottom: 0;
}



body.single-product div.product .product_meta span.tagged_as {
    display: none !important;
}

