/*
Theme Name: TELETIES WooCommerce
Theme URI: http://127.0.0.1:8080/
Author: Local Storefront Team
Description: High-fidelity WooCommerce conversion of the validated TELETIES frontend master.
Version: 1.0.0
Requires at least: 6.8
Requires PHP: 8.1
Text Domain: teleties-woo
*/

html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; }
body.admin-bar .siteHeader { top: -4px; }
.teleties-page main { min-height: 45vh; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { z-index: 100000; display: block; top: 5px; left: 5px; width: auto; height: auto; padding: 15px 23px 14px; clip: auto; background: #fff; color: #101820; font-size: 14px; }

.tt-logo-image { width: 100%; height: 100%; object-fit: contain; }
.heroImage img, .typeImage img, .iconImage img, .cardImage, .socialTile img { width: 100%; height: 100%; object-fit: cover; }
.typeImage img, .iconImage img, .cardImage { position: absolute; inset: 0; }
.iconImage img { object-fit: contain; }
.tt-icon { display: block; width: 24px; height: 24px; fill: none; stroke: currentcolor; stroke-linecap: round; stroke-linejoin: round; }
.tt-chevron { width: 14px; height: 14px; }
.tt-cart-count.is-empty { display: none; }
.tt-hidden { display: none !important; }
.tt-lock-scroll { overflow: hidden; }

.megaPanel[hidden], .searchPanel[hidden] { display: none; }
.mobileSubmenu[hidden] { display: none; }
.mobileMenuItem { border: 0; }
.mobileMenuOpen { visibility: visible !important; opacity: 1 !important; transform: translateX(0) !important; }
.mobileToggleOpen { border: 1.5px solid #101820 !important; }
.rotatedChevron { transform: rotate(90deg); }
.activeNav::after { opacity: 1 !important; transform: scaleX(1) !important; }
.activeNav .tt-chevron { transform: rotate(180deg); }

.tt-shop-link { display: block; }
.tt-menu-label { display: block; }
.tt-color-dot { flex: 0 0 auto; }

.tt-home-products { padding: 60px 50px; }
.tt-home-products .catalogGrid { max-width: 1200px; margin: 0 auto; }
.tt-home-products .favoritesTitle { margin-bottom: 30px; }
.tt-term-image { width: 100%; height: 100%; object-fit: cover; }
.tt-category-placeholder { display: grid; height: 100%; place-items: center; background: #f2eee7; color: #60656a; }

.catalogMedia img,
.productMainImage img,
.thumbnailRail img,
.articleImage img,
.cartRowImage img,
.recommendationImage img { width: 100%; height: 100%; object-fit: contain; }
.articleImage img { object-fit: cover; }
.catalogMedia { display: block; }
.favoriteHeart { fill: none; stroke: currentcolor; }

.tt-card-add { margin-top: 8px; }
.tt-card-add .button,
.tt-card-add button { width: 100%; }
.tt-card-add .added_to_cart { display: block; margin-top: 8px; font-size: 12px; text-decoration: underline; }
.outlineButton.loading { opacity: .55; pointer-events: none; }

.tt-woo-notices { width: min(1344px, calc(100% - 40px)); margin: 18px auto; }
.woocommerce-message,
.woocommerce-info,
.woocommerce-error { position: relative; margin: 0 0 16px; padding: 14px 18px 14px 46px; border: 1px solid #e0ceaa; border-radius: 4px; background: #faf7f4; color: #101820; list-style: none; }
.woocommerce-error { border-color: #c77272; }

.tt-product-price .price { margin: 0; font-size: inherit; }
.tt-product-price del { color: #777; font-weight: 400; }
.tt-product-price ins { text-decoration: none; }
.tt-single-cart form.cart { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin: 0; }
.tt-single-cart .quantity { display: flex; }
.tt-single-cart .qty { width: 76px; height: 48px; border: 1px solid #cfd1d2; text-align: center; }
.tt-single-cart .single_add_to_cart_button { min-width: 240px; min-height: 48px; padding: 10px 30px; border: 1px solid #111820; border-radius: 3px; background: #111820; color: #fff; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.tt-single-cart .single_add_to_cart_button:hover { background: #bf7865; border-color: #bf7865; }
.tt-single-cart table.variations { width: 100%; margin-bottom: 12px; border-collapse: collapse; }
.tt-single-cart table.variations th { width: 90px; padding: 8px 12px 8px 0; text-align: left; }
.tt-single-cart table.variations select { min-width: 220px; min-height: 44px; padding: 8px 34px 8px 12px; border: 1px solid #bbb; background: #fff; }
.tt-single-cart .woocommerce-variation-price { margin: 0 0 12px; font-size: 20px; font-weight: 700; }
.tt-single-cart .reset_variations { margin-left: 10px; font-size: 12px; text-decoration: underline; }
.tt-stock { margin: 8px 0; color: #4b6a4c; font-size: 13px; }
.tt-sku { margin-top: 8px; color: #777; font-size: 12px; }

.activeThumbnail { border-color: #101820 !important; }
.productMainImage figure { width: 100%; height: 100%; margin: 0; }
.productMainImage figure:not(:first-child) { display: none; }
.productMainImage .woocommerce-product-gallery__image a { display: block; width: 100%; height: 100%; }
.thumbnailRail { overflow-x: auto; }
.thumbnailRail button { overflow: hidden; }

.tt-cart-drawer[hidden] { display: none; }
.tt-cart-drawer .drawerPanel { overflow-y: auto; }
.tt-cart-drawer-content { min-height: 0; flex: 1; }
.tt-cart-drawer .woocommerce-mini-cart__empty-message { margin: 0; padding: 34px 20px; font-size: 22px; text-align: center; }
.tt-cart-drawer .checkoutButton { display: flex; align-items: center; justify-content: center; text-decoration: none; }
.tt-cart-drawer .cartRowContent > a { display: block; margin-bottom: 5px; font-size: 15px; line-height: 1.35; }
.tt-cart-drawer .variation { margin: 0 0 9px; color: #74777b; font-size: 12px; }
.tt-cart-drawer .variation dt, .tt-cart-drawer .variation dd { display: inline; margin: 0; }
.tt-cart-drawer .variation p { display: inline; }
.tt-cart-drawer.is-loading .drawerPanel::after { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; background: rgb(255 255 255 / 70%); content: "Updating…"; }

.tt-commerce-shell { width: min(1320px, calc(100% - 40px)); margin: 0 auto; padding: 40px 0 80px; }
.tt-commerce-shell h1 { margin: 0 0 28px; font-size: clamp(32px, 5vw, 58px); font-weight: 500; line-height: 1.15; }
.tt-commerce-shell table { width: 100%; border-collapse: collapse; }
.tt-commerce-shell th, .tt-commerce-shell td { padding: 14px; border-bottom: 1px solid #e5e5e5; text-align: left; }
.tt-commerce-shell input, .tt-commerce-shell select, .tt-commerce-shell textarea { max-width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid #bbb; background: #fff; }
.tt-commerce-shell .button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; padding: 8px 18px; border: 0; border-radius: 3px; background: #101820; color: #fff; font-weight: 600; cursor: pointer; }
.tt-commerce-shell .button:hover { background: #bf7865; color: #fff; }
.tt-commerce-shell .woocommerce-MyAccount-navigation ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; }
.tt-commerce-shell .woocommerce-MyAccount-navigation a { display: block; padding: 8px 14px; border: 1px solid #ddd; }
.tt-commerce-shell .woocommerce-checkout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); gap: 40px; }
.tt-commerce-shell #customer_details, .tt-commerce-shell #order_review_heading, .tt-commerce-shell #order_review { grid-column: auto; }

.blogIndex > header { margin-bottom: 44px; text-align: center; }
.blogIndex > header > p:first-child { font-size: 12px; letter-spacing: .22em; }
.blogIndex > header > p:last-child { max-width: 760px; margin: 18px auto 0; }
.recentArticles { width: min(1280px, calc(100% - 40px)); margin: 0 auto; padding: 20px 0 70px; }
.recentArticles > h2 { margin: 0 0 28px; font-size: 32px; text-align: center; }
.tt-post-meta { display: block; margin-bottom: 22px; color: #777; font-size: 12px; text-align: center; }

.tt-filter-panel .widget { margin-bottom: 18px; }
.tt-filter-panel .widget-title { margin: 0 0 8px; font-size: 15px; }
.tt-filter-panel ul { margin: 0; padding: 0; list-style: none; }
.tt-filter-panel li { margin-bottom: 6px; }
.tt-filter-panel a:hover { text-decoration: underline; }
.tt-mobile-filter-open { transform: translateX(0) !important; visibility: visible !important; opacity: 1 !important; }
.mobileFilterDrawer.tt-mobile-filter-open { pointer-events: auto; }
.mobileFilterDrawer.tt-mobile-filter-open .filterBackdrop { opacity: 1; }
.mobileFilterDrawer.tt-mobile-filter-open .filterPanel { transform: translateX(0); }
.collectionHeroImage img { object-fit: cover; }
.catalogGrid.products::before, .catalogGrid.products::after { display: none; content: none; }
.catalogGrid.products { margin: 0; padding: 0; list-style: none; }
.catalogCard { min-width: 0; }
.catalogCard .woocommerce-loop-product__link { display: contents; }
.catalogPrice .price { font: inherit; }
.footerBrandMark { object-fit: contain; }
.drawerPanel { position: relative; }
.emptyContent { width: min(900px, calc(100% - 40px)); margin: 0 auto; padding: 90px 0; text-align: center; }
.emptyContent h1 { margin: 10px 0 16px; font-size: clamp(36px, 6vw, 70px); }

.woocommerce-pagination { margin-top: 42px; }
.woocommerce-pagination ul { display: flex; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.woocommerce-pagination a, .woocommerce-pagination span { display: grid; min-width: 40px; height: 40px; place-items: center; border: 1px solid #ddd; }
.woocommerce-pagination .current { background: #101820; color: #fff; }

@media (max-width: 989px) {
  body.admin-bar .siteHeader { top: -19px; }
  .tt-home-products { padding: 45px 20px 25px; }
  .tt-commerce-shell .woocommerce-checkout { display: block; }
}

@media (max-width: 749px) {
  .tt-home-products .catalogGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tt-single-cart form.cart { display: block; }
  .tt-single-cart .quantity { margin-bottom: 12px; }
  .tt-single-cart .single_add_to_cart_button { width: 100%; }
  .tt-commerce-shell { width: calc(100% - 30px); padding-top: 25px; }
  .tt-commerce-shell table.shop_table_responsive thead { display: none; }
  .tt-commerce-shell table.shop_table_responsive tr { display: block; padding: 12px 0; border-bottom: 1px solid #ddd; }
  .tt-commerce-shell table.shop_table_responsive td { display: flex; justify-content: space-between; border: 0; }
}

