/**
 * Nestopi child theme styles.
 */

/* Base tokens */
:root {
	--nestopi-color-main: #F66E00;
	--nestopi-color-accent: #00FF29;
	--nestopi-color-base-gray: #c1c0bf;
	--nestopi-color-black: #000000;
	--nestopi-color-white: #ffffff;
	--nestopi-color-page-bg: #f0f0f0;
	--nestopi-header-height: 68px;
	--nestopi-header-height-mobile: 64px;
	--nestopi-admin-bar-height: 0px;
	--nestopi-header-bg: var(--nestopi-color-black);
	--nestopi-header-border: rgba(255, 255, 255, 0.14);
	--nestopi-text: var(--nestopi-color-white);
	--nestopi-muted: rgba(255, 255, 255, 0.72);
	--nestopi-accent: var(--nestopi-color-main);
	--nestopi-card-area-desktop-ratio: 0.55556;
	--nestopi-wide-card-area-desktop-ratio: 0.61112;
	--nestopi-card-area-desktop-padding-ratio: 0.05;
	--nestopi-card-area-desktop-gap-ratio: 0.008333;
	--nestopi-card-area-mobile-ratio: 0.66927;
	--nestopi-card-area-mobile-padding-ratio: 0.0234375;
	--nestopi-card-area-mobile-gap-ratio: 0.015625;
	--nestopi-mobile-side-gap-min: 36px;
	--nestopi-font-sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

/* Storefront and global base */
body {
	padding-top: var(--nestopi-header-height);
	font-family: var(--nestopi-font-sans);
	background: var(--nestopi-color-page-bg);
}

button,
input,
select,
textarea {
	font-family: var(--nestopi-font-sans);
}

input,
select,
textarea,
.select2-container--default .select2-selection--single {
	background-color: var(--nestopi-color-white);
}

input[type="text"],
input[type="number"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea,
.input-text,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
	background-color: var(--nestopi-color-white);
}

#billing_country_field > label,
#billing_postcode_field > label,
#shipping_country_field > label,
#shipping_postcode_field > label {
	display: none;
}

body:not(.home),
#page,
.site {
	background: var(--nestopi-color-page-bg);
}

.site-content,
body:not(.home) .site-content {
	background: var(--nestopi-color-page-bg);
}

body:not(.home) .site-content > .col-full {
	background: transparent;
}

.woocommerce-breadcrumb a:first-of-type::before {
	display: none;
	content: none;
}

.storefront-breadcrumb .woocommerce-breadcrumb {
	color: #727272;
	margin-left: 0;
}

.storefront-breadcrumb .woocommerce-breadcrumb a {
	color: #727272;
}

a:focus,
button:focus,
input:focus,
textarea:focus {
	outline: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
	outline: 2px solid var(--nestopi-color-main);
	outline-offset: 3px;
}

/* WooCommerce price display */
.woocommerce-Price-currencySymbol {
	font-size: 0.82em;
	font-weight: inherit;
	line-height: 1;
	vertical-align: baseline;
}

.nestopi-cny-equivalent {
	color: #888;
	font-size: 0.85em;
	white-space: nowrap;
}

/* Header */
body .nestopi-site-header.site-header {
	position: fixed;
	top: var(--nestopi-admin-bar-height);
	left: 0;
	z-index: 1500;
	width: 100%;
	padding: 0;
	margin: 0;
	background: var(--nestopi-header-bg);
	border-bottom: 1px solid var(--nestopi-header-border);
	box-shadow: none;
	transition: transform 0.28s ease;
}

body .nestopi-site-header.site-header.is-hidden {
	transform: translateY(-100%);
}

.nestopi-site-header .site-branding,
.nestopi-site-header .site-search,
.nestopi-site-header .storefront-primary-navigation,
.nestopi-site-header .main-navigation,
.nestopi-site-header .site-header-cart,
.nestopi-site-header .site-title,
.nestopi-site-header .site-description {
	display: none;
}

.nestopi-header__inner {
	display: grid;
	align-items: center;
	margin: 0 auto;
}

.nestopi-header__logo {
	display: inline-flex;
	align-items: center;
	line-height: 0;
}

.nestopi-header__logo img {
	display: block;
	max-width: 100%;
}

.nestopi-header__logo--pc {
	justify-self: start;
}

.nestopi-header__logo--mobile {
	display: none;
}

.nestopi-header__logo--pc img {
	width: 180px;
	height: auto;
	max-height: 48px;
	object-fit: contain;
}

.nestopi-header__logo--mobile img {
	width: 122px;
	height: 39px;
	max-height: 40px;
}

.nestopi-header__actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
}

.nestopi-header__icon-link,
.nestopi-header__menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 8px;
}

.nestopi-header__icon-link:hover,
.nestopi-header__icon-link:focus-visible,
.nestopi-header__menu-toggle:hover,
.nestopi-header__menu-toggle:focus-visible {
	background: rgba(255, 255, 255, 0.1);
	outline: none;
}

.nestopi-header__icon-link img {
	display: block;
	width: 25px;
	height: 25px;
	object-fit: contain;
	filter: brightness(0) invert(1);
}

.nestopi-header__menu-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	cursor: pointer;
}

.nestopi-header__menu-line {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--nestopi-color-white);
	border-radius: 999px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.nestopi-header__menu-toggle[aria-expanded="true"] .nestopi-header__menu-line:nth-of-type(2) {
	transform: translateY(7px) rotate(45deg);
}

.nestopi-header__menu-toggle[aria-expanded="true"] .nestopi-header__menu-line:nth-of-type(3) {
	opacity: 0;
}

.nestopi-header__menu-toggle[aria-expanded="true"] .nestopi-header__menu-line:nth-of-type(4) {
	transform: translateY(-7px) rotate(-45deg);
}

.nestopi-mobile-menu {
	display: none;
	width: min(74vw, 320px);
	min-width: 240px;
	padding: 16px 18px 22px;
	background: var(--nestopi-color-black);
	border-top: 1px solid var(--nestopi-header-border);
}

.nestopi-mobile-menu a,
.nestopi-mobile-menu button {
	color: var(--nestopi-color-white);
	font-size: 15px;
	font-weight: 400;
	text-decoration: none;
	white-space: nowrap;
}

.nestopi-mobile-menu a:hover,
.nestopi-mobile-menu a:focus-visible,
.nestopi-mobile-menu button:hover,
.nestopi-mobile-menu button:focus-visible {
	color: var(--nestopi-color-main);
	background: transparent;
	opacity: 1;
	outline: none;
}

@media (min-width: 768px) {
	/* Header: desktop navigation */
	.nestopi-header__inner {
		grid-template-columns: auto minmax(0, 1fr) auto;
		gap: clamp(10px, 1.4vw, 20px);
		width: 100%;
		max-width: none;
		min-height: var(--nestopi-header-height);
		padding-left: clamp(12px, 1.5vw, 24px);
		padding-right: clamp(10px, 1.4vw, 20px);
	}

	.nestopi-header__nav {
		position: relative;
		top: 2px;
		justify-self: start;
	}

	.nestopi-nav {
		display: flex;
		align-items: center;
		gap: clamp(10px, 1.3vw, 20px);
		padding: 0;
		margin: 0;
		list-style: none;
	}

	.nestopi-nav__item {
		position: relative;
	}

	.nestopi-nav a,
	.nestopi-nav button {
		color: var(--nestopi-text);
		font-size: 13px;
		font-weight: 400;
		text-decoration: none;
		white-space: nowrap;
	}

	.nestopi-nav > .nestopi-nav__item > a,
	.nestopi-nav > .nestopi-nav__item > button {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 6px;
		width: auto;
		min-width: 0;
		height: 40px;
		padding: 0 8px;
		box-sizing: border-box;
		color: var(--nestopi-color-white);
		font-size: 13px;
		font-weight: 400;
		line-height: 1;
		font-family: inherit;
		appearance: none;
		background: transparent;
		border: 0;
		border-radius: 0;
		box-shadow: none;
		cursor: default;
		text-decoration: none;
		transition: color 0.18s ease;
	}

	.nestopi-nav > .nestopi-nav__item > a {
		cursor: pointer;
	}

	.nestopi-nav__item--has-dropdown > a::after,
	.nestopi-nav__item--has-dropdown > button::after {
		display: inline-block;
		width: 0.45em;
		height: 0.45em;
		margin-left: 2px;
		border-right: 2px solid currentColor;
		border-bottom: 2px solid currentColor;
		content: "";
		transform: rotate(45deg) translateY(-2px);
	}

	.nestopi-nav > .nestopi-nav__item:hover > a,
	.nestopi-nav > .nestopi-nav__item:focus-within > a,
	.nestopi-nav > .nestopi-nav__item:hover > button,
	.nestopi-nav > .nestopi-nav__item:focus-within > button {
		color: var(--nestopi-color-main);
		outline: none;
	}

	.nestopi-nav__dropdown {
		--nestopi-dropdown-left: 50%;
		--nestopi-dropdown-x: -50%;

		position: absolute;
		top: 100%;
		left: var(--nestopi-dropdown-left);
		display: grid;
		width: max-content;
		min-width: 180px;
		padding: 0px 18px 20px;
		margin: 0;
		box-sizing: border-box;
		list-style: none;
		background: var(--nestopi-header-bg);
		border-radius: 8px 8px 18px 18px;
		box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
		opacity: 0;
		transform: translate(var(--nestopi-dropdown-x), 8px);
		visibility: hidden;
		transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
	}

	.nestopi-nav__item--has-dropdown:hover .nestopi-nav__dropdown,
	.nestopi-nav__item--has-dropdown:focus-within .nestopi-nav__dropdown {
		opacity: 1;
		transform: translate(var(--nestopi-dropdown-x), 0);
		visibility: visible;
	}

	.nestopi-nav__dropdown a {
		display: block;
		padding: 8px 12px;
		color: var(--nestopi-color-white);
		font-size: 13px;
		font-weight: 400;
		text-decoration: underline;
		text-decoration-thickness: 1px;
		text-underline-offset: 4px;
		white-space: nowrap;
		background: transparent;
		border-radius: 0;
		transition: color 0.18s ease;
	}

	.nestopi-nav__dropdown-note {
		display: block;
		padding: 8px 12px;
		color: rgba(255, 255, 255, 0.42);
		font-size: 13px;
		font-weight: 400;
		line-height: 1.3;
		white-space: nowrap;
		cursor: default;
	}

	.nestopi-nav__dropdown a:hover,
	.nestopi-nav__dropdown a:focus-visible {
		color: var(--nestopi-color-main);
		background: transparent;
		opacity: 1;
		outline: none;
	}

	.nestopi-nav__item--new .nestopi-nav__dropdown,
	.nestopi-nav__item--games .nestopi-nav__dropdown,
	.nestopi-nav__item--shop-info .nestopi-nav__dropdown {
		--nestopi-dropdown-left: -25px;
		--nestopi-dropdown-x: 0;
	}

	.nestopi-nav__item--new .nestopi-nav__dropdown,
	.nestopi-nav__item--games .nestopi-nav__dropdown,
	.nestopi-nav__item--shop-info .nestopi-nav__dropdown {
		width: max-content;
		min-width: 0;
		max-width: calc(100vw - 32px);
	}
}

@media (min-width: 768px) and (max-width: 1200px) {
	.nestopi-header__inner {
		grid-template-columns: auto minmax(0, 1fr) auto;
		column-gap: clamp(8px, 1.2vw, 16px);
	}

	.nestopi-header__logo--pc img {
		width: clamp(150px, 18vw, 180px);
	}

	.nestopi-nav {
		justify-content: flex-start;
		gap: clamp(8px, 1vw, 14px);
	}

	.nestopi-nav > .nestopi-nav__item > a {
		padding-right: 4px;
		padding-left: 4px;
		font-size: 13px;
	}

	.nestopi-header__actions {
		gap: clamp(8px, 1vw, 10px);
	}

	.nestopi-header__icon-link {
		width: 36px;
		height: 36px;
	}

	.nestopi-header__icon-link img {
		width: 25px;
		height: 25px;
	}
}

html.nestopi-mobile-menu-open,
body.nestopi-mobile-menu-open {
	overflow: hidden;
}

.nestopi-mobile-menu-overlay[hidden] {
	display: none !important;
}

@media (max-width: 767.99px) {
	body {
		padding-top: var(--nestopi-header-height-mobile);
	}

	.nestopi-site-header {
		overflow: visible;
	}

	.nestopi-header__inner {
		grid-template-columns: auto auto 1fr auto;
		gap: 10px;
		width: 100%;
		min-height: var(--nestopi-header-height-mobile);
		padding: 0 14px;
	}

	.nestopi-header__menu-toggle {
		display: inline-flex;
		justify-self: start;
	}

	.nestopi-header__menu-toggle:hover,
	.nestopi-header__menu-toggle:focus,
	.nestopi-header__menu-toggle:focus-visible {
		background: transparent;
		opacity: 1;
	}

	.nestopi-header__menu-toggle:focus-visible {
		box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.36);
	}

	.nestopi-header__logo--pc,
	.nestopi-header__nav {
		display: none;
	}

	.nestopi-header__logo--mobile {
		display: inline-flex;
		justify-self: start;
	}

	.nestopi-header__actions {
		grid-column: 4;
		gap: 10px;
	}

	.nestopi-header__icon-link {
		width: 44px;
		height: 44px;
	}

	.nestopi-header__icon-link img {
		width: 30px;
		height: 30px;
	}

	.nestopi-mobile-menu-overlay {
		position: fixed;
		inset: calc(var(--nestopi-admin-bar-height) + var(--nestopi-header-height-mobile)) 0 0;
		z-index: 1500;
		background: rgba(0, 0, 0, 0.46);
		pointer-events: auto;
	}

	.nestopi-mobile-menu {
		position: absolute;
		top: 100%;
		left: 0;
		z-index: 1501;
		overflow: visible;
		width: min(74vw, 320px);
		min-width: 240px;
		max-height: calc(100vh - var(--nestopi-admin-bar-height) - var(--nestopi-header-height-mobile));
		padding-top: 22px;
		background: var(--nestopi-color-black);
		border-top: 0;
		border-right: 1px solid rgba(255, 255, 255, 0.12);
		border-radius: 0 0 8px 0;
		box-shadow: 0 18px 40px rgba(0, 0, 0, 0.36);
		isolation: isolate;
		overflow-y: auto;
		overscroll-behavior: contain;
	}

	.nestopi-mobile-menu.is-open {
		display: grid;
		gap: 0;
	}

	.nestopi-mobile-menu > * {
		position: relative;
		z-index: 2;
	}

	.nestopi-mobile-menu .nestopi-mobile-menu__login {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		z-index: 3;
		width: calc(100% - 36px);
		min-height: 40px;
		padding: 0 14px;
		margin: 16px auto 36px;
		color: var(--nestopi-color-black);
		font-weight: 600;
		background-color: var(--nestopi-color-main);
		background-image: url("../images/ui/button_01.webp");
		background-position: center;
		background-repeat: no-repeat;
		background-size: 100% 100%;
		border: 0;
		text-align: center;
		transition: filter 0.18s ease, transform 0.18s ease;
	}

	.nestopi-mobile-menu .nestopi-mobile-menu__login:hover,
	.nestopi-mobile-menu .nestopi-mobile-menu__login:focus-visible {
		color: var(--nestopi-color-black);
		filter: brightness(1.12);
		outline: none;
		transform: translateY(3px);
	}

	.nestopi-mobile-menu__link,
	.nestopi-mobile-menu__toggle {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		min-height: 44px;
		padding: 12px 0;
		color: var(--nestopi-color-white);
		font-size: 16px;
		font-weight: 700;
		text-align: left;
		background: transparent;
		border: 0;
		border-bottom: 2px solid rgba(255, 255, 255, 0.7);
		border-radius: 0;
		cursor: pointer;
	}

	.nestopi-mobile-menu__arrow {
		display: inline-block;
		margin-left: 18px;
		color: currentColor;
		transition: transform 0.18s ease;
	}

	.nestopi-mobile-menu__toggle[aria-expanded="true"] .nestopi-mobile-menu__arrow {
		transform: rotate(180deg);
	}

	.nestopi-mobile-submenu {
		display: none;
		padding: 4px 0 8px 18px;
		background: var(--nestopi-color-black);
	}

	.nestopi-mobile-menu__item.is-open .nestopi-mobile-submenu {
		display: block;
	}

	.nestopi-mobile-submenu a {
		display: block;
		padding: 10px 0;
		color: var(--nestopi-color-white);
		font-size: 14px;
		font-weight: 400;
		text-decoration: none;
		border-bottom: 1px solid rgba(255, 255, 255, 0.35);
	}

	.nestopi-mobile-submenu__note {
		display: block;
		padding: 10px 0;
		color: rgba(255, 255, 255, 0.42);
		font-size: 14px;
		font-weight: 400;
		border-bottom: 1px solid rgba(255, 255, 255, 0.35);
		cursor: default;
	}

	.nestopi-mobile-submenu a:hover,
	.nestopi-mobile-submenu a:focus-visible {
		color: var(--nestopi-color-main);
		background: transparent;
	}
}

body.admin-bar .nestopi-site-header {
	top: var(--nestopi-admin-bar-height);
}

body.admin-bar {
	--nestopi-admin-bar-height: 32px;
}

@media (max-width: 782px) {
	body.admin-bar {
		--nestopi-admin-bar-height: 46px;
	}

	body.admin-bar .nestopi-site-header {
		top: var(--nestopi-admin-bar-height);
	}
}

@media screen and (max-width: 600px) {
	body.admin-bar #wpadminbar {
		position: fixed !important;
		top: 0 !important;
	}
}

/* Cart panel */
.nestopi-header__icon-link.nestopi-cart-toggle {
	position: relative;
}

.nestopi-header__cart-count {
	position: absolute;
	top: 0;
	right: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 16px;
	height: 16px;
	padding: 0 4px;
	color: var(--nestopi-color-white);
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
	background: #ff0067;
	border-radius: 999px;
	transform: translate(24%, -20%);
}

html.nestopi-cart-panel-open,
body.nestopi-cart-panel-open {
	overflow: hidden;
}

body.nestopi-cart-panel-open::before {
	position: fixed;
	inset: var(--nestopi-admin-bar-height) 0 0;
	z-index: 1550;
	background: rgba(0, 0, 0, 0.42);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	content: "";
}

.nestopi-cart-panel {
	position: fixed;
	top: var(--nestopi-admin-bar-height);
	right: 0;
	z-index: 1600;
	display: grid;
	grid-template-rows: auto auto minmax(0, 1fr) auto;
	width: clamp(380px, 32vw, 440px);
	height: calc(100vh - var(--nestopi-admin-bar-height));
	max-width: calc(100vw - 16px);
	color: var(--nestopi-color-white);
	background: #1a1826;
	box-shadow: -18px 0 36px rgba(0, 0, 0, 0.32);
	transform: translateX(100%);
	visibility: hidden;
	transition: transform 0.28s ease, visibility 0.28s ease;
}

.nestopi-cart-panel::before,
.nestopi-cart-panel::after {
	position: absolute;
	z-index: 3;
	pointer-events: none;
	opacity: 0;
	visibility: hidden;
	content: "";
	transition: opacity 0.16s ease, visibility 0.16s ease;
}

.nestopi-cart-panel::before {
	inset: 66px 0 0;
	background: rgba(26, 24, 38, 0.34);
}

.nestopi-cart-panel::after {
	top: 50%;
	left: 50%;
	width: 26px;
	height: 26px;
	margin: -13px 0 0 -13px;
	border: 3px solid rgba(255, 255, 255, 0.34);
	border-top-color: var(--nestopi-color-white);
	border-radius: 50%;
	animation: nestopi-cart-panel-spinner 0.82s linear infinite;
}

.nestopi-cart-panel.is-loading::before,
.nestopi-cart-panel.is-loading::after {
	opacity: 1;
	visibility: visible;
}

.nestopi-cart-panel.is-open {
	transform: translateX(0);
	visibility: visible;
}

@keyframes nestopi-cart-panel-spinner {
	to {
		transform: rotate(360deg);
	}
}

.nestopi-cart-panel__header {
	grid-row: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 66px;
	padding: 18px 22px 16px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.nestopi-cart-panel__title {
	margin: 0;
	color: var(--nestopi-color-white);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
}

.nestopi-cart-panel__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	color: var(--nestopi-color-white);
	font-size: 32px;
	font-weight: 300;
	line-height: 1;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	cursor: pointer;
}

.nestopi-cart-panel__close:hover,
.nestopi-cart-panel__close:focus-visible {
	color: var(--nestopi-color-white);
	background: rgba(255, 255, 255, 0.1);
	outline: none;
}

.nestopi-cart-panel__items {
	grid-row: 3;
	display: grid;
	align-content: start;
	gap: 7px;
	min-height: 0;
	padding: 12px 20px 16px;
	overflow-y: auto;
	scrollbar-color: rgba(255, 255, 255, 0.85) rgba(255, 255, 255, 0.16);
	scrollbar-width: thin;
}

.nestopi-cart-panel__notices {
	grid-row: 2;
	display: grid;
	gap: 4px;
	padding: 8px 20px 0;
}

.nestopi-cart-panel__notices[hidden] {
	display: none;
}

.nestopi-cart-panel__notice {
	margin: 0;
	padding: 6px 9px;
	color: var(--nestopi-color-white);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.35;
	background: rgba(255, 255, 255, 0.12);
	border-left: 3px solid var(--nestopi-color-white);
}

.nestopi-cart-panel__items::-webkit-scrollbar {
	width: 8px;
}

.nestopi-cart-panel__items::-webkit-scrollbar-track {
	background: rgba(255, 255, 255, 0.16);
}

.nestopi-cart-panel__items::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.85);
	border-radius: 999px;
}

.nestopi-cart-panel__item {
	display: grid;
	grid-template-columns: 54px minmax(0, 1fr) 34px;
	align-items: center;
	gap: 10px;
	min-height: 80px;
	padding: 10px;
	background: #2b283a;
}

.nestopi-cart-panel__thumb {
	width: 54px;
	height: 54px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.08);
}

.nestopi-cart-panel__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.nestopi-cart-panel__thumb-link {
	display: block;
	width: 100%;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.nestopi-cart-panel__details {
	display: grid;
	gap: 4px;
	min-width: 0;
}

.nestopi-cart-panel__name {
	margin: 0;
	overflow: hidden;
	color: var(--nestopi-color-white);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.35;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.nestopi-cart-panel__name-link {
	color: inherit;
	text-decoration: none;
}

.nestopi-cart-panel__name-link:hover,
.nestopi-cart-panel__name-link:focus-visible {
	color: inherit;
	text-decoration: none;
}

.nestopi-cart-panel__price {
	color: var(--nestopi-color-white);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.25;
}

.nestopi-cart-panel__price .amount {
	color: inherit;
}

.nestopi-cart-panel__quantity {
	display: inline-grid;
	grid-template-columns: 28px minmax(28px, auto) 28px;
	align-items: center;
	justify-self: start;
	min-height: 21px;
	overflow: hidden;
	color: var(--nestopi-color-white);
	font-size: 12px;
	line-height: 1;
	background: var(--nestopi-color-white);
	border-radius: 3px;
}

.nestopi-cart-panel__qty-minus,
.nestopi-cart-panel__qty-plus {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 21px;
	padding: 0;
	color: var(--nestopi-color-white);
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	background: var(--nestopi-color-white);
	border: 0;
	border-radius: 0;
	box-shadow: none;
	cursor: pointer;
}

.nestopi-cart-panel__qty-minus:hover,
.nestopi-cart-panel__qty-minus:focus-visible,
.nestopi-cart-panel__qty-plus:hover,
.nestopi-cart-panel__qty-plus:focus-visible {
	color: var(--nestopi-color-black);
	background: #eeeeee;
	outline: none;
}

.nestopi-cart-panel__qty-minus:disabled,
.nestopi-cart-panel__qty-plus:disabled,
.nestopi-cart-panel__remove:disabled {
	cursor: wait;
	opacity: 0.58;
}

.nestopi-cart-panel__qty-minus:disabled {
	color: #9a9a9a;
	background: var(--nestopi-color-white);
	cursor: not-allowed;
	opacity: 1;
}

.nestopi-cart-panel__qty-plus:disabled {
	color: #9a9a9a;
	background: var(--nestopi-color-white);
	cursor: not-allowed;
	opacity: 1;
	pointer-events: none;
}

.nestopi-cart-panel__qty-minus:disabled:hover,
.nestopi-cart-panel__qty-minus:disabled:focus-visible,
.nestopi-cart-panel__qty-plus:disabled:hover,
.nestopi-cart-panel__qty-plus:disabled:focus-visible {
	color: #9a9a9a;
	background: var(--nestopi-color-white);
	outline: none;
}

.nestopi-cart-panel.is-loading .nestopi-cart-panel__qty-minus:disabled,
.nestopi-cart-panel.is-loading .nestopi-cart-panel__qty-plus:disabled {
	cursor: wait;
	opacity: 0.58;
	pointer-events: auto;
}

.nestopi-cart-panel__qty-value {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 28px;
	height: 21px;
	color: var(--nestopi-color-black);
	font-weight: 700;
	text-align: center;
	background: var(--nestopi-color-white);
}

.nestopi-cart-panel__remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding: 0;
	color: var(--nestopi-color-white);
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	cursor: pointer;
}

.nestopi-cart-panel__remove svg {
	display: block;
	width: 21px;
	height: 21px;
}

.nestopi-cart-panel__remove path {
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
}

.nestopi-cart-panel__remove:hover,
.nestopi-cart-panel__remove:focus-visible {
	color: var(--nestopi-color-white);
	background: rgba(255, 255, 255, 0.1);
	outline: none;
}

.nestopi-cart-panel__empty {
	margin: 18px 0;
	color: var(--nestopi-color-white);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.6;
	text-align: center;
}

.nestopi-cart-panel__footer {
	grid-row: 4;
	display: grid;
	gap: 14px;
	padding: 17px 38px 18px;
	color: var(--nestopi-color-white);
	background: #000000;
}

.nestopi-cart-panel__subtotal {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	color: var(--nestopi-color-white);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
}

.nestopi-cart-panel__subtotal strong,
.nestopi-cart-panel__subtotal .amount {
	color: inherit;
	font-weight: 700;
}

.nestopi-cart-panel__checkout {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 10px 18px;
	color: var(--nestopi-color-white);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	background: #de5519;
	border: 0;
	border-radius: 3px;
}

.nestopi-cart-panel__checkout:hover,
.nestopi-cart-panel__checkout:focus-visible {
	color: var(--nestopi-color-white);
	background: #f2631d;
	outline: none;
}

.nestopi-cart-panel__checkout.is-disabled {
	pointer-events: none;
	opacity: 0.48;
}

.nestopi-stripe-wechat-notice {
	color: #ff0000;
}

@media (max-width: 767px) {
	.nestopi-cart-panel {
		width: min(360px, calc(100vw - 24px));
	}

	.nestopi-cart-panel__header {
		padding-right: 16px;
		padding-left: 18px;
	}

	.nestopi-cart-panel__items {
		padding-right: 12px;
		padding-left: 12px;
	}

	.nestopi-cart-panel__item {
		grid-template-columns: 52px minmax(0, 1fr) 32px;
		gap: 8px;
		padding: 9px;
	}

	.nestopi-cart-panel__footer {
		padding-right: 24px;
		padding-left: 24px;
	}
}

@media (max-width: 360px) {
	.nestopi-cart-panel {
		width: calc(100vw - 16px);
	}
}

/* Front page shared */
.nestopi-front {
	position: relative;
	width: 100vw;
	min-height: 100vh;
	margin-left: calc(50% - 50vw);
	color: var(--nestopi-color-white);
	overflow: hidden;
}

.nestopi-front__background {
	position: fixed;
	inset: 0;
	z-index: 0;
	background: var(--nestopi-color-page-bg);
	pointer-events: none;
}

.nestopi-front a {
	color: inherit;
	text-decoration: none;
}

.nestopi-fixed-sns {
	position: fixed;
	top: 50%;
	right: clamp(16px, 2vw, 34px);
	z-index: 1001;
	display: grid;
	gap: 16px;
}

.nestopi-fixed-sns__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	color: var(--nestopi-color-black);
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	background: transparent;
	border: 0;
	border-radius: 0;
}

.nestopi-fixed-sns__icon {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.nestopi-front-section {
	position: relative;
	z-index: 1;
	width: min(1120px, calc(100% - 40px));
	padding: clamp(56px, 8vw, 108px) 0;
	margin: 0 auto;
}

.nestopi-front-section__action {
	display: flex;
	justify-content: center;
	margin-top: clamp(28px, 4vw, 48px);
}

.nestopi-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 250px;
	min-height: 36px;
	padding: 0 28px;
	color: var(--nestopi-color-white);
	font-size: 16px;
	font-weight: 400;
	background: var(--nestopi-color-black);
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 0;
	transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.nestopi-button:hover,
.nestopi-button:focus-visible {
	background-color: #1f1f1f;
	border-color: rgba(255, 255, 255, 0.42);
	color: var(--nestopi-color-white);
	outline: none;
	transform: translateY(-2px);
}

.nestopi-button--arrow::after {
	display: inline-block;
	width: 0;
	height: 0;
	margin-left: 16px;
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
	border-left: 7px solid currentColor;
	content: "";
}

.nestopi-front-hero {
	position: relative;
	z-index: auto;
	width: min(1240px, calc(100% - 40px));
	padding-top: 0;
	padding-bottom: 0;
	/* Shared hero coordinate system for desktop and tablet layouts. */
	--nestopi-hero-width: min(100vw, 1920px);
	--nestopi-hero-content-width: min(calc(var(--nestopi-hero-width) * 0.833333), 1600px);
	--nestopi-hero-logo-width: min(calc(var(--nestopi-hero-content-width) * 0.46), 740px);
	--nestopi-hero-logo-ratio: 0.18923;
	--nestopi-hero-logo-height: calc(var(--nestopi-hero-logo-width) * var(--nestopi-hero-logo-ratio));
	--nestopi-hero-feature-top: calc(var(--nestopi-hero-content-width) * 0.2);
	--nestopi-hero-logo-top: calc((var(--nestopi-hero-feature-top) - var(--nestopi-hero-logo-height)) / 2);
	--nestopi-hero-feature-gap: calc(var(--nestopi-hero-content-width) * 0.02125);
	--nestopi-hero-feature-peek: calc(var(--nestopi-hero-content-width) * 0.055);
	--nestopi-hero-feature-slide-size: calc((var(--nestopi-hero-content-width) - var(--nestopi-hero-feature-peek) - var(--nestopi-hero-feature-peek) - var(--nestopi-hero-feature-gap) - var(--nestopi-hero-feature-gap) - var(--nestopi-hero-feature-gap) - var(--nestopi-hero-feature-gap)) / 3);
	--nestopi-hero-dot-size: 12px;
	--nestopi-hero-dot-gap: calc(var(--nestopi-hero-content-width) * 0.01375);
	--nestopi-hero-after-dots-gap: clamp(42px, calc(var(--nestopi-hero-width) * 0.025), 48px);
	--nestopi-hero-visual-height: calc(var(--nestopi-hero-feature-top) + var(--nestopi-hero-feature-slide-size) + var(--nestopi-hero-dot-gap) + var(--nestopi-hero-dot-size) + var(--nestopi-hero-after-dots-gap));
	--nestopi-hero-feature-blur-spread: calc(var(--nestopi-hero-content-width) * 0.04);
}

/* Hero */
.nestopi-front-hero__visual {
	position: relative;
	display: block;
	width: 100vw;
	min-height: var(--nestopi-hero-visual-height);
	margin: 0 calc(50% - 50vw);
	background-image: linear-gradient(rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.24)), url("../images/backgrounds/top_main_image.webp");
	background-attachment: scroll;
	background-position: center top;
	background-repeat: no-repeat;
	background-size: max(100vw, calc(var(--nestopi-hero-visual-height) * 1.77857)) auto;
	overflow: hidden;
}

@media (min-width: 768px) {
	body.admin-bar .nestopi-front .nestopi-front-hero__visual {
		background-position: center top;
	}
}

.nestopi-hero-logo {
	position: absolute;
	top: var(--nestopi-hero-logo-top);
	left: 50%;
	z-index: 5;
	width: var(--nestopi-hero-logo-width);
	max-width: 80vw;
	pointer-events: none;
	transform: translateX(-50%);
}

.nestopi-hero-logo__img {
	display: block;
	width: 100%;
	height: auto;
}

.nestopi-hero-logo__img--pc {
	display: block;
}

.nestopi-hero-logo__img--mobile {
	display: none;
}

.nestopi-hero-feature {
	position: absolute;
	top: var(--nestopi-hero-feature-top);
	left: 50%;
	z-index: 1002;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	justify-items: center;
	width: 100vw;
	transform: translateX(-50%);
}

.nestopi-hero-feature::before {
	position: absolute;
	top: calc(var(--nestopi-hero-feature-blur-spread) * -0.5);
	right: 0;
	bottom: calc(var(--nestopi-hero-dot-gap) * -1);
	left: 0;
	z-index: -1;
	background: rgba(190, 190, 190, 0.72);
	filter: blur(8px);
	content: "";
	pointer-events: none;
}

.nestopi-hero-feature__carousel {
	position: relative;
	width: 100%;
	min-width: 0;
}

.nestopi-hero-feature__viewport {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.nestopi-hero-feature__viewport::-webkit-scrollbar {
	display: none;
}

.nestopi-hero-feature__track {
	display: flex;
	gap: var(--nestopi-hero-feature-gap);
}

.nestopi-hero-feature__slide {
	flex: 0 0 var(--nestopi-hero-feature-slide-size);
	min-width: 0;
	scroll-snap-align: center;
}

.nestopi-hero-feature__link {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	background: var(--nestopi-color-black);
	border-radius: 0;
	overflow: hidden;
}

.nestopi-hero-feature__link:focus-visible {
	outline: 3px solid var(--nestopi-color-accent);
	outline-offset: 4px;
}

.nestopi-hero-feature__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.24s ease;
}

.nestopi-hero-feature__link:hover .nestopi-hero-feature__image,
.nestopi-hero-feature__link:focus-visible .nestopi-hero-feature__image {
	transform: scale(1.04);
}

.nestopi-hero-feature__nav {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 64px;
	padding: 0;
	color: var(--nestopi-color-main);
	font-size: 48px;
	font-weight: 400;
	line-height: 1;
	background: var(--nestopi-color-white);
	border: 1px solid rgba(0, 0, 0, 0.18);
	border-radius: 999px;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
	cursor: pointer;
	transform: translateY(-50%);
}

.nestopi-hero-feature__nav:hover,
.nestopi-hero-feature__nav:focus-visible {
	color: var(--nestopi-color-main);
	background: var(--nestopi-color-white);
	outline: none;
}

.nestopi-hero-feature__nav:disabled {
	cursor: default;
	opacity: 0.42;
	pointer-events: none;
}

.nestopi-hero-feature__nav--prev {
	left: calc(var(--nestopi-hero-feature-peek) / 2);
	transform: translate(-50%, -50%);
}

.nestopi-hero-feature__nav--next {
	right: calc(var(--nestopi-hero-feature-peek) / 2);
	transform: translate(50%, -50%);
}

.nestopi-hero-feature__dots {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: var(--nestopi-hero-dot-gap);
}

.nestopi-hero-feature__dot {
	width: var(--nestopi-hero-dot-size);
	height: var(--nestopi-hero-dot-size);
	padding: 0;
	background: var(--nestopi-color-black);
	border: 1px solid rgba(255, 255, 255, 0.34);
	border-radius: 0;
	cursor: pointer;
}

.nestopi-hero-feature__dot:hover,
.nestopi-hero-feature__dot:focus-visible,
.nestopi-hero-feature__dot.is-active {
	background: var(--nestopi-color-accent);
	outline: none;
}

.nestopi-front-hero__transition {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	margin: 0;
	background: var(--nestopi-color-page-bg);
	overflow: hidden;
}

.nestopi-front-hero__quick-links {
	--nestopi-front-hero-quick-links-width: 1440px;
	--nestopi-front-hero-quick-links-padding-x: calc(var(--nestopi-front-hero-quick-links-width) * var(--nestopi-card-area-desktop-padding-ratio));
	--nestopi-front-hero-quick-links-gap: calc(var(--nestopi-front-hero-quick-links-width) * var(--nestopi-card-area-desktop-gap-ratio));
	position: relative;
	z-index: 2;
	isolation: isolate;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	justify-content: center;
	gap: var(--nestopi-front-hero-quick-links-gap);
	box-sizing: border-box;
	width: calc((var(--nestopi-front-hero-quick-links-width) * var(--nestopi-wide-card-area-desktop-ratio)) + (var(--nestopi-front-hero-quick-links-padding-x) * 2));
	margin: 0 auto;
	padding: clamp(22px, 3vw, 38px) var(--nestopi-front-hero-quick-links-padding-x);
	border: 0;
}

.nestopi-front-hero__quick-links::before {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	z-index: -1;
	width: 100vw;
	background: var(--nestopi-color-page-bg);
	content: "";
	transform: translateX(-50%);
}

.nestopi-front .nestopi-front-hero__quick-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: clamp(58px, 5vw, 72px);
	padding: 12px 20px;
	color: #2e2e2e;
	font-size: clamp(15px, 1.3vw, 19px);
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	white-space: nowrap;
	background-color: var(--nestopi-color-main);
	background-image: url("../images/ui/button_01.webp");
	background-position: center;
	background-repeat: no-repeat;
	background-size: 100% 100%;
	transition: filter 0.18s ease, transform 0.18s ease;
}

.nestopi-front .nestopi-front-hero__quick-link.is-temporarily-hidden {
	display: none;
}

.nestopi-front .nestopi-front-hero__quick-link--account {
	grid-column: 2;
}

.nestopi-front .nestopi-front-hero__quick-link--announce {
	grid-column: 3;
}

.nestopi-front .nestopi-front-hero__quick-link:hover,
.nestopi-front .nestopi-front-hero__quick-link:focus-visible {
	color: #2e2e2e;
	filter: brightness(1.12);
	outline: none;
	transform: translateY(-2px);
}

.nestopi-front .nestopi-front-hero__quick-link span {
	display: block;
	text-shadow: 0 2px 4px rgba(92, 92, 92, 0.28);
}

/* Product card */
.nestopi-product-card {
	display: grid;
	grid-template-rows: auto 1fr;
	min-width: 0;
	color: var(--nestopi-color-black);
	background: var(--nestopi-color-white);
	border: 0;
	border-radius: 8px;
	overflow: hidden;
}

.nestopi-product-card__image {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 1 / 1;
	background: #d9d8d6;
	overflow: hidden;
}

.nestopi-product-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.nestopi-product-card--sold-out .nestopi-product-card__image::after {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: rgba(0, 0, 0, 0.58);
	content: "";
	pointer-events: none;
}

.nestopi-product-card__sold-out {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 2;
	display: block;
	color: var(--nestopi-color-white);
	font-size: clamp(20px, 2.2vw, 32px);
	font-weight: 400;
	line-height: 1;
	text-align: center;
	white-space: nowrap;
	transform: translate(-50%, -50%);
	pointer-events: none;
}

.nestopi-product-card__placeholder {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 16px;
	color: rgba(0, 0, 0, 0.58);
	font-size: 13px;
	font-weight: 800;
	text-align: center;
}

.nestopi-product-card__body {
	display: grid;
	align-content: start;
	text-align: center;
	gap: 8px;
	min-height: 0;
	padding: 16px 16px 32px 16px;
}

.nestopi-product-card__title {
	display: block;
	margin: 0;
	color: var(--nestopi-color-black);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.35;
}

.nestopi-product-card__price {
	display: block;
	margin: 0;
	color: var(--nestopi-color-black);
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
}

.nestopi-section-divider {
	position: relative;
	z-index: 1;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	line-height: 0;
	overflow: hidden;
	pointer-events: none;
}

.nestopi-section-divider img {
	display: block;
	width: 100%;
	height: auto;
}

/* Section headings */
.nestopi-new-products__heading,
.nestopi-pickup-products__heading,
.nestopi-news__heading {
	position: relative;
	display: grid;
	gap: clamp(1px, calc(var(--nestopi-section-art-width) * 0.002), 4px);
	justify-items: start;
	margin-bottom: clamp(10px, calc(var(--nestopi-section-art-width) * 0.011), 16px);
	margin-left: calc(var(--nestopi-new-products-card-grid-left) + (var(--nestopi-section-card-padding-x) * 0.2));
	pointer-events: none;
}

.nestopi-games__eyebrow {
	position: absolute;
	top: 43%;
	left: 33%;
	margin: 0;
	color: rgba(255, 255, 255, 0.2);
	font-size: calc(var(--nestopi-section-art-width) * 0.056944);
	font-weight: 900;
	line-height: 0.92;
	letter-spacing: 0;
	text-transform: uppercase;
	white-space: nowrap;
	-webkit-text-stroke: clamp(1px, calc(var(--nestopi-section-art-width) * 0.003), 4.5px) var(--nestopi-color-white);
	text-shadow: 0 2px 0 rgba(0, 0, 0, 0.12);
	transform: rotate(-9deg);
}

.nestopi-new-products__eyebrow,
.nestopi-pickup-products__eyebrow,
.nestopi-news__eyebrow {
	margin: 0;
	line-height: 0;
}

.nestopi-new-products__eyebrow img,
.nestopi-pickup-products__eyebrow img,
.nestopi-news__eyebrow img {
	display: block;
	width: auto;
	height: var(--nestopi-section-eyebrow-height);
}

.nestopi-games__eyebrow.is-flashing {
	color: var(--nestopi-color-white);
	-webkit-text-stroke-width: 0;
	text-shadow: 0 0 8px rgba(255, 255, 255, 0.86), 0 0 18px rgba(246, 110, 0, 0.44);
}

.nestopi-games__title {
	position: absolute;
	top: 61%;
	margin: 0;
	color: var(--nestopi-color-white);
	font-size: calc(var(--nestopi-section-art-width) * 0.033333);
	font-weight: 900;
	line-height: 1.08;
	letter-spacing: 0;
	white-space: nowrap;
	text-shadow: 0 3px 0 rgba(0, 0, 0, 0.22);
	transform: rotate(-9deg);
}

.nestopi-new-products__title,
.nestopi-pickup-products__title,
.nestopi-news__title {
	margin: 0;
	color: #949494;
	font-size: clamp(13px, calc(var(--nestopi-section-art-width) * 0.021), 30px);
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0;
	white-space: nowrap;
}

@media (min-width: 1440px) {
	.nestopi-games__eyebrow {
		font-size: 82px;
	}

	.nestopi-games__title {
		font-size: 48px;
	}
}

/* Sections: games */
.nestopi-games {
	/* Stage coordinate system: artwork and cards scale from the same width. */
	--nestopi-front-layout-width: min(1440px, calc(100vw - 40px));
	--nestopi-games-stage-width: 1440px;
	--nestopi-section-art-width: var(--nestopi-games-stage-width);
	--nestopi-games-stage-available-width: calc(((var(--nestopi-front-layout-width) * 0.5) - var(--nestopi-section-card-padding-x)) * 2.82);
	--nestopi-section-card-padding-x: clamp(20px, 5vw, 72px);
	--nestopi-section-heading-grid-width: min(var(--nestopi-front-layout-width), calc(980px + (var(--nestopi-section-card-padding-x) * 2)));
	--nestopi-section-heading-card-left: calc(((var(--nestopi-front-layout-width) - var(--nestopi-section-heading-grid-width)) * 0.5) + var(--nestopi-section-card-padding-x));
	--nestopi-section-heading-art-offset: calc(var(--nestopi-front-layout-width) * 0.11972);
	width: var(--nestopi-front-layout-width);
	padding-top: clamp(66px, 10.5vw, 129px);
	padding-bottom: clamp(60px, 8vw, 112px);
}

.nestopi-games__inner {
	position: relative;
	height: calc(var(--nestopi-games-stage-width) * 0.48);
	min-height: 0;
}

.nestopi-games__heading {
	position: absolute;
	top: calc(var(--nestopi-section-art-width) * -0.12);
	left: calc(var(--nestopi-section-heading-card-left) - var(--nestopi-section-heading-art-offset));
	z-index: 2;
	display: block;
	width: calc(var(--nestopi-section-art-width) * 0.45);
	aspect-ratio: 1.52 / 1;
	background-image: url("../images/backgrounds/title_bg_01.webp");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	pointer-events: none;
}

.nestopi-games__title {
	left: 33%;
}

.nestopi-games__stage {
	position: absolute;
	top: 0;
	left: 50%;
	width: var(--nestopi-games-stage-width);
	height: 100%;
	transform: translateX(-50%);
}

.nestopi-games__background {
	position: absolute;
	top: 12%;
	left: 26%;
	z-index: 1;
	width: 55%;
	aspect-ratio: 1.338 / 1;
	pointer-events: none;
}

.nestopi-games__background-shadow,
.nestopi-games__background-cord {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	pointer-events: none;
}

.nestopi-games__background-shadow {
	transform: translate(2.3%, 3.4%);
	opacity: 0.78;
}

.nestopi-game-card {
	position: absolute;
	display: block;
	width: 33%;
	aspect-ratio: 1.78 / 1;
	cursor: default;
	transform-origin: center;
}

.nestopi-game-card--chill-with-you {
	top: 0%;
	left: 50%;
	z-index: 3;
	cursor: pointer;
	transform: rotate(8deg);
	transition: filter 0.24s ease, transform 0.24s ease;
}

.nestopi-game-card--coming-soon-left {
	top: 36%;
	left: 15%;
	z-index: 2;
	transform: rotate(-9deg);
}

.nestopi-game-card--coming-soon-right {
	top: 51%;
	left: 53%;
	z-index: 2;
	transform: rotate(5deg);
}

.nestopi-game-card__thumb {
	position: absolute;
	inset: 0;
	display: block;
	z-index: 2;
	overflow: visible;
}

.nestopi-game-card__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.nestopi-game-card--coming-soon-left,
.nestopi-game-card--coming-soon-right {
	filter: saturate(0.92);
}

@media (min-width: 768px) {
	.nestopi-game-card--chill-with-you:hover,
	.nestopi-game-card--chill-with-you:focus-visible {
		filter: drop-shadow(0 0 6px rgba(246, 110, 0, 0.95)) drop-shadow(0 0 18px rgba(246, 110, 0, 0.72)) drop-shadow(0 0 38px rgba(255, 190, 86, 0.36));
		transform: rotate(8deg) scale(1.04);
	}
}

/* Sections: product grids */
.nestopi-new-products,
.nestopi-pickup-products {
	--nestopi-front-layout-width: min(1440px, calc(100vw - 40px));
	--nestopi-section-art-width: 1440px;
	--nestopi-section-card-padding-x: calc(var(--nestopi-section-art-width) * var(--nestopi-card-area-desktop-padding-ratio));
	--nestopi-new-products-card-gap: calc(var(--nestopi-section-art-width) * var(--nestopi-card-area-desktop-gap-ratio));
	--nestopi-new-products-card-grid-width: calc((var(--nestopi-section-art-width) * var(--nestopi-wide-card-area-desktop-ratio)) + (var(--nestopi-section-card-padding-x) * 2));
	--nestopi-section-eyebrow-height: clamp(25px, calc(var(--nestopi-section-art-width) * 0.03825), 55px);
	--nestopi-new-products-card-grid-left: calc(((var(--nestopi-front-layout-width) - (var(--nestopi-section-art-width) * var(--nestopi-wide-card-area-desktop-ratio))) * 0.5) - var(--nestopi-section-card-padding-x));
	width: var(--nestopi-front-layout-width);
	padding-top: calc((var(--nestopi-section-art-width) * 0.03) + 24px);
	padding-bottom: clamp(44px, 6vw, 84px);
}

.nestopi-new-products__inner,
.nestopi-pickup-products__inner {
	position: relative;
	isolation: isolate;
}

.nestopi-new-products__grid,
.nestopi-pickup-products__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	justify-content: center;
	gap: var(--nestopi-new-products-card-gap);
	box-sizing: border-box;
	width: var(--nestopi-new-products-card-grid-width);
	margin: 0 0 0 var(--nestopi-new-products-card-grid-left);
	padding: 0 var(--nestopi-section-card-padding-x);
}

.nestopi-new-products .nestopi-product-card__image,
.nestopi-pickup-products .nestopi-product-card__image {
	margin: clamp(8px, 1.1vw, 14px);
	border-radius: 4px;
}

.nestopi-new-products .nestopi-product-card__image img,
.nestopi-pickup-products .nestopi-product-card__image img {
	transition: transform 0.24s ease;
}

.nestopi-new-products .nestopi-product-card:hover .nestopi-product-card__image img,
.nestopi-new-products .nestopi-product-card:focus-visible .nestopi-product-card__image img,
.nestopi-pickup-products .nestopi-product-card:hover .nestopi-product-card__image img,
.nestopi-pickup-products .nestopi-product-card:focus-visible .nestopi-product-card__image img {
	transform: scale(1.04);
}

.nestopi-new-products__button {
	position: relative;
	z-index: 1;
}

.nestopi-new-products__empty,
.nestopi-pickup-products__empty {
	grid-column: 1 / -1;
	margin: 0;
	padding: clamp(34px, 5vw, 64px) 16px;
	color: var(--nestopi-color-white);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.6;
	text-align: center;
}

/* Sections: news */
.nestopi-news {
	--nestopi-front-layout-width: min(1440px, calc(100vw - 40px));
	--nestopi-section-art-width: 1440px;
	--nestopi-section-card-padding-x: calc(var(--nestopi-section-art-width) * var(--nestopi-card-area-desktop-padding-ratio));
	--nestopi-new-products-card-grid-width: calc((var(--nestopi-section-art-width) * var(--nestopi-wide-card-area-desktop-ratio)) + (var(--nestopi-section-card-padding-x) * 2));
	--nestopi-section-panel-width: calc(var(--nestopi-section-art-width) * var(--nestopi-wide-card-area-desktop-ratio));
	--nestopi-section-eyebrow-height: clamp(25px, calc(var(--nestopi-section-art-width) * 0.03825), 55px);
	--nestopi-new-products-card-grid-left: calc(((var(--nestopi-front-layout-width) - var(--nestopi-section-panel-width)) * 0.5) - var(--nestopi-section-card-padding-x));
	width: var(--nestopi-front-layout-width);
	padding-top: calc((var(--nestopi-section-art-width) * 0.03) + 24px);
	padding-bottom: clamp(44px, 6vw, 84px);
}

.nestopi-news__inner {
	position: relative;
	isolation: isolate;
}

.nestopi-news__panel {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	width: var(--nestopi-section-panel-width);
	margin: 0 auto;
	padding: clamp(48px, 4.4vw, 72px) clamp(44px, 7.8vw, 112px) clamp(38px, 4.4vw, 62px);
	color: var(--nestopi-color-black);
	background: var(--nestopi-color-white);
	border-radius: clamp(14px, 2vw, 24px);
}

.nestopi-news__list {
	display: grid;
	gap: 0;
}

.nestopi-news-item {
	display: grid;
	gap: 12px;
	padding: 0 0 18px;
	border-bottom: 2px solid var(--nestopi-color-black);
}

.nestopi-news-item + .nestopi-news-item {
	padding-top: 20px;
}

.nestopi-news-item__date {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	justify-self: start;
	min-width: 150px;
	min-height: 28px;
	padding: 2px 18px;
	color: var(--nestopi-color-white);
	font-size: 18px;
	font-weight: 400;
	line-height: 1.2;
	background: var(--nestopi-color-black);
	border-radius: 999px;
}

.nestopi-news-item__title {
	display: block;
	margin: 0;
	color: var(--nestopi-color-black);
	font-size: 20px;
	font-weight: 500;
	line-height: 1.6;
}

.nestopi-news-item__title:hover,
.nestopi-news-item__title:focus-visible {
	color: var(--nestopi-color-main);
	outline: none;
}

.nestopi-news__empty {
	margin: 0;
	padding-bottom: 18px;
	color: var(--nestopi-color-black);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.6;
	border-bottom: 2px solid var(--nestopi-color-black);
}

/* Announce archive */
body.blog {
	--nestopi-announce-panel-width: min(820px, calc(100vw - clamp(72px, 11vw, 180px)));
}

body.single-post,
body.nestopi-content-panel-page {
	--nestopi-content-panel-width: min(820px, calc(100vw - clamp(72px, 11vw, 180px)));
}

body.blog .site-content > .col-full,
body.single-post .site-content > .col-full,
body.nestopi-content-panel-page .site-content > .col-full {
	width: 100%;
	max-width: none;
	padding-right: 0;
	padding-left: 0;
	margin-right: 0;
	margin-left: 0;
}

body.blog .storefront-breadcrumb,
body.single-post .storefront-breadcrumb,
body.nestopi-content-panel-page .storefront-breadcrumb {
	padding: clamp(8px, 1.2vw, 16px) 0 0;
	margin-bottom: 0;
}

body.blog .woocommerce-breadcrumb,
body.single-post .woocommerce-breadcrumb,
body.nestopi-content-panel-page .woocommerce-breadcrumb {
	color: #727272;
}

.nestopi-announce-archive {
	--nestopi-section-art-width: 1440px;
	--nestopi-section-eyebrow-height: clamp(25px, calc(var(--nestopi-section-art-width) * 0.03825), 55px);
	width: 100%;
	min-height: 60vh;
	padding: clamp(10px, 1.8vw, 22px) 0 clamp(56px, 7vw, 96px);
	color: var(--nestopi-color-black);
	background: var(--nestopi-color-page-bg);
}

.nestopi-announce-archive__heading {
	display: grid;
	gap: clamp(1px, calc(var(--nestopi-section-art-width) * 0.002), 4px);
	justify-items: start;
	box-sizing: border-box;
	width: var(--nestopi-announce-panel-width);
	margin: 0 auto clamp(20px, 2.7vw, 34px);
	pointer-events: none;
}

.nestopi-announce-archive__eyebrow {
	margin: 0;
	line-height: 0;
}

.nestopi-announce-archive__eyebrow img {
	display: block;
	width: auto;
	height: var(--nestopi-section-eyebrow-height);
}

.nestopi-announce-archive__title {
	margin: 0;
	color: #949494;
	font-size: clamp(13px, calc(var(--nestopi-section-art-width) * 0.021), 30px);
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0;
	white-space: nowrap;
}

.nestopi-announce-archive__panel {
	box-sizing: border-box;
	width: var(--nestopi-announce-panel-width);
	margin: 0 auto;
	padding: clamp(34px, 4.6vw, 62px) clamp(36px, 5.4vw, 76px);
	background: var(--nestopi-color-white);
	border-radius: clamp(14px, 2vw, 24px);
}

.nestopi-announce-archive__list {
	display: grid;
	gap: 0;
}

.nestopi-announce-item {
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr);
	gap: clamp(22px, 3.2vw, 42px);
	padding: 16px 0;
}

.nestopi-announce-item + .nestopi-announce-item {
	border-top: 1px solid #eeeeee;
}

.nestopi-announce-item__date {
	padding-top: 2px;
	color: var(--nestopi-color-black);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.5;
	white-space: nowrap;
}

.nestopi-announce-item__body {
	display: grid;
	gap: 4px;
	min-width: 0;
}

.nestopi-announce-item__title {
	margin: 0;
	color: var(--nestopi-color-black);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.45;
	letter-spacing: 0;
}

.nestopi-announce-item__title a {
	color: inherit;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.nestopi-announce-item__title a:hover,
.nestopi-announce-item__title a:focus-visible {
	color: var(--nestopi-color-main);
	outline: none;
}

.nestopi-announce-item__excerpt {
	margin: 0;
	color: var(--nestopi-color-black);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.7;
}

.nestopi-announce-archive__empty {
	margin: 0;
	color: var(--nestopi-color-black);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.6;
	text-align: center;
}

.nestopi-announce-archive__pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-top: clamp(28px, 4vw, 48px);
}

.nestopi-announce-archive__pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	min-height: 38px;
	padding: 8px 12px;
	color: var(--nestopi-color-black);
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	background: var(--nestopi-color-white);
	border: 1px solid rgba(0, 0, 0, 0.18);
	border-radius: 4px;
}

.nestopi-announce-archive__pagination .page-numbers.current,
.nestopi-announce-archive__pagination a.page-numbers:hover,
.nestopi-announce-archive__pagination a.page-numbers:focus-visible {
	color: var(--nestopi-color-white);
	background: var(--nestopi-color-black);
	outline: none;
}

/* Shared content panel */
.nestopi-content-panel-main,
body.nestopi-content-panel-page .site-main {
	width: 100%;
	min-height: 60vh;
	padding: clamp(10px, 1.8vw, 22px) 0 clamp(56px, 7vw, 96px);
	color: var(--nestopi-color-black);
	background: var(--nestopi-color-page-bg);
}

.nestopi-content-panel {
	box-sizing: border-box;
	width: var(--nestopi-content-panel-width);
	margin: 0 auto;
	padding: clamp(34px, 4.6vw, 62px) clamp(36px, 5.4vw, 76px);
	background: var(--nestopi-color-white);
	border-radius: clamp(14px, 2vw, 24px);
}

.nestopi-content-panel__header {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: start;
	gap: 6px;
	margin-bottom: clamp(22px, 3vw, 34px);
}

.nestopi-content-panel .entry-header {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: start;
	gap: 6px;
	margin-bottom: 0;
}

.nestopi-content-panel__title,
.nestopi-content-panel .entry-title,
.nestopi-content-panel .entry-content h1 {
	margin: 0;
	color: var(--nestopi-color-black);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.55;
	letter-spacing: 0;
}

.nestopi-content-panel .entry-header > h1.entry-title {
	margin-bottom: clamp(22px, 3vw, 34px);
}

.nestopi-content-panel__date {
	justify-self: end;
	padding-top: 0;
	color: #727272;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.5;
	white-space: nowrap;
}

.nestopi-content-panel__thumbnail {
	margin: 0 0 clamp(18px, 2.6vw, 28px);
	line-height: 0;
}

.nestopi-content-panel__thumbnail img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 0;
}

.nestopi-content-panel__content,
.nestopi-content-panel .entry-content {
	color: var(--nestopi-color-black);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.9;
}

.nestopi-content-panel__content > *,
.nestopi-content-panel .entry-content > * {
	margin-top: 0;
	margin-bottom: 1.4em;
}

.nestopi-content-panel__content > :last-child,
.nestopi-content-panel .entry-content > :last-child {
	margin-bottom: 0;
}

.nestopi-content-panel__content a,
.nestopi-content-panel .entry-content a {
	color: #0066cc;
	text-decoration: none;
}

.nestopi-content-panel__content a:hover,
.nestopi-content-panel__content a:focus-visible,
.nestopi-content-panel .entry-content a:hover,
.nestopi-content-panel .entry-content a:focus-visible {
	color: var(--nestopi-color-main);
	outline: none;
}

/* Contact form */
body.page .tgtp-contact-body {
	display: grid;
	gap: 24px;
	color: var(--nestopi-color-black);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.65;
}

.tgtp-contact-body section,
.tgtp-contact-body fieldset,
.tgtp-contact-body .form-field,
.tgtp-contact-body .contact__button {
	min-width: 0;
}

.tgtp-contact-body p {
	margin: 0;
}

.tgtp-contact-body .form-field:not(.image-attachment-note) > p,
.tgtp-contact-body .contact__button > p {
	display: contents;
}

.tgtp-contact-body .form-field:not(.image-attachment-note) > p > br,
.tgtp-contact-body .contact__button > p > br {
	display: none;
}

.tgtp-contact-body fieldset {
	padding: 0;
	margin: 0;
	background: transparent;
	border: 0;
}

.tgtp-contact-body legend {
	display: block;
	width: 100%;
	padding: 0;
	margin: 0 0 8px;
	color: var(--nestopi-color-black);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.45;
	background: transparent;
}

.tgtp-contact-body .form-field {
	margin: 0 0 18px;
}

.tgtp-contact-body .form-field:last-child {
	margin-bottom: 0;
}

.tgtp-contact-body label {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 8px;
	margin: 0 0 8px;
	color: var(--nestopi-color-black);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.45;
}

.tgtp-contact-body label br {
	display: none;
}

.tgtp-contact-body .required-label {
	color: #cc0000;
	font-size: 13px;
	font-weight: 700;
}

.tgtp-contact-body .optional-label {
	color: #666666;
	font-size: 13px;
	font-weight: 700;
}

.tgtp-contact-body .contact-note-section {
	padding: 18px 22px;
	margin: 0 0 4px;
	background: #f9f9f9;
	border: 1px solid #eeeeee;
	border-radius: 6px;
}

.tgtp-contact-body .contact-note-title {
	margin: 0 0 8px;
	color: #333333;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.45;
}

.tgtp-contact-body .contact-note-list {
	padding-left: 18px;
	margin: 0;
	color: #555555;
	font-size: 13px;
	line-height: 1.7;
}

.tgtp-contact-body .contact-note-list li {
	margin: 0;
}

.tgtp-contact-body .contact-note-list p {
	display: inline;
}

.tgtp-contact-body .contact-note-sub {
	color: #888888;
	font-size: 12px;
}

.tgtp-contact-field {
	width: 100%;
}

.tgtp-contact-body input[type="text"],
.tgtp-contact-body input[type="email"],
.tgtp-contact-body select,
.tgtp-contact-body textarea {
	box-sizing: border-box;
	width: 100%;
	min-height: 42px;
	padding: 10px 12px;
	color: var(--nestopi-color-black);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;
	background: #f7f7f7;
	border: 1px solid #dddddd;
	border-radius: 4px;
	box-shadow: none;
}

.tgtp-contact-body select {
	padding-right: 36px;
	background-color: #ffffff;
}

.tgtp-contact-body textarea {
	min-height: 190px;
	resize: vertical;
}

.tgtp-contact-body input::placeholder,
.tgtp-contact-body textarea::placeholder {
	color: #b5b5b5;
	opacity: 1;
}

.tgtp-contact-body input:focus,
.tgtp-contact-body select:focus,
.tgtp-contact-body textarea:focus {
	background: var(--nestopi-color-white);
	border-color: #b8b8b8;
	outline: 2px solid rgba(246, 110, 0, 0.2);
	outline-offset: 0;
}

.tgtp-contact-body .wpcf7-not-valid {
	border-color: #cc0000;
}

.tgtp-contact-body .wpcf7-not-valid-tip {
	margin-top: 6px;
	color: #cc0000;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.45;
}

.tgtp-contact-body .form-warning {
	margin-top: 8px;
	color: #555555;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.65;
}

.tgtp-contact-body .form-warning p + p {
	margin-top: 2px;
}

.tgtp-contact-body .form-warning span,
.tgtp-contact-body .warning-strong,
.tgtp-contact-body .warning-strong-small {
	color: #cc0000;
	font-weight: 700;
}

.tgtp-contact-body .form-warning span:not(.warning-strong):not(.warning-strong-small) {
	color: #888888;
}

.tgtp-contact-body .form-warning-red span {
	color: #cc0000;
}

.tgtp-contact-body .image-attachment-note {
	padding: 16px 18px;
	background: #fff3cd;
	border: 1px solid #ffe6a3;
	border-radius: 4px;
}

.tgtp-contact-body .image-attachment-title {
	margin: 0 0 8px;
	color: #856404;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.45;
}

.tgtp-contact-body .image-attachment-text {
	margin: 0;
	color: #856404;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.65;
}

.tgtp-contact-body .image-attachment-note p:not(.image-attachment-title) {
	margin: 0;
	color: #856404;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.65;
}

.tgtp-contact-body .image-attachment-text span {
	color: inherit;
}

.tgtp-contact-body .contact__button {
	margin-top: 8px;
	text-align: center;
}

.tgtp-contact-body .wpcf7-submit,
.tgtp-contact-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 42px;
	padding: 10px 28px;
	color: var(--nestopi-color-white);
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	background: var(--nestopi-color-black);
	border: 0;
	border-radius: 999px;
	box-shadow: none;
	opacity: 1;
	transition: background 0.18s ease, color 0.18s ease;
}

.tgtp-contact-body .wpcf7-submit:hover,
.tgtp-contact-body .wpcf7-submit:focus-visible,
.tgtp-contact-submit:hover,
.tgtp-contact-submit:focus-visible {
	color: var(--nestopi-color-white);
	background: #2a2a2a;
	outline: none;
}

.tgtp-contact-body .wpcf7-spinner {
	margin: 12px auto 0;
}

.tgtp-contact-body .wpcf7-response-output {
	margin: 18px 0 0;
	padding: 10px 12px;
	color: var(--nestopi-color-black);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.5;
	border-radius: 4px;
}

/* Footer */
body .nestopi-site-footer.site-footer {
	position: relative;
	z-index: 2;
	display: block;
	width: 100vw;
	margin-top: 0;
	margin-left: calc(50% - 50vw);
	padding: 0;
	color: var(--nestopi-color-white);
	background: var(--nestopi-color-black);
}

.nestopi-site-footer__inner {
	display: grid;
	justify-items: center;
	max-width: 1280px;
	padding: clamp(48px, 5.5vw, 76px) 24px clamp(48px, 5vw, 72px);
	margin: 0 auto;
}

.nestopi-site-footer__nav {
	width: 100%;
}

.nestopi-site-footer__links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px 20px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.nestopi-site-footer__link-item {
	display: inline-flex;
	align-items: center;
	gap: 20px;
	min-width: 0;
}

.nestopi-site-footer__link-item.is-temporarily-hidden {
	display: none;
}

body .site-footer.nestopi-site-footer a.nestopi-site-footer__link:not(.button):not(.components-button) {
	color: var(--nestopi-color-white);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.45;
	text-decoration: none;
	white-space: nowrap;
}

body .site-footer.nestopi-site-footer a.nestopi-site-footer__link:not(.button):not(.components-button):hover,
body .site-footer.nestopi-site-footer a.nestopi-site-footer__link:not(.button):not(.components-button):focus-visible {
	color: var(--nestopi-color-main);
	text-decoration: none;
	outline: none;
}

.nestopi-site-footer__separator {
	color: var(--nestopi-color-white);
	font-size: 15px;
	font-weight: 500;
	line-height: 1;
}

.nestopi-site-footer__logo {
	margin-top: clamp(28px, 3vw, 44px);
	line-height: 0;
}

.nestopi-site-footer__logo-img {
	display: block;
	width: clamp(190px, 14vw, 270px);
	height: auto;
}

.nestopi-site-footer__copyright {
	margin: clamp(28px, 3vw, 44px) 0 0;
	color: var(--nestopi-color-white);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
}

/* Responsive and motion overrides */
@media (prefers-reduced-motion: reduce) {
	.nestopi-game-card--chill-with-you {
		transition: none;
	}

	.nestopi-game-card--chill-with-you:hover,
	.nestopi-game-card--chill-with-you:focus-visible {
		transform: rotate(8deg);
	}

	.nestopi-new-products .nestopi-product-card__image img,
	.nestopi-pickup-products .nestopi-product-card__image img {
		transition: none;
	}

	.nestopi-new-products .nestopi-product-card:hover .nestopi-product-card__image img,
	.nestopi-new-products .nestopi-product-card:focus-visible .nestopi-product-card__image img,
	.nestopi-pickup-products .nestopi-product-card:hover .nestopi-product-card__image img,
	.nestopi-pickup-products .nestopi-product-card:focus-visible .nestopi-product-card__image img {
		transform: none;
	}
}

@media (max-width: 1180px) and (min-width: 768px) {
	.nestopi-games {
		--nestopi-games-stage-width: min(1440px, var(--nestopi-games-stage-available-width));
	}

	.nestopi-new-products,
	.nestopi-pickup-products,
	.nestopi-news {
		--nestopi-section-art-width: min(1440px, calc(((var(--nestopi-front-layout-width) * 0.5) - clamp(20px, 5vw, 72px)) * 2.82));
	}

	.nestopi-front-hero__quick-links {
		--nestopi-front-hero-quick-links-width: min(1440px, calc(((min(1440px, calc(100vw - 40px)) * 0.5) - clamp(20px, 5vw, 72px)) * 2.82));
	}
}

@media (max-width: 767.99px) {
	.nestopi-fixed-sns {
		top: auto;
		right: 12px;
		bottom: 78px;
		gap: 12px;
		transform: none;
	}

	.nestopi-fixed-sns__link {
		width: 32px;
		height: 32px;
		font-size: 11px;
	}

	.nestopi-front-section,
	.nestopi-front-hero {
		width: min(100% - 28px, 640px);
		padding-top: 56px;
		padding-bottom: 56px;
	}

	.nestopi-games {
		--nestopi-front-layout-width: min(920px, max(390px, calc(100vw + 120px)));
		--nestopi-games-stage-width: var(--nestopi-front-layout-width);
		width: var(--nestopi-front-layout-width);
		padding-top: 56px;
		padding-bottom: 56px;
		left: 50%;
		margin-right: 0;
		margin-left: 0;
		transform: translateX(-50%);
	}

	/* Main visual: mobile uses a pseudo layer because background-attachment is unreliable. */
	.nestopi-front-hero {
		padding-top: 0;
		padding-bottom: 0;
		/* Mobile keeps pseudo-background layers but uses the same ratio system. */
		--nestopi-hero-width: max(320px, 100vw);
		--nestopi-hero-content-width: var(--nestopi-hero-width);
		--nestopi-hero-logo-width: clamp(219px, calc(var(--nestopi-hero-width) * 0.729167), 350px);
		--nestopi-hero-logo-ratio: 0.31731;
		--nestopi-hero-logo-height: calc(var(--nestopi-hero-logo-width) * var(--nestopi-hero-logo-ratio));
		--nestopi-hero-feature-top: clamp(112px, calc(var(--nestopi-hero-width) * 0.364583), 175px);
		--nestopi-hero-logo-top: calc((var(--nestopi-hero-feature-top) - var(--nestopi-hero-logo-height)) / 2);
		--nestopi-hero-feature-gap: calc(var(--nestopi-hero-width) * 0.056);
		--nestopi-hero-feature-peek: calc(var(--nestopi-hero-width) * 0.07);
		--nestopi-hero-feature-content-width: min(480px, var(--nestopi-hero-width));
		--nestopi-hero-feature-slide-size: calc(var(--nestopi-hero-feature-content-width) - var(--nestopi-hero-feature-peek) - var(--nestopi-hero-feature-peek) - var(--nestopi-hero-feature-gap) - var(--nestopi-hero-feature-gap));
		--nestopi-hero-dot-size: 11px;
		--nestopi-hero-dot-gap: calc(var(--nestopi-hero-width) * 0.036);
		--nestopi-hero-after-dots-gap: 48px;
		--nestopi-hero-visual-height: calc(var(--nestopi-hero-feature-top) + var(--nestopi-hero-feature-slide-size) + var(--nestopi-hero-dot-gap) + var(--nestopi-hero-dot-size) + var(--nestopi-hero-after-dots-gap));
		--nestopi-hero-feature-blur-spread: clamp(28px, calc(var(--nestopi-hero-width) * 0.08), 42px);
		--nestopi-hero-background-height: clamp(403px, calc(var(--nestopi-hero-width) * 1.258333), 604px);
	}

	.nestopi-front-hero__visual {
		position: relative;
		display: grid;
		place-items: start center;
		isolation: isolate;
		min-height: var(--nestopi-hero-visual-height);
		margin-bottom: 0;
		background-image: none;
		background-attachment: scroll;
		clip-path: inset(0);
		overflow: hidden;
	}

	.nestopi-front-hero__visual::before {
		position: absolute;
		top: 0;
		left: 0;
		z-index: -1;
		width: 100vw;
		height: 100%;
		background-image: linear-gradient(rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.24)), url("../images/backgrounds/top_main_image.webp");
		background-position: center top;
		background-repeat: no-repeat;
		background-size: auto var(--nestopi-hero-background-height);
		content: "";
		pointer-events: none;
	}

	.nestopi-hero-logo {
		position: absolute;
		top: var(--nestopi-hero-logo-top);
		left: 50%;
		z-index: 50;
		width: var(--nestopi-hero-logo-width);
		pointer-events: none;
		transform: translateX(-50%);
	}

	.nestopi-hero-logo__img--pc {
		display: none;
	}

	.nestopi-hero-logo__img--mobile {
		display: block;
		width: 100%;
		height: auto;
	}

	.nestopi-hero-feature {
		top: var(--nestopi-hero-feature-top);
		width: 100vw;
	}

	.nestopi-hero-feature__track {
		gap: var(--nestopi-hero-feature-gap);
	}

	.nestopi-hero-feature__slide {
		flex-basis: var(--nestopi-hero-feature-slide-size);
		display: grid;
		place-items: center;
	}

	.nestopi-hero-feature__link {
		width: 100%;
	}

	.nestopi-hero-feature__nav {
		width: 36px;
		height: 58px;
		font-size: 42px;
	}

	.nestopi-hero-feature__nav--prev {
		left: calc(var(--nestopi-hero-feature-peek) / 2);
	}

	.nestopi-hero-feature__nav--next {
		right: calc(var(--nestopi-hero-feature-peek) / 2);
	}

	.nestopi-hero-feature__dots {
		gap: 8px;
		margin-top: var(--nestopi-hero-dot-gap);
	}

	.nestopi-hero-feature__dot {
		width: 11px;
		height: 11px;
	}

	.nestopi-front-hero__transition {
		width: 100%;
		margin: 0;
	}

	.nestopi-front-hero__quick-links {
		--nestopi-front-hero-quick-links-width: min(920px, max(390px, calc(100vw + 120px)));
		--nestopi-front-hero-quick-links-padding-x: calc(var(--nestopi-front-hero-quick-links-width) * var(--nestopi-card-area-mobile-padding-ratio));
		--nestopi-front-hero-quick-links-gap: calc(var(--nestopi-front-hero-quick-links-width) * var(--nestopi-card-area-mobile-gap-ratio));
		--nestopi-mobile-section-content-width: min(calc(var(--nestopi-front-hero-quick-links-width) * var(--nestopi-card-area-mobile-ratio)), calc(100vw - ((var(--nestopi-mobile-side-gap-min) + 8px) * 2)));
		grid-template-columns: repeat(2, minmax(0, 1fr));
		width: calc(var(--nestopi-mobile-section-content-width) + (var(--nestopi-front-hero-quick-links-padding-x) * 2));
		padding: 24px var(--nestopi-front-hero-quick-links-padding-x);
		margin-top: 0;
		margin-bottom: 0;
	}

	.nestopi-front-hero__quick-link {
		padding: 10px 12px;
		font-size: 14px;
	}

	.nestopi-front .nestopi-front-hero__quick-link--account,
	.nestopi-front .nestopi-front-hero__quick-link--announce {
		grid-column: auto;
	}

	@media (max-width: 480px) {
		.nestopi-front-hero {
			--nestopi-hero-width: 100vw;
			--nestopi-hero-feature-top: calc(var(--nestopi-hero-background-height) * 0.278);
			--nestopi-hero-after-dots-gap: clamp(24px, calc(var(--nestopi-hero-width) * 0.1), 48px);
			--nestopi-hero-background-height: calc(var(--nestopi-hero-width) * 1.258333);
			--nestopi-hero-visual-height: var(--nestopi-hero-background-height);
		}
	}

	.nestopi-games__heading {
		left: 4%;
	}

	.nestopi-new-products,
	.nestopi-pickup-products,
	.nestopi-news {
		--nestopi-front-layout-width: min(920px, max(390px, calc(100vw + 120px)));
		--nestopi-section-art-width: var(--nestopi-front-layout-width);
		--nestopi-section-card-padding-x: calc(var(--nestopi-section-art-width) * var(--nestopi-card-area-mobile-padding-ratio));
		--nestopi-new-products-card-gap: calc(var(--nestopi-section-art-width) * var(--nestopi-card-area-mobile-gap-ratio));
		--nestopi-mobile-section-content-width: min(calc(var(--nestopi-section-art-width) * var(--nestopi-card-area-mobile-ratio)), calc(100vw - ((var(--nestopi-mobile-side-gap-min) + 8px) * 2)));
		--nestopi-new-products-card-grid-width: calc(var(--nestopi-mobile-section-content-width) + (var(--nestopi-section-card-padding-x) * 2));
		--nestopi-section-panel-width: var(--nestopi-mobile-section-content-width);
		--nestopi-new-products-card-grid-left: calc(((var(--nestopi-front-layout-width) - var(--nestopi-mobile-section-content-width)) * 0.5) - var(--nestopi-section-card-padding-x));
		width: var(--nestopi-front-layout-width);
		padding-top: calc((var(--nestopi-section-art-width) * 0.03) + 24px);
		padding-bottom: 40px;
		left: 50%;
		margin-right: 0;
		margin-left: 0;
		transform: translateX(-50%);
	}

	.nestopi-new-products__grid,
	.nestopi-pickup-products__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		width: var(--nestopi-new-products-card-grid-width);
	}

	.nestopi-new-products .nestopi-product-card__image,
	.nestopi-pickup-products .nestopi-product-card__image {
		margin: 8px;
	}

	.nestopi-news__panel {
		padding: 20px 24px 18px;
		border-radius: 12px;
	}

	.nestopi-news-item {
		position: relative;
		gap: 8px;
		padding-bottom: 14px;
		border-bottom-width: 0;
	}

	.nestopi-news-item::after {
		position: absolute;
		right: -16px;
		bottom: 0;
		left: -16px;
		border-bottom: 1px solid var(--nestopi-color-black);
		content: "";
	}

	.nestopi-news-item + .nestopi-news-item {
		padding-top: 18px;
	}

	.nestopi-news-item__date {
		position: relative;
		left: -8px;
		min-width: 124px;
		min-height: 24px;
		padding: 2px 14px;
		font-size: 13px;
	}

	.nestopi-news-item__title,
	.nestopi-news__empty {
		font-size: 13px;
		line-height: 1.55;
	}

	.nestopi-news__empty {
		padding-bottom: 14px;
		border-bottom-width: 1px;
	}

	.nestopi-announce-archive {
		--nestopi-section-art-width: var(--nestopi-announce-panel-width);
		padding-top: 22px;
		padding-bottom: 56px;
	}

	body.blog {
		--nestopi-announce-panel-width: min(calc(100vw - 28px), 640px);
	}

	body.single-post,
	body.nestopi-content-panel-page {
		--nestopi-content-panel-width: min(calc(100vw - 28px), 640px);
	}

	.nestopi-announce-archive__heading {
		grid-template-rows: calc(var(--nestopi-section-eyebrow-height) + 3px) auto;
		margin-bottom: 18px;
	}

	.nestopi-announce-archive__eyebrow {
		height: var(--nestopi-section-eyebrow-height);
	}

	.nestopi-announce-archive__panel {
		padding: 22px 22px 20px;
		border-radius: 12px;
	}

	.nestopi-announce-item {
		grid-template-columns: 1fr;
		gap: 8px;
		padding: 16px 0;
	}

	.nestopi-announce-item__date {
		padding-top: 0;
		font-size: 12px;
	}

	.nestopi-announce-item__title {
		font-size: 14px;
		line-height: 1.5;
	}

	.nestopi-announce-item__excerpt {
		font-size: 12px;
		line-height: 1.65;
	}

	.nestopi-announce-archive__pagination .page-numbers {
		min-width: 34px;
		min-height: 34px;
		padding: 7px 10px;
		font-size: 13px;
	}

	.nestopi-content-panel-main,
	body.nestopi-content-panel-page .site-main {
		padding-top: 22px;
		padding-bottom: 56px;
	}

	.nestopi-content-panel {
		padding: 22px 22px 24px;
		border-radius: 12px;
	}

	.nestopi-content-panel__header {
		grid-template-columns: 1fr;
		gap: 6px;
		margin-bottom: 18px;
	}

	.nestopi-content-panel .entry-header {
		grid-template-columns: 1fr;
		gap: 6px;
		margin-bottom: 0;
	}

	.nestopi-content-panel__title,
	.nestopi-content-panel .entry-title,
	.nestopi-content-panel .entry-content h1 {
		font-size: 15px;
		line-height: 1.55;
	}

	.nestopi-content-panel .entry-header > h1.entry-title {
		margin-bottom: 18px;
	}

	.nestopi-content-panel__date {
		justify-self: start;
		padding-top: 0;
		font-size: 12px;
	}

	.nestopi-content-panel__thumbnail {
		margin-bottom: 18px;
	}

	.nestopi-content-panel__content,
	.nestopi-content-panel .entry-content {
		font-size: 12px;
		line-height: 1.8;
	}

	.tgtp-contact-body {
		gap: 20px;
		font-size: 13px;
		line-height: 1.65;
	}

	.tgtp-contact-body .contact-note-section {
		padding: 14px 15px;
	}

	.tgtp-contact-body .contact-note-title {
		font-size: 14px;
	}

	.tgtp-contact-body .contact-note-list {
		padding-left: 16px;
		font-size: 12px;
	}

	.tgtp-contact-body legend {
		font-size: 14px;
	}

	.tgtp-contact-body .form-field {
		margin-bottom: 16px;
	}

	.tgtp-contact-body label {
		font-size: 13px;
	}

	.tgtp-contact-body input[type="text"],
	.tgtp-contact-body input[type="email"],
	.tgtp-contact-body select,
	.tgtp-contact-body textarea {
		min-height: 40px;
		padding: 9px 10px;
		font-size: 13px;
	}

	.tgtp-contact-body textarea {
		min-height: 170px;
	}

	.tgtp-contact-body .form-warning,
	.tgtp-contact-body .image-attachment-text,
	.tgtp-contact-body .image-attachment-note p:not(.image-attachment-title) {
		font-size: 11px;
	}

	.tgtp-contact-body .image-attachment-note {
		padding: 14px 15px;
	}

	.tgtp-contact-body .image-attachment-title {
		font-size: 13px;
	}

	.nestopi-site-footer__inner {
		padding: 30px 24px 28px;
	}

	.nestopi-site-footer__links {
		gap: 3px 5px;
	}

	.nestopi-site-footer__link-item {
		gap: 5px;
	}

	body .site-footer.nestopi-site-footer a.nestopi-site-footer__link:not(.button):not(.components-button) {
		font-size: 10px;
		line-height: 1.4;
	}

	.nestopi-site-footer__separator {
		font-size: 8px;
	}

	.nestopi-site-footer__logo {
		margin-top: 18px;
	}

	.nestopi-site-footer__logo-img {
		width: 72px;
	}

	.nestopi-site-footer__copyright {
		margin-top: 12px;
		font-size: 7px;
	}
}
