[genuitec-file-id="wc1-69"],[genuitec-lp-path="/SBShop/WebRoot/css/ShopDS/homeds.css"],[genuitec-lp-enabled=false]{
  /* for codelive */
}

@charset "UTF-8";

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	-webkit-tap-highlight-color: transparent;
}

:root {
	--xmas-maroon: #BE1E2D;
	--xmas-cream: rgb(255, 255, 255);
	--xmas-gray: #6B7280;
}

body {
	background: var(--xmas-cream) !important;
}

/* Search */
.top-icon {
	background: var(--xmas-maroon) !important;
	border: none !important;
}

.brand-section,
.category-wrap {
	background: white !important;
}

.brand-banner {
	background: var(--xmas-maroon) !important;
}

/* Product Card */
.product-card,
.flash-product-card {
	background: white !important;
	border: 1px solid #eee !important;
}

.product-card:hover,
.flash-product-card:hover {
	transform: translateY(-8px);
	box-shadow:
		0 12px 28px rgba(0, 0, 0, 0.12);
	border-color: transparent;
}

.current-price,
.flash-current-price {
	color: var(--xmas-maroon) !important;
}

.discount-badge {
	background: var(--xmas-maroon) !important;
	color: white !important;
}

.bottom-nav {
	background: white !important;
	border-top: 2px solid var(--xmas-gold) !important;
}

.nav-item {
	color: var(--xmas-gray) !important;
}

.nav-item.active {
	color: var(--xmas-maroon) !important;
}

.category-head,
.cat-label {
	padding: 15px;
}

/* Top Search */
.top-section {
	background-color: #FFF;
	padding: 30px 20px 16px;
	position: sticky;
	top: 0;
	z-index: 99;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	border-bottom: 4px solid var(--christmas-gold);
}

.search-row {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 0;
}

.search-container {
	flex: 1;
	position: relative;
	min-width: 0;
}

.search-input-container {
	position: relative;
	width: 100%;
}

.search-box {
	width: 100%;
	padding: 13px 48px 13px 20px;
	border-radius: 50px;
	border: 1px solid #e5e7eb;
	font-size: 15px;
	background: #f9fafb;
	outline: none;
	transition: all .25s ease;
}

.search-box::placeholder {
	color: #888;
	font-size: 14px;
}

.search-submit {
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	background: linear-gradient(135deg, var(--christmas-green) 0%, var(--christmas-green-light) 100%);
	border: 2px solid var(--christmas-gold);
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s ease;
}

.search-submit:hover {
	transform: translateY(-50%) scale(1.1);
}

.search-clear {
	position: absolute;
	right: 48px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	color: #999;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	display: none;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	cursor: pointer;
}

.search-clear.show {
	display: flex;
}

.search-suggestions {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: white;
	border-radius: 12px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
	z-index: 1000;
	max-height: 300px;
	overflow-y: auto;
	margin-top: 8px;
	display: none;
	border: 2px solid var(--christmas-gold);
}

.top-icons {
	display: flex;
	gap: 8px;
	flex-shrink: 0;
}

.top-icon {
	background: linear-gradient(135deg, var(--christmas-green) 0%, var(--christmas-green-light) 100%);
	border: 2px solid var(--christmas-gold);
	color: white;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	position: relative;
	cursor: pointer;
	transition: all 0.2s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.top-icon:hover {
	transform: translateY(-2px) scale(1.05);
	box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.badge {
	position: absolute;
	top: -4px;
	right: -4px;
	background: var(--christmas-gold);
	color: var(--christmas-red-dark);
	border-radius: 50%;
	min-width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	font-weight: bold;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
	border: 2px solid white;
}

/* Brand Section*/
.brand-section {
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 250, 240, 0.95) 100%);
	border-radius: 16px;
	padding: 5px;
	margin: 16px;
	border: 3px solid var(--christmas-gold);
}

.brand-banner {
	background: linear-gradient(135deg, var(--christmas-red) 0%, var(--christmas-red-dark) 100%);
	color: white;
	padding: 2px;
	border-radius: 12px;
	text-align: center;
	margin-bottom: 20px;
}

.brand-card {
	border-radius: 12px;
	text-align: center;
	color: #333;
	transition: all 0.2s ease;
}

.brand-card:active {
	transform: scale(0.98);
}

.brand-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(100px, 3fr));
	padding: 0.5rem 0;
}

.brand-card:hover {
	transform: translateY(-3px);
}

.brand-card img {
	width: 100px;
	height: 85px;
	object-fit: contain;
	border-radius: 8px;
}

.products-container {
	padding: 0 12px;
	margin-bottom: 20px;
}

.products-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
	grid-template-columns: repeat(auto-fit, minmax(180px, 10fr));
}

.product-card {
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 250, 240, 0.98) 100%);
	border-radius: 6px;
	overflow: hidden;
	transition: all 0.3s ease;
	cursor: pointer;
	width: 100%;
	border: 2px solid transparent;
}

.product-card:hover {
	box-shadow: 0 4px 15px rgba(132, 124, 124, 0.2) !important;
}

.product-image {
	width: 100%;
	height: 200px;
	object-fit: cover;
	background-color: #f8f8f8;
}

.product-info {
	padding: 10px;
}

.product-brand {
	font-size: 12px;
	color: var(--christmas-green);
	margin-bottom: 2px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.product-name {
	font-size: 12px;
	color: #333;
	margin-bottom: 6px;
	line-height: 1.3;
	min-height: 28px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-weight: 500;
}

.price-section {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.current-price {
	font-size: 15px;
	font-weight: bold;
	color: var(--christmas-red);
	display: block;
}

.original-price {
	font-size: 14px;
	color: #999;
	text-decoration: line-through;
}

.image-wrapper {
	position: relative;
	display: inline-block;
}

/*badge*/
.discount-badge {
	position: absolute;
	top: 0;
	right: 0;
	background: linear-gradient(135deg, var(--christmas-gold) 0%, #ffdf00 100%);
	color: var(--christmas-red-dark);
	padding: 4px 10px;
	border-radius: 0 0 0 8px;
	font-size: 12px;
	font-weight: bold;
	z-index: 2;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.status-badge {
	display: inline-block;
	padding: 2px 6px;
	border-radius: 4px;
	font-size: 10px;
	font-weight: 600;
	white-space: nowrap;
}

.port-info {
	background: linear-gradient(135deg, var(--christmas-green) 0%, var(--christmas-green-light) 100%);
	color: white;
}

.port-yellow {
	background: linear-gradient(135deg, #ffc107 0%, #ffca28 100%);
	color: #333;
}

.port-orange {
	background: linear-gradient(135deg, #fd7e14 0%, #ff9800 100%);
	color: white;
}

.port-blue {
	background: linear-gradient(135deg, #007bff 0%, #2196f3 100%);
	color: white;
}

.badge-danger {
	background: linear-gradient(135deg, var(--christmas-red) 0%, var(--christmas-red-dark) 100%);
	color: white;
}

/* Bottom Navigation */
.bottom-nav {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background: linear-gradient(135deg, var(--christmas-red) 0%, var(--christmas-red-dark) 100%);
	border-top: 4px solid var(--christmas-gold);
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
	z-index: 1000;
	box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.nav-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 6px 8px;
	text-decoration: none;
	color: rgba(255, 255, 255, 0.8);
	font-size: 10px;
	position: relative;
	font-weight: 500;
	transition: all 0.2s ease;
	border-radius: 8px;
	margin: 0 4px;
}

.nav-item.active {
	color: var(--christmas-gold);
	background: rgba(255, 215, 0, 0.15);
}

.nav-item i {
	font-size: 20px;
	margin-bottom: 2px;
}

.nav-item.active i {
	text-shadow: 0 0 10px var(--christmas-gold);
}

.nav-badge {
	position: absolute;
	top: 2px;
	right: 8px;
	background: var(--christmas-gold);
	color: var(--christmas-red-dark);
	border-radius: 8px;
	padding: 1px 4px;
	font-size: 8px;
	font-weight: bold;
}

/* Loading Spinner */
#loading-display {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgb(192, 192, 192);
	display: none;
	justify-content: center;
	align-items: center;
	z-index: 9999;
}

.spinner {
	width: 50px;
	height: 50px;
	border-top: 4px solid var(--christmas-gold);
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

/* Main Banner */
.main-banner {
	position: relative;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
	width: 100%;
	min-height: 180px;
	height: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

/* Category */
.category-wrap {
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 250, 240, 0.95) 100%);
	border-radius: 16px;
	margin: 12px 16px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
	border: 3px solid var(--christmas-gold);
}

.category-strip {
	display: flex;
	gap: 12px;
	padding: 8px 12px 14px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scroll-snap-type: x mandatory;
}

.category-strip::-webkit-scrollbar {
	height: 0;
}

.cat-card {
	flex: 0 0 auto;
	width: 86px;
	scroll-snap-align: start;
	text-align: center;
	text-decoration: none;
	color: #333;
}

.cat-img {
	width: 72px;
	height: 72px;
	border-radius: 16px;
	background: #f7f7f7;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	margin: 0 auto 6px;
	overflow: hidden;
	border: 2px solid transparent;
	transition: all 0.2s ease;
}

.cat-card:hover .cat-img {

	transform: translateY(-6px);

	box-shadow:
		0 10px 22px rgba(0, 0, 0, 0.10);

	border-color: transparent;
}

.cat-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cat-label {
	font-size: 14px;
	line-height: 1.2;
	white-space: nowrap;
	font-weight: 500;
}

/* Flash Sale Section */
.flash-sale-section {
	margin: 16px;
	border-radius: 16px;
	overflow: hidden;
	border: 3px solid var(--christmas-gold);
	position: relative;
	background: linear-gradient(180deg,
			#c5162e 0%,
			#e11d48 100%);

}

.flash-sale-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 20px;
	color: white;
}

.flash-sale-title {
	font-size: 18px;
	font-weight: bold;
	display: flex;
	align-items: center;
	gap: 8px;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.view-more-btn {
	background: linear-gradient(135deg, var(--christmas-gold) 0%, rgb(255, 255, 255) 100%);
	border: none;
	color: #FFF;
	padding: 8px 16px;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	gap: 4px;
}

.view-more-btn:hover {
	transform: scale(1.05);
}

.flash-products-strip {
	background-color: white;
	display: flex;
	gap: 15px;

	padding: 10px;

	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;

	box-shadow:
		0 10px 30px rgba(0, 0, 0, 0.06);

	position: relative;
}

.flash-products-strip {
	scrollbar-width: none;
}

.flash-products-strip::-webkit-scrollbar {
	display: none;
}

.product-strip::after {
	display: none;
}


.flash-product-card {
	flex: 0 0 auto;
	width: 140px;
	height: 230px;
	background: white;
	border-radius: 12px;
	overflow: hidden;
	scroll-snap-align: start;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
	cursor: pointer;
	transition: all 0.2s ease;
	display: flex;
	flex-direction: column;
	border: 2px solid transparent;
}

.flash-product-card:hover {
	border-color: var(--christmas-gold);
	transform: scale(1.03);
}

.flash-product-image {
	width: 100%;
	height: 100px;
	object-fit: cover;
	flex-shrink: 0;
}

.flash-product-info {
	flex: 1;
	padding: 10px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.flash-product-brand {
	font-size: 11px;
	color: var(--christmas-green);
	margin-bottom: 2px;
	font-weight: 600;
}

.flash-product-name {
	font-size: 12px;
	color: #333;
	line-height: 1.3;
	margin-bottom: 6px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	height: 31px;
}

.flash-price-section {
	margin-top: auto;
}

.flash-original-price {
	font-size: 13px;
	color: #999;
	text-decoration: line-through;
}

.flash-current-price {
	font-size: 15px;
	font-weight: 700;
	color: var(--christmas-red);
	margin-bottom: 4px;
}

.flash-badge {
	display: inline-block;
	font-size: 8px;
	padding: 2px 5px;
	border-radius: 4px;
	margin-right: 2px;
	font-weight: 700;
}

.badge-free-shipping {
	background: var(--christmas-green);
	color: white;
}

.badge-discount {
	background: var(--christmas-gold);
	color: var(--christmas-red-dark);
}

.badge-limited {
	background: var(--christmas-red);
	color: white;
}

.badge-hot {
	background: #fd7e14;
	color: white;
}

/* Free Badge */
.free-badge {
	position: absolute;
	bottom: 0;
	left: 0;
	background: linear-gradient(135deg, var(--christmas-green) 0%, var(--christmas-green-light) 100%);
	color: white;
	padding: 3px 12px;
	font-size: 11px;
	font-weight: bold;
	z-index: 10;
	transform: skew(-15deg);
	border-radius: 0 8px 0 0;
}

.free-badge .content {
	transform: skew(15deg);
	display: flex;
	align-items: center;
	gap: 3px;
}

.free-badge img {
	width: 15px;
	height: 15px;
}

/* Extra Discount Badge */
.extra-discount-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 16px;
	font-weight: bold;
	border-radius: 999px;
	color: #be1e2d;
	margin-left: auto;
}

/* Popup */
.overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgb(192, 192, 192, 0.9);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 999;
}

.ad-container {
	position: relative;
	width: 300px;
	max-width: 90%;
}

.ad-container img {
	width: 100%;
	border-radius: 16px;
	display: block;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.close-btn {
	position: absolute;
	top: -15px;
	right: -15px;
	background: #fbc3cb;
	border-radius: 50%;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	color: white;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.close-btn:hover {
	transform: scale(1.1);
}

.close-btn img {
	width: 15px;
	height: 15px;
	filter: brightness(0) invert(1);
}

/* Floating Gift Box */
.floating-gift-box {
	position: fixed;
	bottom: 90px;
	right: 15px;
	background-image: url('https://cdc.sbdsapp.com/images/store/banner/gift-box.gif');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	width: 80px;
	height: 80px;
	z-index: 998;
	animation: floatUpDown 3s ease-in-out infinite;
	cursor: pointer;
}

.close-btn-gift {
	position: absolute;
	top: -8px;
	right: -8px;
	background: var(--christmas-red);
	border: 2px solid var(--christmas-gold);
	border-radius: 50%;
	width: 22px;
	height: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: bold;
	color: white;
	cursor: pointer;
}

@keyframes floatUpDown {

	0%,
	100% {
		transform: translateY(0px);
	}

	50% {
		transform: translateY(-15px);
	}
}

.status-icon {
	width: 12px;
	height: 12px;
	margin-right: 3px;
	vertical-align: middle;
}

/* Responsive */
@media (max-width: 390px) {
	.top-section {
		padding: 25px 16px 12px;
	}

	.top-icon {
		width: 38px;
		height: 38px;
	}

	.products-grid {
		gap: 8px;
		grid-template-columns: repeat(auto-fit, minmax(160px, 10fr));
	}

	.product-image {
		height: 175px;
	}

	.flash-product-card {
		width: 125px;
	}
}

@media (max-width: 360px) {
	.top-section {
		padding: 22px 12px 10px;
	}

	.search-box {
		padding: 10px 40px 10px 15px;
	}

	.top-icon {
		width: 35px;
		height: 35px;
	}

	.products-grid {
		gap: 6px;
	}

	.product-image {
		height: 150px;
	}

	.flash-product-card {
		width: 115px;
	}
}

@media (max-width: 320px) {
	.products-grid {
		gap: 4px;
	}

	.product-image {
		height: 120px;
	}

	.flash-product-card {
		width: 105px;
	}
}

@media (min-width: 429px) {
	body {
		margin: 0 auto;
	}
}

.pd-tmp {
	display: none;
}