:root {
    --red: #e32222;
    --black: #313437;
}
.storage-calculator {
	font-family: "Helvetica Neue", Arial, sans-serif;
	margin: 0 auto;
	max-width: 1100px;
	color: var(--black);
}

.storage-calculator * {
	box-sizing: border-box;
}

.sc-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	padding: 18px 12px;
	background: linear-gradient(180deg, var(--black) 0%, var(--red) 100%);
	background: var(--black);
	border-radius: 14px;
}

.sc-tab {
	border: none;
	background: #ffffff;
	color: var(--black);
	border-radius: 999px;
	padding: 8px 14px;
	font-weight: 600;
	font-size: 13px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.sc-tab.is-active {
	background: var(--red);
	color: #ffffff;
}

.sc-tab-count {
	background: #ffffff;
	color: var(--red);
	border-radius: 999px;
	width: 20px;
	height: 20px;
	font-size: 12px;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
}

.sc-tab.is-active .sc-tab-count {
	background: rgba(255, 255, 255, 0.2);
	color: #ffffff;
}

.sc-panels {
	margin-top: 18px;
}

.sc-panel {
	display: none;
}

.sc-panel.is-active {
	display: block;
}

.sc-carousel {
	display: flex;
	align-items: center;
    justify-content: center;
	gap: 10px;
}

.sc-nav {
	border: none;
	background: #ffffff;
	color: var(--red);
	font-size: 22px;
	width: 36px;
	min-width: 36px;
	height: 36px;
	border-radius: 50%;
	cursor: pointer;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.sc-items {
	display: flex;
	gap: 18px;
	overflow-x: auto;
	padding: 14px 4px 18px;
	scrollbar-width: none;
}

.sc-items::-webkit-scrollbar {
	display: none;
}

.sc-item {
	min-width: 140px;
	background: #ffffff;
	border-radius: 18px;
	padding: 12px 8px 14px;
	text-align: center;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
}

.sc-thumb {
	width: 80px;
	height: 80px;
	margin: 0 auto 8px;
	border-radius: 50%;
	background: #f3f3f3;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.sc-thumb img {
	max-width: 70%;
	max-height: 70%;
	object-fit: contain;
}

.sc-title {
	font-size: 13px;
	font-weight: 600;
	min-height: 36px;
	margin-bottom: 6px;
}

.sc-qty {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
    margin-top: auto;
}

.sc-btn {
    border: none;
    background: var(--black);
    color: #ffffff;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-weight: 700;
    cursor: pointer;
}

.sc-input {
	width: 48px;
	text-align: center;
	border: 1px solid #e0e0e0;
	border-radius: 10px;
	padding: 4px 6px;
	font-size: 13px;
}

.sc-summary {
	margin: 28px auto 0;
	padding: 18px 12px;
	text-align: center;
	border-radius: 18px;
	background: #ffffff;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.sc-summary-empty {
	display: block;
}

.sc-summary-title {
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 6px;
	color: #343434;
}

.sc-summary-subtitle {
	font-size: 13px;
	color: #777777;
}

.sc-summary-values {
	display: none;
	gap: 24px;
	justify-content: center;
	flex-wrap: wrap;
}

.sc-summary.has-values .sc-summary-empty {
	display: none;
}

.sc-summary.has-values .sc-summary-values {
	display: flex;
}

.sc-summary-block {
	display: flex;
	align-items: baseline;
	gap: 6px;
	font-weight: 600;
	color: var(--black);
}

.sc-summary-label {
	font-size: 16px;
	color: #6d6d6d;
}

.sc-summary-value {
	font-size: 18px;
	color: var(--red);
}

.sc-summary-unit {
	font-size: 16px;
	color: #6d6d6d;
}

@media (max-width: 768px) {
	.sc-tabs {
		border-radius: 10px;
	}

	.sc-item {
		min-width: 120px;
	}
}
