/*--------------------------------------------------------------

  Template Name: Subas Ecommerce Responsive Bootstrap Template
  Description: This is html5 template
  Author: SubasTeam
  Version: 1.0
  Design and Developed by: SubasTeam

Note: This is the file where you can add your custom styles to change the look of the theme. But don't modify "style.css" file.

---------------------------------------------------------------*/

/* ----------------------------------------------------
	Product Item Styles for Shop Page
-------------------------------------------------------*/

/* Product Item Container */
.product-item {
  margin-bottom: 30px;
  background: #fff;
  border: 1px solid #f0f0f0;
  transition: all 0.3s ease;
}

.product-item:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Product Image Container */
.product-item .product-img {
  position: relative;
  overflow: hidden;
  background: #fff;
  text-align: center;
}

.product-item .product-img img {
  max-width: 100%;
  max-height: 200px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  display: block;
  transition: transform 0.3s ease;
}

.product-item:hover .product-img img {
  transform: scale(1.05);
}

.product-item .product-img a {
  display: block;
}

/* Product Info Section */
.product-item .product-info {
  padding: 15px;
  text-align: center;
  border-top: 1px solid #f0f0f0;
}

.product-item .product-title {
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.4;
}

.product-item .product-title a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.product-item .product-title a:hover {
  color: var(--theme-color);
}

.product-item .brand-name {
  font-size: 12px;
  color: #888;
  margin-bottom: 8px;
}

/* Product Price */
.product-item .pro-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--theme-color);
  margin-bottom: 10px;
}

/* Product Rating */
.product-item .pro-rating {
  margin-bottom: 10px;
}

.product-item .pro-rating a {
  color: #ffc107;
  font-size: 12px;
}

/* Action Buttons */
.product-item .action-button {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.product-item .action-button li {
  display: inline-block;
}

.product-item .action-button li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #e5e5e5;
  border-radius: 50%;
  color: #666;
  font-size: 16px;
  transition: all 0.3s ease;
}

.product-item .action-button li a:hover {
  background: var(--theme-color);
  border-color: var(--theme-color);
  color: #fff;
}

/* Shop List View */
.shop-list.product-item {
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

.shop-list.product-item .product-img {
  width: 250px;
  min-width: 250px;
  padding: 20px;
  border-right: 1px solid #f0f0f0;
}

.shop-list.product-item .product-img img {
  max-height: 180px;
}

.shop-list.product-item .product-info {
  flex: 1;
  text-align: left;
  padding: 20px;
  border-top: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.shop-list.product-item .product-title {
  font-size: 16px;
  margin-bottom: 10px;
}

.shop-list.product-item .action-button {
  justify-content: flex-start;
}

/* ----------------------------------------------------
	Shop Options Bar
-------------------------------------------------------*/
.shop-option {
  background: #fff;
  padding: 15px 20px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.shop-option .shop-tab {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 5px;
}

.shop-option .shop-tab li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #e5e5e5;
  color: #666;
  font-size: 18px;
  transition: all 0.3s ease;
}

.shop-option .shop-tab li a.active,
.shop-option .shop-tab li a:hover {
  background: var(--theme-color);
  border-color: var(--theme-color);
  color: #fff;
}

.shop-option .short-by {
  margin-left: 30px;
}

.shop-option .short-by span {
  font-size: 14px;
  color: #666;
}

.shop-option .short-by select {
  border: 1px solid #e5e5e5;
  padding: 5px 10px;
  color: #666;
  font-size: 14px;
  margin-left: 5px;
}

.shop-option .showing {
  margin-left: auto;
  font-size: 14px;
  color: #666;
}

/* ----------------------------------------------------
	Shop Pagination
-------------------------------------------------------*/
.shop-pagination {
  list-style: none;
  padding: 15px 30px;
  margin: 30px 0;
  background: #fff;
  display: flex;
  justify-content: center;
  gap: 5px;
}

.shop-pagination li a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid #e5e5e5;
  color: #666;
  font-size: 14px;
  transition: all 0.3s ease;
}

.shop-pagination li a:hover,
.shop-pagination li.active a,
.shop-pagination > li.active a,
.shop-pagination > li:hover a {
  background: var(--theme-color);
  border-color: var(--theme-color);
  color: #fff !important;
}

/* ----------------------------------------------------
	Sidebar Widgets
-------------------------------------------------------*/
.widget-search {
  background: #fff;
  padding: 0;
}

.widget-search form {
  display: flex;
  align-items: stretch;
}

.widget-search input {
  flex: 1;
  border: 1px solid #e5e5e5;
  border-right: none;
  padding: 10px 15px;
  font-size: 14px;
  height: 40px;
  box-sizing: border-box;
  min-width: 0;
}

.widget-search button {
  width: 40px;
  height: 40px;
  background: var(--theme-color);
  border: 1px solid var(--theme-color);
  color: #fff;
  cursor: pointer;
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.widget-search button:hover {
  background: #e67300;
  border-color: #e67300;
}

.widget {
  background: #fff;
  padding: 15px;
}

.widget-title {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  text-transform: uppercase;
  position: relative;
  padding-left: 15px;
  margin-bottom: 12px;
}

.widget-title.mb-20 {
  margin-bottom: 12px;
}

.widget-title.border-left::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--theme-color);
}

/* Widget Categories */
.widget-categories .product-cat ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.widget-categories .product-cat ul li {
  margin-bottom: 4px;
  line-height: 1.4;
}

.widget-categories .product-cat ul li a {
  color: #666;
  font-size: 14px;
  transition: color 0.3s ease;
}

.widget-categories .product-cat ul li a:hover {
  color: var(--theme-color);
}

/* Compact filter form styling */
.filter-form label {
  display: block;
  font-size: 14px;
  color: #666;
  margin-bottom: 2px;
  padding: 2px 0;
  cursor: pointer;
  line-height: 1.4;
}

.filter-form input[type="checkbox"],
.filter-form input[type="radio"] {
  margin-right: 6px;
  vertical-align: middle;
}

.filter-form br {
  display: none;
}

/* Operating System / Filter Checkboxes */
.operating-system label {
  display: block;
  font-size: 14px;
  color: #666;
  margin-bottom: 2px;
  padding: 2px 0;
  cursor: pointer;
  line-height: 1.4;
}

.operating-system input[type="checkbox"],
.operating-system input[type="radio"] {
  margin-right: 6px;
  vertical-align: middle;
}

.operating-system br {
  display: none;
}

/* Box Shadow Utility */
.box-shadow {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* Reduce widget bottom margins */
aside.mb-30 {
  margin-bottom: 20px;
}

/* ----------------------------------------------------
	Breadcrumbs
-------------------------------------------------------*/
.breadcrumbs-section {
  margin-bottom: 50px;
}

.breadcrumbs {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  padding: 40px 0;
}

.breadcrumbs.overlay-bg {
  position: relative;
}

.breadcrumbs-inner {
  text-align: center;
}

.breadcrumbs-title {
  color: #fff;
  font-size: 28px;
  font-weight: 600;
  text-transform: capitalize;
  margin-bottom: 10px;
}

.breadcrumb-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.breadcrumb-list li {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.breadcrumb-list li a {
  color: var(--theme-color);
  transition: color 0.3s ease;
}

.breadcrumb-list li a:hover {
  color: #fff;
}

.breadcrumb-list li + li::before {
  content: '/';
  margin-right: 10px;
  color: rgba(255, 255, 255, 0.5);
}

/* ----------------------------------------------------
	Responsive Adjustments
-------------------------------------------------------*/
@media (max-width: 991px) {
  .shop-list.product-item {
    flex-direction: column;
  }
  
  .shop-list.product-item .product-img {
    width: 100%;
    min-width: auto;
    border-right: none;
    border-bottom: 1px solid #f0f0f0;
  }
  
  .shop-list.product-item .product-info {
    text-align: center;
  }
  
  .shop-list.product-item .action-button {
    justify-content: center;
  }
  
  .shop-option .showing {
    width: 100%;
    margin-top: 10px;
    margin-left: 0;
    text-align: center;
  }
}

@media (max-width: 767px) {
  .shop-option {
    flex-direction: column;
    gap: 15px;
  }
  
  .shop-option .short-by {
    margin-left: 0;
  }
  
  .shop-option .showing {
    margin-top: 0;
  }
}

/* ----------------------------------------------------
	Item Tags (for product badges)
-------------------------------------------------------*/
.item-tags {
  position: absolute;
  bottom: 10px;
  left: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.item-tags .badge {
  font-size: 12px;
  padding: 6px 12px;
  font-weight: 500;
}

/* Item Tags Overlay (from _item_tags.html partial) */
.item-tags-overlay {
  pointer-events: none;
}

.item-tags-overlay .badge {
  pointer-events: auto;
}

.item-tag-overlay {
  transition: transform 0.2s ease;
}

.item-tag-overlay:hover {
  transform: translateY(-1px);
}

.item-tag-icon {
  vertical-align: text-bottom;
}

/* Inventory Badge - larger and more readable */
.inventory-badge,
.product-item .badge,
.product-info .badge {
  font-size: 12px;
  padding: 6px 12px;
  font-weight: 500;
}

/* ----------------------------------------------------
	Toast Notifications - Larger and more visible
-------------------------------------------------------*/
.toast-container .toast {
  min-width: 350px;
  font-size: 15px;
}

.toast-container .toast-body {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 500;
}

.toast-container .toast-body i,
.toast-container .toast-body .zmdi {
  font-size: 18px;
  margin-right: 10px;
}

/* ----------------------------------------------------
	Single Product Page Styles
-------------------------------------------------------*/

/* Single Product Area */
.single-product-area {
  padding: 0;
}

/* Image Zoom Area - matches original Subas template structure */
.imgs-zoom-area {
  width: 100%;
}

.imgs-zoom-area > img#zoom_03 {
  display: block;
  width: auto !important;
  max-width: 100%;
  max-height: 450px;
  object-fit: contain;
  background: #fff;
  margin: 0 auto;
}

.imgs-zoom-area .carousel-btn {
  margin-top: 15px;
}

.imgs-zoom-area .p-c {
  padding: 5px;
}

.imgs-zoom-area .p-c img {
  width: 100%;
  height: 80px;
  object-fit: contain;
  border: 1px solid #f0f0f0;
  padding: 5px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.imgs-zoom-area .p-c img:hover,
.imgs-zoom-area .p-c img.slick-current {
  border-color: var(--theme-color);
}

/* Single Product Info */
.single-product-info {
  padding-left: 30px;
}

.single-product-info h3.text-black-1 {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
  line-height: 1.4;
}

.single-product-info .brand-name-2 {
  font-size: 14px;
  color: #888;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.single-product-info hr {
  margin: 15px 0;
  border-color: #e5e5e5;
}

/* Product Price */
.single-product-info .pro-price {
  font-size: 28px;
  font-weight: 700;
  color: var(--theme-color);
  margin: 0;
}

/* Plus Minus Quantity Selector */
.plus-minus-pro-action {
  margin: 15px 0;
}

.sin-plus-minus {
  display: flex;
  align-items: center;
}

.sin-plus-minus .color-title {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-right: 15px;
  margin-bottom: 0;
}

.cart-plus-minus {
  display: inline-flex;
  align-items: center;
  border: 1px solid #e5e5e5;
  background: #fff;
  height: 40px;
}

.cart-plus-minus .qtybutton {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  color: #666;
  background: #f8f8f8;
  transition: all 0.3s ease;
  user-select: none;
  border: none;
}

.cart-plus-minus .qtybutton:hover {
  background: var(--theme-color);
  color: #fff;
}

.cart-plus-minus .cart-plus-minus-box {
  width: 50px;
  height: 38px;
  border: none;
  border-left: 1px solid #e5e5e5;
  border-right: 1px solid #e5e5e5;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  background: #fff;
  padding: 0;
  margin: 0;
  outline: none;
  -moz-appearance: textfield;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
}

.cart-plus-minus .cart-plus-minus-box:focus {
  outline: none;
  border-color: var(--theme-color);
}

.cart-plus-minus .cart-plus-minus-box::-webkit-outer-spin-button,
.cart-plus-minus .cart-plus-minus-box::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Product Action Buttons */
.sin-pro-action .action-button {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 8px;
}

.sin-pro-action .action-button li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #e5e5e5;
  border-radius: 50%;
  color: #666;
  font-size: 18px;
  transition: all 0.3s ease;
}

.sin-pro-action .action-button li a:hover {
  background: var(--theme-color);
  border-color: var(--theme-color);
  color: #fff;
}

/* Product Action Buttons - Add to Cart */
.product-action-buttons {
  margin-top: 20px;
}

.product-action-buttons .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.product-action-buttons .button.button-black {
  background: #333;
  color: #fff;
}

.product-action-buttons .button.button-black:hover {
  background: var(--theme-color);
}

.product-action-buttons .button.disabled {
  background: #ccc;
  cursor: not-allowed;
}

.product-action-buttons .button i {
  margin-right: 8px;
}

/* Single Product Tabs */
.single-product-tab {
  margin-top: 40px;
}

.single-product-tab .nav {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  gap: 30px;
  border-bottom: 2px solid #e5e5e5;
}

.single-product-tab .nav li a {
  display: block;
  padding: 10px 0;
  font-size: 16px;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.single-product-tab .nav li a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--theme-color);
  transition: width 0.3s ease;
}

.single-product-tab .nav li a.active,
.single-product-tab .nav li a:hover {
  color: var(--theme-color);
}

.single-product-tab .nav li a.active::after {
  width: 100%;
}

.single-product-tab .tab-content {
  padding: 20px 0;
}

.single-product-tab .tab-pane p {
  color: #666;
  line-height: 1.8;
}

/* Related Products */
.related-product-area {
  margin-top: 50px;
}

.related-product-area .section-title {
  margin-bottom: 30px;
}

.related-product-area .section-title h2 {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.related-product-area .section-title h6 {
  font-size: 14px;
  color: #888;
  font-weight: 400;
}

.related-product-area .active-related-product {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.related-product-area .active-related-product .product-item {
  flex: 0 0 25%;
  max-width: 25%;
  padding: 0 15px;
  margin-bottom: 30px;
}

/* Inventory Display in Single Product */
.single-product-info .inventory-display {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.single-product-info .inventory-label {
  font-size: 14px;
}

/* Hover Shadow Utility */
.hover-shadow:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

/* Responsive Single Product */
@media (max-width: 991px) {
  .single-product-info {
    padding-left: 0;
    margin-top: 30px;
  }
  
  .related-product-area .active-related-product .product-item {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 767px) {
  .single-product-info h3.text-black-1 {
    font-size: 20px;
  }
  
  .single-product-info .pro-price {
    font-size: 24px;
  }
  
  .plus-minus-pro-action {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .sin-pro-action {
    margin-top: 15px;
  }
  
  .related-product-area .active-related-product .product-item {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* ----------------------------------------------------
	YouTube Video Player Styles
-------------------------------------------------------*/
.youtube-player-wrapper {
  position: relative;
  padding-top: 56.25%; /* 16:9 aspect ratio */
  background: #000;
  overflow: hidden;
}

.youtube-player-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.youtube-player-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.youtube-replay-overlay {
  z-index: 10;
}

/* ----------------------------------------------------
	Button Hover Fix - Keep text visible on hover
-------------------------------------------------------*/
.submit-btn-1:hover,
.submit-btn-1:focus,
a.submit-btn-1:hover,
a.submit-btn-1:focus {
  color: #fff !important;
  background: #333;
}

.submit-btn-1 {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

/* ----------------------------------------------------
	Modal Positioning Fix - Must be above header (99999)
-------------------------------------------------------*/
.modal {
  z-index: 1000000 !important;
}

.modal-backdrop {
  z-index: 999999 !important;
}

.modal-dialog {
  margin: 1.75rem auto;
}

.modal-body {
  overflow-y: auto;
  max-height: calc(100vh - 220px);
}

/* ----------------------------------------------------
	Modal Form Styling - Match Subas theme
-------------------------------------------------------*/
.modal .new-customers textarea {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid #ebebeb;
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  resize: vertical;
}

.modal .new-customers textarea:focus {
  border-color: var(--theme-color);
  outline: none;
}