/*
Theme Name: duyanhweb
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

body .section-title-center span,
body .off-canvas:not(.off-canvas-center) .nav-vertical li>a,
.nav-uppercase>li>a {
	text-transform: none !important;
}

@media only screen and (max-width: 48em) {
  /*************** ADD MOBILE ONLY CSS HERE  ***************/
}

.variations select {
  display: block !important;
}

.first.woocommerce-product-gallery__image[data-thumb=""]:not(
    [data-thumb="false"]
  )
  .box-iframe {
  display: block;
}

.first.woocommerce-product-gallery__image[data-thumb=""]:not(
    [data-thumb="false"]
  )
  img {
  display: none;
}

/* Ẩn box-iframe mặc định */
.woocommerce-product-gallery__image .box-iframe {
  display: none;
}

.woocommerce-product-gallery__image .box-iframe {
  position: relative;
  width: 100%;
  padding-top: 100%;
}

.woocommerce-product-gallery__image iframe {
  width: 100%;
  position: absolute;
  top: 0;
  height: 100%;
}

#tinh_thanh.storelocation-ddl {
  color: #515154;
  border: 1px solid #ebebeb;
  border-radius: 8px;
  box-shadow: none;
  width: auto;
  padding-right: 30px;
}

#tinh_thanh.storelocation-ddl:focus {
  border-color: #0066cc;
}

#quick-strore-availability h3 {
  text-align: center;
  font-size: 24px;
  font-weight: bold;
}

#quick-strore-availability ul {
  list-style: none;
}

#quick-strore-availability ul li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
  padding: 15px 0;
  border-bottom: 1px solid #e5e5e5;
  color: #3a3a3a;
  font-size: 15px;
}

.title_store_stock {
  font-weight: 700;
  font-size: 15px;
  line-height: 21px;
  color: #1d1d1f;
  padding-bottom: 8px;
}

.subtitle_store_stock {
  font-weight: 400;
  font-size: 15px;
  line-height: 24px;
  color: #515154;
}

.subtitle_store_stock:before {
  content: "";
  background-image: url(/wp-content/uploads/location_pin.png);
  background-size: 20px;
  background-repeat: no-repeat;
  background-position-x: 83%;
  background-position-y: -2px;
  margin: 20px 8px 0 0;
  padding: 0px 6px 2px 14px;
}

.subtitle_store_phone {
  font-weight: 400;
  font-size: 15px;
  line-height: 24px;
  color: #515154;
}

.subtitle_store_phone:before {
  content: "";
  background-image: url(/wp-content/uploads/svgexport-1.png);
  background-size: 16px;
  background-repeat: no-repeat;
  background-position-x: 83%;
  background-position-y: 0px;
  margin: 20px 8px 0 0;
  padding: 0px 6px 2px 14px;
}

.popup_strore_availability {
  font-size: 14px;
  color: #0066cc;
  line-height: 1.4;
  padding-bottom: 20px;
  display: block;
  cursor: pointer;
}

.popup_strore_availability::before {
  content: "\f1ad";
  font-family: "FontAwesome";
  font-size: 16px;
  padding-right: 10px;
  color: #0066cc;
}

.storelocation-all {
  position: absolute;
  right: 0;
  top: 0;
}

.shop-container-title {
  display: flex;
  align-items: center;
  justify-content: end;
  margin-bottom: 15px;
}

.shop-container-title .woocommerce-result-count {
  display: none;
}

.compare-iphone-btn {
  color: #777;
  border: 1px solid #ebebeb;
  height: 48px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  min-height: 48px;
  padding: 12px 15px;
  cursor: pointer;
  font-size: 15px;
  max-width: 300px;
}

.compare-iphone-btn img {
  width: 26px;
  height: auto;
  margin-right: 12px;
}

select.orderby {
  color: #777;
  border: 1px solid #ebebeb;
  height: 48px;
  border-radius: 8px;
  margin: 0;
  background-color: #fff;
  box-shadow: none !important;
}

.shop-container-title .woocommerce-ordering {
  display: none;
}

ul.sub-category-grid {
  margin-bottom: 0;
}

.cs-main-title h2 {
	font-size: 40px;
    line-height: 44px;
    letter-spacing: -0.01rem;
    font-weight: 600;
    margin-bottom: 42px;
}

@media only screen and (max-width: 48em) {
  /*************** ADD MOBILE ONLY CSS HERE  ***************/
  .shop-page-title .flex-col.medium-text-center:not(.flex-grow) {
    display: none;
    width: 0;
  }

  .page-title-inner.flex-row.medium-flex-wrap.container {
    min-height: unset;
    padding: 10px;
    padding-top: 10px !important;
    text-align: left;
  }

  .shop-container-title {
    justify-content: space-between;
    gap: 15px;
  }

  .compare-iphone-btn {
    width: 50%;
  }

  .shop-container-title .woocommerce-ordering {
    display: block;
    width: 50%;
  }

  .storelocation-all {
    position: relative;
  }
	
	.cs-main-title h2 {
		font-size: 32px;
		line-height: 36px;
		letter-spacing: 0rem;
		margin-bottom: 30px;
	}
}



/*  */

.custom-repare-row .large-3 {
  flex-basis: 20%;
  max-width: 20%;
}

.product-display {
  font-size: 12px;
  font-weight: 300;
}

.product-display .prd-color {
  color: #6e6e73;
  font-weight: bold;
  line-height: 1.4;
  margin: 15px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.prd-box * {
  margin-bottom: 10px;
}

.prd-box {
  margin-bottom: 30px;
}

.prd-screen_size {
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 10px;
}

.prd-chip_image,
.prd-camera_image {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prd-chip_image img {
  margin-bottom: 0;
  width: 38px;
  height: 38px;
  border-radius: 5px;
}

.prd-design_description img {
  width: 40px;
  height: 40px;
  border-radius: 5px;
}

.prd-camera_image img {
  margin-bottom: 0;
  width: 38px;
  height: 38px;
  border-radius: 5px;
}

.prd-design_description {
  min-height: 88.4px;
}

.text-empty {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 88.4px;
}

.prd-feature_descriptions .text-empty {
  min-height: 162px;
}

.prd-camera_features {
  min-height: 126px;
}

select.select-iphone {
	background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgb(255, 255, 255) 60%, rgb(255, 255, 255) 100%);
    border: 0;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom: 1px solid #ddd;
}

.sm-text p {
	font-size: 12px;
    margin-bottom: 10px;
}

.prd-link {
	border-top: 1px solid #ddd;
    padding-top: 15px;
    margin-bottom: 20px;
}

.prd-link .product-link {
	padding: 7px 15px;
    border: 1px solid;
    font-size: 16px;
    color: #000;
    border-radius: 99px;
    display: block;
    width: fit-content;
    margin: 0 auto;
    line-height: 1;
}

@media only screen and (max-width: 48em) {
  .custom-repare-row .large-3 {
    flex-basis: 50%;
    max-width: 50%;
  }
}
