/*!
Theme Name: Blocksy
Theme URI: https://creativethemes.com/blocksy/
Author: CreativeThemes
Author URI: https://creativethemes.com
Description: Blocksy is a fast, modern WordPress theme with advanced WooCommerce support and full compatibility with the block editor.
Version: 2.1.9
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Copyright: (c) 2019 CreativeThemes.
Requires at least: 6.5
Requires PHP: 7.0
Tested up to: 6.8
Text Domain: blocksy
Blocksy Minimum Companion Version: 2.0.74-beta1
Tags: accessibility-ready, blog, block-patterns, e-commerce, wide-blocks, block-styles, grid-layout, one-column, two-columns, three-columns, four-columns, right-sidebar, left-sidebar, translation-ready, custom-colors, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, theme-options, threaded-comments
*/

#hero_c_box_1,
#hero_c_box_2,
#hero_c_box_3,
#hero_c_box_4 {
  max-width: 44%;
}
#footer.ct-footer {
  position: static;
}

#searchbutton a,
#userbutton a {
  width: auto;
  height: auto;
  line-height: auto;
  display: flex;
}

.custom-qty-box {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}
.qty-option {
  display: block;
  cursor: pointer;
}
.qty-card {
  border: 2px solid #ddd;
  padding: 12px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.qty-option input {
  display: none;
}
.qty-option input:checked + .qty-card {
  border-color: #000;
  background: #f8f8f8;
}
.qty-title {
  font-size: 16px;
  font-weight: 600;
}
.qty-price {
  font-size: 14px;
  color: #333;
}
.qty-discount {
  font-size: 12px;
  color: #1a8917;
  margin-left: 10px;
}

.custom-design-upload {
  border: 2px dashed #bbb;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  margin: 20px 0;
  background: #fafafa;
  transition: 0.2s;
}
.custom-design-upload:hover {
  border-color: #25d366;
}
.upload-label {
  display: inline-block;
  padding: 10px 20px;
  background: #25d366;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
}
.upload-label:hover {
  background: #1ebe5d;
}
#design-preview {
  margin-top: 15px;
}
#design-preview img {
  max-width: 120px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

/* Make WooCommerce product category dropdown into 2 columns */
#header-menu-1 #menu-main-menu ul.sub-menu {
  column-count: 2; /* Number of columns */
  column-gap: 30px; /* Space between columns */
  min-width: 400px; /* Make dropdown wider */
}

#header-menu-1 #menu-main-menu ul.sub-menu li {
  break-inside: avoid; /* Prevents items from splitting oddly */
}
