/* app css stylesheet */

body {
  padding-top: 20px;
  background-color: white;
  font-family: 'Sarabun', sans-serif;
}

header {
  font-size: 50px;
  margin-left: 30px;
  margin-bottom: 0px;
}

.search {
  display: flex;
  flex-direction: column;
}

.sort {
  display: flex;
  flex-direction: column;
  margin-top: 14px;
}

.input-option {
  height: 32px;
  border: none;
  border-bottom: 2px solid black;
  outline: none;
}

hr {
  width: 95%;
  margin-left: 30px;
  margin-right: auto;
  height: 7px;
  background-color:#666;
  opacity: 0.5;
}

.basket-header {
  font-size: 1.5em;
  margin-top: 30px;
}

button[data-element='clear-basket-button'] {
  margin-top: 10px;
  margin-bottom: 10px;
}

.phone-images {
  background-color: white;
  width: 450px;
  height: 450px;
  overflow: hidden;
  position: relative;
  float: left;
}

.phones {
  list-style: none;
}

.thumb {
  float: left;
  margin: -0.5em 1em 1.5em 0;
  padding-bottom: 1em;
  height: 100px;
  width: 100px;
}

.phones__btn-buy-wrapper {
  align-items: center;
  float: right;
  height: 100%;
  display: flex;
  margin: 0 1em;
}

.phones li {
  clear: both;
  height: 115px;
  padding-top: 15px;
}

/** Detail View **/
img.phone {
  float: left;
  margin-right: 3em;
  margin-bottom: 2em;
  background-color: white;
  padding: 2em;
  height: 400px;
  width: 400px;
  display: none;
}

div[data-element="quantity"] {
  color: blue;
}

img.phone:first-child {
  display: block;
}

ul[data-element='basket'] {
  list-style: none;
}

div[data-element="basket-item"] {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13px;
  margin-top: 5px;
  padding: 10px;
  margin-left: -40px;
  border-top: 1px solid #e6e6ff;
  border-bottom: 1px solid #e6e6ff;
}

.qty-button {
  display: flex;
}

ul.phone-thumbs {
  margin: 0;
  list-style: none;
}

ul.phone-thumbs li {
  border: 1px solid black;
  display: inline-block;
  margin: 1em;
  background-color: white;
}

ul.phone-thumbs img {
  height: 100px;
  width: 100px;
  padding: 1em;
}

ul.phone-thumbs img:hover {
  cursor: pointer;
}

ul.specs {
  clear: both;
  margin: 0;
  padding: 0;
  list-style: none;
}

ul.specs > li{
  display: inline-block;
  width: 200px;
  vertical-align: top;
}

ul.specs > li > span{
  font-weight: bold;
  font-size: 1.2em;
}

ul.specs dt {
  font-weight: bold;
}

h1 {
  border-bottom: 1px solid gray;
}

.basket__clear-button {
  margin-top: 10px;
  margin-bottom: 10px;
}

.add-qty-button, .reduce-qty-button {
  color: darkred;
  font-size: 15px;
  right: 10px;
  display: block;
  width: 24px;
  height: 24px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.remove-button {
  color: darkred;
  font-size: 20px;
  right: 10px;
  display: block;
  width: 24px;
  height: 24px;
  border: none;
  background: transparent;
  cursor: pointer;
}

