/* WY 11/29: Styles added to implement custom dropdown (dropdown with bootstrap and twitter/facebook JS caused conflicts and prevented some styles customization) */

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-button {
  border: 1px solid #828282;
  border-radius: 4px;
  cursor: pointer;
  padding: 3px 5px;
}

#dropdownButton:hover {
  color: #0B4971 !important;
}

#dropdownButton:hover .share-icon {
  filter: invert(65%) sepia(92%) saturate(5831%) hue-rotate(191deg) brightness(91%) contrast(88%); /* Change color of the share svg on hover to #00758E */
}

.dropdown-content {
  display: none;
  position: absolute;
  width: max-content;
  margin: 0px;
  inset: 0px auto auto 0px;
  transform: translate(0px, 29px);
  z-index: 1;
  background: #FFF;
  border: 1px solid #BDBDBD;
  border-radius: 4px;
}

.dropdown-content a {
  color: #333333;
  line-height: 16px;
  padding: 12px 16px;
}

.dropdown-content a:hover {
  background-color: #EEF4F4;
}


/* Styles added 11/21 for sharing icons, limiting width */
.restricted-width {
  max-width: 1400px;
  /* Center the container horizontally */
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* This ensures content doesn't exceed the 1400px limit */
.centered-content {
  max-width:100%;
}

.title-area {
  width: max-content;
  max-width: 100%; /* 2/3rds of 1400px */
}

.product-description li {
  text-rendering: optimizeLegibility;
  line-height: 24px;
}

/* Young's styling added 11/8 */
.add-cart-card {
  border: 1px solid #bdbdbd;
  border-radius: 12px;
  padding: 20px;
}
/* add-item offcanvas styling */
.extra-btn {
  font-size: 0.9rem;
  border-radius: 0.25rem;
  opacity: 75%;
}

.extra-btn:hover {
  background-color: #f8f9fa;
  opacity: 100%;
}

.cart-checkout .btn {
  padding: 5px !important;
}


/* .prices .cut-price {
  text-decoration: line-through;
  /* color: maroon !important; }*/

/* .prices .per-item-text {
  font-size: 14px;
} */

.accordion-header a {
  background-color: #fff !important;
  text-decoration: none;
}

.custom-card {
  border: none;
}

.custom-card .card-header {
  border-bottom: 1px solid #dee2e6;
}

#carousel_big_image {
  margin-top: 5%;
}
#carousel_small_images {
  position: relative;
  margin-top: 60px;
}
#small_images {
  position: relative;
  margin-top: -25px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0 50px;
  width: 100%;
  position: static;
  right: 0;
  bottom: 0;
  margin-right: 0;
  margin-left: 0;
}

.checkout-section {
  background-color: #f8f9fa;
  border-radius: 0.25rem;
  outline: 1px solid lightgrey;
}

.quantity-change .btn {
  padding: 0 !important;
  border: none !important;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"].form-control {
  width: 55px;
  padding: 0 20px !important;
  -moz-appearance: textfield;
  text-align: center;
}

.btn-checkout {
  background-color: orange;
}

/* .product-section, .checkout-section {
  padding-right: 1rem;
  padding-left: 1rem;
} */

.product-section h4,
h5,
p {
  margin-bottom: 0%;
}

a {
  cursor: pointer;
  text-decoration: none;
  color: #2c6aa6;
  font-weight: 550;
}

a:hover {
  color: #3786bd;
}

.detail-section {
  margin-bottom: 0.5rem;
}

.detail-section .form-control {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.bi-star-fill {
  color: #f0ad4e;
}

.product-title {
  font-family: "Poppins" !important;
  text-rendering: optimizeLegibility;
  line-height: 32px;
  font-weight: 500;
  word-break: break-word;
}

.product-nums {
  font-size: 14px;
  color: #4f4f4f;
  font-family: "Poppins";
}

.main-price strong {
  font-size: 30px;
}

.main-price sup {
  font-size: 12px;
  vertical-align: super;
}

.amt-saved {
  font-size: 16px;
  color: #666;
  font-weight: 400;
}

.option-list ul,
.option-list p {
  padding-left: 0%;
  padding-bottom: 0.5rem;
  margin-bottom: 0;
}

.option-list li {
  list-style: none;
  display: inline-block;
  padding: 2px;
  margin-right: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  border-radius: 0.25rem;
  opacity: 75%;
  outline: 1px solid lightgrey;
}

.clickable-item {
  cursor: pointer;
  outline: 1px solid lightgrey;
}

.option-list li:hover,
.option-list li:active,
.clickable-item:hover,
.clickable-item:active {
  background-color: #f2f2f2;
}

.clicked,
.option-list .clicked,
.option-list li:hover,
.option-list li:active,
.clickable-item:hover,
.clickable-item:active {
  outline: 1px solid #000;
  opacity: 100%;
}

.disabled-element {
  opacity: 50%;
  cursor: not-allowed;
}

/* extra css added 10/16 */

.accordion-button {
  background-color: white !important;
}
.accordion-button:not(.collapsed),
.accordion-button:not(.collapsed):focus {
  box-shadow: rgb(0 0 0 / 0%) 0px 0px 0px;
}

.accordion-header a {
  background-color: #fff !important;
  text-decoration: none;
}

.custom-card {
  border: none;
}

.custom-card .card-header {
  border-bottom: 1px solid #dee2e6;
}

#carousel_big_image {
  margin-top: 5%;
}
#carousel_small_images {
  position: relative;
  margin-top: 60px;
}
#small_images {
  position: relative;
  margin-top: -25px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  position: static;
  right: 0;
  bottom: 0;
  margin-right: 0;
  margin-left: 0;
}

button.main-small-image {
  width: 64px;
  height: 50px;
}

.not-allowed-cursor {
  cursor: not-allowed !important;
}

/* Styles updated 11/10 */
p,
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  margin-bottom: 0%;
}

p.discount {
  width: 3.625rem;
  background: #c30000;
  border-radius: 0.1875rem;
  color: #fff;
  font-family: Poppins;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.01625rem;
  padding: 5px 0px;
  border-radius: 5px;
}

p.tag {
  width: 3.625rem;
  background: #0b4971;
  border-radius: 0.1875rem;
  color: #fff;
  font-family: Poppins;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.01625rem;
  padding: 5px 0px;
}

p.list-price {
  text-decoration: line-through;
  flex-shrink: 0;
  font-family: Poppins;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.25rem;
  letter-spacing: -0.02rem;
  color: #828282 !important;
}

p.in-stock {
  color: #ff6636 !important; /* same as secondary-1 */
  font-family: Poppins;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.75rem; /* 175% */
  letter-spacing: -0.02rem;
}

.inventory-none {
  color: #4f4f4f !important;
  font-family: Poppins;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.75rem; /* 175% */
  letter-spacing: -0.02rem;
}

.inventory-few {
  color: #C30000 !important;
  font-family: Poppins;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.75rem; /* 175% */
  letter-spacing: -0.02rem;
}

.quantity-change input {
  height: 40px;
}

.btn-lg.add-to-cart {
  margin-top: 10px;
  padding: 0px 0px !important;
  width: 100%;
}

/* Updated Styles for offcanvas */
.title-overflow {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.qty {
  color: var(--gray-scale-gray-2, #4f4f4f);
  /* Body Default */
  font-family: Poppins;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.375rem;
}

.border-top {
  border-top: 1px solid #BDBDBD;
}

.offcanvas-body {
  padding-top: 0px;
}

.additem-offcanvas {
  width: 30rem;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  height: auto;
  max-height: 100vh;
  /* flex-grow: 1; */
  border-radius: 5px 0 5px 5px ;
}

.offcanvas.additem-offcanvas {
  bottom: auto;
}

@media (max-width: 768px) {
  .additem-offcanvas {
    width: 100vw;
    height: 110vh;
  }
}