@import url('../css2');

:root {
	--body-fonts: "Figtree", Sans-serif;
	--header-btn-color: #000;
	--searchIpt-border-style: 1px solid #000;
	--nav-bgcolor: #f5aa9d;
	--box-border-style: 2px solid #444;
	--goods-list-item-border-color: #fff;
	--goods-list-item-border-hover: #fff;
	--goods-list-item-pic-height-default: 258.75px;
	--goods-list-item-pic-height-4: calc(25VW - 53px);
	--goods-list-item-pic-height-3: calc(33VW - 53px);
	--goods-list-item-pic-height-2: calc(50VW - 63px);
	--goods-styles-border-color: #f5aa9d;
	--title-color: #f5aa9d;
	--add-to-cart-color: #f5aa9d;
	--add-to-cart-bgcolor: #F7EFEC;
	--buy-now-color: #fff;
	--buy-now-bgcolor: #f5aa9d;
	--checkout-bgcolor: #f5aa9d;
	--pager-total-info-b-color: #f5aa9d;
	--pager-btn-color: #666;
	--pager-btn-bgcolor: #f5efec;
	--pager-btn-selected-color: #fff;
	--pager-btn-selected-bgcolor: #f5aa9d;
}

blockquote,body,button,dd,div,dl,dt,form,h1,h2,h3,h4,h5,h6,input,li,ol,p,pre,td,textarea,th,ul,li,label,b,article,span {
	margin: 0;
	padding: 0;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}
input { outline: 0; }
img { display: inline-block; vertical-align: middle;  border: none; }
li { list-style: none; }
table {
	border-collapse: collapse;
	border-spacing: 0;
}
table th, table td {
	border: 1px solid #999;
	padding: 5px 8px;
}
h1,h2,h3,h4,h5,h6 { font-weight: 400; }
h4,h5,h6 { font-size: 100%; }

a { color: #444444; text-decoration: none;  }
a:hover { color: #000; }
a:active,a:hover { outline:0; }
.row {
	display: flex;
	flex-direction: row;
}
article {
	padding: 20px 0;
	font-size: 18px;
	overflow-x: auto;
}
article p {
	margin: 15px 0;
}
article table {
	margin: 10px 0;
}
article img{
	max-width:100%;
}

body {
	font-family: var(--body-fonts);
	font-size: 14px;
}
.container {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}
.container .container {
	margin: 0;
}

/* header */
.header-top {
	/* display: none; */
	height: 35px;
	line-height: 35px;
	background-color: #f5aa9d;
	text-align: center;
}
.header-top ul li {
	display: inline;
	margin-right: 15px;
}
.header-top ul li:last-child {
	margin-right: 0;
}
.header-top, .header-top a, .header-top a:hover {
	color: #fff;
}
.header-top a:hover {
	text-decoration: underline;
}
.header-body .container {
	position: relative;
	min-height: 100px;
	display: flex;
	align-items: center;
	justify-content: end;
	overflow-x: hidden;
}
.header-body #btn-header-menu,
.header-body .logo,
.header-body .search-bar,
.header-body .login-bar,
.header-body .cart-bar {
	position: absolute;
	top: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	z-index: 2;
}
.header-body .search-bar {
	right: 160px;
}
.header-body .login-bar {
	right: 80px;
}
.header-body #btn-header-menu {
	display: none;
	align-items: center;
	justify-content: center;
	position: absolute;
	left: 0;
	width: 50px;
	height: 60px;
	color: var(--header-btn-color);
	font-size: 1.25em;
	cursor: pointer;
}
.header-body .logo {
	left: 0;
	display: flex;
	justify-content: center;
	z-index: 1;
}
.header-body .logo a {
	height: 100%;
	display: flex;
	align-items: center;
}
.header-body .logo a img {
	max-height: 70px;
}
.header-body .searchIpt {
	right: -300%;
	width: 270px;
	height: 35px;
	line-height: 35px;
	margin-right: 150px;
	padding-left: 15px;
	padding-right: 50px;
	border: var(--searchIpt-border-style);
	border-radius: 40px;
	font-family: var(--body-fonts);
	transition: all 0.3s ease;
	z-index: 2;
}
.header-body .search-bar button {
	border: 0;
	background-color: transparent;
	cursor: pointer;
	color: var(--header-btn-color);
}
.header-body .login-bar a,
.header-body .cart-bar a {
	font-size: 1.5em;
	color: var(--header-btn-color);
}
.header-body .login-bar .btn-hiuser {
	margin: 0 -38px;
	width: 90px;
	line-height: 30px;
	color: #fff;
	font-size: 12px;
	font-weight: bold;
	text-align: center;
	border: 1px solid var(--header-btn-color);
	background-color: var(--header-btn-color);
	border-radius: 8px;
	overflow: hidden;
}
.header-body .login-bar + div.login-bar {
	display: none;
}
.header-body .cart-bar {
	right: 0;
}
#slogan-text .title {
	display: block;
	margin: 0 0 15px 0;
	line-height: 50px;
	font-size: 16px;
	text-align: center;
	background-color: #F7EFEC;
}
#slogan-text .title, #slogan-text .title a {
	color: #f5aa9d;
}
#slogan-text .title a {
	text-decoration: underline;
}

/* main */
.breadcrumb {
    margin-top: 15px;
    padding: 15px;
    color: #000000;
    /* background-color: #000000; */
}
.breadcrumb li {
	display: inline;
}
.breadcrumb li::after {
	content: "";
	display: inline-block;
	margin: 0 10px;
	position: relative;
	top: -2px;
	width: 4px;
	height: 4px;
	border-left: 1px solid #444;
	border-top: 1px solid #444;
	transform: rotate(135deg);
}
.breadcrumb li:last-child::after {
	display: none;
}
.breadcrumb li i.fa-home {
	margin-right: 5px;
	color: #f5aa9d;
}
.breadcrumb li a {
	color: #f5aa9d;
}
.breadcrumb li a:hover {
	text-decoration: underline;
}
.swiper-box .prev, .swiper-box .next {
    margin-top: -30px;
}
.swiper-box a:hover {
	color: #fff;
}

/* footer */
footer {
	margin-top: 50px;
	padding-bottom: 50px;
	text-align: center;
}
footer > nav {
    margin-bottom: 30px;
    /* background-color: #333; */
    border-top: 1px solid #ededed;
}
footer > nav ul {
	padding: 30px;
}
footer > nav ul li {
	display: inline-block;
}
footer > nav ul li a span {
	color: #000;
}
footer > nav ul li::after {
	content: "/";
	color: #888;
	font-size: 12px;
	margin: 0 20px;
}
footer > nav ul li:last-child::after {
	display: none;
}
footer > nav ul li a:hover {
	text-decoration: underline;
}
footer > nav ul li img {
	max-height: 30px;
}
footer > .footer-logo {
	margin: 15px;
}
footer > .footer-logo > a > img {
	max-width: 100%;
	max-height: 50px;
}
footer > .address {
	padding: 0 15px;
	font-size: 14px;
	color: #999;
}

/* user center */
.user-menu {
	margin: 15px auto;
	padding-bottom: 15px;
	display: flex;
	gap: 10px;
	border-bottom: 1px solid #eee;
}
.user-menu a {
	display: flex;
	align-items: center;
	padding: 5px 16px;
	height: 30px;
	line-height: 1.2;
	color: #333;
	font-weight: bold;
	text-align: center;
	border: 2px solid #333;
	background-color: #fff;
	border-radius: 4px;
}
.user-menu a.selected {
	color: #fff;
	border-color: #f5aa9d;
	background-color: #f5aa9d;
}
.info-description {
	padding: 15px 0;
	line-height: 2;
}
.info-description a {
	color: #f5aa9d;
	text-decoration: underline;
}
.order-item {
	position: relative;
	margin-bottom: 20px;
	padding: 10px 20px;
	border: var(--box-border-style);
	border-radius: 8px;
	background-color: #fff;
}
.order-item dt, .order-item dd {
	padding: 10px 0;
	display: flex;
	gap: 10px;
}
.order-item dt {
	padding-bottom: 15px;
	margin-bottom: 15px;
	font-size: 16px;
	font-weight: bold;
	border-bottom: 1px solid #444;
}
.order-item dt .order-no {
	color: red;
}
.order-item dd label {
	font-weight: bold;
}
.order-item dt label::after, 
.order-item dd label::after {
	content: " :";
}
.order-item dd .order-detail {
	position: absolute;
	right: 15px;
	bottom: 15px;
}
.order-item dd .order-detail::after {
	display: none;
}
.order-item dd .order-detail a {
	display: block;
	padding: 0 15px;
	height: 40px;
	line-height: 40px;
	color: #fff;
	background-color: #444;
	border-radius: 8px;
	cursor: pointer;
}
h3.order-no {
	margin: 20px 0;
	font-size: 16px;
	font-weight: bold;
}
h3.order-no label {
	text-transform: uppercase;
}
h3.order-no span {
	margin-left: 10px;
	color: red;
}
.order-items > div {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	margin-bottom: 20px;
	padding: 20px;
	border: var(--box-border-style);
	border-radius: 8px;
}
.order-items > div > img {
	width: 80px;
    border-radius: 8px;
}
.order-items > div h1 {
	font-size: 16px;
	font-weight: bold;
}
.order-items > div .style-size,
.order-items > div .price {
	margin-top: 10px;
}
.order-items > div .price b {
	margin: 0 10px;
}
.shipping-info {
	margin-bottom: 20px;
	padding: 20px;
	border: var(--box-border-style);
	border-radius: 8px;
}
.shipping-info dt {
	margin-bottom: 20px;
	font-size: 20px;
	font-weight: bold;
	text-align: center;
}
.shipping-info dd {
	padding: 5px 0;
}
.shipping-info dd label {
	display: inline-block;
	margin-right: 10px;
	min-width: 100px;
	font-weight: bold;
}
.shipping-info dd {
	padding: 5px 0;
}
.shipping-info dd label {
	margin-right: 10px;
	font-weight: bold;
}
.shipping-info dd label::after {
	content: " :";
}

/* go top */
.chatonline,
.go-top {
	position: fixed;
	right: 15px;
	bottom: -100px;
	opacity: 0.8;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background-color: #f5aa9d;
	transition: all 0.3s ease;
	z-index: 9999;
	cursor: pointer;
}
.chatonline {
	left: 15px;
	right: unset;
	bottom: 6%;
	width: auto;
	padding: 0 15px;
	border-radius: 8px;
}
.chatonline, .chatonline a {
	color: #fff;
	font-size: 16px;
}
.chatonline:hover,
.go-top:hover {
	opacity: 0.6;
}
.chatonline::before {
	content: "\f025";
	font-family: "FontAwesome";
	margin-right: 5px;
}
.go-top::before {
	content: "";
	position: relative;
	top: 0px;
	width: 12px;
	height: 12px;
	border-left: 3px solid #fff;
	border-top: 3px solid #fff;
	transform: rotate(45deg);
}
.go-top::after {
	content: "";
	position: absolute;
	top: 18px;
	width: 3px;
	height: 16px;
	background-color: #fff;
}

/* pager */
.pager {
	text-align: center;
}
.pager > a {
	display: inline-block;
	margin: 5px;
	padding: 0 10px;
	min-width: 20px;
	height: 40px;
	line-height: 40px;
	color: var(--pager-btn-color);
	font-size: 14px;
	text-decoration: none;
	vertical-align: middle;
	border-radius: 25px;
	background-color: var(--pager-btn-bgcolor);
}
.pager > a.total-info {
	display: block;
	margin: 20px 0;
	background-color: inherit;
}
.pager > a.total-info > b {
	margin: 0 5px;
	color: var(--pager-total-info-b-color);
	font-size: 16px;
}
.pager > a.selected,
.pager > a:last-child {
	color: var(--pager-btn-selected-color);
	border-color: var(--pager-btn-selected-bgcolor);
	background-color: var(--pager-btn-selected-bgcolor);
}
.pager > a:last-child { cursor: pointer; }
.pager > input, .pager > select {
	margin: 0 5px;
	padding: 0 5px;
	width: 28px;
	height: 38px;
	border: 1px solid #444;
	border-radius: 20px;
	text-align: center;
}
.pager > select {
	width: 50px;
	height: 30px;
}

/* goods-list */
.goods-list {
	flex-grow: 1;
}
.data-block > .header,
.goods-list > .header  {
	position: relative;
	margin: 10px 0 40px 0;
	padding: 30px 0;
	color: #333;
	font-size: 35px;
	font-weight: bold;
}
.data-block > .header::before,
.data-block > .header::after,
.goods-list > .header::before,
.goods-list > .header::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 5px;
}
.data-block > .header::before,
.goods-list > .header::before {
	background-color: #333;
}
.data-block > .header::after,
.goods-list > .header::after {
	left: 10%;
	width: 30px;
	transform: skewX(55deg);
	border-right: 10px solid #fff;
	border-left: 10px solid #fff;
	background-color: #f5aa9d;
}
.data-block > .description,
.goods-list > .description  {
	position: relative;
	top: -20px;
	color: #666;
	font-size: 20px;
}
.goods-list > .body {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 15px;
}
.goods-list > .body > div {
	position: relative;
	padding: 15px;
	border-radius: 30px;
	background-color: #fff;
	/*box-shadow: 0 0 24px 0 rgba(19, 82, 111, 0.2);*/
	text-align: center;
	overflow: hidden;
	transition: all .3s;
}
.goods-list > .body > div:hover {
}
.goods-list > .body > div:hover > h1 > a {
	color: #000;
}
.goods-list > .body > div > a  {
	display: block;
	/*border-radius: 20px;*/
	text-align: center;
	overflow: hidden;
}
.goods-list > .body > div > a > img  {
	max-width: 100%;
	max-height: var(--goods-list-item-pic-height-default);
	transition: all 0.3s;
}
.goods-list > .body > div > a:hover > img {
	transform: scale(1.2);
}
.goods-list > .body > div > h1  {
	margin: 20px 0;
	line-height: 1.2em;
	max-height: 2.4em;
	font-size: 16px;
	overflow: hidden;
}
.goods-list > .body > div > h1 > a:hover {
	text-decoration: underline;
}
.goods-list > .body > div > .price-market > label,
.goods-list > .body > div > .price-selling > label  {
	display: none;
}
.goods-list > .body > div > .price-market > span  {
	display: inline-block;
	margin-bottom: 5px;
	color: #999;
	text-decoration: line-through;
}
.goods-list > .body > div > h1  {
	margin: 20px 0;
	line-height: 1.2em;
	max-height: 2.4em;
	font-size: 16px;
	overflow: hidden;
	text-decoration: underline;
}
.goods-list > .body > div > h1 > a:hover {
	text-decoration: underline;
}
.goods-list > .body > div > .price-market > label,
.goods-list > .body > div > .price-selling > label  {
	display: none;
}
.goods-list > .body > div > .price-market > span  {
    display: inline-block;
    margin-bottom: 5px;
    color: #f5aa9d;
    text-decoration: line-through;
    font-size: 16px;
}
.goods-list > .body > div > .price-selling > span  {
	color: #f5aa9d;
	font-size: 18px;
	font-weight: bold;
}
.goods-list > .body > div > a::before {
  content: "Sale!";
  position: absolute;
  right: 10px;
  top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  border-radius: 50%;
  background-color: #f5aa9d;
  z-index:2;
}
.price-market,.price-selling{
display:inline-block;
}
.goods-list > .body > div > .digit  {
	display: none;
	margin-top: 10px;
	font-size: 14px;
}
.goods-list > .body > div > .digit > label {
	margin: 0 5px;
	color: #999;
}
.goods-list > .body > div > .digit  {
	display: none;
	margin-top: 10px;
	font-size: 14px;
}
.goods-list > .body > div > .digit > label {
	margin: 0 5px;
	color: #999;
}
.goods-list > .footer {
	margin-top: 30px;
	text-align: center;
}

/* goods-detail */
.panel-goods-style {
	margin: 30px 0 30px 0;
	width: 50%;
}
.panel-goods-style .pic-viewer img {
	max-width: 100%;
	border-radius: 10px;
}
.panel-goods-style .style-pics {
	margin-top: 10px;
}
.panel-goods-style .style-pics input[type="radio"] {
	display: none;
}
.panel-goods-style .style-pics input[type="radio"][name="style-pics"]+div {
	display: none;
}
.panel-goods-style .style-pics input[type="radio"][name="style-pics"]:checked+div {
	display: block;
}
.panel-goods-style .style-pics img,
.panel-goods-details .goods-styles img {
	display: inline-block;
	margin: 10px 3px 0 0;
	padding: 3px;
	width: auto;
	height: 60px;
	border: 2px solid #F2F2F2;
	border-radius: 8px;
	cursor: pointer;
}
.panel-goods-style .style-pics img.selected,
.panel-goods-style .style-pics img:hover,
.panel-goods-details .goods-styles img.selected,
.panel-goods-details .goods-styles img:hover {
	border-color: var(--goods-styles-border-color);
}
.panel-goods-details {
	margin: 30px 0 30px 20px;
	width: 50%;
}
.panel-goods-details h1 {
	margin-bottom: 20px;
	text-align: left;
}
.panel-goods-details h1 + div {
	text-align: left;
}
.panel-goods-details .price-selling {
	color: #f5aa9d;
	font-size: 28px;
	font-weight: bold;
}
.panel-goods-details .price-market {
	margin-left: 10px;
	color: #999;
	font-size: 16px;
	text-decoration: line-through;
}
.panel-goods-details .digit {
    display: flex;
    gap: 10px;
    justify-content: start;
    margin: 20px 0;
    padding: 10px 0;
    /* border-radius: 30px; */
    /* background-color: #F7EFEC; */
}
.panel-goods-details .digit label {
	display: flex;
	align-items: center;
	color: #444;
}
.panel-goods-details .digit label i {
	color: #f5aa9d;
	font-size: 18px;
}
.panel-goods-details .digit label span {
    margin-left: 0;
    display: inline-block;
    padding: 2px 10px;
    color: #000000;
    font-size: 14px;
    /* border-radius: 20px; */
    /* background-color: #f5aa9d; */
    vertical-align: middle;
}
.panel-goods-details .goods-styles {
	margin-bottom: 20px;
}
.panel-goods-details select[name="goodsSize"]{
	display: block;
	margin: 10px 0 20px 0;
	padding: 5px;
	width: auto;
	height: 44px;
	font-size: 16px;
	border: var(--box-border-style);
}
.panel-goods-details input[type="number"]{
	display: block;
	margin-top: 10px;
	padding: 5px;
	width: 100px;
	height: 30px;
	font-size: 18px;
	text-align: center;
	border: var(--box-border-style);
}
.panel-goods-details .panel-cart-buttons {
	margin-top: 50px;
	display: grid;
	gap: 15px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.panel-goods-details .panel-cart-buttons .btn {
	height: 50px;
	padding: 0 15px;
	font-size: 18px;
	border: 0;
	border-radius: 4px;
	cursor: pointer;
}
.panel-goods-details .panel-cart-buttons .btn i {
	margin-right: 10px;
	font-size: 16px;
}
.panel-goods-details .panel-cart-buttons .btn-add-to-cart {
	color: var(--add-to-cart-color);
	background-color: #000000;
}
.panel-goods-details .panel-cart-buttons .btn-buy-now {
	color: var(--buy-now-color);
	border: 1px solid var(--buy-now-bgcolor);
	background-color: var(--buy-now-bgcolor);
}

/* cart step1 */
.cart-header {
	padding: 20px 0;
	color: var(--title-color);
	font-size: 30px;
	font-weight: bold;
	text-align: center;
}
.cart-header + .row {
	flex-direction: column;
}
.panel-cart .header {
	font-weight: bold;
}
.panel-cart .header,
.panel-cart .cart-item {
	padding: 20px 10px;
}
.panel-cart .header::after,
.panel-cart .cart-item::after {
	content: "";
	display: block;
	clear: both;
}
.panel-cart .cart-item {
	margin-bottom: 20px;
	border: var(--box-border-style);
	border-radius: 8px;
	background-color: #fff;
}
.panel-cart .opt {
	float: left;
	width: 35px;
	padding-left:15px;
	display: block;
	font-size: 22px;
	cursor: pointer;
}
.panel-cart .pic {
	float: left;
	width: 100px;
}
.panel-cart .pic img {
	width: 80px;
	border-radius: 8px;
}
.panel-cart .title {
	float: left;
	width: calc(55% - 150px);
}
.panel-cart .title h1 {
	font-size: 18px;
}
.panel-cart .title span {
	display: block;
	color: #888;
	font-size: 14px;
}
.panel-cart .header .title {
	margin-left: 150px;
}
.panel-cart .price,
.panel-cart .quantity,
.panel-cart .subtotal {
	float: left;
	width: 15%;
	text-align: center;
}
.panel-cart .quantity > div {
	display: flex;
	align-items: center;
	justify-content: center;
}
.panel-cart .quantity input[type="number"] {
	margin-right: 10px;
	padding: 5px;
	width: 40px;
	height: 20px;
	font-size: 16px;
	text-align: center;
	border: var(--box-border-style);
}
.panel-cart .quantity .btn-save {
	font-size: 22px;
	cursor: pointer;
}
.panel-cart .cart-item label {
	display:none;
}
.panel-cart .cart-item .price, 
.panel-cart .cart-item .subtotal {
	font-size: 16px;
}
.panel-total .header {
	padding: 20px 0;
	color: var(--title-color);
	font-size: 30px;
	font-weight: bold;
	text-align: center;
}
.panel-total .body {
	font-size: 18px;
	line-height: 200%;
	text-align: right;
}
.panel-total .body label+div {
	display: inline-block;
	min-width: 150px;
}
.panel-total .body .opt {
	margin-top: 40px;
}
.panel-total .body .opt .btn-checkout {
	display: inline-block;
	height: 50px;
	line-height: 50px;
	padding: 0 50px;
	font-size: 18px;
	color: #fff;
	border: 0;
	border-radius: 4px;
	background-color: var(--checkout-bgcolor);
	cursor: pointer;
}

/* cart step2 */
#form-checkout .row {
	flex-direction: column;
}
.panel-shipping .header,
.panel-order .header {
	padding: 20px 0;
	color: var(--title-color);
	font-size: 30px;
	font-weight: bold;
	text-align: center;
}
.form-item {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 15px;
}
.form-item > div {
    margin: 10px 0;
}
.form-item select, 
.form-item input[type='text'], 
.form-item input[type='password'], 
.form-item input[type='email'] {
	display: block;
	margin: 5px 0;
	padding: 0 10px;
	width: calc(100% - 24px);
	height: 40px;
	border: 2px solid #000;
	border-radius: 8px;
	background-color: #fff;
	font-size: 16px;
	color: #444;
}
.form-item select {
	width: 100%;
	height: 44px;
}
.form-item label b{
	margin-left: 5px;
	color: red;
}
.form-item .error {
	display: inline-block;
	padding: 3px 5px;
	color: #fff;
	font-size: 12px;
	background-color: red;
	border-radius: 5px;
}
.form-item .error::before {
	content: "\f00d";
	margin: 0 5px 0 3px;
	font-family: "FontAwesome";
}
.panel-bill .header {
	margin: 30px 0;
	font-size: 18px;
	font-weight: bold;
}
.panel-bill .header label {
	cursor: pointer;
}
.panel-bill .header label span {
	margin-left: 10px;
}
#panel-bill .form-item {
	gap: 15px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
#panel-bill .form-item:first-child {
	grid-template-columns: repeat(1, minmax(0, 1fr));
}
#BillCardNumber {
	background: url(../images/logo_card.png) no-repeat right center;
	background-size: 100px;
}
.panel-order >.body > div {
	display: flex;
	gap: 15px;
	padding: 10px 0;
}
.panel-order >.body >div > div {
	flex-grow: 1;
	text-align: left;
}
.panel-order >.body >div > div:last-child {
	text-align: right;
}
.panel-order > .body > div > div > h1,
.panel-order > .body > div > label {
	font-size: 16px;
	font-weight: bold;
}
.panel-order > .body > div > label {
	min-width: 80px;
}
.panel-order > .body > div > div > h1 > a::before {
	content: "";
	position: relative;
	top: -3px;
	display: inline-block;
	margin: 0 10px 0 2px;
	width: 10px;
	height: 5px;
	border-left: 2px solid #444;
	border-bottom: 2px solid #444;
	transform: rotate(315deg);
}
.panel-order > .body > div > div > h1 > span {
	margin-left: 20px;
	font-weight: normal;
}
.panel-order > .body > .panel-shipping-mode > div:last-child, 
.panel-order > .body > .panel-payment-mode > div:last-child {
	text-align: left;
}
.panel-shipping-mode li,
.panel-payment-mode li {
	margin-bottom: 10px;
	min-height: 30px;
}
.panel-shipping-mode li label input[type='radio'],
.panel-payment-mode li label input[type='radio'] {
	cursor: pointer;
}
.panel-shipping-mode li label span,
.panel-payment-mode li label span {
	display: inline-block;
	margin: 0 5px;
	min-width: 50px;
	cursor: pointer;
}
.panel-shipping-mode img,
.panel-payment-mode img {
	display: inline-block;
	max-height: 30px;
	cursor: pointer;
}
.panel-shipping-mode li label span.shipping-mode-description,
.panel-payment-mode li label span.payment-mode-description {
	position: relative;
	display: block;
	margin: 10px 0 10px 18px;
	padding: 12px 15px;
	color: #000;
	line-height:1.6;
	background-color: #fcf8e3;
	border: 1px solid #faebcc;
	border-radius: 4px;
	cursor: default;
}
.panel-shipping-mode li label span.shipping-mode-description::before,
.panel-payment-mode li label span.payment-mode-description::before {
	content: "";
	position: absolute;
	left: 20px;
	top: -6px;
	width: 10px;
	height: 10px;
	border-left: 1px solid #faebcc;
	border-top: 1px solid #faebcc;
	background-color: #fcf8e3;
	transform: rotate(45deg);
	z-index: 1;
}
.shipping-mode-description a,
.payment-mode-description a {
	color: blue;
	text-decoration: underline;
}
.panel-order .footer .opt {
	margin: 30px 0;
	text-align: center;
}
.panel-order .footer .opt .btn-checkout {
	display: inline-block;
	height: 50px;
	line-height: 50px;
	padding: 0 50px;
	font-size: 18px;
	color: #fff;
	border: 0;
	border-radius: 4px;
	background-color: var(--checkout-bgcolor);
	cursor: pointer;
}
.panel-order #total-amount {
	font-size: 16px;
	font-weight: bold;
}

/* sign in */
.panel-sign {
	position: relative;
	display: block;
	margin: 40px auto 20px auto;
	padding: 20px;
	width: 360px;
	border-radius: 30px;
	background-color: #fff;
	box-shadow: 0 0 18px 0 rgba(19, 82, 111, 0.2);
	text-align: center;
}
.panel-sign .welcome {
	font-size: 18px;
	font-weight: bold;
}
.panel-sign .icon {
	margin: 10px 0;
	color: #f5aa9d;
	font-size: 40px;
	line-height: 1;
}
.panel-sign .header {
	font-size: 16px;
}
.panel-sign .desc {
	margin: 5px 0 15px 0;
	font-size: 14px;
	color: #666;
}
.panel-sign label {
	display: block;
	margin: 5px 0;
	text-align: left;
	font-size: 16px;
	font-weight: bold;
}
.panel-sign label b {
    margin-left: 5px;
    color: red;
}
.panel-sign input,
.panel-sign .btn-sign-in,
.panel-sign .btn-sign-up {
	display: block;
	margin-bottom: 10px;
	padding: 0 10px;
	width: calc(100% - 24px);
	height: 40px;
	font-size: 16px;
	border: 1px solid #444;
	border-radius: 4px;
	background-color: #fff;
}
.panel-sign .btn-sign-in,
.panel-sign .btn-sign-up {
	margin: 20px 0;
	width: 100%;
	height: 44px;
	color: #fff;
	border-color: #f5aa9d;
	background-color: #f5aa9d;
	cursor: pointer;
}
.panel-sign .btn-sign-in:hover,
.panel-sign .btn-sign-up:hover {
	opacity: .7;
}
.panel-sign .btn-sign-in i,
.panel-sign .btn-sign-up i {
	margin-right: 10px;
}
.panel-sign .info-bottom a {
	color: #f5aa9d;
	text-decoration: underline;
}

/* checkout */
.commitLoading {
	background-image: url(../images/loading.gif);
	background-repeat: no-repeat;
	background-size: contain;
	opacity: 0.5;
}
.order-result {
	margin-top: 20px;
}
#order-success,
#order-pending,
#pending-bill-info {
	display: none;
}
#order-success h1.checkout-order-title {
	padding: 50px 0;
	font-size: 25px;
	text-align: center;
}
#order-success h1.checkout-order-title::before {
	content: "\f058";
	display: block;
	margin-bottom: 20px;
	font-family: "FontAwesome";
	font-size: 60px;
	color: green;
}
#order-success h1.checkout-order-title + div {
	margin-bottom: 50px;
	text-align: center;
}
#order-success h1 span.checkout-order-no {
	color: red;
}
#order-success span.checkout-order-no a {
	color: blue;
	text-decoration: underline;
}
#order-pending::after {
	content: "";
	display: block;
	clear: both;
}
#pending-left {
	float: left;
	width: 50%;
}
#pending-right {
	float: right;
	width: 50%;
}
#pending-left .header {
	padding: 15px 0;
}
#pending-left .header span {
	margin-left: 10px;
	font-size: 18px;
	font-weight: bold;
	cursor: pointer;
}
#pending-bill-info {
	border-top: 1px solid #ddd;
	padding-top: 10px;
}
#pending-shipping-info dt,
#pending-bill-info dt {
	margin-bottom: 10px;
	padding: 15px 0;
	font-size: 18px;
	font-weight: bold;
	text-transform: uppercase;
	border-bottom: 1px solid #ddd;
}
#pending-shipping-info dd,
#pending-bill-info dd {
	padding: 5px 0;
}
#pending-shipping-info dd label,
#pending-bill-info dd label {
	display: inline-block;
	margin-right: 10px;
	min-width: 100px;
	font-weight: bold;
}
#pending-right-content {
	margin-left: 20px;
	padding: 20px;
	border: 2px solid #517FFF;
}
#pending-right-content::before {
	content: "Your Order";
	display: block;
	padding-bottom: 15px;
	font-size: 18px;
	font-weight: bold;
	text-transform: uppercase;
	border-bottom: 1px solid #ddd;
}
#pending-goods-info img {
	display: none;
}
#pending-goods-info > div,
#pending-goods-amount > div {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 15px;
	padding: 10px 0;
	border-bottom: 1px solid #ddd;
}
#pending-goods-info > div > div:first-child > h1,
#pending-goods-amount > div > label {
	font-size: 14px;
	font-weight: bold;
}
#total-amount {
	font-weight: bold;
}
#pending-goods-info > div > div:first-child > h1 > span:last-child {
	margin-left: 10px;
	font-weight: normal;
}
#pending-goods-info > div > div:last-child {
	white-space: nowrap;
}
#pending-goods-info > div > div:first-child > h1::before {
	content: "";
	position: relative;
	top: -3px;
	display: inline-block;
	margin: 0 10px 0 2px;
	width: 10px;
	height: 5px;
	border-left: 2px solid #444;
	border-bottom: 2px solid #444;
	transform: rotate(315deg);
}
#pending-payment-block::before {
	content: "Credit Card Payment";
	display: block;
	padding-top: 15px;
	font-size: 14px;
	font-weight: bold;
}

/* fix width */
@media screen and ( max-width: 1200px ) {
	.container {
		margin-left: 15px;
		margin-right: 15px;
	}
	#slogan-text .title {
		margin: 15px;
		padding: 15px;
		max-width: auto;
		line-height: 1;
		font-size: 14px;
	}
	.swiper-box {
	}
	
	.goods-list > .body > div > a > img {
		max-height: var(--goods-list-item-pic-height-4);
	}
}
@media screen and ( min-width: 1044px ) {
	.header-body .searchIpt {
        margin-right: 310px;
        height: 43px;
        line-height: 43px;
        font-size: 16px;
        border-right: 0;
        border-left: 0;
        border-top: 0;
        border-radius: 0;
	}
	.header-body .search-bar {
	    right: 310px;
	}
	.header-body .search-bar button {
        width: 60px;
        height: 45px;
        color: #000;
        border-top-right-radius: 30px;
        border-bottom-right-radius: 30px;
        /* background-color: #f5aa9d;*/
	}
	.header-body .login-bar .btn-login i,
	.header-body .cart-bar a i {
		width: 45px;
		height: 45px;
		line-height: 50px;
		color: #000;
		border-radius: 50%;
		text-align: center;
	}
	.header-body .login-bar .btn-hiuser {
		margin: 0 10px 0 0;
		width: 150px;
		color: #f5aa9d;
		font-size: 16px;
		font-weight: normal;
		line-height: 43px;
		border-color: #f5aa9d;
		border-radius: 25px;
		background-color: #fff;
	}
	.header-body .login-bar {
		right: 110px;
	}
	.header-body .login-bar .btn-login {
		width: 150px;
	}
	.header-body .login-bar .btn-login::after {
		content: "Sign In/Up";
		font-size: 16px;
		color: #000;
	}
	.header-body .cart-bar a {
		width: 100px;
	}
	.header-body .cart-bar a::after {
		content: "Cart";
		font-size: 16px;
		color: #000;
	}
	header nav {
border-top: solid 1px #ededed;
  border-bottom: solid 1px #ededed;
		white-space: nowrap;
	}
	header nav .container > ul {
		display: flex;
		gap: 15px;
   		justify-content: space-between;
	}
	header nav ul > li {
		position: relative;
		display: inline-block;
		vertical-align: middle;
		line-height: 60px;
		z-index: 99;
	}
	header nav ul > li > a {
		position: relative;
		display: block;
		padding: 0 10px;
		color: #fff;
		cursor: pointer;
		transition: all 0.3s;
	}
	header nav ul > li > ul {
		display: none;
		position: absolute;
		left: 0;
		top: 61px;
		min-width: 100%;
		line-height: 30px;
		padding: 10px;
		box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
		background-color: #fff;
		z-index: 100;
	}
	header nav > .container > ul > li:last-child > ul {
		left: unset;
		right: 0;
	}
	header > nav > .container > ul {
		display: flex;
	}
	header > nav > .container > ul > li > i {
		position: absolute;
		right: -20px;
		top: 50%;
		margin-top: -5px;
		width: 5px;
		height: 5px;
		border-left: 2px solid #333;
		border-top: 2px solid #333;
		transform: rotate(225deg);
	}
	header > nav > .container > ul > li > a {
		padding: 0;
	}
	header > nav > .container > ul > li > a > span {
		position: relative;
		color: #333;
		font-size: 16px;
		font-weight: bold;
	}
	header > nav > .container > ul > li > a > span::after {
		content: "";
		position: absolute;
		left: auto;
		right: 0;
		bottom: -15px;
		height: 2px;
		width: 0;
		-webkit-transition: width .6s cubic-bezier(.25,.8,.25,1) 0s;
		transition: width .6s cubic-bezier(.25,.8,.25,1) 0s;
		background-color: #f5aa9d;
	}
	header > nav > .container > ul > li:hover > a > span {
		color:#f5aa9d;
	}
	header > nav > .container > ul > li:hover > a > span::after {
		width: 100%;
	    left: 0;
	    right: auto;
	}
	header nav ul > li > ul li {
		display: block;
		line-height: 45px;
		white-space: nowrap;
	}
	header nav ul > li > ul li a {
		color: #333;
		font-weight: bold;
		padding-right: 50px;
		border-bottom: 1px solid #eee;
	}
	header nav ul > li > ul li > i {
		position: absolute;
		right: 20px;
		top: 50%;
		margin-top: -4.5px;
		width: 5px;
		height: 5px;
		border-left: 2px solid #333;
		border-top: 2px solid #333;
		transform: rotate(135deg);
	}
	header nav ul > li > ul li:hover > a,
	header nav ul > li > ul li a:hover {
		color:#f5aa9d;
	}
	header nav ul > li > ul li:hover > i {
		border-color: #444;
	}
	header nav ul > li:hover > ul {
		display: block;
	}
	header nav ul > li:hover > a > span::after {
		width: 100%;
	    left: 0;
	    right: auto;
	}
	header nav ul > li > ul > li:hover > ul {
		display: block;
		top: -6px;
		left: calc(100%);
	}

	/* goods-detail */
	.panel-goods-details .panel-cart-buttons .btn {
		position: relative;
		display: flex;
		align-items: center;
		justify-content: center;
		height: 55px;
	}

	/* sign in */
	.panel-sign {
	    position: relative;
	    padding: 40px 40px 40px 400px;
	}
	.panel-sign .welcome,
	.panel-sign .icon,
	.panel-sign .header,
	.panel-sign .desc {
		position: absolute;
	    left: 0;
	    top: 50%;
	    width: calc(100% - 420px);
	    margin-top: -80px;
	}
	
	.panel-sign .welcome { margin-top: -100px; font-size: 24px;}
	.panel-sign .icon { margin-top: -50px; font-size: 60px;}
	.panel-sign .header { margin-top: 25px; }
	.panel-sign .desc { margin-top: 55px; }
}
@media screen and ( max-width: 1024px ) {
	body {
		padding-top: 61px;
	}
	
	/* header */
	.header-top {
		display: none;
	}
	.header-body {
		position: fixed;
		left: 0;
		right: 0;
		top: 0;
		border-bottom: 1px solid #eee;
		background-color: #fff;
		z-index: 10;
	}
	.header-body .container {
		justify-content: center;
		margin: 0;
		min-height: 60px;
	}
	.header-body #btn-header-menu {
		display: flex;
	}
	.header-body .logo {
		left: auto;
		right: auto;
		width: calc(100% - 160px);
	}
	.header-body .logo a {
		display: flex;
		max-width: 100%;
		height: 40px;
		justify-content: center;
	}
	.header-body .logo a img {
		max-width: 100%;
		max-height: 100%;
	}
	.header-body .searchIpt {
		position: absolute;
		margin-right: 58px;
		padding: 0 10px 0 60px;
		width: calc(100% - 180px);
		border-radius: 0;
		z-index: 3;
	}
	.header-body .search-bar {
		left: 45px;
	    	right: auto;
		z-index: 4;
	}
	.header-body .login-bar {
	    	right: 45px;
	}
	.header-body .login-bar .btn-hiuser {
		margin: 0;
	}
	.header-body .search-bar button,
	.header-body .login-bar .btn-login,
	.header-body .cart-bar a  {
		margin: 0;
		width: 40px;
		height: 60px;
		line-height: 60px;
		text-align: center;
	}
	.breadcrumb {
		padding: 10px;
	}
	header nav {
		position: fixed;
		white-space: inherit;
		left: -100%;
		top: 0;
		bottom: 0;
		width: 80%;
		background-color: #fff;
		z-index: 10000;
		overflow-x: hidden;
		overflow-y: auto;
		-webkit-transition: all .3s;
	}
	header nav .container {
		margin: 0;
	}
	header nav .container::before {
		content: "All Categories";
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		height: 50px;
		line-height: 50%;
		font-size: 18px;
		font-weight: bold;
		text-align: center;
		border-bottom: 1px solid #f2f2f2;
	}
	header nav > div > ul li {
		position: relative;
	}
	header nav > div > ul li a {
		display: block;
		padding: 15px;
	}
	header nav > div > ul > li > a {
		padding-right: 50px;
		border-bottom: 1px solid #f2f2f2;
	}
	header nav > div > ul ul {
		padding-left: 20px;
		background-color: #fff;
	}
	header > nav > div > ul > li > ul {
		display: none;
		border-bottom: 1px solid #f2f2f2;
	}
	header > nav > div > ul> li > i {
		position: absolute;
		right: 0;
		top: 0;
		font-family: "Font Awesome 6 Free";
		font-size: 22px;
		font-style: normal;
		display: block;
		padding: 0 15px;
		line-height: 50px;
		transform: rotate(0deg);
		transition: all 0.3s ease;
		cursor: pointer;
	}
	header > nav > div > ul> li > i::after {
		content: "\2b";
	}
	
	/* footer */
	footer {
		margin: 30px 0 0 0;
		text-align: center;
		border-radius: 8px;
	}
	footer > nav ul {
		padding: 15px 0;
		text-align: center;
		border-radius: 8px;
	}
	footer > nav ul li {
		display: inline-block;
        padding: 10px ;
	}
	footer > nav ul li::before {
		content: "";
		position: relative;
		top: -2px;
		display: inline-block;
		margin: 0 10px;
		width: 6px;
		height: 6px;
		background-color: #fff;
		border-radius: 50%;
	}
	footer > nav ul li::after {
		display: none;
	}
	
	/* goods-list */
	.data-block > .header,
	.goods-list > .header {
		margin: 10px 0 30px 0;
		padding: 20px 0;
		font-size: 22px;
		white-space: normal;
	}
	.data-block > .header::before,
	.data-block > .header::after,
	.goods-list > .header::before,
	.goods-list > .header::after {
		height: 3px;
	}
	.data-block > .header::after,
	.goods-list > .header::after {
		width: 20px;
		border-width: 6px;
	}
	.data-block > .description,
	.goods-list > .description {
		top: -20px;
		font-size: 14px;
	}
	
	/* goods-detail */

	.panel-goods-details h1 {
		font-size: 20px;
	}

	.panel-goods-details .panel-cart-buttons .btn {
		position: relative;
		font-size: 14px;
	}
	
	/* cart step1 */
	.cart-header,
	.panel-total .header {
		padding: 30px 0;
		font-size: 22px;
	}
	.panel-cart .cart-item {
		padding: 10px;
	}
	.panel-cart .opt {
		float: right;
		position: relative;
		right: -15px;
		top: -5px;
	}
	.panel-cart .pic {
		width: 90px;
	}
	.panel-cart .title {
		width: calc(100% - 140px);
	}
	.panel-cart .title h1 {
	    font-size: 16px;
	}
	.panel-cart .cart-item label {
		display: block;
		font-size: 14px;
	}
	.panel-cart .cart-item .title label,
	.panel-cart .header {
		display: none;
	}
	.panel-cart .price, .panel-cart .quantity, .panel-cart .subtotal {
		margin: 10px 0 0 90px;
		width: calc(100% - 95px);
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	.panel-total .body .opt .btn-checkout {
		padding: 0;
		width: 100%;
		text-align: center;
		font-size: 16px;
	}
	
	/*  cart step2 */
	.panel-shipping .header,
	.panel-order .header {
		font-size: 22px;
	}
	.panel-order >.body >div > div:last-child {
		min-width: 80px;
	}
	.panel-order .footer .opt .btn-checkout {
		width: 100%;
		text-align: center;
		font-size: 16px;
	}
	
	/* sign in */
	.panel-sign {
		margin-top: 20px;
	}
}
@media screen and ( max-width: 900px ) {
	.goods-list > .body {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.goods-list > .body > div > a > img {
		max-height: var(--goods-list-item-pic-height-3);
	}
	
	/* checkout */
	.order-result {
		margin-top: 0;
	}
	#pending-left,
	#pending-right {
		float: unset;
		width: unset;
	}
	#pending-right-content {
		margin: 20px 0;
	}
}
@media screen and ( max-width: 600px ) {
	article {
		font-size: 16px;
	}
	
	.header-body .login-bar .btn-hiuser {
		position: relative;
		margin: 0;
		padding: 0;
		border: 0;
		width: 60px;
		height: 60px;
		overflow: hidden;
	}
	.header-body .login-bar .btn-hiuser::before {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 60px;
		height: 60px;
		content: "\f4fe";
		font-family: "FontAwesome";
		color: var(--header-btn-color);
		font-size: 22px;
		background-color: #fff;
		cursor: pointer;
	}
	
	footer > .footer-logo > a > img {
	    max-height: 40px;
	}

	/* user center */
	.order-item {
		padding: 5px 10px;
		border: var(--box-border-style);
		border-radius: 8px;
	}
	.order-item dt, .order-item dd {
		padding: 5px 0;
	}
	.order-item dt {
		display: block;
		margin-bottom: 5px;
		padding-bottom: 10px;
	}
	.order-item dt label {
		margin-right: 10px;
	}
	.order-item dt .order-no {
		display: inline-block;
		width: calc(100% - 100px);
	}
	.order-item dd:last-child {
		padding-top: 20px;
	}
	.order-item dd .order-detail {
		right: 10px;
		bottom: 10px;
	}
	.order-items > div {
		gap: 10px;
		padding: 10px;
	}
	.order-items > div .style-size, 
	.order-items > div .price {
		margin-top: 5px;
	}
	.shipping-info {
		padding: 10px;
	}
	.shipping-info dt {
		margin-bottom: 10px;
	}
	.shipping-info dd {
		padding: 3px 0;
	}

	/* goods-list */
	.goods-list > .body {
		grid-template-columns: repeat(1, minmax(0, 1fr));
	}
	.goods-list > .body > div > a > img {
		/*max-height: var(--goods-list-item-pic-height-2);*/
	    max-height: initial;
	}
	.panel-goods-details select[name="goodsSize"] {
		width: 100%;
	}
	
	/* cart step2 */
	.form-item {
		grid-template-columns: repeat(1, minmax(0, 1fr));
		gap: 0;
	}
	
	/* fixed bottom */
	.panel-goods-details .panel-cart-buttons,
	.panel-total .body .opt,
	.panel-order .footer .opt {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		margin: 0;
		padding: 15px;
		background-color: #fff;
		z-index: 1;
	}

	.chatonline,
	.go-top {
		margin-bottom: 30px;
	}
}
@media screen and ( max-width: 450px ) {
	.panel-goods-details .digit {
		gap: 5px;
		padding: 10px;
		font-size: 12px;
	}
	.panel-goods-details .digit label i {
		font-size: 14px;
	}
	.panel-goods-details .digit label span {
		font-size: 12px;
	}
	.panel-goods-details .panel-cart-buttons .btn {
		padding-left: inherit;
	}
	.panel-goods-details .panel-cart-buttons .btn i {
	    position: static;
	}
	.panel-sign {
		width: auto;
	}
}

/********************************* AD items *********************************/

.ad-items {
	margin-top: 15px;
}
.header + .ad-items {
	margin-top: 0; 
}

/* ad-items */
.ad-items,
.ad-items > div {
	display: grid;
	gap: 15px;
	align-items: center;
	justify-content: center;
}
.ad-items > div .pic,
.ad-items > div .txt {
	grid-column: 1/2;
	grid-row: 1/2;
}
.ad-items > div .pic {
	overflow: hidden;
}
.ad-items > div .pic img {
	width: 100%;
}
.ad-items > div .txt {
	margin: 0 8%;
	padding: 20px 8%;
	color: #fff;
	/* background-color: rgba(0,0,0,.1); */
	text-align: center;
}
.ad-items > div .txt h1 {
	font-size: 32px;
}
.ad-items > div .txt h1 a {
	color: #fff;
}
.ad-items > div .txt p {
	margin-top: 20px;
	font-size: 18px;
}

/* ad-grid-1 */
.ad-grid-1 .ad-items {
	background-color: #fff;
}
.ad-grid-1 .ad-items > div {
	grid-template-columns: repeat(2, 1fr);
}
.ad-grid-1 .ad-items > div:nth-child(2n-1) .txt,
.ad-grid-1 .ad-items > div:nth-child(2n) .pic {
	grid-column: 2/3;
	grid-row: 1/2;
}
.ad-grid-1 .ad-items > div:nth-child(2n-1) .pic,
.ad-grid-1 .ad-items > div:nth-child(2n) .txt {
	grid-column: 1/2;
	grid-row: 1/2;
}
.ad-grid-1 .ad-items > div .txt {
	margin: 0;
	color: inherit;
	background-color: transparent;
}
.ad-grid-1 .ad-items > div .txt h1 a {
	color: inherit;
}

/* ad-grid-1-1 */
.ad-grid-1-1 .ad-items {
	grid-template-columns: repeat(2, 1fr);
}
.ad-grid-1-1 .ad-items > div {
	align-items: end;
}
.ad-grid-1-1 .ad-items > div .txt {
	margin: 0;
}

/* ad-grid-1-1-1 */
.ad-grid-1-1-1 .ad-items {
	grid-template-columns: repeat(3, 1fr);
}

/* ad-grid-2-1 */
.ad-grid-2-1 .ad-items {
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: auto auto;
}
.ad-grid-2-1 .ad-items > div:nth-child(3) {
	grid-column: 2/4;
	grid-row: 1/3;
}

/* ad-grid-1-2 */
.ad-grid-1-2 .ad-items {
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: auto auto;
}
.ad-grid-1-2 .ad-items > div:nth-child(1) {
	grid-column: 1/3;
	grid-row: 1/3;
}

/* ad-grid-2-1-1 */
.ad-grid-2-1-1 .ad-items {
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: auto auto;
}
.ad-grid-2-1-1 .ad-items > div:nth-child(3) {
	grid-column: 2/3;
	grid-row: 1/3;
}
.ad-grid-2-1-1 .ad-items > div:nth-child(4) {
	grid-column: 3/4;
	grid-row: 1/3;
}

/* ad-grid-1-2-1 */
.ad-grid-1-2-1 .ad-items {
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: auto auto;
}
.ad-grid-1-2-1 .ad-items > div:nth-child(1) {
	grid-column: 1/2;
	grid-row: 1/3;
}
.ad-grid-1-2-1 .ad-items > div:nth-child(4) {
	grid-column: 3/4;
	grid-row: 1/3;
}

/* ad-grid-1-1-2 */
.ad-grid-1-1-2 .ad-items {
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: auto auto;
}
.ad-grid-1-1-2 .ad-items > div:nth-child(1) {
	grid-column: 1/2;
	grid-row: 1/3;
}
.ad-grid-1-1-2 .ad-items > div:nth-child(2) {
	grid-column: 2/3;
	grid-row: 1/3;
}

/* ad-grid-2-2-1 */
.ad-grid-2-2-1 .ad-items {
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: auto auto;
}
.ad-grid-2-2-1 .ad-items > div:nth-child(5) {
	grid-column: 3/4;
	grid-row: 1/3;
}

/* ad-grid-2-1-2 */
.ad-grid-2-1-2 .ad-items {
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: auto auto;
}
.ad-grid-2-1-2 .ad-items > div:nth-child(3) {
	grid-column: 2/3;
	grid-row: 1/3;
}

/* ad-grid-1-2-2 */
.ad-grid-1-2-2 .ad-items {
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: auto auto;
}
.ad-grid-1-2-2 .ad-items > div:nth-child(1) {
	grid-column: 1/2;
	grid-row: 1/3;
}

/* ad-grid-2-2-1half */
.ad-grid-2-2-1half .ad-items {
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: auto auto;
}
.ad-grid-2-2-1half .ad-items > div:nth-child(5) {
	grid-column: 3/5;
	grid-row: 1/3;
}

/* ad-grid-2-1half-2 */
.ad-grid-2-1half-2 .ad-items {
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: auto auto;
}
.ad-grid-2-1half-2 .ad-items > div:nth-child(3) {
	grid-column: 2/4;
	grid-row: 1/3;
}

/* ad-grid-1half-2-2 */
.ad-grid-1half-2-2 .ad-items {
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: auto auto;
}
.ad-grid-1half-2-2 .ad-items > div:nth-child(1) {
	grid-column: 1/3;
	grid-row: 1/3;
}

/* ad-card-? */
.ad-card-1 .ad-items,
.ad-card-2 .ad-items,
.ad-card-3 .ad-items,
.ad-card-4 .ad-items {
	align-items: start;
	background-color: #fff;
}
.ad-card-1 .ad-items > div,
.ad-card-2 .ad-items > div,
.ad-card-3 .ad-items > div,
.ad-card-4 .ad-items > div {
	gap: 0;
}
.ad-card-1 .ad-items > div .txt,
.ad-card-2 .ad-items > div .txt,
.ad-card-3 .ad-items > div .txt,
.ad-card-4 .ad-items > div .txt {
	margin: 0;
	padding: 15px 0;
	grid-row: 2/3;
}
.ad-card-1 .ad-items > div .txt,
.ad-card-2 .ad-items > div .txt,
.ad-card-3 .ad-items > div .txt,
.ad-card-4 .ad-items > div .txt {
	color: #444;
}
.ad-card-1 .ad-items > div .txt h1,
.ad-card-2 .ad-items > div .txt h1,
.ad-card-3 .ad-items > div .txt h1,
.ad-card-4 .ad-items > div .txt h1,
.ad-card-1 .ad-items > div .txt h1 a,
.ad-card-2 .ad-items > div .txt h1 a,
.ad-card-3 .ad-items > div .txt h1 a,
.ad-card-4 .ad-items > div .txt h1 a {
	color: #444;
	font-size: 24px;
}
.ad-card-1 .ad-items > div .txt p,
.ad-card-2 .ad-items > div .txt p,
.ad-card-3 .ad-items > div .txt p,
.ad-card-4 .ad-items > div .txt p {
	margin-top: 5px;
	font-size: 16px;
}

/* ad-card-2 */
.ad-card-2 .ad-items {
	grid-template-columns: repeat(2, 1fr);
}

/* ad-card-3 */
.ad-card-3 .ad-items {
	grid-template-columns: repeat(3, 1fr);
}

/* ad-card-4 */
.ad-card-4 .ad-items {
	grid-template-columns: repeat(4, 1fr);
}

@media screen and ( max-width: 1024px ) {
	.data-block > .header {
		padding: 30px 0;
		font-size: 22px;
		white-space: normal;
	}
	.ad-items > div .txt h1,
	.ad-card-1 .ad-items > div .txt h1 a,
	.ad-card-2 .ad-items > div .txt h1 a,
	.ad-card-3 .ad-items > div .txt h1 a,
	.ad-card-4 .ad-items > div .txt h1 a {
	    font-size: 22px;
	}
	.ad-items > div .txt p,
	.ad-card-1 .ad-items > div .txt p,
	.ad-card-2 .ad-items > div .txt p,
	.ad-card-3 .ad-items > div .txt p,
	.ad-card-4 .ad-items > div .txt p {
	    font-size: 14px;
	}
}

@media screen and ( max-width: 900px ) {
	.ad-card-4 .ad-items {
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: inherit;
	}
}

@media screen and ( max-width: 600px ) {
	.ad-grid-1 .ad-items > div,
	.ad-grid-1-1 .ad-items,
	.ad-grid-1-1-1 .ad-items,
	.ad-grid-2-1 .ad-items,
	.ad-grid-1-2 .ad-items,
	.ad-grid-2-1-1 .ad-items,
	.ad-grid-1-2-1 .ad-items,
	.ad-grid-1-1-2 .ad-items,
	.ad-grid-2-2-1 .ad-items,
	.ad-grid-2-1-2 .ad-items,
	.ad-grid-1-2-2 .ad-items,
	.ad-grid-2-2-1half .ad-items,
	.ad-grid-2-1half-2 .ad-items,
	.ad-grid-1half-2-2 .ad-items,
	.ad-card-1 .ad-items,
	.ad-card-2 .ad-items,
	.ad-card-3 .ad-items,
	.ad-card-4 .ad-items {
		grid-template-columns: repeat(1, 1fr);
		grid-template-rows: inherit;
	}
	.ad-grid-1 .ad-items > div:nth-child(n) .pic,
	.ad-grid-1 .ad-items > div:nth-child(n) .txt,
	.ad-grid-2-1 .ad-items > div:nth-child(3),
	.ad-grid-1-2 .ad-items > div:nth-child(1),
	.ad-grid-2-1-1 .ad-items > div:nth-child(3),
	.ad-grid-2-1-1 .ad-items > div:nth-child(4),
	.ad-grid-1-2-1 .ad-items > div:nth-child(1),
	.ad-grid-1-2-1 .ad-items > div:nth-child(4),
	.ad-grid-1-1-2 .ad-items > div:nth-child(1),
	.ad-grid-1-1-2 .ad-items > div:nth-child(2),
	.ad-grid-2-2-1 .ad-items > div:nth-child(5),
	.ad-grid-2-1-2 .ad-items > div:nth-child(3),
	.ad-grid-1-2-2 .ad-items > div:nth-child(1),
	.ad-grid-2-2-1half .ad-items > div:nth-child(5),
	.ad-grid-2-1half-2 .ad-items > div:nth-child(3),
	.ad-grid-1half-2-2 .ad-items > div:nth-child(1) {
		grid-column: inherit;
		grid-row: inherit;
	}
	.row {
		flex-direction: column;
	}
	.panel-goods-style,
	.panel-goods-details {
	    margin: 15px 0;
	    width: 100%;
	}
	.panel-order >.body > div {
    display: block;
}
    footer > nav ul li {
        display: block !important;
    }
		footer {
		padding-bottom: 100px; }
}

@media (min-width: 760px) and (max-width: 1024px){ 
main {
    min-height: 1120px;
} }