/*
Theme Name: Tmeds Beauty
Author: Hassaan Tahir
Description: A standalone, lightweight block theme for the Tmeds WooCommerce rebuild. No Elementor or parent theme required.
Version: 0.2.0
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: tmeds-beauty
License: GPL-2.0-or-later
*/
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0}img{max-width:100%;height:auto}a{text-underline-offset:4px}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #d70a70;outline-offset:4px}.wp-site-blocks>header,.wp-site-blocks>footer{margin-block:0}.tm-header{padding:20px 28px;border-bottom:1px solid #eee6e9;background:#fff}.tm-header-row{gap:24px}.tm-brand{gap:12px}.tm-brand .wp-block-site-title{font-family:Georgia,serif;font-weight:700;font-style:italic;color:#d70a70;margin:0}.tm-brand .wp-block-site-title a{text-decoration:none}.tm-search{flex:1;max-width:380px;min-width:220px}.tm-search .wp-block-search__input{border:1px solid #e4dbe0;border-radius:3px;padding:12px;font-size:14px}.tm-search .wp-block-search__button{margin-left:6px;padding:10px 14px}.tm-header .wp-block-navigation{font-size:14px;font-weight:600}.tm-header .wp-block-navigation__container{gap:20px}.tm-hero{padding:95px 28px 100px;background:radial-gradient(ellipse at 90% 20%,#efd8e1 0,transparent 42%),linear-gradient(120deg,#fff7fa,#f6e8ec)}.tm-hero-copy>h1{max-width:760px;letter-spacing:-.045em;margin-top:20px;margin-bottom:24px}.tm-hero-copy>p:not(.tm-eyebrow){color:#6e6269}.tm-hero .wp-block-buttons{margin-top:32px}.tm-eyebrow{font:600 11px/1.5 -apple-system,BlinkMacSystemFont,Segoe UI,Arial,sans-serif;letter-spacing:.19em;text-transform:uppercase;color:#a10b55}.tm-section{padding:64px 28px}.tm-section>h2{font-size:clamp(28px,4vw,42px);letter-spacing:-.035em;margin-top:12px;margin-bottom:32px}.tm-category{padding:36px!important;border-radius:4px;min-height:270px}.tm-category-skin{background:#f0f2e9}.tm-category-makeup{background:#fae8ed}.tm-category h3{font-size:32px;max-width:320px}.tm-category p:not(.tm-eyebrow){color:#6e6269}.tm-editorial{padding:64px 28px}.tm-footer{padding:55px 28px 22px}.tm-footer p,.tm-footer .wp-block-navigation{font-size:14px;color:#6e6269}.tm-footer .wp-block-navigation__container{gap:10px}.tm-footer .wp-block-site-title{font-family:Georgia,serif;font-style:italic;color:#d70a70}.tm-footer .wp-block-site-title a{text-decoration:none}.tm-footer hr{border-color:#e7dfe2}.tm-page{padding:45px 28px 70px;min-height:50vh}.wp-block-post-content .alignwide{max-width:1240px}.wp-block-button.is-style-outline .wp-block-button__link{color:#292329;border:1px solid #b9aab2;background:transparent}.wp-block-button__link:hover{filter:brightness(.94)}
/* WooCommerce keeps ownership of commerce markup and actions. */
.woocommerce{font-family:inherit}.woocommerce ul.products li.product{text-align:left;border:1px solid #eee7ea;padding:14px;border-radius:4px;background:#fff}.woocommerce ul.products li.product a img{aspect-ratio:1/1;object-fit:contain;background:#fff}.woocommerce ul.products li.product .woocommerce-loop-product__title{font:500 15px/1.5 -apple-system,BlinkMacSystemFont,Segoe UI,Arial,sans-serif;color:#292329}.woocommerce ul.products li.product .price{color:#a10b55;font-weight:600;font-size:15px}.woocommerce ul.products li.product .button{font-size:13px;margin-top:10px}.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit{background:#d70a70;color:#fff;border-radius:3px;padding:13px 18px;font-weight:600}.woocommerce span.onsale{background:#292329;font-size:11px;min-height:0;line-height:1.5;padding:5px 10px;border-radius:3px}.woocommerce div.product .product_title{font-family:Georgia,serif;font-size:clamp(30px,4vw,44px)}.woocommerce div.product p.price,.woocommerce div.product span.price{color:#a10b55}.woocommerce input.input-text,.woocommerce textarea,.woocommerce select{border:1px solid #d7ccd2;border-radius:3px;padding:12px;background:#fff;color:#292329}.woocommerce .quantity .qty{padding:9px;min-width:65px}.woocommerce table.shop_table{border-color:#e7dfe2}.woocommerce-info{border-top-color:#d70a70}.woocommerce-info:before{color:#d70a70}.woocommerce-message{border-top-color:#6b7a51}.woocommerce .woocommerce-breadcrumb{font-size:13px;color:#6e6269}.woocommerce-account .woocommerce-MyAccount-navigation a{display:block;padding:10px 0}.wp-block-woocommerce-product-template .wc-block-product{border:1px solid #eee7ea;padding:14px;border-radius:4px}.wp-block-woocommerce-product-image img{object-fit:contain}.wp-block-woocommerce-product-price{color:#a10b55}.wp-block-woocommerce-product-collection,.wp-block-woocommerce-store-notices{padding-inline:20px}
@media(max-width:1050px){.tm-search{order:3;max-width:none;flex-basis:100%}.tm-header .wp-block-navigation{margin-left:auto}.tm-hero{padding-block:65px}}
@media(max-width:600px){.tm-header{padding:16px 20px}.tm-header-row{gap:16px}.tm-search{min-width:0}.tm-header .wp-block-navigation__responsive-container.is-menu-open{padding:30px}.tm-hero{padding:48px 22px}.tm-hero br{display:initial}.tm-hero-copy>p{font-size:17px}.tm-section{padding:40px 20px}.tm-category{padding:26px!important;min-height:240px}.tm-editorial{padding:44px 22px}.tm-footer{padding:40px 22px 20px}.woocommerce ul.products[class*=columns-] li.product,.woocommerce-page ul.products[class*=columns-] li.product{width:48%;margin-right:4%;margin-bottom:20px;padding:10px}.woocommerce ul.products[class*=columns-] li.product:nth-child(2n){margin-right:0}.woocommerce ul.products[class*=columns-] li.product:nth-child(2n+1){clear:both}.tm-page{padding:30px 20px 45px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Keep catalogue sections at the intended wide layout, including saved templates. */
.tm-section{width:100%;max-width:1240px!important}.tm-section>*{max-width:100%!important}.wp-site-blocks>main{margin-block-start:0}.tm-section .woocommerce{width:100%}.tm-section .woocommerce ul.products{margin-top:24px}

/* Real brand image in both site parts; no external or guessed image URL. */
.tm-logo{line-height:1}.tm-logo a{display:inline-block;text-decoration:none}.tm-logo-image{display:block;width:150px;height:100px;object-fit:contain;object-position:left center}.tm-footer .tm-logo-image{width:160px;height:145px}.tm-logo-text{font:bold italic 32px Georgia,serif;color:#d70a70}.tm-product-grid{width:100%}.tm-collection-note{padding:18px;border:1px solid #eee7ea;color:#6e6269}.tm-product-grid .woocommerce ul.products{margin-bottom:0}
@media(max-width:600px){.tm-logo-image{width:120px;height:75px}}

/* Live search: the plugin retains responsibility for its dropdown and keyboard behaviour. */
.tm-live-search{position:relative;z-index:30}.tm-live-search .dgwt-wcas-search-wrapp{max-width:none;min-width:0;width:100%}.tm-live-search .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input{height:46px;border:1px solid #e4dbe0;border-radius:4px;font:14px -apple-system,BlinkMacSystemFont,Segoe UI,Arial,sans-serif}.tm-live-search form{margin:0}.tm-live-search .woocommerce-product-search{display:flex;gap:6px}.tm-live-search .search-field{min-width:0;flex:1}.tm-live-search button{background:#d70a70;color:#fff;border:0;padding:12px 16px;border-radius:3px}.tm-header{position:relative;z-index:40}.tm-editor-note{padding:24px;border:1px dashed #b9aab2;background:#fff7fa}
/* A single heading band and lightweight, keyboard-accessible category links. */
.tm-catalogue-main{padding:0 28px}.tm-catalogue{max-width:1240px;margin:auto;padding:34px 0 64px}.tm-catalogue-header{padding:0 0 26px;border-bottom:1px solid #eee7ea;margin-bottom:24px}.tm-catalogue-title-row{display:flex;align-items:center;justify-content:space-between;gap:20px}.tm-catalogue-title-row h1{font:400 clamp(30px,4vw,46px)/1.15 Georgia,serif;margin:0;letter-spacing:-.025em}.tm-catalogue-title-row .woocommerce-breadcrumb{margin:0;font-size:13px;color:#6e6269}.tm-catalogue-title-row .woocommerce-breadcrumb a{color:#6e6269;text-decoration:none}.tm-catalogue-header .term-description{font-size:14px;color:#6e6269;max-width:800px}.tm-category-tabs{display:flex;gap:10px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;padding:6px 3px 12px;margin-top:22px;scrollbar-width:thin}.tm-category-tab{display:block;flex:0 0 auto;scroll-snap-align:start;padding:10px 18px;background:#fcfaf7;border:1px solid #e7dfe2;border-radius:30px;color:#292329;text-decoration:none;font:500 14px/1.4 -apple-system,BlinkMacSystemFont,Segoe UI,Arial,sans-serif}.tm-category-tab:hover,.tm-category-tab.is-current{background:#d70a70;border-color:#d70a70;color:#fff}.tm-catalogue-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:0 0 24px}.tm-catalogue-toolbar .woocommerce-notices-wrapper{flex-basis:100%}.tm-catalogue-toolbar .woocommerce-notices-wrapper:empty{display:none}.tm-catalogue-toolbar .woocommerce-result-count,.tm-catalogue-toolbar .woocommerce-ordering{float:none;margin:0;font-size:14px;color:#6e6269}.tm-catalogue-toolbar select.orderby{padding:10px 32px 10px 12px;max-width:100%;font-size:14px;border:1px solid #e7dfe2;border-radius:4px;background:#fff}
/* Consistent classic WooCommerce cards on the homepage and archive pages. */
.tm-catalogue ul.products,.tm-product-grid .woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;clear:both;padding:0;margin:0;list-style:none}.tm-catalogue ul.products:before,.tm-catalogue ul.products:after,.tm-product-grid ul.products:before,.tm-product-grid ul.products:after{display:none!important;content:none!important}.tm-catalogue ul.products li.product,.tm-product-grid .woocommerce ul.products li.product{float:none!important;width:auto!important;margin:0!important;clear:none!important;display:flex;flex-direction:column;min-width:0;position:relative;padding:16px;border:1px solid #eee7ea;border-radius:6px;text-align:left;background:white;box-shadow:none}.tm-catalogue ul.products li.product .woocommerce-LoopProduct-link,.tm-product-grid ul.products li.product .woocommerce-LoopProduct-link{display:flex;flex-direction:column;flex:1;min-width:0;text-decoration:none;color:#292329}.tm-catalogue ul.products li.product a img,.tm-product-grid ul.products li.product a img{display:block;width:100%!important;height:220px!important;aspect-ratio:1/1;object-fit:contain;margin:0 0 18px!important;padding:6px;background:#fff}.tm-catalogue ul.products li.product .woocommerce-loop-product__title,.tm-product-grid ul.products li.product .woocommerce-loop-product__title{font:500 15px/1.5 -apple-system,BlinkMacSystemFont,Segoe UI,Arial,sans-serif!important;color:#292329!important;padding:0;margin:0 0 12px;min-height:4.5em;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.tm-catalogue ul.products li.product .price,.tm-product-grid ul.products li.product .price{display:block;margin-top:auto!important;margin-bottom:0;color:#a10b55;font:600 15px/1.7 -apple-system,BlinkMacSystemFont,Segoe UI,Arial,sans-serif}.tm-catalogue ul.products li.product .price del,.tm-product-grid ul.products li.product .price del{font-size:12px;color:#766a71;opacity:1;display:inline-block;margin-right:5px}.tm-catalogue ul.products li.product .price ins,.tm-product-grid ul.products li.product .price ins{text-decoration:none;background:none}.tm-catalogue ul.products li.product>.button,.tm-product-grid ul.products li.product>.button{align-self:flex-start;margin-top:16px!important;border-radius:3px;background:#d70a70;color:#fff;font:600 13px/1.4 -apple-system,BlinkMacSystemFont,Segoe UI,Arial,sans-serif;padding:12px 16px}.tm-catalogue ul.products li.product .onsale,.tm-product-grid ul.products li.product .onsale{position:absolute;z-index:2;top:12px;right:12px;left:auto;min-height:0;min-width:0;border:0;margin:0;padding:5px 9px;border-radius:3px;background:#292329;color:#fff;font:600 11px/1.4 -apple-system,BlinkMacSystemFont,Segoe UI,Arial,sans-serif}.tm-catalogue ul.products li.product .star-rating,.tm-product-grid ul.products li.product .star-rating{font-size:12px;margin:0 0 8px}
/* Keep core pagination URLs, current-page semantics and sorting parameters. */
.tm-catalogue-pagination{padding-top:38px}.tm-catalogue-pagination .woocommerce-pagination{text-align:center}.tm-catalogue-pagination .woocommerce-pagination ul.page-numbers{display:inline-flex;flex-wrap:wrap;justify-content:center;gap:8px;border:0;margin:0;padding:0;list-style:none}.tm-catalogue-pagination .woocommerce-pagination ul.page-numbers li{float:none;display:block;border:0;margin:0;padding:0}.tm-catalogue-pagination .woocommerce-pagination .page-numbers a,.tm-catalogue-pagination .woocommerce-pagination .page-numbers span{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:9px 14px;border:1px solid #e7dfe2;border-radius:4px;background:#fff;color:#292329;font:500 14px/1.4 -apple-system,BlinkMacSystemFont,Segoe UI,Arial,sans-serif;text-decoration:none}.tm-catalogue-pagination .woocommerce-pagination .page-numbers span.current,.tm-catalogue-pagination .woocommerce-pagination .page-numbers a:hover{background:#d70a70;color:#fff;border-color:#d70a70}.tm-catalogue-pagination .woocommerce-pagination .page-numbers span.dots{border-color:transparent;background:transparent}
@media(max-width:1000px){.tm-catalogue ul.products,.tm-product-grid .woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}}
@media(max-width:700px){.tm-catalogue-main{padding-inline:20px}.tm-catalogue{padding-top:26px}.tm-catalogue-title-row{align-items:flex-start;flex-direction:column;gap:10px}.tm-catalogue ul.products,.tm-product-grid .woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tm-catalogue ul.products li.product,.tm-product-grid .woocommerce ul.products li.product{padding:12px}.tm-catalogue ul.products li.product a img,.tm-product-grid ul.products li.product a img{height:170px!important}.tm-catalogue ul.products li.product .woocommerce-loop-product__title,.tm-product-grid ul.products li.product .woocommerce-loop-product__title{font-size:13px!important}.tm-catalogue ul.products li.product .price,.tm-product-grid ul.products li.product .price{font-size:13px}.tm-category-tab{padding:9px 14px;font-size:13px}.tm-catalogue-toolbar{align-items:flex-start}.tm-catalogue-toolbar .woocommerce-ordering{max-width:100%}}
@media(max-width:380px){.tm-catalogue ul.products li.product a img,.tm-product-grid ul.products li.product a img{height:140px!important}}
/* Respect manually selected smaller collection column counts. */
.tm-product-grid ul.products.columns-1{grid-template-columns:1fr}.tm-product-grid ul.products.columns-2{grid-template-columns:repeat(2,minmax(0,1fr))}.tm-product-grid ul.products.columns-3{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:700px){.tm-product-grid ul.products.columns-3{grid-template-columns:repeat(2,minmax(0,1fr))}}
