/* TokkaMART Dark Premium Theme */

/* Body - force white bg (theme default is beige) */
body, body.home, body.page, body.wp-singular {
  background-color: #ffffff !important;
}

/* Header - dark background */
header, .site-header, #masthead {
  background-color: #1c1c1c !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

/* Logo/site title */
.site-title a, .site-branding a, header .site-title {
  color: #f9f9f9 !important;
}

/* Navigation links */
.main-navigation a, .primary-menu a, header nav a, .menu-item a, .nav-menu a {
  color: #f9f9f9 !important;
}
.main-navigation a:hover, header nav a:hover, .menu-item a:hover {
  color: #c9a96e !important;
}
.current-menu-item > a, .current_page_item > a {
  color: #c9a96e !important;
}



/* Hide theme's duplicate footer (we have our own in Elementor) */
footer.ehp-flex-footer,
.elementor-widget-ehp-flex-footer {
  display: none !important;
}

/* Search icon */
header .search-toggle, #masthead .search-toggle {
  color: #f9f9f9 !important;
}

/* Fix Elementor full-width - remove theme content wrapper margins/padding */
.page .site-content,
.page .entry-content,
.page .post-content,
.page #content,
.page .content-area,
.page .site-main,
.page article.page {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

/* Elementor sections full width */
.elementor-section.elementor-section-stretched,
.e-con {
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Fix body padding causing white edges on pages */
body.page {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Card hover effects - premium lift + shadow */
.e-con .e-con[style*="border-color: #e8e8e8"],
.e-con .e-con[style*="border-left: 3px solid"] {
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
.e-con .e-con[style*="border-color: #e8e8e8"]:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 16px 40px rgba(0,0,0,0.12) !important;
}
.e-con .e-con[style*="border-left: 3px solid"]:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 32px rgba(201,169,110,0.15) !important;
}

/* Gold CTA link hover */
a[style*="color:#c9a96e"] {
  transition: opacity 0.3s ease !important;
}
a[style*="color:#c9a96e"]:hover {
  opacity: 0.8 !important;
}

/* Smooth nav link transitions */
.main-navigation a, header nav a, .menu-item a {
  transition: color 0.3s ease !important;
}

/* Product code badge hover */
span[style*="background:#1c1c1c"] {
  transition: background-color 0.3s ease, transform 0.2s ease !important;
}
span[style*="background:#1c1c1c"]:hover {
  background-color: #c9a96e !important;
  color: #1c1c1c !important;
  transform: scale(1.05) !important;
}



/* Fix mailto link styling in page content - remove all borders/underlines/backgrounds */
.entry-content a[href^="mailto:"],
.entry-content a[href^="mailto:"]:link,
.entry-content a[href^="mailto:"]:visited,
.entry-content a[href^="mailto:"]:focus,
.entry-content a[href^="mailto:"]:active,
.elementor a[href^="mailto:"],
.elementor a[href^="mailto:"]:link,
.elementor a[href^="mailto:"]:visited,
.elementor a[href^="mailto:"]:focus,
.elementor a[href^="mailto:"]:active,
.e-con a[href^="mailto:"],
.e-con a[href^="mailto:"]:link,
.e-con a[href^="mailto:"]:visited,
.e-con a[href^="mailto:"]:focus,
.e-con a[href^="mailto:"]:active,
.site-content a[href^="mailto:"],
.site-content a[href^="mailto:"]:link,
.site-content a[href^="mailto:"]:visited,
.site-content a[href^="mailto:"]:focus,
.site-content a[href^="mailto:"]:active,
.site-main a[href^="mailto:"],
.site-main a[href^="mailto:"]:link,
.site-main a[href^="mailto:"]:visited,
.site-main a[href^="mailto:"]:focus,
.site-main a[href^="mailto:"]:active {
  text-decoration: none !important;
  border: none !important;
  border-bottom: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: none !important;
  background-color: transparent !important;
}
.entry-content a[href^="mailto:"]:hover,
.elementor a[href^="mailto:"]:hover,
.e-con a[href^="mailto:"]:hover,
.site-content a[href^="mailto:"]:hover,
.site-main a[href^="mailto:"]:hover {
  color: #c9a96e !important;
}

/* Contact button - gold (header only, ultra-high specificity) */
header.ehp-header .ehp-header__ctas-container a[href="mailto:contact@tokkamart.com"],
.elementor header.ehp-header a[href="mailto:contact@tokkamart.com"],
.e-con header.ehp-header a[href="mailto:contact@tokkamart.com"],
.hb-contact-button {
  background: #c9a96e !important;
  background-color: #c9a96e !important;
  color: #1c1c1c !important;
  border: none !important;
  border-radius: 0 !important;
  text-decoration: none !important;
}

/* ======================================
   WOOCOMMERCE SHOP PAGE STYLING (S5)
   ====================================== */

/* Shop page background */
body.woocommerce, body.woocommerce-page,
body.post-type-archive-product, body.single-product {
  background-color: #f9f9f9 !important;
}

/* Shop page header + breadcrumb - integrated look */
.woocommerce .woocommerce-breadcrumb {
  background: #1c1c1c !important;
  margin: 0 !important;
  padding: 20px 40px 0 !important;
  font-size: 12px !important;
  letter-spacing: 0.5px !important;
}
.woocommerce .woocommerce-breadcrumb a {
  color: #c9a96e !important;
}
.woocommerce .woocommerce-breadcrumb,
.woocommerce .woocommerce-breadcrumb span {
  color: #888 !important;
}
.woocommerce-products-header {
  background: #1c1c1c !important;
  padding: 30px 20px 40px !important;
  margin-bottom: 30px !important;
}
.woocommerce-products-header__title {
  color: #f9f9f9 !important;
  font-weight: 300 !important;
  letter-spacing: 4px !important;
  text-transform: uppercase !important;
  font-size: 32px !important;
  text-align: center !important;
  margin: 0 !important;
}

/* Result count and ordering bar */
.woocommerce .woocommerce-result-count {
  color: #666 !important;
  font-size: 13px !important;
}
.woocommerce .woocommerce-ordering select {
  border: 1px solid #e8e8e8 !important;
  padding: 8px 12px !important;
  background: #fff !important;
  color: #1c1c1c !important;
  font-size: 13px !important;
}

/* Product grid - flexbox for equal heights */
.woocommerce ul.products {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 24px !important;
  justify-content: center !important;
  padding: 0 20px !important;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none !important;
}

/* Individual product card */
.woocommerce ul.products li.product {
  display: flex !important;
  flex-direction: column !important;
  background: #ffffff !important;
  border: 1px solid #e8e8e8 !important;
  border-radius: 0 !important;
  padding: 20px 15px 25px !important;
  margin: 0 !important;
  width: calc(20% - 20px) !important;
  min-width: 180px !important;
  float: none !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
.woocommerce ul.products li.product:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 32px rgba(0,0,0,0.1) !important;
}

/* Product image - consistent height */
.woocommerce ul.products li.product a img,
.woocommerce ul.products li.product img {
  height: 200px !important;
  width: 100% !important;
  object-fit: contain !important;
  margin-bottom: 12px !important;
}

/* Product title */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2 {
  color: #1c1c1c !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-align: center !important;
  padding: 8px 0 !important;
  flex-grow: 1 !important;
  line-height: 1.4 !important;
}

/* Product price */
.woocommerce ul.products li.product .price {
  color: #c9a96e !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-align: center !important;
  margin-bottom: 12px !important;
}

/* Read More / Add to Cart button */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.button {
  background-color: #c9a96e !important;
  color: #1c1c1c !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 10px 20px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  text-align: center !important;
  display: block !important;
  width: 100% !important;
  margin-top: auto !important;
  transition: opacity 0.3s ease, transform 0.2s ease !important;
  text-decoration: none !important;
}
.woocommerce ul.products li.product .button:hover {
  opacity: 0.85 !important;
  transform: scale(1.02) !important;
}

/* Pagination - FIX invisible white-on-white */
.woocommerce-pagination {
  text-align: center !important;
  margin: 40px 0 !important;
  padding: 20px 0 !important;
}
.woocommerce-pagination ul.page-numbers {
  display: flex !important;
  justify-content: center !important;
  gap: 8px !important;
  list-style: none !important;
  padding: 0 !important;
  border: none !important;
}
.woocommerce-pagination ul.page-numbers li {
  border: none !important;
}
.woocommerce-pagination ul.page-numbers li a,
.woocommerce-pagination ul.page-numbers li span {
  display: inline-block !important;
  padding: 8px 14px !important;
  color: #1c1c1c !important;
  background: #ffffff !important;
  border: 1px solid #e8e8e8 !important;
  text-decoration: none !important;
  font-size: 14px !important;
  transition: all 0.3s ease !important;
}
.woocommerce-pagination ul.page-numbers li a:hover {
  background: #c9a96e !important;
  color: #ffffff !important;
  border-color: #c9a96e !important;
}
.woocommerce-pagination ul.page-numbers li span.current {
  background: #c9a96e !important;
  color: #ffffff !important;
  border-color: #c9a96e !important;
  font-weight: 700 !important;
}

/* Breadcrumbs */
.woocommerce .woocommerce-breadcrumb a {
  text-decoration: none !important;
  transition: color 0.3s ease !important;
}
.woocommerce .woocommerce-breadcrumb a:hover {
  color: #ffffff !important;
}

/* ======================================
   WOOCOMMERCE PRODUCT DETAIL PAGE (S5)
   ====================================== */

/* Product detail container */
.woocommerce div.product {
  padding: 20px !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}

/* Product title on detail page */
.woocommerce div.product .product_title {
  color: #1c1c1c !important;
  font-size: 28px !important;
  font-weight: 300 !important;
  letter-spacing: 1px !important;
}

/* Product meta (SKU, Category, Brand) */
.woocommerce div.product .product_meta {
  border-top: 1px solid #e8e8e8 !important;
  padding-top: 15px !important;
  margin-top: 20px !important;
  color: #666 !important;
  font-size: 13px !important;
}
.woocommerce div.product .product_meta a {
  color: #c9a96e !important;
  text-decoration: none !important;
}
.woocommerce div.product .product_meta a:hover {
  color: #1c1c1c !important;
}

/* Product price on detail */
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: #c9a96e !important;
  font-size: 22px !important;
  font-weight: 600 !important;
}

/* Product gallery images */
.woocommerce div.product div.images img {
  border: 1px solid #e8e8e8 !important;
}
.woocommerce div.product div.images .thumbnails img,
.woocommerce div.product .flex-control-thumbs img {
  border: 1px solid #e8e8e8 !important;
  padding: 4px !important;
  transition: border-color 0.3s ease !important;
}
.woocommerce div.product .flex-control-thumbs img:hover {
  border-color: #c9a96e !important;
}

/* Tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  color: #666 !important;
  font-size: 13px !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: #c9a96e !important;
}

/* Related products heading */
.woocommerce div.product .related h2,
.woocommerce div.product .upsells h2 {
  font-size: 20px !important;
  font-weight: 300 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  color: #1c1c1c !important;
  text-align: center !important;
  margin-bottom: 20px !important;
}

/* WooCommerce shop container max-width */
.woocommerce .site-content .woocommerce-products-header,
.woocommerce .content-area {
  max-width: 100% !important;
  width: 100% !important;
}

/* Contact page: align email dividers to bottom of cards */
[data-id="afxgwgvh"] > .e-con {
  display: flex !important;
  flex-direction: column !important;
}
[data-id="afxgwgvh"] > .e-con > .elementor-widget:nth-child(3) {
  margin-top: auto !important;
}